From 79e3fb11dc64fca05ea1c21a8faeed69c2614b6a Mon Sep 17 00:00:00 2001 From: Sheogorath <sheogorath@shivering-isles.com> Date: Tue, 8 Mar 2022 21:43:06 +0100 Subject: [PATCH] fix(system-upgrade): Run kubernetes upgrade only on control-plane This patch enables the upgrades only on control-plane nodes. Given that my clusters currently have no worker nodes, this is suffient, in the future one can consider to add a second plan for worker nodes. --- infrastructure/system-upgrades/kubernetes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/infrastructure/system-upgrades/kubernetes.yaml b/infrastructure/system-upgrades/kubernetes.yaml index 863be5b88..7041838f5 100644 --- a/infrastructure/system-upgrades/kubernetes.yaml +++ b/infrastructure/system-upgrades/kubernetes.yaml @@ -60,6 +60,8 @@ spec: operator: In values: - "35" + - key: node-role.kubernetes.io/control-plane + operator: Exists serviceAccountName: system-upgrade secrets: - name: kubernetes-upgrade -- GitLab