summaryrefslogtreecommitdiffstats
path: root/kubernetes/dmaap/components/message-router/charts/message-router-zookeeper/templates/statefulset.yaml
diff options
context:
space:
mode:
authorBorislav Glozman <Borislav.Glozman@amdocs.com>2019-12-18 11:35:07 +0000
committerGerrit Code Review <gerrit@onap.org>2019-12-18 11:35:07 +0000
commit45af03afbe57b068ebffb45e91c230cc50d4344c (patch)
treeada92f7bae51f27207724a6bd8c6506ba905ebd9 /kubernetes/dmaap/components/message-router/charts/message-router-zookeeper/templates/statefulset.yaml
parentaab7b218f456882edb50eb4b7f4358eadadb3df2 (diff)
parent60141128dc3b8224b9f414c599d3c8826574c45c (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.yaml9
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"
-
-