Skip to content

[ci_gen_kustomize_values] Skip startingCSV when deployment version is "latest"#3657

Open
rebtoor wants to merge 1 commit intoopenstack-k8s-operators:mainfrom
rebtoor:update-templates
Open

[ci_gen_kustomize_values] Skip startingCSV when deployment version is "latest"#3657
rebtoor wants to merge 1 commit intoopenstack-k8s-operators:mainfrom
rebtoor:update-templates

Conversation

@rebtoor
Copy link
Contributor

@rebtoor rebtoor commented Feb 4, 2026

This is a followup of #3653

Add "latest" to the exclusion list in OLM values templates to prevent generating an invalid startingCSV field. When cifmw_ci_gen_kustomize_values_deployment_version is set to "latest", the openstack-operator-version field is now skipped, allowing OLM to automatically select the latest CSV from the channel.

This fixes ConstraintsNotSatisfiable errors caused by OLM trying to find a CSV literally named "latest" which doesn't exist.

@rebtoor rebtoor requested review from evallesp and sathlan February 4, 2026 17:07
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Feb 4, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign tosky for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

… "latest"

Add "latest" to the exclusion list in OLM values templates to prevent
generating an invalid startingCSV field. When cifmw_ci_gen_kustomize_values_deployment_version
is set to "latest", the openstack-operator-version field is now skipped,
allowing OLM to automatically select the latest CSV from the channel.

This fixes ConstraintsNotSatisfiable errors caused by OLM trying to find
a CSV literally named "latest" which doesn't exist.

Signed-off-by: Roberto Alfieri <ralfieri@redhat.com>
@evallesp
Copy link
Contributor

evallesp commented Feb 5, 2026

Sounds good to me. Let's wait for job results.

@rebtoor
Copy link
Contributor Author

rebtoor commented Feb 6, 2026

The patch worked, but isn't enough to get the issue done. We also need openstack-k8s-operators/architecture#690

But since both of these patches are quite critical, i'm going to test them with other scenarios rather then the upgrade one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants