From 943bf66e6c7fa8f6bca2e9f9adbeea8a6a66c9ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Nussbaumer?= Date: Tue, 23 Jul 2024 13:49:03 +0200 Subject: [PATCH] chore(helm): make TLS secret name configurable and optional MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Clément Nussbaumer --- helm/kubenurse/templates/ingress.yaml | 4 +++- helm/kubenurse/values.yaml | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/helm/kubenurse/templates/ingress.yaml b/helm/kubenurse/templates/ingress.yaml index e6b8cb9..00bd034 100644 --- a/helm/kubenurse/templates/ingress.yaml +++ b/helm/kubenurse/templates/ingress.yaml @@ -27,5 +27,7 @@ spec: tls: - hosts: - {{ .Values.ingress.url }} - secretName: kubenurse-ingress-tls + {{- with .Values.ingress.tlsSecretName }} + secretName: {{ . }} + {{- end -}} {{- end -}} \ No newline at end of file diff --git a/helm/kubenurse/values.yaml b/helm/kubenurse/values.yaml index ca51cce..e30cca2 100644 --- a/helm/kubenurse/values.yaml +++ b/helm/kubenurse/values.yaml @@ -86,5 +86,6 @@ ingress: enabled: true className: nginx annotations: {} + tlsSecretName: "" # KUBENURSE_INGRESS_URL url: dummy-kubenurse.example.com