summaryrefslogtreecommitdiffstats
path: root/kubernetes/common/postgres/templates/pvc-primary.yaml
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-02-14 13:43:28 +0100
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-02-14 13:43:28 +0100
commit4c00474f654ea3d32eac0faed5eaf1054336d8a9 (patch)
tree9dbebcc51fb55dde2fee2d5e96129d77172589b7 /kubernetes/common/postgres/templates/pvc-primary.yaml
parent7d05036254727b7309a85eb85a82eb634085790a (diff)
[COMMON] fix primary PVC for postgres template
The last line of the template rewrites PVC storage class and thus the behavior is not the expected one. This patch removes the faulty (and unecessary) line. Issue-ID: OOM-1227 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: Ia0e2f6fbd7d40bbf0de719bbf35f0f0424e1a076
Diffstat (limited to 'kubernetes/common/postgres/templates/pvc-primary.yaml')
-rw-r--r--kubernetes/common/postgres/templates/pvc-primary.yaml1
1 files changed, 0 insertions, 1 deletions
diff --git a/kubernetes/common/postgres/templates/pvc-primary.yaml b/kubernetes/common/postgres/templates/pvc-primary.yaml
index fa25f19077..a47d3ed56e 100644
--- a/kubernetes/common/postgres/templates/pvc-primary.yaml
+++ b/kubernetes/common/postgres/templates/pvc-primary.yaml
@@ -41,5 +41,4 @@ spec:
{{- else }}
storageClassName: {{ include "common.storageClass" . }}
{{- end }}
- storageClassName: "{{ include "common.fullname" . }}-primary"
{{- end -}}