[bitwardenrs] fix missing else switch (#798)

* fix missing else switch

* bump version
This commit is contained in:
Nicholas St. Germain 2021-04-16 13:40:33 -05:00 committed by GitHub
parent 04dbdccaff
commit 3a77adf1d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View File

@ -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

View File

@ -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 }}