feat: migrate ingresses to nginx

This commit is contained in:
auricom
2021-08-14 12:36:17 +02:00
parent 52141abd21
commit 248e40c05c
44 changed files with 328 additions and 198 deletions

View File

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