Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(kafka): Support cross account access #1886

Merged

Conversation

MisterMX
Copy link
Collaborator

@MisterMX MisterMX commented Oct 6, 2023

Description of your changes

Adds cluster policy and connectivity properties that allow configuring cross account accessibility of a broker.

It is mostly copy-paste from the specialized bucket policy types into a generic ResourcePolicy struct and a bunch of late initialization and conversion methods.

It also fixes a bug that spec.forProvider.encryptionInfo was not late initialized properly which led to an error during updates.

I have:

  • Read and followed Crossplane's contribution process.
  • Run make reviewable test to ensure this PR is ready for review.

How has this code been tested

Using the existing example.

@MisterMX MisterMX requested a review from chlunde October 6, 2023 15:16
@MisterMX MisterMX mentioned this pull request Oct 6, 2023
2 tasks
@chlunde
Copy link
Collaborator

chlunde commented Oct 6, 2023

I see lint due to k8 utils pointer just "fails green" due to other issues in other builds, while this PR the linter ran to completion and reported the error.

@MisterMX MisterMX force-pushed the feat/kafka-cross-account-access branch 2 times, most recently from 306b4f0 to 3b426e3 Compare October 9, 2023 16:59
Add cluster policy and connectivity properties that allow configuring
cross account accessibility of a broker.

Signed-off-by: Maximilian Blatt (external expert on behalf of DB Netz) <[email protected]>
@MisterMX MisterMX force-pushed the feat/kafka-cross-account-access branch from 3b426e3 to 6483a76 Compare October 10, 2023 09:25
@MisterMX MisterMX merged commit fd9a103 into crossplane-contrib:master Oct 10, 2023
11 checks passed
@MisterMX MisterMX deleted the feat/kafka-cross-account-access branch October 19, 2023 08:49
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