[ONAP-wide] Replace .Release.Name with common.release
[oom.git] / kubernetes / aaf / charts / aaf-sshsm / charts / aaf-sshsm-distcenter / templates / pvc.yaml
index 8272597..ede0820 100644 (file)
@@ -24,16 +24,13 @@ metadata:
   labels:
     app: {{ include "common.name" . }}
     chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
-    release: "{{ .Release.Name }}"
+    release: "{{ include "common.release" . }}"
     heritage: "{{ .Release.Service }}"
 {{- if .Values.persistence.annotations }}
   annotations:
 {{ toYaml .Values.persistence.annotations | indent 4 }}
 {{- end }}
 spec:
-  selector:
-    matchLabels:
-      name: {{ include "common.fullname" . }}
   accessModes:
     - {{ .Values.persistence.accessMode }}
   resources: