Commit 067e9dd
tazhate
fix(helm): grant RBAC for ChainVersionCatalog and PodMonitor
Chart's manager ClusterRole was out of sync with config/rbac/role.yaml —
controller couldn't list/watch chainversioncatalogs (cluster-scoped CRD)
and was failing with forbidden errors after CRD was shipped in 1f17eae.
Context: investigated controller crashloop in chainplane-system, looked
at pod logs showing repeated reflector "forbidden" errors for
chainversioncatalogs and traced the missing rules by diffing the helm
template against generated config/rbac/role.yaml. Took ~15min.1 parent 1f17eae commit 067e9dd
1 file changed
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| 25 | + | |
24 | 26 | | |
25 | 27 | | |
26 | 28 | | |
27 | 29 | | |
28 | 30 | | |
29 | 31 | | |
| 32 | + | |
30 | 33 | | |
31 | 34 | | |
32 | 35 | | |
33 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
34 | 49 | | |
35 | 50 | | |
36 | 51 | | |
| |||
0 commit comments