feat: nginx ingressClassName

This commit is contained in:
auricom
2021-08-25 14:08:18 +02:00
parent 2b842f58a5
commit 6bb6c3aad6
44 changed files with 156 additions and 199 deletions

View File

@@ -32,9 +32,8 @@ spec:
ingress:
enabled: true
pathType: Prefix
# ingressClassName: "traefik"
ingressClassName: "nginx"
annotations:
kubernetes.io/ingress.class: "nginx"
nginx.ingress.kubernetes.io/auth-url: "http://authelia.networking.svc.cluster.local/api/verify"
nginx.ingress.kubernetes.io/auth-signin: "https://login.${SECRET_CLUSTER_DOMAIN}"
# traefik.ingress.kubernetes.io/router.entrypoints: "websecure"
@@ -209,9 +208,8 @@ spec:
ingress:
enabled: true
pathType: Prefix
# ingressClassName: "traefik"
annotations:
kubernetes.io/ingress.class: "nginx"
ingressClassName: "nginx"
# annotations:
# traefik.ingress.kubernetes.io/router.entrypoints: "websecure"
hosts: ["grafana.${SECRET_CLUSTER_DOMAIN}"]
tls:
@@ -229,9 +227,8 @@ spec:
ingress:
enabled: true
pathType: Prefix
# ingressClassName: "traefik"
ingressClassName: "nginx"
annotations:
kubernetes.io/ingress.class: "nginx"
nginx.ingress.kubernetes.io/auth-url: "http://authelia.networking.svc.cluster.local/api/verify"
nginx.ingress.kubernetes.io/auth-signin: "https://login.${SECRET_CLUSTER_DOMAIN}"
# traefik.ingress.kubernetes.io/router.entrypoints: "websecure"