Commit 749679a3 authored by William Tucker's avatar William Tucker
Browse files

Fixed issue where letsencrypt enabled deployments would have the hostcert secret overloaded

parent 7b125975
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
{{- /* If we are asking for a certificate from cert-manager, we should not deploy our own becausue
this will break upon redeployment. */ -}}
{{- if not (hasKey .Values.ingress.annotations "cert-manager.io/cluster-issuer") -}}
{{- $tls := .Values.ingress.tls -}}
{{- if not $tls.secretName -}}
apiVersion: v1
@@ -16,3 +19,4 @@ data:
  tls.key: {{ $cert.Key | b64enc | quote }}
  {{- end }}
{{- end -}}
{{- end -}}