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
{{ message }}
This repository was archived by the owner on Jun 12, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: docs/konflux/release_operator_with_konflux.md
+14-5Lines changed: 14 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -95,12 +95,21 @@ Capture the snapshot in an environment variable:
95
95
snapshot=helm-operator-1-2-cf7qp
96
96
```
97
97
98
-
* Ensure that the bundle's controller pullspec matches the one in the snapshot. The bundle's container image contains a label with the image pullspec of the controller used in the bundle. Use the following commands to extract the controler from the bundle of the snapshot `helm-operator-1-2-cf7qp`:
98
+
* Ensure that the bundle's controller pullspec matches the one in the snapshot. The bundle's container image contains a label with the image pullspec of the controller used in the bundle. Use the following commands to extract the controller from the bundle of the snapshot `helm-operator-1-2-cf7qp`:
99
99
```console
100
100
bundle=$(oc get snapshot $snapshot -ojsonpath='{.spec.components[?(@.name=="'$orchestrator_operator_bundle'")].containerImage}')
controllerInSnapshot=$(oc get snapshot $snapshot -ojsonpath='{.spec.components[?(@.name=="'$controller_rhel9_operator'")].containerImage}'|awk -F'@' '{print $2}')
103
-
if [ -n "$controllerInBundle" ] && [ "$controllerInBundle" = "$controllerInSnapshot" ]; then echo "controller image pullspec matches";else echo "controller image pullspec does not match. This snapshot is not a good candidate for release";fi
if [ -n "$controllerInBundle" ] && [ "$controllerSHAInBundle" = "$controllerSHAInSnapshot" ]; then echo "controller image pullspec matches";else echo "controller image pullspec does not match. This snapshot is not a good candidate for release";fi
106
+
```
107
+
108
+
* Verify that the bundle and controller release label also matches. Run the following command to extract and compare the release label for the bundle and controller images.
if [ -n "$controllerInBundle" ] && [ "$releaseLabelInBundle" = "$releaseLabelInController" ]; then echo "bundle and controller release label matches";else echo "bundle and controller release label does not match. This snapshot is not a good candidate for release";fi
104
113
```
105
114
106
115
* Create a new Release manifest for staging
@@ -423,7 +432,7 @@ schema: olm.bundle
423
432
fbc-v4-14-k3ksj True Merge pull request #93 from jordigilh/release/prod/1.2.0-rc11
0 commit comments