Skip to content

inspector: Add Owns() for ks Service Endpoint#634

Merged
openshift-merge-bot[bot] merged 1 commit intoopenstack-k8s-operators:mainfrom
hjensas:fix-inspector-watch-keystone
Oct 22, 2025
Merged

inspector: Add Owns() for ks Service Endpoint#634
openshift-merge-bot[bot] merged 1 commit intoopenstack-k8s-operators:mainfrom
hjensas:fix-inspector-watch-keystone

Conversation

@hjensas
Copy link
Copy Markdown
Contributor

@hjensas hjensas commented Oct 22, 2025

The IronicInspector controller creates KeystoneService and KeystoneEndpoint resources but was missing the Owns() declarations in SetupWithManager().

This could prevent proper reconciliation if these resources are modified or deleted.

This aligns the inspector controller with the ironicapi controller pattern.

Jira: OSPRH-21117

Checklist before requesting a review

  • I have performed a self-review of my code and confirmed it passes tests
  • Performed pre-commit run --all
  • Tested operator image in a test/dev environment. It can be CRC via install_yamls or a hotstack instance (optional)
  • Verified that no failures present in logs(optional):
    • ironic-operator-build-deploy-kuttl
    • podified-multinode-ironic-deployment

The IronicInspector controller creates KeystoneService
and KeystoneEndpoint resources but was missing the Owns()
declarations in SetupWithManager().

This could prevent proper reconciliation if these resources
are modified or deleted.

This aligns the inspector controller with the ironicapi
controller pattern.

Signed-off-by: Harald Jensås <hjensas@redhat.com>
Copy link
Copy Markdown
Contributor

@stuggi stuggi left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci bot commented Oct 22, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hjensas, stuggi

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 06b2515 into openstack-k8s-operators:main Oct 22, 2025
7 checks passed
@stuggi
Copy link
Copy Markdown
Contributor

stuggi commented Oct 22, 2025

/cherry-pick 18.0-fr4

@openshift-cherrypick-robot
Copy link
Copy Markdown

@stuggi: new pull request created: #635

Details

In response to this:

/cherry-pick 18.0-fr4

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

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