You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This will trigger [release github action](https://github.com/kubernetes-sigs/cluster-api-operator/blob/main/.github/workflows/release.yaml) that will
28
-
create a draft release with operator components and helm chart, also a Prow job to publish operator image to the staging registry will start.
27
+
**Note:** You may encounter an ioctl error during tagging. To resolve this, you need to set the GPG_TTY environment variable as `export GPG_TTY=$(tty)`.
29
28
30
-
2. Wait for image to appear in the [staging registry](https://console.cloud.google.com/gcr/images/k8s-staging-capi-operator/global/cluster-api-operator).
29
+
This will trigger a [release GitHub action](https://github.com/kubernetes-sigs/cluster-api-operator/blob/main/.github/workflows/release.yaml) that creates a release with operator components and the Helm chart. Concurrently, a Prow job will start to publish operator images to the staging registry.
31
30
32
-
3. Create a GitHub [Personal access tokens](https://github.com/settings/tokens) if you don't have one already. We're going to use for opening a PR
33
-
to promote image from staging to production.
31
+
2. Wait for the images to appear in the [staging registry](https://console.cloud.google.com/gcr/images/k8s-staging-capi-operator/global/cluster-api-operator).
32
+
33
+
3. Create a GitHub [Personal access token](https://github.com/settings/tokens) if you don't already have one. We're going to use this for opening a PR to promote the images from staging to production.
34
34
35
35
```bash
36
36
export GITHUB_TOKEN=<your GH token>
37
+
export USER_FORK=<your GH account name>
37
38
make promote-images
38
39
```
39
40
40
-
Merge the PR after it was created and verify that image is present in the production registry.
41
+
After it has been tested, merge the PR and verify that the image is present in the production registry.
5. After release was published, switch back to main branch and update index.yaml and clusterctl-operator.yaml. It's the source for operator helm chart repository and local krew plugin manifest index.
47
+
4. Switch back to the main branch and update `index.yaml` and `clusterctl-operator.yaml`. These are the sources for the operator Helm chart repository and the local krew plugin manifest index, respectively.
49
48
50
49
```bash
51
50
git checkout main
52
51
make update-helm-plugin-repo
53
52
```
54
53
55
-
6. Create a PR with the changes.
54
+
5. Create a PR with the changes.
56
55
57
56
## Setup jobs and dashboards for a new release branch
0 commit comments