Skip to content

Introduce Connector CRDs#87

Merged
5 commits merged intomainfrom
pr-84
Jan 13, 2026
Merged

Introduce Connector CRDs#87
5 commits merged intomainfrom
pr-84

Conversation

@zachsmith1
Copy link
Contributor

@zachsmith1 zachsmith1 commented Jan 13, 2026

Opening this here since @joshlreese fork wouldn't build the image. Ref: #84

Summary

Defines CRDs for ConnectorClasses, Connectors, and ConnectorAdvertisements. These have been placed in the v1alpha1 group and NOT the v1alpha group to align with goals on moving away from v1alpha.

The definition of capabilities has been slightly adjusted to have a Disabled field instead of an Enabled field, and to use CamelCase for capability names. Existence of a capability in the spec will imply that it is expected to be enabled, which aligns with best practices on boolean zero values. I’ve also omitted the leaseRef field from the status of a Connector, as it will be required to have a matching name anyways. I'll have a separate PR for updating the enhancement to align with these changes.

See: https://github.com/datum-cloud/enhancements/tree/main/enhancements/networking/connectors/initial-proposal

Other

I have some local changes with a shell script that leverages the kubectl-validate tool to enable defining tests for CRD validation, including CEL expressions. I'll provide that in a separate PR once I get it to a place that I think is useful. The JSON output of the tool can be used to build specific violation assertions, which my current script doesn't leverage yet.

@zachsmith1 zachsmith1 closed this pull request by merging all changes into main in e88dab1 Jan 13, 2026
@zachsmith1 zachsmith1 deleted the pr-84 branch January 13, 2026 17:19
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.

2 participants