Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions charts/graylog/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 2 additions & 0 deletions charts/graylog/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,9 @@ graylog:
## Init Container image
##
image:
registry: "docker.io"
repository: "alpine"
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can just specify the version here e..g alpine:3.17.0

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@KongZ I think separated key for tag is better

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.
Expand Down