Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

Commit

Permalink
[stable/sumologic-fluentd] Add support for DaemonSet annotations (#17054
Browse files Browse the repository at this point in the history
) (#17055)

Signed-off-by: Constantin Bugneac <[email protected]>
  • Loading branch information
Constantin07 authored and k8s-ci-robot committed Nov 5, 2019
1 parent 6b7eae1 commit 9dddcd1
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion stable/sumologic-fluentd/Chart.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
1 change: 1 addition & 0 deletions stable/sumologic-fluentd/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 | `{}` |
Expand Down
4 changes: 4 additions & 0 deletions stable/sumologic-fluentd/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 3 additions & 0 deletions stable/sumologic-fluentd/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9dddcd1

Please sign in to comment.