fix: ingress annotations (in base-values default for cluster-issuer)

This commit is contained in:
WrenIX 2023-11-26 16:21:49 +01:00
parent abaccb3dde
commit 5643d6fcb4
Signed by: wrenix
GPG key ID: 7AFDB012974B1BB5
2 changed files with 2 additions and 1 deletions

View file

@ -14,6 +14,7 @@ commons:
ingress: ingress:
domain: "wrenix.eu" domain: "wrenix.eu"
annotations: annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
grafana: grafana:
datasource: datasource:

View file

@ -20,7 +20,7 @@ spec:
"ingress.kubernetes.io/ssl-redirect": "false" "ingress.kubernetes.io/ssl-redirect": "false"
"nginx.org/redirect-to-https": "false" "nginx.org/redirect-to-https": "false"
"traefik.ingress.kubernetes.io/router.entrypoints": "web" "traefik.ingress.kubernetes.io/router.entrypoints": "web"
{{- with .Values.commons.ingress.annotations }} {{- with (omit .Values.commons.ingress.annotations "cert-manager.io/cluster-issuer" "cert-manager.io/issuer") }}
{{- toYaml . | nindent 16 }} {{- toYaml . | nindent 16 }}
{{- end }} {{- end }}
{{- end }} {{- end }}