Skip to content

Commit 11583b1

Browse files
author
Kingdon Barrett
committed
fix(monitor): DaemonSet selector must match labels
The selector for monitor/telegraf chart was missing this matchLabels map, and the labels not identical to our other charts. This was missed somehow, and needs to be corrected in order to upgrade K8s to v1.16, (and/or Helm to v2.15.)
1 parent 4e13be3 commit 11583b1

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

charts/monitor/charts/telegraf/templates/monitor-telegraf-daemon.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,15 @@ spec:
1111
updateStrategy:
1212
type: RollingUpdate
1313
{{- end }}
14+
selector:
15+
matchLabels:
16+
app: deis-monitor-telegraf
17+
heritage: deis
1418
template:
1519
metadata:
20+
name: deis-monitor-telegraf
1621
labels:
22+
heritage: deis
1723
app: deis-monitor-telegraf
1824
spec:
1925
serviceAccount: deis-monitor-telegraf

0 commit comments

Comments
 (0)