Skip to content

refactor:types: direct IAMPolicy #4427

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

Merged

Conversation

acpana
Copy link
Collaborator

@acpana acpana commented Apr 23, 2025

This starts us off refactoring the IAMPolicy as a direct resource. Types copied in mostly; no non string changes to the CRD.

@acpana acpana requested review from justinsb and cheftako April 23, 2025 21:40
Signed-off-by: Alex Pana <[email protected]>
Copy link
Collaborator

@maqiuyujoyce maqiuyujoyce left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

Only one nit.

@@ -223,6 +223,33 @@ oneOf:
- external
`

const headlessIAMRuleRefRuleWithOnlylKind = `
Copy link
Collaborator

Choose a reason for hiding this comment

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

Nit: Can we make this variable name more readable? Personally I don't understand what it is used for by reading the name. Maybe something like resourceRefRuleWithOnlyKind? I think resourceRef is not only used by IAM resources; can't remember which other resource is also using it though.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Added in #4435

Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: maqiuyujoyce

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

The pull request process is described here

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

@google-oss-prow google-oss-prow bot merged commit 64ac3d5 into GoogleCloudPlatform:master Apr 25, 2025
52 of 53 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.

2 participants