diff --git a/charts/vaultwarden/Chart.yaml b/charts/vaultwarden/Chart.yaml index 795bce6..4d88d20 100644 --- a/charts/vaultwarden/Chart.yaml +++ b/charts/vaultwarden/Chart.yaml @@ -13,5 +13,5 @@ maintainers: - name: guerzon email: guerzon@proton.me url: https://github.com/guerzon -version: 0.25.1 +version: 0.25.2 kubeVersion: ">=1.12.0-0" diff --git a/charts/vaultwarden/templates/ingress.yaml b/charts/vaultwarden/templates/ingress.yaml index 77ada7e..780e830 100644 --- a/charts/vaultwarden/templates/ingress.yaml +++ b/charts/vaultwarden/templates/ingress.yaml @@ -26,7 +26,9 @@ metadata: {{- toYaml $ingress.additionalAnnotations | nindent 4 }} {{- end }} {{- if $ingress.nginxIngressAnnotations }} - nginx.ingress.kubernetes.io/custom-headers: {{ $ingress.customHeadersConfigMap }} + {{- if $ingress.customHeadersConfigMap }} + nginx.ingress.kubernetes.io/custom-headers: {{ .Release.Namespace }}/custom-headers-configmap + {{- end }} nginx.ingress.kubernetes.io/connection-proxy-header: "keep-alive" nginx.ingress.kubernetes.io/enable-cors: "true" nginx.ingress.kubernetes.io/ssl-redirect: "true"