X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=ric-aux%2F80-Auxiliary-Functions%2Fhelm%2Fmessage-router%2Fcharts%2Fmessage-router-kafka%2Ftemplates%2Fstatefulset.yaml;h=547177c25328c97f6578f59e6f44ec9c4cef7644;hb=refs%2Fchanges%2F34%2F1234%2F9;hp=0e38ed5a3425abfd6bcd9106592a8c9cca9036e1;hpb=2df61c2fcf64b32ecf7f064ef9cbbe6b54a15bc0;p=it%2Fdep.git diff --git a/ric-aux/80-Auxiliary-Functions/helm/message-router/charts/message-router-kafka/templates/statefulset.yaml b/ric-aux/80-Auxiliary-Functions/helm/message-router/charts/message-router-kafka/templates/statefulset.yaml index 0e38ed5a..547177c2 100644 --- a/ric-aux/80-Auxiliary-Functions/helm/message-router/charts/message-router-kafka/templates/statefulset.yaml +++ b/ric-aux/80-Auxiliary-Functions/helm/message-router/charts/message-router-kafka/templates/statefulset.yaml @@ -16,7 +16,7 @@ ################################################################################ -apiVersion: apps/v1beta1 +apiVersion: apps/v1 kind: StatefulSet metadata: name: {{ include "common.fullname" . }} @@ -29,6 +29,10 @@ metadata: spec: serviceName: {{ .Values.service.name }} replicas: {{ .Values.replicaCount }} + selector: + matchLabels: + app: {{ include "common.name" . }} + release: {{ .Release.Name }} podManagementPolicy: Parallel template: metadata: @@ -131,6 +135,8 @@ spec: value: "{{ .Values.replicaCount }}" - name: KAFKA_NUM_PARTITIONS value: "{{ .Values.defaultpartitions }}" + - name: KAFKA_ZOOKEEPER_CONNECTION_TIMEOUT_MS + value: "60000" volumeMounts: - mountPath: /etc/localtime name: localtime @@ -176,4 +182,4 @@ spec: heritage: "{{ .Release.Service }}" {{ end }} imagePullSecrets: - - name: "{{ include "common.namespace" . }}-docker-registry-key" + - name: "docker-reg-cred" \ No newline at end of file