From 0013224b69839fc24661c9ad8fe78f1efe4ac093 Mon Sep 17 00:00:00 2001 From: Martyn Date: Mon, 15 Sep 2025 13:38:36 +0200 Subject: [PATCH] Possible to not have a secret name! --- apps-helm/wg-access-server/templates/ingress.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps-helm/wg-access-server/templates/ingress.yaml b/apps-helm/wg-access-server/templates/ingress.yaml index 53b27c9..c04ca51 100644 --- a/apps-helm/wg-access-server/templates/ingress.yaml +++ b/apps-helm/wg-access-server/templates/ingress.yaml @@ -21,7 +21,9 @@ spec: {{- range .hosts }} - {{ . | quote }} {{- end }} + {{- if .secretName }} secretName: {{ .secretName }} + {{- end }} {{- end }} {{- end }} rules: