Commit e3687f4
authored
RELEASE-2451: Refactor internal-services RBAC layout (redhat-appstudio#374)
Move local-only RBAC resources to extra/ directory to prevent
automated tasks from removing them. The update-internal-services
task overwrites rbac/ with upstream content, but extra/ remains
untouched and is referenced in the parent kustomization.yaml.
Previously, the list of extra resources was hardcoded in the
update-internal-services tekton task, requiring updates to the
task whenever new local-only resources were added.
Changes:
- Create extra/ directories for production and staging
- Move local-only files from rbac/ to extra/:
- signing-sa.yaml
- view-authenticated-users.yaml
- release_team_role.yaml
- release_team_role_binding.yaml
- Update parent kustomization.yaml to reference extra/
- Update rbac/kustomization.yaml to remove moved resources
Assisted-by: Claude Code
Signed-off-by: Martin Malina <mmalina@redhat.com>1 parent a78b3f2 commit e3687f4
14 files changed
Lines changed: 20 additions & 8 deletions
File tree
- components/internal-services
- internal-production
- extra
- rbac
- internal-staging
- extra
- rbac
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
21 | 23 | | |
22 | 24 | | |
Lines changed: 0 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
0 commit comments