diff options
author | Borislav Glozman <Borislav.Glozman@amdocs.com> | 2019-12-18 11:35:07 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-12-18 11:35:07 +0000 |
commit | 45af03afbe57b068ebffb45e91c230cc50d4344c (patch) | |
tree | ada92f7bae51f27207724a6bd8c6506ba905ebd9 /kubernetes/dmaap/components/message-router/charts/message-router-zookeeper/templates/statefulset.yaml | |
parent | aab7b218f456882edb50eb4b7f4358eadadb3df2 (diff) | |
parent | 60141128dc3b8224b9f414c599d3c8826574c45c (diff) |
Merge "[DMaaP] Use global storage templates for PVC"
Diffstat (limited to 'kubernetes/dmaap/components/message-router/charts/message-router-zookeeper/templates/statefulset.yaml')
-rw-r--r-- | kubernetes/dmaap/components/message-router/charts/message-router-zookeeper/templates/statefulset.yaml | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/kubernetes/dmaap/components/message-router/charts/message-router-zookeeper/templates/statefulset.yaml b/kubernetes/dmaap/components/message-router/charts/message-router-zookeeper/templates/statefulset.yaml index df17ca834e..17b87f8b09 100644 --- a/kubernetes/dmaap/components/message-router/charts/message-router-zookeeper/templates/statefulset.yaml +++ b/kubernetes/dmaap/components/message-router/charts/message-router-zookeeper/templates/statefulset.yaml @@ -133,17 +133,10 @@ spec: spec: accessModes: - {{ .Values.persistence.accessMode | quote }} + storageClassName: {{ include "common.storageClass" . }} resources: requests: storage: {{ .Values.persistence.size | quote }} - selector: - matchLabels: - release: "{{ .Release.Name }}" - app: {{ .Values.service.name }} - chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" - heritage: "{{ .Release.Service }}" {{ end }} imagePullSecrets: - name: "{{ include "common.namespace" . }}-docker-registry-key" - - |