[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 name: bitwardenrs
description: Unofficial Bitwarden compatible server written in Rust description: Unofficial Bitwarden compatible server written in Rust
type: application type: application
version: 2.1.9 version: 2.1.10
appVersion: 1.18.0 appVersion: 1.18.0
keywords: keywords:
- bitwarden - bitwarden

View File

@ -59,10 +59,11 @@ spec:
name: {{ $fullName }} name: {{ $fullName }}
port: port:
name: websocket name: websocket
{{- end }} {{- else }}
backend: backend:
serviceName: {{ $fullName }} serviceName: {{ $fullName }}
servicePort: {{ $websockets.port }} servicePort: {{ $websockets.port }}
{{- end }}
- path: {{ . | trimSuffix "/" }}/notifications/hub/negotiate - path: {{ . | trimSuffix "/" }}/notifications/hub/negotiate
{{- if semverCompare ">=1.19-0" $apiVersion }} {{- if semverCompare ">=1.19-0" $apiVersion }}
pathType: Prefix pathType: Prefix
@ -71,10 +72,11 @@ spec:
name: {{ $fullName }} name: {{ $fullName }}
port: port:
name: http name: http
{{- end }} {{- else }}
backend: backend:
serviceName: {{ $fullName }} serviceName: {{ $fullName }}
servicePort: {{ $svcPort}} servicePort: {{ $svcPort}}
{{- end }}
{{- end }} {{- end }}
{{- end }} {{- end }}
{{- end }} {{- end }}