Skip to content

Commit 2739616

Browse files
authored
Add docs how to add a new kubernetes version (#763)
1 parent 0459fbd commit 2739616

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

docs/release-procedure.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,15 @@ If the `release-tool` or its associated Prow job fails, use the GitHub web UI to
4242

4343
5. Click **Publish release** to create the release.
4444

45-
Publishing a new release triggers the same Prow release job that builds and publishes the final container images.
45+
Publishing a new release triggers the same Prow release job that builds and publishes the final container images.
46+
47+
## Releasing a New Kubernetes Version
48+
49+
1. Create a new version of the [`cloud-provider`](https://github.com/stackitcloud/cloud-provider) fork.
50+
1. Create a new release branch `ske-v0.xx` from the latest patch version tag of the desired Kubernetes version.
51+
2. Cherry-pick our changes into the release branch. Example: https://github.com/stackitcloud/cloud-provider/commits/ske-v0.35/
52+
3. Tag the release branch with `v0.xx.x-ske-x`.
53+
2. Bump the Kubernetes packages, including an overwrite of the `cloud-provider` fork, in the `main` branch.
54+
3. Create a new release branch `release-v1.XX` from `main`.
55+
4. Update the Renovate configuration via a PR against `main`: add the new release branch to `baseBranchPatterns` and add a new rule in `packageRules` for `/^k8s.io/`. Cherry-pick this PR to all maintained release branches. Example PR: https://github.com/stackitcloud/cloud-provider-stackit/pull/756
56+
5. Create a manual release for the new branch (note: the release tool will only work if there is already a tag on the branch). Do not generate release notes as they will contain many unrelated changes. Just add `Initial release of v1.xx.0` as release notes.

0 commit comments

Comments
 (0)