diff --git a/charts/fluent-operator/templates/fluentd-fluentd.yaml b/charts/fluent-operator/templates/fluentd-fluentd.yaml index 9c2fa73bd..abc039f5a 100644 --- a/charts/fluent-operator/templates/fluentd-fluentd.yaml +++ b/charts/fluent-operator/templates/fluentd-fluentd.yaml @@ -13,6 +13,9 @@ spec: port: {{ .Values.fluentd.port }} replicas: {{ .Values.fluentd.replicas }} image: {{ .Values.fluentd.image.repository }}:{{ .Values.fluentd.image.tag }} + {{- if .Values.fluentd.imagePullSecrets }} + imagePullSecrets: + {{ toYaml .Values.fluentd.imagePullSecrets | indent 4 }} mode: {{ .Values.fluentd.mode }} resources: {{- toYaml .Values.fluentd.resources | nindent 4 }} diff --git a/charts/fluent-operator/values.yaml b/charts/fluent-operator/values.yaml index 5214ba735..5c90149cc 100644 --- a/charts/fluent-operator/values.yaml +++ b/charts/fluent-operator/values.yaml @@ -98,7 +98,7 @@ fluentbit: # - name: "image-pull-secret" secrets: [] # fluent-bit daemonset use host network - hostNetwork: false + hostNetwork: false # Pod security context for Fluent Bit pods. Ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ podSecurityContext: {} # Security context for Fluent Bit container. Ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ @@ -355,6 +355,10 @@ fluentd: cpu: 100m memory: 128Mi schedulerName: "" + ## Reference to one or more secrets to be used when pulling images + ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/ + imagePullSecrets: [] + # - name: "image-pull-secret" logLevel: "" extras: {} # Configure the output plugin parameter in Fluentd.