diff options
author | Borislav Glozman <Borislav.Glozman@amdocs.com> | 2019-12-11 14:26:24 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-12-11 14:26:24 +0000 |
commit | 73a2c25f2a9ea88e6bbce1175104ca46dd9a21d3 (patch) | |
tree | d5c522966d8a458bd7661c466b3f0fab63276d18 /kubernetes/appc/templates/statefulset.yaml | |
parent | 05942430664ddd4a35f830c5e7488ecd4122c83d (diff) | |
parent | 5f46e6edb8331594eeb4ef88eaca3654232fb8dd (diff) |
Merge "[APPC] Use global storage templates for PVC"
Diffstat (limited to 'kubernetes/appc/templates/statefulset.yaml')
-rw-r--r-- | kubernetes/appc/templates/statefulset.yaml | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/kubernetes/appc/templates/statefulset.yaml b/kubernetes/appc/templates/statefulset.yaml index 1bd3103e3b..0bee9f34e9 100644 --- a/kubernetes/appc/templates/statefulset.yaml +++ b/kubernetes/appc/templates/statefulset.yaml @@ -224,9 +224,13 @@ spec: name: {{ include "common.fullname" . }}-data labels: name: {{ include "common.fullname" . }} + chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" + release: "{{ .Release.Name }}" + heritage: "{{ .Release.Service }}" spec: - accessModes: [ {{ .Values.persistence.accessMode }} ] - storageClassName: {{ include "common.fullname" . }}-data + accessModes: + - {{ .Values.persistence.accessMode }} + storageClassName: {{ include "common.storageClass" . }} resources: requests: storage: {{ .Values.persistence.size }} |