Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Made Fluentd pod init container image variable #182

Merged
merged 2 commits into from
Aug 4, 2021
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ spec:
{{- if .Values.logsEnabled }}
initContainers:
- name: prepare-fluentd-config
image: busybox:1.33
image: {{ .Values.image.fluentd.initContainer.image }}
imagePullPolicy: {{ .Values.image.fluentd.initContainer.pullPolicy }}
command: [ "sh", "-c"]
args:
- if [ -z "${LOG_FORMAT_TYPE}" ]; then
Expand Down
6 changes: 6 additions & 0 deletions helm-charts/splunk-otel-collector/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -518,6 +518,12 @@ image:
# The policy that specifies when the user wants the fluentd images to be pulled
pullPolicy: IfNotPresent

initContainer:
# The image of the container for fluentd init to pull
image: busybox:1.33
# The policy that specifies when the user wants the fluentd init image to be pulled
pullPolicy: IfNotPresent

otelcol:
# The registry and name of the opentelemetry collector image to pull
repository: quay.io/signalfx/splunk-otel-collector
Expand Down
1 change: 1 addition & 0 deletions rendered/manifests/agent-only/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ spec:
initContainers:
- name: prepare-fluentd-config
image: busybox:1.33
imagePullPolicy: IfNotPresent
command: [ "sh", "-c"]
args:
- if [ -z "${LOG_FORMAT_TYPE}" ]; then
Expand Down
1 change: 1 addition & 0 deletions rendered/manifests/logs-only/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ spec:
initContainers:
- name: prepare-fluentd-config
image: busybox:1.33
imagePullPolicy: IfNotPresent
command: [ "sh", "-c"]
args:
- if [ -z "${LOG_FORMAT_TYPE}" ]; then
Expand Down