From 4c00474f654ea3d32eac0faed5eaf1054336d8a9 Mon Sep 17 00:00:00 2001 From: Sylvain Desbureaux Date: Fri, 14 Feb 2020 13:43:28 +0100 Subject: [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 Change-Id: Ia0e2f6fbd7d40bbf0de719bbf35f0f0424e1a076 --- kubernetes/common/postgres/templates/pvc-primary.yaml | 1 - 1 file changed, 1 deletion(-) 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 -}} -- cgit 1.2.3-korg