-
Notifications
You must be signed in to change notification settings - Fork 260
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
Gatekeeper policy to replace deprecated IAMPolicy Controller #453
Gatekeeper policy to replace deprecated IAMPolicy Controller #453
Conversation
severity: low | ||
--- | ||
apiVersion: cluster.open-cluster-management.io/v1beta1 | ||
kind: Placement |
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.
Thanks for using placement instead of placementrule. For new policies we are planning on not delivering the placement or placementbinding in the donated policy. Curious if you have feedback regarding that too.
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.
I think not delivering the placement is the correct way to go. The placements make it feel like it is a complete working solution when the user would still need to create the namespace binding. I think we see a lot of issues pop up from that binding missing.
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.
Thanks for the feedback. Can you confirm you intended to say you think we should continue to provide the binding and a placement?
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.
I agree to the plan to not deliver the placement and binding. I left them here since that plan is not final. I can remove them if we want to start now with not delivering them. I was expecting you would want to have a formal notice and documentation before it was implemented.
Signed-off-by: Brian Jarvis <[email protected]>
cb703b7
to
5f8e9a7
Compare
/cc @dhaiducek @yiraeChristineKim |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: brian-jarvis, gparvin 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 |
To me looks great!! wow, curious Do a lot of customers want to limit clusterbinding numbers? |
89fe5a3
into
open-cluster-management-io:main
This Gatekeeper Policy is intended to match the behavior of the deprecated ACM IAMPolicy Controller.
It will allow an administrator to monitor and alert if
ClusterRoleBindings
with the specifiedClusterRole
exceed the maximum number of users. In the case where a Group is specified in theClusterRoleBinding
the number of users in the group are counted. ServiceAccounts are ignored.