[bitwardenrs] Fix HPA target (#287)

* Add persistence type check to hpa target

Signed-off-by: TJ Wesolowski <wojoinc@pm.me>

* Bump chart version

Signed-off-by: TJ Wesolowski <wojoinc@pm.me>

Co-authored-by: ᗪєνιη ᗷυнʟ <onedr0p@users.noreply.github.com>
This commit is contained in:
Thomas John Wesolowski 2020-11-30 05:06:00 -06:00 committed by GitHub
parent 915c94887d
commit f2336eedaa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -2,7 +2,7 @@ apiVersion: v2
name: bitwardenrs
description: Unofficial Bitwarden compatible server written in Rust
type: application
version: 1.0.0
version: 1.0.1
appVersion: 1.16.3
keywords:
- bitwarden

View File

@ -8,7 +8,11 @@ metadata:
spec:
scaleTargetRef:
apiVersion: apps/v1
{{- if eq .Values.persistence.type "statefulset" }}
kind: StatefulSet
{{- else }}
kind: Deployment
{{- end }}
name: {{ include "bitwardenrs.fullname" . }}
minReplicas: {{ .Values.autoscaling.minReplicas }}
maxReplicas: {{ .Values.autoscaling.maxReplicas }}