mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
* [stable/pgadmin] upgrade to 4.17 and more 4.17: with 4.16 and up `USER: pgadmin` got added to the Dockerfile, this caused an ACL issue. securityContext and initContainers is added to resolve this issue. other: - fixed dynamic PV provisioning - livenessProbe - readinessProbe - added more comments in values.yaml - updated README.md with new configuration items - chart bump version Signed-off-by: Rowan Ruseler <rowanruseler@gmail.com> * [stable/pgadmin] adjusted storageclass name made a mistake with naming the variable different then what is shown in the values.yml example Signed-off-by: Rowan Ruseler <rowanruseler@gmail.com> * [stable/pgadmin] resolved sessions bug by letting the probes go to the correct path Signed-off-by: Rowan Ruseler <rowanruseler@gmail.com>
27 lines
831 B
YAML
27 lines
831 B
YAML
{{- if and .Values.persistentVolume.enabled (not .Values.persistentVolume.existingClaim) }}
|
|
{{- $fullName := include "pgadmin.fullname" . -}}
|
|
kind: PersistentVolumeClaim
|
|
apiVersion: v1
|
|
metadata:
|
|
name: {{ $fullName }}
|
|
labels:
|
|
{{- include "pgadmin.labels" . | nindent 4 }}
|
|
{{- if .Values.persistentVolume.annotations }}
|
|
annotations:
|
|
{{- .Values.persistentVolume.annotaions | toYaml | nindent 4 }}
|
|
{{- end }}
|
|
spec:
|
|
accessModes:
|
|
{{- .Values.persistentVolume.accessModes | toYaml | nindent 4 }}
|
|
{{- if .Values.persistentVolume.storageClass }}
|
|
{{- if (eq "-" .Values.persistentVolume.storageClass) }}
|
|
storageClassName: ""
|
|
{{- else }}
|
|
storageClassName: "{{ .Values.persistentVolume.storageClass }}"
|
|
{{- end }}
|
|
{{- end }}
|
|
resources:
|
|
requests:
|
|
storage: {{ .Values.persistentVolume.size }}
|
|
{{- end }}
|