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

fix(system-upgrade): fix kustomization patch

parent 243590b3
No related branches found
No related tags found
No related merge requests found
......@@ -7,11 +7,8 @@ resources:
patches:
- patch: |
- op: replace
path: /spec/template/spec/affinity/nodeAffinity/requiredDuringSchedulingIgnoredDuringExecution/nodeSelectorTerms/0/
value:
matchExpressions:
- {key: "node-role.kubernetes.io/control-plane", operator: Exists}
path: /spec/template/spec/affinity/nodeAffinity/requiredDuringSchedulingIgnoredDuringExecution/nodeSelectorTerms/0/matchExpressions/0/key
value: node-role.kubernetes.io/control-plane
target:
kind: Deployment
name: system-upgrade-controller
......
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