Skip to content

Commit

Permalink
Rename ClusterRoles created by OperatorGroups
Browse files Browse the repository at this point in the history
When an OperatorGroup creates a ClusterRole, it's based directly on the
OG name with a suffix, this causes two issues:
1. same-named OGs in different namespaces overwrite each others CRs
2. there are some very important CRs that could be overwritten by OG

Tests added.

Signed-off-by: Per Goncalves da Silva <pegoncal@redhat.com>
Signed-off-by: Todd Short <todd.short@me.com>
  • Loading branch information
Per Goncalves da Silva authored and tmshort committed Sep 20, 2023
1 parent b1ac5a4 commit 306cd60
Show file tree
Hide file tree
Showing 4 changed files with 551 additions and 58 deletions.
Loading

0 comments on commit 306cd60

Please sign in to comment.