Skip to content

Commit

Permalink
Use a wildcard for Kubernetes deb packages (#190)
Browse files Browse the repository at this point in the history
* Update Kubernetes patch versions (v1.27.13, v1.28.9, v1.29.4)

* Use a wildcard for Kubernetes deb packages
  • Loading branch information
mkjpryor authored Apr 22, 2024
1 parent 9aac21b commit 91c8ca8
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion bin/k8s-next
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ if latest_vars_file.exists():

# Create the vars file
data = {
"kubernetes_deb_version": f"{latest_version.format(prefix = False)}-1.1",
"kubernetes_deb_version": f"{latest_version.format(prefix = False)}-*",
"kubernetes_rpm_version": f"{latest_version.format(prefix = False)}",
"kubernetes_semver": str(latest_version),
"kubernetes_series": f"{latest_version.prefix}{latest_version.major}.{latest_version.minor}",
Expand Down
2 changes: 1 addition & 1 deletion bin/k8s-update
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ for vars_file in vars_files_dir.glob("kubernetes_*.json"):
latest_version = k8s_latest_version_for_series(data["kubernetes_series"])
if latest_version > current_version:
data.update({
"kubernetes_deb_version": f"{latest_version.format(prefix = False)}-1.1",
"kubernetes_deb_version": f"{latest_version.format(prefix = False)}-*",
"kubernetes_rpm_version": f"{latest_version.format(prefix = False)}",
"kubernetes_semver": str(latest_version),
})
Expand Down
6 changes: 3 additions & 3 deletions vars/base/kubernetes_1_27.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"kubernetes_deb_version": "1.27.12-1.1",
"kubernetes_rpm_version": "1.27.12",
"kubernetes_semver": "v1.27.12",
"kubernetes_deb_version": "1.27.13-*",
"kubernetes_rpm_version": "1.27.13",
"kubernetes_semver": "v1.27.13",
"kubernetes_series": "v1.27"
}
6 changes: 3 additions & 3 deletions vars/base/kubernetes_1_28.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"kubernetes_deb_version": "1.28.8-1.1",
"kubernetes_rpm_version": "1.28.8",
"kubernetes_semver": "v1.28.8",
"kubernetes_deb_version": "1.28.9-*",
"kubernetes_rpm_version": "1.28.9",
"kubernetes_semver": "v1.28.9",
"kubernetes_series": "v1.28"
}
6 changes: 3 additions & 3 deletions vars/base/kubernetes_1_29.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"kubernetes_deb_version": "1.29.3-1.1",
"kubernetes_rpm_version": "1.29.3",
"kubernetes_semver": "v1.29.3",
"kubernetes_deb_version": "1.29.4-*",
"kubernetes_rpm_version": "1.29.4",
"kubernetes_semver": "v1.29.4",
"kubernetes_series": "v1.29"
}

0 comments on commit 91c8ca8

Please sign in to comment.