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: