-
Notifications
You must be signed in to change notification settings - Fork 263
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
refactor:types: direct IAMPolicy #4427
Conversation
Signed-off-by: Alex Pana <[email protected]>
Signed-off-by: Alex Pana <[email protected]>
Signed-off-by: Alex Pana <[email protected]>
Signed-off-by: Alex Pana <[email protected]>
There was a problem hiding this 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 = ` |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added in #4435
[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 |
64ac3d5
into
GoogleCloudPlatform:master
This starts us off refactoring the IAMPolicy as a direct resource. Types copied in mostly; no non string changes to the CRD.