diff options
author | 2019-12-11 14:06:43 +0000 | |
---|---|---|
committer | 2019-12-11 14:06:43 +0000 | |
commit | 408d8af2ab72c4697a95176b50443837b5f8fc40 (patch) | |
tree | d8f2f1c38d19dd7a558cb9ebe104e2f55451ff00 /kubernetes/vfc/charts/vfc-catalog/templates/pvc.yaml | |
parent | d7c871ee5e465c11f36974cfb668844882d139d2 (diff) | |
parent | d90634b74b83fe5ab71876cc866b2793de601287 (diff) |
Merge "[VFC] Use global storage templates for PVC"
Diffstat (limited to 'kubernetes/vfc/charts/vfc-catalog/templates/pvc.yaml')
-rw-r--r-- | kubernetes/vfc/charts/vfc-catalog/templates/pvc.yaml | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/kubernetes/vfc/charts/vfc-catalog/templates/pvc.yaml b/kubernetes/vfc/charts/vfc-catalog/templates/pvc.yaml index 74ba690fa6..d3d5d9e0a4 100644 --- a/kubernetes/vfc/charts/vfc-catalog/templates/pvc.yaml +++ b/kubernetes/vfc/charts/vfc-catalog/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 -}} |