Skip to content

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

Merged
openshift-merge-bot[bot] merged 1 commit into
openstack-k8s-operators:mainfrom
rebtoor:update-templates
Feb 12, 2026
Merged

[ci_gen_kustomize_values] Skip startingCSV when deployment version is "latest"#3657
openshift-merge-bot[bot] merged 1 commit into
openstack-k8s-operators:mainfrom
rebtoor:update-templates

Conversation

@rebtoor

@rebtoor rebtoor commented Feb 4, 2026

Copy link
Copy Markdown
Contributor

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.

… "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

evallesp commented Feb 5, 2026

Copy link
Copy Markdown
Contributor

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

@rebtoor

rebtoor commented Feb 6, 2026

Copy link
Copy Markdown
Contributor Author

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.

@holser holser self-requested a review February 11, 2026 14:09

@holser holser left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@evallesp

Copy link
Copy Markdown
Contributor

/approve

@openshift-ci

openshift-ci Bot commented Feb 12, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: evallesp

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

The pull request process is described 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

@openshift-merge-bot openshift-merge-bot Bot merged commit 326126c into openstack-k8s-operators:main Feb 12, 2026
9 checks passed
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.

3 participants