Commit fc0b91c
authored
fix: Wrong ClusterRole name in caches ClusterRoleBinding (#605)
**Issue:**
```
Failed to watch *v1.Namespace: failed to list *v1.Namespace: namespaces is forbidden: User \"system:serviceaccount:ack:ack-iam\" cannot list resource \"namespaces\" in API group \"\" at the cluster scope: RBAC: clusterrole.rbac.authorization.k8s.io \"ack-iam-iam-chart-namespace-caches\" not found"
```
ClusterRoleBinding can not mount ClusterRole `ack-iam-iam-chart-namespace-caches` because it doesnt exist.
**Description of changes:**
Fix the naming of ClusterRoleBinding and ClusterRole attached to it.
**Fixes issue from PR:**
#593
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.1 parent 2122428 commit fc0b91c
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
0 commit comments