From 2d51334e3ee1af0e67d3ad9cbc665ae96a2db617 Mon Sep 17 00:00:00 2001
From: "stu126940@mail.uni-kiel.de" <stu126940@mail.uni-kiel.de>
Date: Mon, 23 Nov 2020 14:17:54 +0100
Subject: [PATCH] Add Zookeeper client

---
 .../templates/zookeeper-client.yaml                | 14 ++++++++++++++
 execution/helm/theodolite-chart/values.yaml        |  4 ++++
 2 files changed, 18 insertions(+)
 create mode 100644 execution/helm/theodolite-chart/templates/zookeeper-client.yaml

diff --git a/execution/helm/theodolite-chart/templates/zookeeper-client.yaml b/execution/helm/theodolite-chart/templates/zookeeper-client.yaml
new file mode 100644
index 000000000..e665682c1
--- /dev/null
+++ b/execution/helm/theodolite-chart/templates/zookeeper-client.yaml
@@ -0,0 +1,14 @@
+{{- if .Values.ZookeeperClient.enabled -}}
+apiVersion: v1
+kind: Pod
+metadata:
+  name: zookeeper-client
+spec:
+  containers:
+  - name: zookeeper-client
+    image: confluentinc/cp-zookeeper:5.4.0
+    command:
+      - sh
+      - -c
+      - "exec tail -f /dev/null"
+{{- end}}
diff --git a/execution/helm/theodolite-chart/values.yaml b/execution/helm/theodolite-chart/values.yaml
index 7063b3da7..f1fd5f2f4 100644
--- a/execution/helm/theodolite-chart/values.yaml
+++ b/execution/helm/theodolite-chart/values.yaml
@@ -7,6 +7,10 @@
 kafkaClient:
   enabled: true
   namespace: # TODO
+
+ZookeeperClient:
+  enabled: true
+  namespace: # TODO
   
 
 ####
-- 
GitLab