Skip to content

Commit

Permalink
suc: v0.8.0 (rancher#775)
Browse files Browse the repository at this point in the history
- rancher/system-upgrade-controller:v0.8.0
- adjust the manifest to prefer scheduling to master/control-plane
  instead of requiring it.

Signed-off-by: Jacob Blain Christen <[email protected]>
  • Loading branch information
dweomer authored Oct 5, 2021
1 parent 768624c commit 2e5c58e
Showing 1 changed file with 10 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,15 @@ spec:
spec:
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- {key: "node-role.kubernetes.io/master", operator: In, values: ["true"]}
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
preference:
matchExpressions:
- { key: node-role.kubernetes.io/control-plane, operator: Exists }
- weight: 100
preference:
matchExpressions:
- { key: node-role.kubernetes.io/master, operator: Exists }
serviceAccountName: k3os-upgrade
tolerations:
- key: "CriticalAddonsOnly"
Expand All @@ -70,7 +75,7 @@ spec:
effect: "NoSchedule"
containers:
- name: system-upgrade-controller
image: rancher/system-upgrade-controller:v0.7.7-rc.1
image: rancher/system-upgrade-controller:v0.8.0
imagePullPolicy: IfNotPresent
envFrom:
- configMapRef:
Expand Down

0 comments on commit 2e5c58e

Please sign in to comment.