diff --git a/chart/vaultwarden-k8s/Chart.yaml b/chart/vaultwarden-k8s/Chart.yaml index af49ee6..f23cb06 100644 --- a/chart/vaultwarden-k8s/Chart.yaml +++ b/chart/vaultwarden-k8s/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 appVersion: "1.0" description: A vaultwarden Helm chart for Kubernetes name: vaultwarden-k8s -version: 0.1.14 +version: 0.1.15 home: https://github.com/dani-garcia/vaultwarden_rs icon: https://raw.githubusercontent.com/vaultwarden/brand/master/icons/icon.svg sources: diff --git a/chart/vaultwarden-k8s/templates/ingress.yaml b/chart/vaultwarden-k8s/templates/ingress.yaml index c71ce15..a9829e1 100644 --- a/chart/vaultwarden-k8s/templates/ingress.yaml +++ b/chart/vaultwarden-k8s/templates/ingress.yaml @@ -15,11 +15,6 @@ metadata: {{- toYaml . | nindent 4 }} {{- end }} spec: - defaultBackend: - service: - name: {{ $fullName }} - port: - number: 80 ingressClassName: {{ .Values.ingress.ingressClassName }} {{- if .Values.ingress.tls }} tls: @@ -29,6 +24,15 @@ spec: - {{ . | quote }} {{- end }} secretName: {{ .secretName }} + http: + paths: + - backend: + service: + name: {{ $fullName }} + port: + number: 80 + path: / + pathType: Prefix {{- end }} {{- end }} rules: