Commit f676206
authored
fix: Add ReplicaSet cache and RBAC access for generated config cleanup (#309)
Generated config cleanup lists ReplicaSets to preserve ConfigMaps still
referenced by in-flight rollouts. Add ReplicaSet cache coverage and RBAC
so that lookup works reliably under the controller-runtime cached
client.
---------
Signed-off-by: Vaishnavi Hire <vhire@redhat.com>1 parent 7a0f3d9 commit f676206
4 files changed
Lines changed: 26 additions & 0 deletions
File tree
- config/rbac
- controllers
- release
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
66 | 74 | | |
67 | 75 | | |
68 | 76 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6922 | 6922 | | |
6923 | 6923 | | |
6924 | 6924 | | |
| 6925 | + | |
| 6926 | + | |
| 6927 | + | |
| 6928 | + | |
| 6929 | + | |
| 6930 | + | |
| 6931 | + | |
| 6932 | + | |
6925 | 6933 | | |
6926 | 6934 | | |
6927 | 6935 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6923 | 6923 | | |
6924 | 6924 | | |
6925 | 6925 | | |
| 6926 | + | |
| 6927 | + | |
| 6928 | + | |
| 6929 | + | |
| 6930 | + | |
| 6931 | + | |
| 6932 | + | |
| 6933 | + | |
6926 | 6934 | | |
6927 | 6935 | | |
6928 | 6936 | | |
| |||
0 commit comments