diff options
author | 2019-12-11 14:06:14 +0000 | |
---|---|---|
committer | 2019-12-11 14:06:14 +0000 | |
commit | d7c871ee5e465c11f36974cfb668844882d139d2 (patch) | |
tree | e83c4f3b3774f83a5e86fa392814821e6598f026 /kubernetes/pnda/charts/dcae-pnda-bootstrap/templates/pv.yaml | |
parent | ef7963b2f0a8b5b4d4e0840435dcbdbf98fccb0d (diff) | |
parent | 34b8d99bb80baeb49f5b7142dbe79e43e967b8b3 (diff) |
Merge "[PNDA] Use global storage templates for PVC"
Diffstat (limited to 'kubernetes/pnda/charts/dcae-pnda-bootstrap/templates/pv.yaml')
-rw-r--r-- | kubernetes/pnda/charts/dcae-pnda-bootstrap/templates/pv.yaml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kubernetes/pnda/charts/dcae-pnda-bootstrap/templates/pv.yaml b/kubernetes/pnda/charts/dcae-pnda-bootstrap/templates/pv.yaml index bf2d40bc65..0d20b9687e 100644 --- a/kubernetes/pnda/charts/dcae-pnda-bootstrap/templates/pv.yaml +++ b/kubernetes/pnda/charts/dcae-pnda-bootstrap/templates/pv.yaml @@ -19,7 +19,7 @@ kind: PersistentVolume apiVersion: v1 metadata: - name: {{ include "common.fullname" . }}-logs + name: {{ include "common.fullname" . }} namespace: {{ include "common.namespace" . }} labels: app: {{ include "common.name" . }} @@ -34,7 +34,7 @@ spec: accessModes: - {{ .Values.persistence.accessMode }} persistentVolumeReclaimPolicy: {{ .Values.persistence.volumeReclaimPolicy }} + storageClassName: "{{ include "common.fullname" . }}-data" hostPath: - path: {{ .Values.global.persistence.mountPath | default .Values.persistence.mountPath }}/{{ .Release.Name }}/{{ .Values.persistence.mountSubPath }}0 - + path: {{ .Values.global.persistence.mountPath | default .Values.persistence.mountPath }}/{{ .Release.Name }}/{{ .Values.persistence.mountSubPath }} {{- end -}} |