Skip to content

Commit

Permalink
fix(otellogs): add option to configure imagePullSecrets for otellogs …
Browse files Browse the repository at this point in the history
…daemonset
  • Loading branch information
kasia-kujawa committed Apr 14, 2023
1 parent a6194ba commit a0a8129
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions .changelog/2984.fixed.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fix(otellogs): configure imagePullSecrets for otellogs daemonset
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ spec:
{{- else }}
priorityClassName: {{ include "sumologic.metadata.name.priorityclass" $ctx | quote }}
{{- end }}
{{- if $.Values.sumologic.pullSecrets }}
imagePullSecrets:
{{ toYaml $.Values.sumologic.pullSecrets | indent 8 }}
{{- end }}
containers:
- args:
- --config=/etc/otelcol/config.yaml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ sumologic:
collector:
otelcol:
enabled: true
pullSecrets:
- name: myRegistryKeySecretName

fluent-bit:
enabled: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ spec:
runAsGroup: 0
runAsUser: 0
priorityClassName: "prio"
imagePullSecrets:
- name: myRegistryKeySecretName
containers:
- args:
- --config=/etc/otelcol/config.yaml
Expand Down

0 comments on commit a0a8129

Please sign in to comment.