X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=kubernetes%2Fcommon%2Fpostgres%2Ftemplates%2Fpvc-replica.yaml;fp=kubernetes%2Fcommon%2Fpostgres%2Ftemplates%2Fpvc-replica.yaml;h=f59adf736aa8aef525ee459f6b06f844b803aa78;hb=062e7c2a2f0e666ba87d4a0337e5774cf841b3f9;hp=1e453fbcfdbe6f97796d2447337f7f2aa02fd50e;hpb=2ee6ad456a91061d64b859ba20108c7e3c556de3;p=oom.git diff --git a/kubernetes/common/postgres/templates/pvc-replica.yaml b/kubernetes/common/postgres/templates/pvc-replica.yaml index 1e453fbcfd..f59adf736a 100644 --- a/kubernetes/common/postgres/templates/pvc-replica.yaml +++ b/kubernetes/common/postgres/templates/pvc-replica.yaml @@ -14,6 +14,7 @@ # limitations under the License. */}} +{{- if not .Values.global.postgres.useOperator }} {{- if and .Values.persistence.enabled (not .Values.persistence.existingClaim) -}} kind: PersistentVolumeClaim apiVersion: v1 @@ -41,4 +42,5 @@ spec: {{- else }} storageClassName: {{ include "common.storageClass" . }} {{- end }} -{{- end -}} +{{- end }} +{{- end }} \ No newline at end of file