mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-24 07:59:02 +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
|
name: bitwardenrs
|
||||||
description: Unofficial Bitwarden compatible server written in Rust
|
description: Unofficial Bitwarden compatible server written in Rust
|
||||||
type: application
|
type: application
|
||||||
version: 1.0.0
|
version: 1.0.1
|
||||||
appVersion: 1.16.3
|
appVersion: 1.16.3
|
||||||
keywords:
|
keywords:
|
||||||
- bitwarden
|
- bitwarden
|
||||||
|
@ -8,7 +8,11 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
scaleTargetRef:
|
scaleTargetRef:
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
|
{{- if eq .Values.persistence.type "statefulset" }}
|
||||||
|
kind: StatefulSet
|
||||||
|
{{- else }}
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
|
{{- end }}
|
||||||
name: {{ include "bitwardenrs.fullname" . }}
|
name: {{ include "bitwardenrs.fullname" . }}
|
||||||
minReplicas: {{ .Values.autoscaling.minReplicas }}
|
minReplicas: {{ .Values.autoscaling.minReplicas }}
|
||||||
maxReplicas: {{ .Values.autoscaling.maxReplicas }}
|
maxReplicas: {{ .Values.autoscaling.maxReplicas }}
|
||||||
|
Loading…
Reference in New Issue
Block a user