Skip to content

Commit

Permalink
TLSSecretName/HTTPS
Browse files Browse the repository at this point in the history
  • Loading branch information
NorseGaud committed Mar 30, 2023
1 parent 567c09f commit 4a2218a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion charts/anka-build-cloud/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,12 @@ kind: Ingress
metadata:
name: controller
annotations:
{{- if .Values.registry.ingressNginxAuthTLSSecretName }}
nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"
nginx.ingress.kubernetes.io/auth-tls-secret: "{{ .Values.controller.ingressNginxAuthTLSSecretName }}"
nginx.ingress.kubernetes.io/auth-tls-pass-certificate-to-upstream: "true"
nginx.ingress.kubernetes.io/auth-tls-verify-client: "optional"
{{- end }}
nginx.ingress.kubernetes.io/client-max-body-size: "0"
nginx.ingress.kubernetes.io/proxy-body-size: "0"
nginx.ingress.kubernetes.io/proxy-max-temp-file-size: "0"
Expand Down Expand Up @@ -146,8 +148,8 @@ kind: Ingress
metadata:
name: registry
annotations:
nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"
{{- if .Values.registry.ingressNginxAuthTLSSecretName }}
nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"
nginx.ingress.kubernetes.io/auth-tls-secret: "{{ .Values.registry.ingressNginxAuthTLSSecretName }}"
nginx.ingress.kubernetes.io/auth-tls-pass-certificate-to-upstream: "true"
nginx.ingress.kubernetes.io/auth-tls-verify-client: "optional"
Expand Down

0 comments on commit 4a2218a

Please sign in to comment.