Skip to content

Commit 8645cd9

Browse files
authored
feat: update daemonset to tolerate everything so agent pods run on all worker nodes regardless of taints (#144)
1 parent 57f1850 commit 8645cd9

File tree

4 files changed

+2
-26
lines changed

4 files changed

+2
-26
lines changed

chart/logdna-agent/templates/daemonset.yaml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,4 @@ spec:
131131
hostPath:
132132
path: /etc/hostname
133133
tolerations:
134-
{{- range $val := .Values.tolerations }}
135-
- effect: {{ $val.effect | quote }}
136-
key: {{ $val.key | quote }}
137-
value: {{ $val.value | quote }}
138-
operator: Equal
139-
{{- end}}
134+
- operator: Exists

chart/logdna-agent/values.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,5 @@ env:
1010
secret:
1111
name: "logdna-agent"
1212
key: ""
13-
tolerations:
14-
- key: "dedicated"
15-
value: "edge"
16-
effect: "NoExecute"
17-
- key: "dedicated"
18-
value: "transit"
19-
effect: "NoExecute"
2013
agent:
2114
tags: ""

chart/sysdig-agent/templates/daemonset.yaml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,7 @@ spec:
8383
- operator: Exists
8484
effect: NoSchedule
8585
key: node-role.kubernetes.io/master
86-
{{- range $val := .Values.tolerations }}
87-
- effect: {{ $val.effect | quote }}
88-
key: {{ $val.key | quote }}
89-
value: {{ $val.value | quote }}
90-
operator: Equal
91-
{{- end}}
86+
- operator: Exists
9287
# The following line is necessary for RBAC
9388
serviceAccountName: sysdig-agent
9489
terminationGracePeriodSeconds: 5

chart/sysdig-agent/values.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,3 @@ checkov_skips:
2323
- checkov.io/skip15: CKV_K8S_17
2424
- checkov.io/skip16: CKV_K8S_19
2525
- checkov.io/skip17: CKV_K8S_43
26-
tolerations:
27-
- key: "dedicated"
28-
value: "edge"
29-
effect: "NoExecute"
30-
- key: "dedicated"
31-
value: "transit"
32-
effect: "NoExecute"

0 commit comments

Comments
 (0)