chore(clustertool): tweak upgrade plan for Talos

Signed-off-by: Kjeld Schouten <info@kjeldschouten.nl>
This commit is contained in:
Kjeld Schouten
2025-02-07 12:45:07 +01:00
committed by GitHub
parent 2b8b09c128
commit 7a57a3cc40
@@ -29,17 +29,6 @@ spec:
- key: node-role.kubernetes.io/control-plane - key: node-role.kubernetes.io/control-plane
operator: Exists operator: Exists
effect: NoSchedule effect: NoSchedule
prepare:
image: ghcr.io/siderolabs/talosctl:${TALOS_VERSION}
envs:
- name: NODE_IP
valueFrom:
fieldRef:
fieldPath: status.hostIP
args:
- --nodes=$(NODE_IP)
- health
- --server=false
upgrade: upgrade:
image: ghcr.io/jfroy/tnu:0.3.0 image: ghcr.io/jfroy/tnu:0.3.0
envs: envs:
@@ -50,6 +39,7 @@ spec:
args: args:
- --node=$(NODE) - --node=$(NODE)
- --tag=$(SYSTEM_UPGRADE_PLAN_LATEST_VERSION) - --tag=$(SYSTEM_UPGRADE_PLAN_LATEST_VERSION)
- --powercycle ## Reenable if your setup REALLY needs full reboots
# - --powercycle