From 4e31e5d6a0926df9f370a06c9ea3250ee1e088b1 Mon Sep 17 00:00:00 2001 From: Sheogorath <sheogorath@shivering-isles.com> Date: Thu, 7 Mar 2024 00:55:13 +0100 Subject: [PATCH] fix(kustomize): Deploy latest system-upgrade-controller Before this patch always version v0.8.0 would be deployed when using the kustomize command from the README. This patch adjust the kustomization to not overwrite the version. The build process is unaffected from this, since during the build script the kustomize file is adjusted to adjust the version to the current release. This means the build manifests for release will still have a pinned version like before. Reference: https://github.com/rancher/system-upgrade-controller/blob/4eacc2dabbde943ee59dc7819ea0a04909b05b0f/scripts/package-controller#L36 --- kustomization.yaml | 3 --- manifests/system-upgrade-controller.yaml | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/kustomization.yaml b/kustomization.yaml index 7ce0c38c..57eb211a 100644 --- a/kustomization.yaml +++ b/kustomization.yaml @@ -5,6 +5,3 @@ resources: - manifests/clusterrole.yaml - manifests/clusterrolebinding.yaml - manifests/system-upgrade-controller.yaml -images: -- name: rancher/system-upgrade-controller - newTag: v0.8.0 diff --git a/manifests/system-upgrade-controller.yaml b/manifests/system-upgrade-controller.yaml index e3efd9de..a68ce053 100644 --- a/manifests/system-upgrade-controller.yaml +++ b/manifests/system-upgrade-controller.yaml @@ -66,7 +66,7 @@ spec: effect: "NoExecute" containers: - name: system-upgrade-controller - image: rancher/system-upgrade-controller:v0.11.0 + image: rancher/system-upgrade-controller:latest imagePullPolicy: IfNotPresent securityContext: runAsNonRoot: true -- GitLab