diff --git a/charts/graylog/templates/statefulset.yaml b/charts/graylog/templates/statefulset.yaml index 58b7f89..17181f7 100644 --- a/charts/graylog/templates/statefulset.yaml +++ b/charts/graylog/templates/statefulset.yaml @@ -55,7 +55,9 @@ spec: {{- toYaml .Values.graylog.podSecurityContext | nindent 8 }} initContainers: - name: "setup" + registry: {{ .Values.graylog.init.image.registry | default "docker.io" }} image: {{ .Values.graylog.init.image.repository | default "busybox" }} + tag: {{ .Values.graylog.init.image.tag | default "latest" }} imagePullPolicy: {{ .Values.graylog.init.image.pullPolicy | default "IfNotPresent" }} # Graylog journal will recursive in every subdirectories. Any invalid format directories will cause errors command: diff --git a/charts/graylog/values.yaml b/charts/graylog/values.yaml index d25d9df..8f94627 100644 --- a/charts/graylog/values.yaml +++ b/charts/graylog/values.yaml @@ -473,7 +473,9 @@ graylog: ## Init Container image ## image: + registry: "docker.io" repository: "alpine" + tag: "3.18.0" pullPolicy: "IfNotPresent" ## Set kubectl location to download and use on init-container. If the value is not set, the https://storage.googleapis.com/kubernetes-release/ will be used.