Skip to content
Snippets Groups Projects
Unverified Commit d0251cf4 authored by Manuel Hutter's avatar Manuel Hutter Committed by GitHub
Browse files

Relax affinity rules for controller (#137)


More recent clusters set an empty value for the node-role labels. This
change makes the SUC work out of the box with those clusters while
retaining backwards compatibility.

Fixes #136

Signed-off-by: default avatarManuel Hutter <manuel@hutter.io>
parent 32a31b23
No related branches found
No related tags found
No related merge requests found
......@@ -57,7 +57,7 @@ spec:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- {key: "node-role.kubernetes.io/master", operator: In, values: ["true"]}
- {key: "node-role.kubernetes.io/master", operator: Exists}
serviceAccountName: system-upgrade
tolerations:
- key: "CriticalAddonsOnly"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment