Skip to content

Add edpm module with unstructured NodeSet secret hash check#692

Merged
stuggi merged 3 commits into
openstack-k8s-operators:mainfrom
lmiccini:edpm-pkg
May 12, 2026
Merged

Add edpm module with unstructured NodeSet secret hash check#692
stuggi merged 3 commits into
openstack-k8s-operators:mainfrom
lmiccini:edpm-pkg

Conversation

@lmiccini
Copy link
Copy Markdown
Contributor

Add a new modules/edpm package that checks whether OpenStackDataPlaneNodeSet deployed secret hashes are in sync with current cluster secrets. Uses an unstructured client to avoid importing dataplane API types, allowing consumers like infra-operator to drop the heavyweight openstack-operator/api dependency.

Add a new modules/edpm package that checks whether
OpenStackDataPlaneNodeSet deployed secret hashes are in sync with
current cluster secrets. Uses an unstructured client to avoid
importing dataplane API types, allowing consumers like infra-operator
to drop the heavyweight openstack-operator/api dependency.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Ship a minimal OpenStackDataPlaneNodeSet CRD in the test module so
operators using the edpm package can load it in envtest without
importing openstack-operator/api.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Comment thread modules/edpm/nodeset.go
Copy link
Copy Markdown
Contributor

@abays abays left a comment

Choose a reason for hiding this comment

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

This seems good to me, as it avoids the dreaded circular dependency problem

/lgtm

Comment thread modules/test/crd.go
Comment thread modules/test/crd.go Outdated
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.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

@stuggi stuggi merged commit c197ec2 into openstack-k8s-operators:main May 12, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants