Add usb node auto-updater

This commit is contained in:
Finn 2024-08-02 13:58:29 -07:00
parent b5965274a4
commit ef12abb865

View file

@ -1,4 +1,3 @@
# Server plan
apiVersion: upgrade.cattle.io/v1 apiVersion: upgrade.cattle.io/v1
kind: Plan kind: Plan
metadata: metadata:
@ -18,7 +17,6 @@ spec:
image: rancher/k3s-upgrade image: rancher/k3s-upgrade
channel: https://update.k3s.io/v1-release/channels/stable channel: https://update.k3s.io/v1-release/channels/stable
--- ---
# Agent plan
apiVersion: upgrade.cattle.io/v1 apiVersion: upgrade.cattle.io/v1
kind: Plan kind: Plan
metadata: metadata:
@ -40,3 +38,29 @@ spec:
upgrade: upgrade:
image: rancher/k3s-upgrade image: rancher/k3s-upgrade
channel: https://update.k3s.io/v1-release/channels/stable 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