about summary refs log tree commit diff
path: root/k8s
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2024-05-04 02:48:00 +0200
committerBaitinq <manuelpalenzuelamerino@gmail.com>2024-05-04 03:06:22 +0200
commit60febadacd3ec527d5b5e6cbae588bd45f20e76a (patch)
tree4cfe0a52c992ef751adc727779968c8e26665574 /k8s
parentpayload-processor: print current time when processing (diff)
downloadfs-tracer-backend-60febadacd3ec527d5b5e6cbae588bd45f20e76a.tar.gz
fs-tracer-backend-60febadacd3ec527d5b5e6cbae588bd45f20e76a.tar.bz2
fs-tracer-backend-60febadacd3ec527d5b5e6cbae588bd45f20e76a.zip
misc: add helmsman config
Diffstat (limited to 'k8s')
-rw-r--r--k8s/helmsman.yml45
-rw-r--r--k8s/metallb.yml (renamed from k8s/metallb_config.yml)5
-rw-r--r--k8s/metallb_announce.yml5
3 files changed, 50 insertions, 5 deletions
diff --git a/k8s/helmsman.yml b/k8s/helmsman.yml
new file mode 100644
index 0000000..5579d82
--- /dev/null
+++ b/k8s/helmsman.yml
@@ -0,0 +1,45 @@
+# Helmsman
+
+helmRepos:
+  metallb: https://metallb.github.io/metallb
+
+namespaces:
+  default:
+  metallb-system:
+
+apps:
+  metallb:
+    namespace: metallb-system
+    enabled: true
+    wait: true
+    chart: metallb/metallb
+    version: 0.14.5
+    valuesFile: metallb.yml
+
+  kafka:
+    namespace: default
+    enabled: true
+    wait: true
+    chart: oci://registry-1.docker.io/bitnamicharts/kafka
+    version: 28.1.1
+    set:
+      controller.replicaCount: 1
+      controller.livenessProbe.initialDelaySeconds: 120
+
+  payload-processor:
+    namespace: default
+    enabled: true
+    wait: true
+    chart: payload-processor
+    version: 0.1.0
+    set:
+      image.tag: "payload-processor-$COMMIT_SHA"
+
+  rest-api:
+    namespace: default
+    enabled: true
+    wait: true
+    chart: rest-api
+    version: 0.1.0
+    set:
+      image.tag: "rest-api-$COMMIT_SHA"
diff --git a/k8s/metallb_config.yml b/k8s/metallb.yml
index 497ab94..e9c8bb6 100644
--- a/k8s/metallb_config.yml
+++ b/k8s/metallb.yml
@@ -6,3 +6,8 @@ metadata:
 spec:
   addresses:
   - 192.168.11.0/24
+apiVersion: metallb.io/v1beta1
+kind: L2Advertisement
+metadata:
+  name: simplel2
+  namespace: metallb-system
diff --git a/k8s/metallb_announce.yml b/k8s/metallb_announce.yml
deleted file mode 100644
index 3ef889a..0000000
--- a/k8s/metallb_announce.yml
+++ /dev/null
@@ -1,5 +0,0 @@
-apiVersion: metallb.io/v1beta1
-kind: L2Advertisement
-metadata:
-  name: simplel2
-  namespace: metallb-system