aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/aaf/templates/pv-config.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/aaf/templates/pv-config.yaml')
-rw-r--r--kubernetes/aaf/templates/pv-config.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/kubernetes/aaf/templates/pv-config.yaml b/kubernetes/aaf/templates/pv-config.yaml
index b004fe43cd..5ed3e62aeb 100644
--- a/kubernetes/aaf/templates/pv-config.yaml
+++ b/kubernetes/aaf/templates/pv-config.yaml
@@ -24,7 +24,7 @@ metadata:
labels:
app: {{ include "common.fullname" . }}-config
chart: "{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}"
- release: "{{ .Release.Name }}"
+ release: "{{ include "common.release" . }}"
heritage: "{{ .Release.Service }}"
name: {{ include "common.fullname" . }}
spec:
@@ -34,7 +34,7 @@ spec:
- {{ .Values.persistence.config.accessMode }}
persistentVolumeReclaimPolicy: {{ .Values.persistence.config.volumeReclaimPolicy }}
hostPath:
- path: {{ .Values.persistence.config.mountPath | default .Values.persistence.mountPath }}/{{ .Release.Name }}/{{ .Values.persistence.config.mountSubPath }}
+ path: {{ .Values.persistence.config.mountPath | default .Values.persistence.mountPath }}/{{ include "common.release" . }}/{{ .Values.persistence.config.mountSubPath }}
storageClassName: "{{ include "common.fullname" . }}-config"
{{- end -}}
{{- end -}}