mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-23 23:49:12 +00:00
[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:
parent
915c94887d
commit
f2336eedaa
@ -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
|
||||
|
@ -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 }}
|
||||
|
Loading…
Reference in New Issue
Block a user