From ab49dba4d1715e05d6bf6bf034a71412b17990ed Mon Sep 17 00:00:00 2001 From: Andreas Geissler Date: Wed, 22 Jun 2022 11:23:11 +0200 Subject: [DMAAP-MR] Correct zoo-entrance image definition in statefulset Use RepositoryGenerator template to define the image name in the statefulset chart Issue-ID: DMAAP-1622 Signed-off-by: Andreas Geissler Change-Id: Icb26a34cec14cccaef4380e5eaf3f5b49f798171 (cherry picked from commit e7d568734785b8b77ec25362aa59fd4eaa5f1be3) --- kubernetes/dmaap/components/message-router/templates/statefulset.yaml | 4 ++-- kubernetes/dmaap/components/message-router/values.yaml | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'kubernetes/dmaap/components/message-router') diff --git a/kubernetes/dmaap/components/message-router/templates/statefulset.yaml b/kubernetes/dmaap/components/message-router/templates/statefulset.yaml index e9d890e432..174eb2c3a9 100644 --- a/kubernetes/dmaap/components/message-router/templates/statefulset.yaml +++ b/kubernetes/dmaap/components/message-router/templates/statefulset.yaml @@ -68,7 +68,7 @@ spec: mountPath: /etc/jmx-kafka {{- end }} - name: srimzi-zk-entrance - image: 'docker.io/scholzj/zoo-entrance:latest' + image: {{ include "repositoryGenerator.dockerHubRepository" . }}/{{ .Values.zookeeper.entrance.image }} command: - /opt/stunnel/stunnel_run.sh ports: @@ -227,4 +227,4 @@ spec: - port: {{ .Values.global.zkTunnelService.internalPort }} protocol: TCP policyTypes: - - Ingress \ No newline at end of file + - Ingress diff --git a/kubernetes/dmaap/components/message-router/values.yaml b/kubernetes/dmaap/components/message-router/values.yaml index 372665243e..11daae0de8 100644 --- a/kubernetes/dmaap/components/message-router/values.yaml +++ b/kubernetes/dmaap/components/message-router/values.yaml @@ -71,6 +71,10 @@ certInitializer: image: onap/dmaap/dmaap-mr:1.3.2 pullPolicy: Always +zookeeper: + entrance: + image: scholzj/zoo-entrance:latest + secrets: - uid: mr-kafka-admin-secret externalSecret: '{{ tpl (default "" .Values.config.jaasConfExternalSecret) . }}' -- cgit 1.2.3-korg