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/charts/appc-ansible-server/templates/statefulset.yaml | |
parent | 05942430664ddd4a35f830c5e7488ecd4122c83d (diff) | |
parent | 5f46e6edb8331594eeb4ef88eaca3654232fb8dd (diff) |
Merge "[APPC] Use global storage templates for PVC"
Diffstat (limited to 'kubernetes/appc/charts/appc-ansible-server/templates/statefulset.yaml')
-rw-r--r-- | kubernetes/appc/charts/appc-ansible-server/templates/statefulset.yaml | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/kubernetes/appc/charts/appc-ansible-server/templates/statefulset.yaml b/kubernetes/appc/charts/appc-ansible-server/templates/statefulset.yaml index f7fa15ca89..b9ef80dbb3 100644 --- a/kubernetes/appc/charts/appc-ansible-server/templates/statefulset.yaml +++ b/kubernetes/appc/charts/appc-ansible-server/templates/statefulset.yaml @@ -95,9 +95,13 @@ spec: name: {{ include "common.fullname" . }}-playbook 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" . }}-playbook + accessModes: + - {{ .Values.persistence.accessMode }} + storageClassName: {{ include "common.storageClass" . }} resources: requests: storage: {{ .Values.persistence.size }} |