diff --git a/helm/templates/ingress/secrets.yaml b/helm/templates/ingress/secrets.yaml index f68d356..66e4674 100644 --- a/helm/templates/ingress/secrets.yaml +++ b/helm/templates/ingress/secrets.yaml @@ -6,5 +6,5 @@ metadata: {{- include "flatchart.labels" . | nindent 4 }} type: kubernetes.io/tls data: - tls.crt: {{ .Files.Get .Values.tlsSecrets.certFile | b64enc | quote }} - tls.key: {{ .Files.Get .Values.tlsSecrets.keyFile | b64enc | quote }} + tls.crt: {{ .Values.tlsSecrets.crt | b64enc | quote }} + tls.key: {{ .Values.tlsSecrets.key | b64enc | quote }} diff --git a/helm/values.yaml b/helm/values.yaml index 61a77a1..4c6da41 100644 --- a/helm/values.yaml +++ b/helm/values.yaml @@ -62,5 +62,5 @@ backendSecrets: adminPassword: "" tlsSecrets: - certFile: "cert.pem" - keyFile: "key.pem" + cert: "" + key: ""