From 3a77adf1d7e9e9408aa64bbe38ab0e1a5a7252be Mon Sep 17 00:00:00 2001 From: "Nicholas St. Germain" Date: Fri, 16 Apr 2021 13:40:33 -0500 Subject: [PATCH] [bitwardenrs] fix missing else switch (#798) * fix missing else switch * bump version --- charts/stable/bitwardenrs/Chart.yaml | 2 +- charts/stable/bitwardenrs/templates/ingress.yaml | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/charts/stable/bitwardenrs/Chart.yaml b/charts/stable/bitwardenrs/Chart.yaml index 14c15a55..306015fa 100644 --- a/charts/stable/bitwardenrs/Chart.yaml +++ b/charts/stable/bitwardenrs/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: bitwardenrs description: Unofficial Bitwarden compatible server written in Rust type: application -version: 2.1.9 +version: 2.1.10 appVersion: 1.18.0 keywords: - bitwarden diff --git a/charts/stable/bitwardenrs/templates/ingress.yaml b/charts/stable/bitwardenrs/templates/ingress.yaml index 14423e29..bc62dd99 100644 --- a/charts/stable/bitwardenrs/templates/ingress.yaml +++ b/charts/stable/bitwardenrs/templates/ingress.yaml @@ -59,10 +59,11 @@ spec: name: {{ $fullName }} port: name: websocket - {{- end }} + {{- else }} backend: serviceName: {{ $fullName }} servicePort: {{ $websockets.port }} + {{- end }} - path: {{ . | trimSuffix "/" }}/notifications/hub/negotiate {{- if semverCompare ">=1.19-0" $apiVersion }} pathType: Prefix @@ -71,10 +72,11 @@ spec: name: {{ $fullName }} port: name: http - {{- end }} + {{- else }} backend: serviceName: {{ $fullName }} servicePort: {{ $svcPort}} + {{- end }} {{- end }} {{- end }} {{- end }}