aboutsummaryrefslogtreecommitdiffstats
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-03-20 14:34:49 +0000
committerGerrit Code Review <gerrit@onap.org>2019-03-20 14:34:49 +0000
commit458ab6a373ba68a147cf19d0f9c480150d9ec87c (patch)
treee7ac680a6384c34d31edfca5abf2ce5e07255ec5 /kubernetes/dmaap/components/message-router/charts/message-router-zookeeper/templates/statefulset.yaml
parent55d1ab1c49032b20e47137f3ea63dc47bca1a6e4 (diff)
parentc3d5a567a2973a3e53cf442c126b9553234c168b (diff)
Merge "Add noteAffinity option to kafka/zookeeper"
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.yaml4
1 files changed, 4 insertions, 0 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 7cafc149b2..b2f9f13e67 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
@@ -48,6 +48,10 @@ spec:
values:
- {{ include "common.name" . }}
topologyKey: "kubernetes.io/hostname"
+ {{- if .Values.nodeAffinity }}
+ nodeAffinity:
+ {{ toYaml .Values.nodeAffinity | indent 10 }}
+ {{- end }}
initContainers:
- name: {{ include "common.name" . }}-seed-topics-apikeys
command: