fix(infra-certificate): add both entrypoints web,websecure

This commit is contained in:
WrenIX 2024-08-22 23:38:11 +02:00
parent 777114bc80
commit 4fdec634d0
Signed by: wrenix
GPG key ID: 7AFDB012974B1BB5

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"
{{- if not (get .Values.commons.ingress.annotations "traefik.ingress.kubernetes.io/router.entrypoints") }} {{- if not (get .Values.commons.ingress.annotations "traefik.ingress.kubernetes.io/router.entrypoints") }}
"traefik.ingress.kubernetes.io/router.entrypoints": "web" "traefik.ingress.kubernetes.io/router.entrypoints": "web,websecure"
{{- end }} {{- end }}
{{- with (omit .Values.commons.ingress.annotations "cert-manager.io/cluster-issuer" "cert-manager.io/issuer") }} {{- with (omit .Values.commons.ingress.annotations "cert-manager.io/cluster-issuer" "cert-manager.io/issuer") }}
{{- toYaml . | nindent 18 }} {{- toYaml . | nindent 18 }}