From 621d75088b0d279382781a912afd7378e68f64a2 Mon Sep 17 00:00:00 2001 From: Thomas von Dein Date: Mon, 3 Feb 2025 10:36:09 +0100 Subject: [PATCH 1/2] update helm chart version as well --- charts/mgob/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/mgob/Chart.yaml b/charts/mgob/Chart.yaml index 1ebe671..e732d1e 100644 --- a/charts/mgob/Chart.yaml +++ b/charts/mgob/Chart.yaml @@ -9,7 +9,7 @@ type: application sources: - https://github.com/maxisam/mgob -version: 2.1.0 +version: 2.1.1 appVersion: "2.0.20" From 7f690518c5dbd8b9476d188bcf242c8eca5a838d Mon Sep 17 00:00:00 2001 From: Thomas von Dein Date: Thu, 29 Jan 2026 09:54:23 +0100 Subject: [PATCH 2/2] add .busybox.image to make it configurable --- charts/mgob/templates/statefulset.yaml | 2 +- charts/mgob/values.yaml | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/charts/mgob/templates/statefulset.yaml b/charts/mgob/templates/statefulset.yaml index aef9cfd..c9f8fbc 100644 --- a/charts/mgob/templates/statefulset.yaml +++ b/charts/mgob/templates/statefulset.yaml @@ -143,7 +143,7 @@ spec: {{- end }} initContainers: - name: init-cleanup - image: busybox:1.34 + image: {{ .Values.busybox.image }} command: ['sh', '-c', 'find /tmp -not -name "mgob.db" -type f -delete'] volumeMounts: - mountPath: /tmp diff --git a/charts/mgob/values.yaml b/charts/mgob/values.yaml index 0df0a0a..9069a7c 100644 --- a/charts/mgob/values.yaml +++ b/charts/mgob/values.yaml @@ -580,3 +580,7 @@ mongodb: requests: cpu: 200m memory: 300Mi + +# busybox is being used for the init container +busybox: + image: busybox:1.34