cleanup bitwarden helm chart

This commit is contained in:
ace 2021-08-13 11:13:03 +03:00
parent 75db790217
commit a158f44be4
No known key found for this signature in database
GPG Key ID: 2E47CC17BA7F8CF0

View File

@ -1,24 +0,0 @@
{{- if .Values.persistence.enabled }}
{{- if not .Values.persistence.existingClaim -}}
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: {{ template "bitwarden.fullname" . }}
labels:
app: {{ template "bitwarden.fullname" . }}
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
release: "{{ .Release.Name }}"
heritage: "{{ .Release.Service }}"
spec:
accessModes:
- {{ .Values.persistence.accessMode | quote }}
{{- if .Values.persistence.storageClass }}
storageClassName: "{{ .Values.persistence.storageClass }}"
{{- else }}
storageClassName: ""
{{- end }}
resources:
requests:
storage: {{ .Values.persistence.size | quote }}
{{- end -}}
{{- end }}