The Kubernetes Windows GMSA project is released on an as-needed basis. The process is as follows:
-
An issue is created proposing a new release with a changelog since the last release
-
All OWNERS must LGTM this release issue
-
An OWNER runs
git tag -s $VERSION
frommaster
branch and pushes the tag withgit push $VERSION
-
An OWNER promotes the
gcr.io/k8s-staging-gmsa-webhook/k8s-gmsa-webhook
image built the tagged commit.-
Follow setup steps for
kpromo
from here if needed -
Manually tag the desired container image in the staging registry as
$VERSION
-
Run
kpromo pr
to open a pull request to have tagged container image promoted from staging to release registrieskpromo pr --project gmsa-webhook --tag $VERSION --reviewers "@jayunit100 @jsturtevant @marosset" --fork {your github username}
-
Review / merge image promotion PR
-
-
An OWNER creates a release with by
-
Navigating to releases and clicking on
Draft a new release
-
Selecting the tag for the current release version
-
Setting the title of the release to the current release version
-
Clicking
Auto-generate release notes
button (and editing what was generated as appropriate) -
Adding instructions on how to deploy the current release to the top of the releaes notes with the following template:
To deploy:
K8S_GMSA_DEPLOY_DOWNLOAD_REV='$VERSION' \ ./deploy-gmsa-webhook.sh --file ./gmsa-manifests \ --image registry.k8s.io/gmsa-webhook/k8s-gmsa-webhook:$VERSION
-
Clicking on
Publish Release
-
-
The release issue is closed
-
An announcement email is sent to
kubernetes-sig-windows@googlegroups.com
with the subject[ANNOUNCE] Kubernetes SIG-Windows GMSA Webhook $VERSION is Released
-
An announcement is posted in
#SIG-windows
in the Kubernetes slack.