From 1a7c98fbb1ecbd3d708555589e838b7cdc46f548 Mon Sep 17 00:00:00 2001 From: Jack Luo Date: Fri, 4 Apr 2025 09:50:11 -0700 Subject: [PATCH] fix the workflow for updating the README file (#3825) --- .github/workflows/update-readme.yml | 2 +- README-template.md | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/update-readme.yml b/.github/workflows/update-readme.yml index d60e9aca..ef6e66de 100644 --- a/.github/workflows/update-readme.yml +++ b/.github/workflows/update-readme.yml @@ -18,7 +18,7 @@ jobs: tagstmpfile=$(mktemp) readmetmpfile=$(mktemp) gh api graphql -F owner='rancher' -F name='rke' -f query='query($name: String!, $owner: String!) {repository(owner: $owner, name: $name) {releases(first: 100) {nodes { tagName }}}}' |jq -r .data.repository.releases[] > $tagstmpfile - for rke_major_minor in 1.5 1.4 1.3; do + for rke_major_minor in 1.8 1.7 1.6; do latest=$(jq -r 'first(.[] | select(.tagName | startswith("v'"${rke_major_minor}"'")) | select(.tagName | contains("rc") | not) | .tagName)' $tagstmpfile) if [ -n "${latest}" ]; then echo "* v${rke_major_minor}" >> $readmetmpfile diff --git a/README-template.md b/README-template.md index 3e4f6696..45e52815 100644 --- a/README-template.md +++ b/README-template.md @@ -4,6 +4,10 @@ Rancher Kubernetes Engine, an extremely simple, lightning fast Kubernetes installer that works everywhere. +## 🚨 Important Notice: RKE End of Life Announcement + +> Rancher Kubernetes Engine (RKE) is reaching its **end of life**. **Version 1.8** will be the final release in the RKE 1.x series. We strongly recommend migrating to Rancher's newer Kubernetes distribution, RKE2, to stay supported, secure, and take advantage of the latest features and updates. For more details, please refer to the official [SUSE EOL article](https://www.suse.com/support/kb/doc/?id=000021513). + ## Latest Release ## Download