diff --git a/fluentd/templates/deployment-fluentd.yaml b/fluentd/templates/deployment-fluentd.yaml index 10270e421..7896c0fb6 100644 --- a/fluentd/templates/deployment-fluentd.yaml +++ b/fluentd/templates/deployment-fluentd.yaml @@ -161,6 +161,9 @@ spec: value: {{ tuple "elasticsearch" "internal" "http" . | include "helm-toolkit.endpoints.endpoint_port_lookup" | quote }} - name: KAFKA_BROKER value: {{ $kafkaBrokerURI }} +{{- if .Values.pod.env.fluentd }} +{{ include "helm-toolkit.utils.to_k8s_env_vars" .Values.pod.env.fluentd | indent 12 }} +{{- end }} - name: ELASTICSEARCH_USERNAME valueFrom: secretKeyRef: diff --git a/fluentd/values.yaml b/fluentd/values.yaml index 1725057c1..1c2a615a9 100644 --- a/fluentd/values.yaml +++ b/fluentd/values.yaml @@ -405,6 +405,8 @@ network_policy: - {} pod: + env: + fluentd: null tolerations: fluentd: enabled: false