From 108ef50bd51d8acded37de1b995da8498623ce9a Mon Sep 17 00:00:00 2001 From: David Young Date: Tue, 30 Jun 2020 17:12:30 +1200 Subject: [PATCH] Allow user to define busybox image (#1643) Co-authored-by: Vishal --- charts/fission-all/templates/fluentbit.yaml | 2 +- charts/fission-all/values.yaml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/charts/fission-all/templates/fluentbit.yaml b/charts/fission-all/templates/fluentbit.yaml index cb8274c6..e1bbdfce 100644 --- a/charts/fission-all/templates/fluentbit.yaml +++ b/charts/fission-all/templates/fluentbit.yaml @@ -96,7 +96,7 @@ spec: spec: initContainers: - name: init - image: busybox + image: {{ .Values.busyboxImage | quote }} imagePullPolicy: {{ .Values.pullPolicy }} command: ['mkdir', '-p', '/var/log/fission'] volumeMounts: diff --git a/charts/fission-all/values.yaml b/charts/fission-all/values.yaml index c48846ae..34ff0a88 100644 --- a/charts/fission-all/values.yaml +++ b/charts/fission-all/values.yaml @@ -265,6 +265,9 @@ analyticsNonHelmInstall: false ## Enable Heapster only in clusters where heapster does not exist already heapster: false +# Allow user to override busybox image used in fluent-bit init container +busyboxImage: busybox + ## Archive pruner is a garbage collector for archives on the fission storage service. ## This interval configures the frequency at which it runs inside the storagesvc pod. ## The value is in minutes.