Skip to content
Snippets Groups Projects
Verified Commit d0a4553a authored by Mark's avatar Mark
Browse files

Fix postgres pvc

parent d3eef6dd
No related branches found
No related tags found
1 merge request!7Integration user panel
Pipeline #1700 passed with stage
in 1 minute and 34 seconds
......@@ -12,14 +12,12 @@ metadata:
{{- end }}
spec:
accessModes:
- readWrtiteOnce
- ReadWriteOnce
resources:
requests:
storage: {{ .Values.userbackend.persistence.size }}
{{- if .Values.userbackend.persistence.storageClass }}
{{- if (eq "-" .Values.userbackend.persistence.storageClass) }}
storageClassName: ""
{{- else }}
{{- if not (eq "-" .Values.userbackend.persistence.storageClass) }}
storageClassName: "{{ .Values.userbackend.persistence.storageClass }}"
{{- end }}
{{- end }}
......
......@@ -48,12 +48,10 @@ userbackend:
# created and used by the userbackend
postgresPassword: "postgres"
persistence:
enabled: false
annotations:
size: 1Gi
storageClass: "-"
# existingClaim:
enabled: true
size: 1Gi
storageClass: "-"
annotations: {}
hydra:
hydra:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment