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

@@ -91,7 +91,6 @@ spec:
ingress:
enabled: true
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"
@@ -106,13 +105,13 @@ spec:
- "blackbox.${SECRET_CLUSTER_DOMAIN}"
secretName: "${SECRET_CLUSTER_CERTIFICATE_DEFAULT}"
# postRenderers:
# - kustomize:
# patchesJson6902:
# - target:
# kind: Ingress
# name: blackbox-exporter-prometheus-blackbox-exporter
# patch:
# - op: add
# path: /spec/ingressClassName
# value: traefik
postRenderers:
- kustomize:
patchesJson6902:
- target:
kind: Ingress
name: blackbox-exporter-prometheus-blackbox-exporter
patch:
- op: add
path: /spec/ingressClassName
value: nginx