aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Geissler <andreas-geissler@telekom.de>2022-06-22 11:23:11 +0200
committerFiachra Corcoran <fiachra.corcoran@est.tech>2022-07-06 15:41:40 +0000
commitab49dba4d1715e05d6bf6bf034a71412b17990ed (patch)
treeacc1dd51cbe6817bd447c6088c2a464a517056db
parent18b40bb392e323f1204fc6a7782dbc298790fae7 (diff)
[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 <andreas-geissler@telekom.de> Change-Id: Icb26a34cec14cccaef4380e5eaf3f5b49f798171 (cherry picked from commit e7d568734785b8b77ec25362aa59fd4eaa5f1be3)
-rw-r--r--kubernetes/dmaap/components/message-router/templates/statefulset.yaml4
-rw-r--r--kubernetes/dmaap/components/message-router/values.yaml4
2 files changed, 6 insertions, 2 deletions
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) . }}'