diff options
author | 2019-12-11 14:08:34 +0000 | |
---|---|---|
committer | 2019-12-11 14:08:34 +0000 | |
commit | 9d390192fce4824a1b393ab4252ba95307c10a2b (patch) | |
tree | f0c34dc8362f29d6b133c397b608890ba486d17d /kubernetes/modeling/charts/modeling-etsicatalog/templates/pvc.yaml | |
parent | 37c368332d64933817d24a0521a2a109160b446b (diff) | |
parent | 09b40ae930ae269f8c8523512f272ce985238c20 (diff) |
Merge "[Modeling] Use global storage templates for PVC"
Diffstat (limited to 'kubernetes/modeling/charts/modeling-etsicatalog/templates/pvc.yaml')
-rw-r--r-- | kubernetes/modeling/charts/modeling-etsicatalog/templates/pvc.yaml | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/kubernetes/modeling/charts/modeling-etsicatalog/templates/pvc.yaml b/kubernetes/modeling/charts/modeling-etsicatalog/templates/pvc.yaml index 74ba690fa6..d3d5d9e0a4 100644 --- a/kubernetes/modeling/charts/modeling-etsicatalog/templates/pvc.yaml +++ b/kubernetes/modeling/charts/modeling-etsicatalog/templates/pvc.yaml @@ -29,19 +29,10 @@ metadata: {{ toYaml .Values.persistence.annotations | indent 4 }} {{- end }} spec: - selector: - matchLabels: - name: {{ include "common.fullname" . }} accessModes: - {{ .Values.persistence.accessMode }} + storageClassName: {{ include "common.storageClass" . }} resources: requests: storage: {{ .Values.persistence.size }} -{{- if .Values.persistence.storageClass }} -{{- if (eq "-" .Values.persistence.storageClass) }} - storageClassName: "" -{{- else }} - storageClassName: "{{ .Values.persistence.storageClass }}" -{{- end }} -{{- end }} -{{- end -}}
\ No newline at end of file +{{- end -}} |