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: ...@@ -12,14 +12,12 @@ metadata:
{{- end }} {{- end }}
spec: spec:
accessModes: accessModes:
- readWrtiteOnce - ReadWriteOnce
resources: resources:
requests: requests:
storage: {{ .Values.userbackend.persistence.size }} storage: {{ .Values.userbackend.persistence.size }}
{{- if .Values.userbackend.persistence.storageClass }} {{- if .Values.userbackend.persistence.storageClass }}
{{- if (eq "-" .Values.userbackend.persistence.storageClass) }} {{- if not (eq "-" .Values.userbackend.persistence.storageClass) }}
storageClassName: ""
{{- else }}
storageClassName: "{{ .Values.userbackend.persistence.storageClass }}" storageClassName: "{{ .Values.userbackend.persistence.storageClass }}"
{{- end }} {{- end }}
{{- end }} {{- end }}
......
...@@ -48,12 +48,10 @@ userbackend: ...@@ -48,12 +48,10 @@ userbackend:
# created and used by the userbackend # created and used by the userbackend
postgresPassword: "postgres" postgresPassword: "postgres"
persistence: persistence:
enabled: false enabled: true
annotations: size: 1Gi
size: 1Gi storageClass: "-"
storageClass: "-" annotations: {}
# existingClaim:
hydra: hydra:
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