mirror of
https://github.com/outbackdingo/Biohazard.git
synced 2026-01-27 10:18:27 +00:00
fix: migrate ingress classes S01E03
This commit is contained in:
@@ -38,7 +38,7 @@ spec:
|
||||
main:
|
||||
enabled: true
|
||||
primary: true
|
||||
ingressClassName: nginx
|
||||
ingressClassName: "nginx-internal"
|
||||
annotations:
|
||||
nginx.ingress.kubernetes.io/proxy-body-size: "100m"
|
||||
nginx.ingress.kubernetes.io/custom-http-errors: "400,403,405,409,410,411,412,413,414,415,416,417,418,421,425,431,451,500,501,502,503,504,505,506,510"
|
||||
|
||||
@@ -47,7 +47,7 @@ spec:
|
||||
main:
|
||||
enabled: true
|
||||
primary: true
|
||||
className: nginx
|
||||
className: "nginx-internal"
|
||||
hosts:
|
||||
- host: &host "${APP_DNS_AUDIOBOOKSHELF}"
|
||||
paths:
|
||||
|
||||
@@ -36,7 +36,7 @@ spec:
|
||||
main:
|
||||
enabled: true
|
||||
primary: true
|
||||
ingressClassName: nginx
|
||||
ingressClassName: "nginx-internal"
|
||||
hosts:
|
||||
- host: &host "${APP_DNS_CYBERCHEF}"
|
||||
paths:
|
||||
|
||||
@@ -40,7 +40,7 @@ spec:
|
||||
main:
|
||||
enabled: true
|
||||
primary: true
|
||||
ingressClassName: nginx
|
||||
ingressClassName: "nginx-internal"
|
||||
hosts:
|
||||
- host: &host "elk.${DNS_SHORT}"
|
||||
paths:
|
||||
|
||||
@@ -30,7 +30,7 @@ spec:
|
||||
main:
|
||||
enabled: true
|
||||
primary: true
|
||||
ingressClassName: nginx
|
||||
ingressClassName: "nginx-internal"
|
||||
annotations:
|
||||
external-dns.alpha.kubernetes.io/target: "${IP_EC2_INGRESS}"
|
||||
nginx.ingress.kubernetes.io/auth-signin: |-
|
||||
|
||||
@@ -5,7 +5,7 @@ metadata:
|
||||
name: firefly-authentik
|
||||
namespace: authentik
|
||||
spec:
|
||||
ingressClassName: nginx
|
||||
ingressClassName: "nginx-internal"
|
||||
rules:
|
||||
- host: &host "${APP_DNS_FIREFLY}"
|
||||
http:
|
||||
|
||||
@@ -74,7 +74,7 @@ spec:
|
||||
main:
|
||||
enabled: true
|
||||
primary: true
|
||||
ingressClassName: nginx
|
||||
ingressClassName: "nginx-internal"
|
||||
annotations:
|
||||
nginx.ingress.kubernetes.io/auth-signin: |-
|
||||
https://${APP_DNS_FIREFLY}/outpost.goauthentik.io/start?rd=$escaped_request_uri
|
||||
|
||||
@@ -30,7 +30,7 @@ spec:
|
||||
ingress:
|
||||
main:
|
||||
enabled: true
|
||||
ingressClassName: nginx
|
||||
ingressClassName: "nginx-internal"
|
||||
hosts:
|
||||
- host: "${APP_DNS_GOKAPI}"
|
||||
paths:
|
||||
|
||||
@@ -5,7 +5,7 @@ metadata:
|
||||
name: grocy-authentik
|
||||
namespace: authentik
|
||||
spec:
|
||||
ingressClassName: nginx
|
||||
ingressClassName: "nginx-internal"
|
||||
rules:
|
||||
- host: &host "${APP_DNS_GROCY}"
|
||||
http:
|
||||
|
||||
@@ -85,7 +85,7 @@ spec:
|
||||
main:
|
||||
enabled: true
|
||||
primary: true
|
||||
className: nginx
|
||||
className: "nginx-internal"
|
||||
annotations:
|
||||
nginx.ingress.kubernetes.io/auth-signin: |-
|
||||
https://${APP_DNS_GROCY}/outpost.goauthentik.io/start?rd=$escaped_request_uri
|
||||
|
||||
@@ -54,7 +54,7 @@ spec:
|
||||
main:
|
||||
enabled: true
|
||||
primary: true
|
||||
ingressClassName: nginx
|
||||
ingressClassName: "nginx-internal"
|
||||
annotations:
|
||||
external-dns.alpha.kubernetes.io/target: "${DNS_SHORT_CF}"
|
||||
external-dns.alpha.kubernetes.io/cloudflare-proxied: "true"
|
||||
|
||||
@@ -52,7 +52,7 @@ spec:
|
||||
main:
|
||||
enabled: true
|
||||
primary: true
|
||||
ingressClassName: nginx
|
||||
ingressClassName: "nginx-internal"
|
||||
annotations:
|
||||
external-dns.alpha.kubernetes.io/target: "${DNS_SHORT_CF}"
|
||||
external-dns.alpha.kubernetes.io/cloudflare-proxied: "true"
|
||||
|
||||
@@ -49,7 +49,7 @@ spec:
|
||||
main:
|
||||
enabled: true
|
||||
primary: true
|
||||
ingressClassName: nginx
|
||||
ingressClassName: "nginx-internal"
|
||||
hosts:
|
||||
- host: &host "${APP_DNS_LIBREDDIT}"
|
||||
paths:
|
||||
|
||||
@@ -36,7 +36,7 @@ spec:
|
||||
main:
|
||||
enabled: true
|
||||
primary: true
|
||||
ingressClassName: nginx
|
||||
ingressClassName: "nginx-internal"
|
||||
annotations:
|
||||
external-dns.alpha.kubernetes.io/target: "${DNS_SHORT_CF}"
|
||||
external-dns.alpha.kubernetes.io/cloudflare-proxied: "true"
|
||||
|
||||
@@ -48,7 +48,7 @@ spec:
|
||||
main:
|
||||
enabled: true
|
||||
primary: true
|
||||
ingressClassName: nginx
|
||||
ingressClassName: "nginx-internal"
|
||||
hosts:
|
||||
- host: &host "${APP_DNS_MINIFLUX}"
|
||||
paths:
|
||||
|
||||
@@ -61,7 +61,7 @@ spec:
|
||||
main:
|
||||
enabled: true
|
||||
primary: true
|
||||
ingressClassName: nginx
|
||||
ingressClassName: "nginx-internal"
|
||||
hosts:
|
||||
- host: &host "${APP_DNS_NEKO_XFCE}"
|
||||
paths:
|
||||
|
||||
@@ -174,7 +174,7 @@ spec:
|
||||
main: &ingress
|
||||
enabled: true
|
||||
primary: false
|
||||
className: nginx
|
||||
className: "nginx-internal"
|
||||
hosts:
|
||||
- host: *host
|
||||
paths:
|
||||
|
||||
@@ -50,7 +50,7 @@ spec:
|
||||
main:
|
||||
enabled: true
|
||||
primary: true
|
||||
className: nginx
|
||||
className: "nginx-internal"
|
||||
# annotations: # TODO
|
||||
# external-dns.alpha.kubernetes.io/target: "${DNS_SHORT_HOME}"
|
||||
# external-dns.alpha.kubernetes.io/cloudflare-proxied: "false"
|
||||
|
||||
@@ -105,7 +105,7 @@ spec:
|
||||
main:
|
||||
enabled: true
|
||||
primary: true
|
||||
className: "nginx"
|
||||
className: "nginx-internal"
|
||||
annotations:
|
||||
external-dns.alpha.kubernetes.io/target: "${IP_EC2_INGRESS}"
|
||||
hosts:
|
||||
|
||||
@@ -5,7 +5,7 @@ metadata:
|
||||
name: paperless-ngx-authentik
|
||||
namespace: authentik
|
||||
spec:
|
||||
ingressClassName: nginx
|
||||
ingressClassName: "nginx-internal"
|
||||
rules:
|
||||
- host: &host "${APP_DNS_PAPERLESS_NGX}"
|
||||
http:
|
||||
|
||||
@@ -96,7 +96,7 @@ spec:
|
||||
main:
|
||||
enabled: true
|
||||
primary: true
|
||||
className: nginx
|
||||
className: "nginx-internal"
|
||||
annotations:
|
||||
nginx.ingress.kubernetes.io/auth-signin: |-
|
||||
https://${APP_DNS_PAPERLESS_NGX}/outpost.goauthentik.io/start?rd=$escaped_request_uri
|
||||
|
||||
@@ -37,7 +37,7 @@ spec:
|
||||
main:
|
||||
enabled: true
|
||||
primary: true
|
||||
ingressClassName: nginx
|
||||
ingressClassName: "nginx-internal"
|
||||
hosts:
|
||||
- host: &host "phanpy.${DNS_SHORT}"
|
||||
paths:
|
||||
|
||||
@@ -83,7 +83,7 @@ spec:
|
||||
memory: 500Mi
|
||||
ingress:
|
||||
main:
|
||||
ingressClassName: nginx
|
||||
ingressClassName: "nginx-internal"
|
||||
annotations:
|
||||
nginx.ingress.kubernetes.io/enable-cors: "true"
|
||||
nginx.ingress.kubernetes.io/cors-allow-origin: "https://${APP_DNS_PIPED_FRONTEND}, https://${APP_DNS_PIPED_BACKEND}, https://${APP_DNS_PIPED_YTPROXY}"
|
||||
@@ -95,7 +95,7 @@ spec:
|
||||
- hosts:
|
||||
- *frontend
|
||||
backend:
|
||||
ingressClassName: nginx
|
||||
ingressClassName: "nginx-internal"
|
||||
annotations:
|
||||
nginx.ingress.kubernetes.io/enable-cors: "true"
|
||||
nginx.ingress.kubernetes.io/cors-allow-origin: "https://${APP_DNS_PIPED_FRONTEND}, https://${APP_DNS_PIPED_BACKEND}, https://${APP_DNS_PIPED_YTPROXY}"
|
||||
@@ -107,7 +107,7 @@ spec:
|
||||
- hosts:
|
||||
- *backend
|
||||
ytproxy:
|
||||
ingressClassName: nginx
|
||||
ingressClassName: "nginx-internal"
|
||||
annotations:
|
||||
nginx.ingress.kubernetes.io/enable-cors: "true"
|
||||
nginx.ingress.kubernetes.io/cors-allow-origin: "https://${APP_DNS_PIPED_FRONTEND}, https://${APP_DNS_PIPED_BACKEND}, https://${APP_DNS_PIPED_YTPROXY}"
|
||||
|
||||
@@ -79,7 +79,7 @@ spec:
|
||||
main:
|
||||
enabled: true
|
||||
primary: true
|
||||
ingressClassName: nginx
|
||||
ingressClassName: "nginx-internal"
|
||||
annotations:
|
||||
external-dns.alpha.kubernetes.io/target: "${APP_IP_NGINX}"
|
||||
nginx.ingress.kubernetes.io/use-regex: "true"
|
||||
@@ -173,7 +173,7 @@ spec:
|
||||
main:
|
||||
enabled: true
|
||||
primary: true
|
||||
ingressClassName: nginx
|
||||
ingressClassName: "nginx-internal"
|
||||
hosts:
|
||||
- host: &host "${APP_DNS_PSONO}"
|
||||
paths:
|
||||
@@ -276,7 +276,7 @@ spec:
|
||||
main:
|
||||
enabled: true
|
||||
primary: true
|
||||
ingressClassName: nginx
|
||||
ingressClassName: "nginx-internal"
|
||||
hosts:
|
||||
- host: &host "${APP_DNS_PSONO}"
|
||||
paths:
|
||||
|
||||
@@ -74,7 +74,7 @@ spec:
|
||||
main:
|
||||
enabled: true
|
||||
primary: true
|
||||
ingressClassName: nginx
|
||||
ingressClassName: "nginx-internal"
|
||||
hosts:
|
||||
- host: &host "${APP_DNS_SOFT_SERVE_HTTPS}"
|
||||
paths:
|
||||
|
||||
@@ -56,7 +56,7 @@ spec:
|
||||
main:
|
||||
enabled: true
|
||||
primary: true
|
||||
ingressClassName: "nginx"
|
||||
ingressClassName: "nginx-internal"
|
||||
hosts:
|
||||
- host: &host "${APP_DNS_SYNCTHING_USER_1}"
|
||||
paths:
|
||||
|
||||
@@ -39,7 +39,7 @@ spec:
|
||||
main:
|
||||
enabled: true
|
||||
primary: true
|
||||
ingressClassName: nginx
|
||||
ingressClassName: "nginx-internal"
|
||||
hosts:
|
||||
- host: &host "${APP_DNS_THELOUNGE}"
|
||||
paths:
|
||||
|
||||
@@ -39,7 +39,7 @@ spec:
|
||||
main:
|
||||
enabled: true
|
||||
primary: true
|
||||
ingressClassName: nginx
|
||||
ingressClassName: "nginx-internal"
|
||||
annotations:
|
||||
external-dns.alpha.kubernetes.io/target: "${IP_EC2_INGRESS}"
|
||||
hosts:
|
||||
|
||||
@@ -52,7 +52,7 @@ spec:
|
||||
ui:
|
||||
ingress:
|
||||
enabled: true
|
||||
className: "nginx"
|
||||
className: "nginx-internal"
|
||||
hosts:
|
||||
- "${APP_DNS_HUBBLE}"
|
||||
tls:
|
||||
|
||||
@@ -8,7 +8,7 @@ metadata:
|
||||
external-dns.alpha.kubernetes.io/target: "${DNS_MAIN_CF}"
|
||||
external-dns.alpha.kubernetes.io/cloudflare-proxied: "true"
|
||||
spec:
|
||||
ingressClassName: nginx
|
||||
ingressClassName: "nginx-internal"
|
||||
rules:
|
||||
- host: &host "${APP_DNS_FLUX_WEBHOOK}"
|
||||
http:
|
||||
|
||||
@@ -58,7 +58,7 @@ metadata:
|
||||
external-dns.alpha.kubernetes.io/target: "${DNS_SHORT_CF}"
|
||||
external-dns.alpha.kubernetes.io/cloudflare-proxied: "true"
|
||||
spec:
|
||||
ingressClassName: nginx
|
||||
ingressClassName: "nginx-internal"
|
||||
rules:
|
||||
- host: &host "error.${DNS_SHORT}"
|
||||
http:
|
||||
@@ -83,7 +83,7 @@ metadata:
|
||||
external-dns.alpha.kubernetes.io/target: "${DNS_MAIN_CF}"
|
||||
external-dns.alpha.kubernetes.io/cloudflare-proxied: "true"
|
||||
spec:
|
||||
ingressClassName: nginx
|
||||
ingressClassName: "nginx-internal"
|
||||
rules:
|
||||
- host: &host "error.${DNS_MAIN}"
|
||||
http:
|
||||
|
||||
@@ -178,7 +178,7 @@ spec:
|
||||
enabled: true
|
||||
ingress:
|
||||
enabled: true
|
||||
ingressClassName: "nginx"
|
||||
ingressClassName: "nginx-internal"
|
||||
hosts:
|
||||
- &host "${APP_DNS_GRAFANA}"
|
||||
tls:
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
prometheus:
|
||||
ingress:
|
||||
enabled: true
|
||||
ingressClassName: nginx
|
||||
ingressClassName: "nginx-internal"
|
||||
hosts: &hostprom ["${APP_DNS_PROMETHEUS}"]
|
||||
tls: [hosts: *hostprom]
|
||||
paths: ["/"]
|
||||
|
||||
@@ -279,7 +279,7 @@ spec:
|
||||
memory: 2Gi
|
||||
ingress:
|
||||
enabled: true
|
||||
ingressClassName: "nginx"
|
||||
ingressClassName: "nginx-internal"
|
||||
host:
|
||||
name: &rgw-host "${APP_DNS_RGW_S3}"
|
||||
path: "/"
|
||||
@@ -297,7 +297,7 @@ spec:
|
||||
createPrometheusRules: true
|
||||
ingress:
|
||||
dashboard:
|
||||
ingressClassName: "nginx"
|
||||
ingressClassName: "nginx-internal"
|
||||
host:
|
||||
name: &dashboard-host "${APP_DNS_CEPH}"
|
||||
path: "/"
|
||||
|
||||
Reference in New Issue
Block a user