diff --git a/bootstrap/system-upgrades/kustomization.yaml b/bootstrap/system-upgrades/kustomization.yaml index f94154d27731804893a8ac00a36c422567ad5c06..b47809282b4ffa29d72ce071b892e4224c4f26a2 100644 --- a/bootstrap/system-upgrades/kustomization.yaml +++ b/bootstrap/system-upgrades/kustomization.yaml @@ -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