From: Sylvain Desbureaux Date: Fri, 14 Feb 2020 12:43:28 +0000 (+0100) Subject: [COMMON] fix primary PVC for postgres template X-Git-Tag: 6.0.0~385^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=4c00474f654ea3d32eac0faed5eaf1054336d8a9;hp=7d05036254727b7309a85eb85a82eb634085790a;p=oom.git [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 --- 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 -}}