sumologic: add "extraEnv" for specifying custom env vars (#10837)

Signed-off-by: Ben Drucker <bvdrucker@gmail.com>
This commit is contained in:
Ben Drucker
2019-01-22 14:12:10 -08:00
committed by Kubernetes Prow Robot
parent d9ce11ea37
commit e135c03e29
4 changed files with 8 additions and 1 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: sumologic-fluentd
version: 0.10.1
version: 0.11.0
appVersion: 2.1.0
description: Sumologic Log Collector
keywords:
+1
View File
@@ -61,6 +61,7 @@ The following table lists the configurable parameters of the sumologic-fluentd c
|-----------|-------------|---------|
| `podAnnotations` | Annotations to add to the DaemonSet's Pods | `{}` |
| `tolerations` | List of node taints to tolerate (requires Kubernetes >= 1.6) | `[]` |
| `extraEnv` | List of additional env vars to append to pods | `[]` |
| `updateStrategy` | `OnDelete` or `RollingUpdate` (requires Kubernetes >= 1.6) | `OnDelete` |
| `sumologic.collectorUrl` | An HTTP collector in SumoLogic that the container can send logs to via HTTP | `Nil` You must provide your own value |
| `sumologic.collectorUrlExistingSecret` | If set, use the secret with the name provided instead of creating a new one | `Nil` You must reference an existing secret |
@@ -198,6 +198,9 @@ spec:
- name: ENABLE_STAT_WATCHER
value: {{ quote .Values.sumologic.enableStatWatcher }}
{{- end }}
{{- if .Values.extraEnv }}
{{ toYaml .Values.extraEnv | indent 12 }}
{{- end }}
serviceAccountName: {{ if .Values.rbac.create }}{{ template "sumologic-fluentd.fullname" . }}{{ else }}"{{ .Values.rbac.serviceAccountName }}"{{ end }}
volumes:
- name: pos-files
+3
View File
@@ -14,6 +14,9 @@ tolerations: []
# effect: NoSchedule
# operator: "Exists"
# Extra environment variables to set for fluentd
extraEnv: []
## Allow the DaemonSet to perform a rolling update on helm update
## ref: https://kubernetes.io/docs/tasks/manage-daemon/update-daemon-set/
updateStrategy: OnDelete