[stable/sumologic-fluentd] Add support for DaemonSet annotations (#17054) (#17055)

Signed-off-by: Constantin Bugneac <cosbug@gmail.com>
This commit is contained in:
Constantin Bugneac
2019-11-05 13:28:39 -08:00
committed by Kubernetes Prow Robot
parent 6b7eae1bf2
commit 9dddcd1d79
4 changed files with 9 additions and 1 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
apiVersion: v1
name: sumologic-fluentd
version: 2.0.0
version: 2.0.1
appVersion: 2.3.0
kubeVersion: ">=1.10.0-0"
description: Sumologic Log Collector
+1
View File
@@ -60,6 +60,7 @@ The following table lists the configurable parameters of the sumologic-fluentd c
| Parameter | Description | Default |
|-----------|-------------|---------|
| `podAnnotations` | Annotations to add to the DaemonSet's Pods | `{}` |
| `daemonsetAnnotations` | Annotations to add to the DaemonSet itself | `{}` |
| `tolerations` | List of node taints to tolerate (requires Kubernetes >= 1.6) | `[]` |
| `nodeSelector` | Node labels for fluentd pod assignment | `{}` |
| `affinity` | Expressions for affinity | `{}` |
@@ -9,6 +9,10 @@ metadata:
chart: {{ .Chart.Name }}-{{ .Chart.Version }}
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
{{- if .Values.daemonsetAnnotations }}
annotations:
{{ toYaml .Values.daemonsetAnnotations | indent 6 }}
{{- end }}
spec:
selector:
matchLabels:
+3
View File
@@ -8,6 +8,9 @@ image:
podAnnotations: {}
# scheduler.alpha.kubernetes.io/tolerations: '[{"key": "example", "value": "foo"}]'
## Annotations to add to the DaemonSet
daemonsetAnnotations: {}
## Allow the DaemonSet to schedule on tainted nodes (requires Kubernetes >= 1.6)
tolerations: []
# - key: node.alpha.kubernetes.io/role