Merge "Fluentd: Add support for arbitrary environment vars"

This commit is contained in:
Zuul 2019-09-05 18:29:04 +00:00 committed by Gerrit Code Review
commit 010fc1fc65
2 changed files with 5 additions and 0 deletions

View File

@ -163,6 +163,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:

View File

@ -405,6 +405,8 @@ network_policy:
- {}
pod:
env:
fluentd: null
tolerations:
fluentd:
enabled: false