From f71bede217068cfdc2049ad9e0085fced2a0d5d6 Mon Sep 17 00:00:00 2001 From: Michael Fritch Date: Wed, 17 Jul 2024 20:12:06 -0600 Subject: [PATCH] updatecli: add `latest: true` typefilter Ensure UpdateCli chooses the tagged `latest` release, instead of choosing the most recent chronological release Fixes: https://github.com/rancher/rke2/issues/6371 Signed-off-by: Michael Fritch --- updatecli/updatecli.d/update-upstream.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/updatecli/updatecli.d/update-upstream.yaml b/updatecli/updatecli.d/update-upstream.yaml index 169b1b8..4533ff1 100644 --- a/updatecli/updatecli.d/update-upstream.yaml +++ b/updatecli/updatecli.d/update-upstream.yaml @@ -13,6 +13,7 @@ sources: release: true draft: false prerelease: false + latest: true versionfilter: kind: latest