[ONAP-wide] Replace .Release.Name with common.release
[oom.git] / kubernetes / sdnc / templates / pv-certs.yaml
index 54266d1..1b2cf88 100644 (file)
@@ -23,7 +23,7 @@ metadata:
   labels:
     app: {{ include "common.name" . }}
     chart: "{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}"
-    release: "{{ .Release.Name }}"
+    release: "{{ include "common.release" . }}"
     heritage: "{{ .Release.Service }}"
     name: {{ include "common.fullname" . }}-certs
 spec:
@@ -34,5 +34,5 @@ spec:
   storageClassName: "{{ include "common.fullname" . }}-certs"
   persistentVolumeReclaimPolicy: {{ .Values.certpersistence.volumeReclaimPolicy }}
   hostPath:
-    path: {{ .Values.global.persistence.mountPath | default .Values.certpersistence.mountPath }}/{{ .Release.Name }}/{{ .Values.certpersistence.mountSubPath }}
+    path: {{ .Values.global.persistence.mountPath | default .Values.certpersistence.mountPath }}/{{ include "common.release" . }}/{{ .Values.certpersistence.mountSubPath }}
 {{ end }}