-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[backport v0.29.x-gp] namespace-scoped rbac (#500)
* create Roles & RoleBindings (#481) * create either Cluster-scoped or ns-scoped rbac, not both * update tests * changelog * dont regress operator api; add cluster-scoping to NamespaceRbac based on 'watchNamespaces' helm api * update tests * update changelog * update rbac template and operator and sidecar api * move changelog * update Resource.ClusterScoped explanation * Adding changelog file to new location * Deleting changelog file from old location * update operator rbac template from v0.32.x branch * update operator.NamespaceRbac and rbac template * update cmd test * Adding changelog file to new location * Deleting changelog file from old location * update changelog * add check to rbac template to validate user-specified namespaced resources * Adding changelog file to new location * Deleting changelog file from old location * fix operator deployment template * pr feedback: add release name and ns to rbac tmpl clusterrole/binding * add NamespaceRbac to sidecar * generate * move resource-to-namespaces map to helper func * generate * dont quote --------- Co-authored-by: changelog-bot <changelog-bot> * update changelog * remove sidecar api changes that were tangential to rbac api changes * generate with correct go version * make namespace rbac resource naming unique * update operator rbac template resource naming to support multiple helm chart installations (#502) * make Role naming consistent with ClusterRole to support multi installation of a helm chart * fix roleRef * add changelog * update unit test * pr feedback * generate * rm cherry-picked changelog * update changelog folder to be gp patch * add validation for gp-patch * try with 0 * rm 0
- Loading branch information
1 parent
99cf5b9
commit d9c4edb
Showing
32 changed files
with
997 additions
and
122 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
changelog: | ||
- type: NEW_FEATURE | ||
issueLink: https://github.com/solo-io/gloo-mesh-enterprise/issues/10521 | ||
description: > | ||
Add the ability to toggle between generating a ClusterRole/Binding or Role/Binding for namespace-scoped rbac policies. | ||
resolvesIssue: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
relaxSemverValidation: true | ||
allowedLabels: | ||
- gp-patch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.