diff options
author | 2019-04-17 15:02:56 -0700 | |
---|---|---|
committer | 2019-04-17 15:06:13 -0700 | |
commit | c8038e7451fb5bf2b9d5e7b70e5a29d56f9202a7 (patch) | |
tree | 113ad9f20181c6a63e53a79ffc1b7a2694c289c9 /vnfs/DAaaS/minio/templates/pvc.yaml | |
parent | 2b21e905e3fa4593ec7c2f1dd16ffb28a97eb56d (diff) |
Fixed the chart name for Minio Model repo
The Chart name is incosistent with the minio related manifests.
Change-Id: I42b6e9597651faba4c79cbeb77db2adffe191952
Issue-ID: ONAPARC-487
Signed-off-by: Pramod <pramod.raghavendra.jayathirth@intel.com>
Diffstat (limited to 'vnfs/DAaaS/minio/templates/pvc.yaml')
-rw-r--r-- | vnfs/DAaaS/minio/templates/pvc.yaml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/vnfs/DAaaS/minio/templates/pvc.yaml b/vnfs/DAaaS/minio/templates/pvc.yaml new file mode 100644 index 00000000..3f4cbb03 --- /dev/null +++ b/vnfs/DAaaS/minio/templates/pvc.yaml @@ -0,0 +1,27 @@ +{{- if eq .Values.mode "standalone" }} +{{- if and .Values.persistence.enabled (not .Values.persistence.existingClaim) }} +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: {{ template "minio.fullname" . }} + labels: + app: {{ template "minio.name" . }} + chart: {{ template "minio.chart" . }} + release: {{ .Release.Name }} + heritage: {{ .Release.Service }} +spec: +{{- if and .Values.nasgateway.enabled .Values.nasgateway.pv }} + selector: + matchLabels: + pv: {{ .Values.nasgateway.pv | quote }} +{{- end }} + accessModes: + - {{ .Values.persistence.accessMode | quote }} + resources: + requests: + storage: {{ .Values.persistence.size | quote }} +{{- if .Values.persistence.storageClass }} + storageClassName: {{ .Values.persistence.storageClass | quote }} +{{- end }} +{{- end }} +{{- end }} |