To release a version “v0.W.Z” of Kuadrant Operator in GitHub and Quay.io, follow these steps:
-
Kuadrant dependencies need to be released first:
-
Run the GHA Release operator; make sure to fill all the fields:
- Branch containing the release workflow file – default:
main
- Commit SHA or branch name of the operator to release – usually:
main
- Operator version to release (without prefix) – i.e.
0.W.Z
- Kuadrant dependencies (WASM Shim, Console Plugin, Authorino, Limitador and DNS operators) versions (without prefix) – i.e.
0.X.Y
- If the release is a prerelease
- Branch containing the release workflow file – default:
-
Verify that the build release tag workflow is triggered and completes for the new tag.
-
Verify the new version can be installed from the catalog image, see Verify OLM Deployment
-
Release to the community operator index catalogs.
- Deploy the OLM catalog image following the Deploy kuadrant operator using OLM and providing the generated catalog image. For example:
make deploy-catalog CATALOG_IMG=quay.io/kuadrant/kuadrant-operator-catalog:v1.0.0-rc4
- Wait for deployment:
kubectl -n kuadrant-system wait --timeout=60s --for=condition=Available deployments --all
The output should be:
deployment.apps/authorino-operator condition met
deployment.apps/dns-operator-controller-manager condition met
deployment.apps/kuadrant-operator-controller-manager condition met
deployment.apps/limitador-operator-controller-manager condition met
deployment.apps/kuadrant-operator-controller-manager condition met
- Check the logs:
kubectl -n kuadrant-system logs -f deployment/kuadrant-operator-controller-manager
- Check the version of the components deployed:
kubectl -n kuadrant-system get deployment -o yaml | grep "image:"
The output should be something like:
image: quay.io/kuadrant/authorino-operator:v0.14.0
image: quay.io/kuadrant/dns-operator:v0.8.0
image: quay.io/kuadrant/kuadrant-operator:v1.0.0-rc4
image: quay.io/kuadrant/limitador-operator:v0.12.0
Open a PR on each index catalog (example | docs).
The usual steps are:
-
Start a new branch named
kuadrant-operator-v0.W.Z
-
Create a new directory
operators/kuadrant-operator/0.W.Z
containing:- Copy the bundle files from
github.com/kuadrant/kuadrant-operator/tree/v0.W.Z/bundle
- Copy
github.com/kuadrant/kuadrant-operator/tree/v0.W.Z/bundle.Dockerfile
with the proper fix to the COPY commands (i.e. remove /bundle from the paths)
- Copy the bundle files from