Skip to content
Snippets Groups Projects
Verified Commit 243590b3 authored by Sheogorath's avatar Sheogorath :european_castle:
Browse files

fix(system-upgrade): Fix node selector for 1.24.x

parent 8cd9e6fd
No related branches found
No related tags found
No related merge requests found
......@@ -2,5 +2,17 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: system-upgrade
resources:
- https://git.shivering-isles.com/github-mirror/rancher/system-upgrade-controller/-/raw/v0.9.1/manifests/system-upgrade-controller.yaml
- https://git.shivering-isles.com/github-mirror/rancher/system-upgrade-controller/-/raw/v0.10.0/manifests/system-upgrade-controller.yaml
- ../../shared/networkpolicies/allow-from-same-namespace.yaml
patches:
- patch: |
- op: replace
path: /spec/template/spec/affinity/nodeAffinity/requiredDuringSchedulingIgnoredDuringExecution/nodeSelectorTerms/0/
value:
matchExpressions:
- {key: "node-role.kubernetes.io/control-plane", operator: Exists}
target:
kind: Deployment
name: system-upgrade-controller
namespace: system-upgrade
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment