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

@@ -44,8 +44,7 @@ spec:
ingress:
enabled: true
annotations:
kubernetes.io/ingress.class: "nginx"
# annotations:
# traefik.ingress.kubernetes.io/router.entrypoints: "websecure"
hosts:
- host: "drone.${SECRET_CLUSTER_DOMAIN}"
@@ -54,11 +53,13 @@ spec:
- hosts:
- "wallabag.${SECRET_CLUSTER_DOMAIN}"
secretName: "${SECRET_CLUSTER_CERTIFICATE_DEFAULT}"
# postRenderers:
# - kustomize:
# patchesJson6902:
# name: drone
# patch:
# - op: add
# path: /spec/ingressClassName
# value: traefik
postRenderers:
- kustomize:
patchesJson6902:
- target:
kind: Ingress
name: drone
patch:
- op: add
path: /spec/ingressClassName
value: traefik