Commit 25572ae
committed
controller: hypershift: relax configmap rbac rules
On HyperShift, we need to read configmaps from different
namespaces, namely from the `openshift-config-managed` namespace.
The only viable option is to move back the ConfigMap read
permission as cluster role, while keeping the write/mutation
permission as namespaced role.
Ideally, we would have injected a specific role+rolebinding
in the manifest bundle, but turns out that OLM always overwrites
the namespace in the namespaced manifests (and that would perfectly
make sense) so we cna't add permissions about a different namespace.
AI-attribution: AIA PAI Ce Hin R claude-4.6-opus-1M v1.0
Signed-off-by: Francesco Romani <fromani@redhat.com>1 parent 8406f55 commit 25572ae
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
| 89 | + | |
90 | 90 | | |
| 91 | + | |
91 | 92 | | |
92 | 93 | | |
93 | 94 | | |
| |||
0 commit comments