summaryrefslogtreecommitdiffstats
path: root/kubernetes/cds/charts/cds-blueprints-processor/templates/pvc.yaml
diff options
context:
space:
mode:
authorBorislav Glozman <Borislav.Glozman@amdocs.com>2019-12-11 14:17:17 +0000
committerGerrit Code Review <gerrit@onap.org>2019-12-11 14:17:17 +0000
commitb76e563c2091b311450ada9c9e702bd44f7de734 (patch)
treee50d922bd907340f55593d135841d0772d71ca5e /kubernetes/cds/charts/cds-blueprints-processor/templates/pvc.yaml
parent2fcb342c4e8feb654e034bde46547b13f67cb589 (diff)
parentf8e163f50771a4681217614ad538ee13280f006b (diff)
Merge "[CDS] Use global storage templates for PVC"
Diffstat (limited to 'kubernetes/cds/charts/cds-blueprints-processor/templates/pvc.yaml')
-rwxr-xr-xkubernetes/cds/charts/cds-blueprints-processor/templates/pvc.yaml13
1 files changed, 1 insertions, 12 deletions
diff --git a/kubernetes/cds/charts/cds-blueprints-processor/templates/pvc.yaml b/kubernetes/cds/charts/cds-blueprints-processor/templates/pvc.yaml
index 98b55716c5..601334ec44 100755
--- a/kubernetes/cds/charts/cds-blueprints-processor/templates/pvc.yaml
+++ b/kubernetes/cds/charts/cds-blueprints-processor/templates/pvc.yaml
@@ -30,21 +30,10 @@ metadata:
{{ .Values.persistence.annotations | indent 4 }}
{{- end }}
spec:
-{{- if not .Values.persistence.storageClass }}
- selector:
- matchLabels:
- name: {{ include "common.fullname" . }}-blueprints
-{{- end }}
accessModes:
- {{ .Values.persistence.accessMode }}
resources:
requests:
storage: {{ .Values.persistence.size }}
-{{- if .Values.persistence.storageClass }}
-{{- if (eq "-" .Values.persistence.storageClass) }}
- storageClassName: ""
-{{- else }}
- storageClassName: "{{ .Values.persistence.storageClass }}"
-{{- end }}
-{{- end }}
+ storageClassName: {{ include "common.storageClass" . }}
{{- end -}}