From 6138835be5adc3ae42e1f979029dbc048c716a88 Mon Sep 17 00:00:00 2001 From: Anton Potapov <47938145+Flagro@users.noreply.github.com> Date: Sun, 3 Mar 2024 21:08:54 +0100 Subject: [PATCH] Update TLS secrets in ingress template and values.yaml --- helm/templates/ingress/secrets.yaml | 4 ++-- helm/values.yaml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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: ""