diff --git a/k8s/system-upgrade-controller/plan.yaml b/k8s/system-upgrade-controller/plan.yaml index cbf64b5..b057bed 100644 --- a/k8s/system-upgrade-controller/plan.yaml +++ b/k8s/system-upgrade-controller/plan.yaml @@ -1,4 +1,3 @@ -# Server plan apiVersion: upgrade.cattle.io/v1 kind: Plan metadata: @@ -18,7 +17,6 @@ spec: image: rancher/k3s-upgrade channel: https://update.k3s.io/v1-release/channels/stable --- -# Agent plan apiVersion: upgrade.cattle.io/v1 kind: Plan metadata: @@ -40,3 +38,29 @@ spec: upgrade: image: rancher/k3s-upgrade channel: https://update.k3s.io/v1-release/channels/stable +--- +apiVersion: upgrade.cattle.io/v1 +kind: Plan +metadata: + name: agent-plan-rtlsdr + namespace: system-upgrade +spec: + concurrency: 1 + cordon: true + nodeSelector: + matchExpressions: + - key: node-role.kubernetes.io/control-plane + operator: DoesNotExist + tolerations: + - key: "rtlsdr" + value: "true" + effect: "NoSchedule" + prepare: + args: + - prepare + - server-plan + image: rancher/k3s-upgrade + serviceAccountName: system-upgrade + upgrade: + image: rancher/k3s-upgrade + channel: https://update.k3s.io/v1-release/channels/stable