Commit bcd47de
authored
feat(helm): support namespaced RBAC in charts (#1549)
Close #1546
- Adds a helm value to configure whether to use cluster scoped or
namespaced RBAC for getter and writer roles
- Render controller roles to `Role/RoleBinding` or
`ClusterRole/ClusterRoleBinding` conditionally
- Updated helm unit tests, tested manually by impersonating the service
accounts
- Limitation: When controller is not using cluster scoped role, either
manually set `controller.watchNamespaces` or it is defaulted to the
namespace accessible by the role.
---------
Signed-off-by: Jet Chiang <pokyuen.jetchiang-ext@solo.io>1 parent 9dcee3a commit bcd47de
File tree
14 files changed
+318
-602
lines changed- .github/workflows
- helm
- agents
- argo-rollouts/templates
- cilium-debug/templates
- cilium-manager/templates
- cilium-policy/templates
- istio/templates
- kagent
- templates
- rbac
- tests
14 files changed
+318
-602
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
105 | 128 | | |
106 | 129 | | |
107 | 130 | | |
| |||
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
0 commit comments