Skip to content

Commit

Permalink
Remove unneeded RBACs for ArgoCD
Browse files Browse the repository at this point in the history
These RBACs are granting permission to a service account that is not
used.

Signed-off-by: Hugo Ares <hares@redhat.com>
  • Loading branch information
hugares committed Nov 13, 2024
1 parent eaf916f commit e97dc55
Show file tree
Hide file tree
Showing 25 changed files with 0 additions and 279 deletions.
14 changes: 0 additions & 14 deletions components/application-api/allow-argocd-to-manage.yaml

This file was deleted.

28 changes: 0 additions & 28 deletions components/application-api/argocd-permissions.yaml

This file was deleted.

2 changes: 0 additions & 2 deletions components/application-api/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
resources:
- allow-argocd-to-manage.yaml
- argocd-permissions.yaml
- https://github.com/konflux-ci/application-api/config/crd?ref=e7eb2ecfb4090e53cffbfcd9308ff40ff4b6772e


Expand Down
13 changes: 0 additions & 13 deletions components/build-service/base/allow-argocd-to-manage.yaml

This file was deleted.

1 change: 0 additions & 1 deletion components/build-service/base/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
resources:
- allow-argocd-to-manage.yaml
- build-pipeline-config/build-pipeline-config.yaml
- monitoring.yaml
- rbac
Expand Down
13 changes: 0 additions & 13 deletions components/has/base/argocd-roles/allow-argocd-to-manage.yaml

This file was deleted.

29 changes: 0 additions & 29 deletions components/has/base/argocd-roles/argocd-permissions.yaml

This file was deleted.

6 changes: 0 additions & 6 deletions components/has/base/argocd-roles/kustomization.yaml

This file was deleted.

1 change: 0 additions & 1 deletion components/has/base/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ./argocd-roles
- ./rbac
- https://github.com/redhat-appstudio/application-service/config/default?ref=338ad7f4e3577aa7c9b5be293a97689d84a28442

Expand Down
1 change: 0 additions & 1 deletion components/has/production/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../base/argocd-roles
- ../base/external-secrets
- ../base/rbac
- https://github.com/redhat-appstudio/application-service/config/default?ref=338ad7f4e3577aa7c9b5be293a97689d84a28442
Expand Down
13 changes: 0 additions & 13 deletions components/image-controller/base/allow-argocd-to-manage.yaml

This file was deleted.

1 change: 0 additions & 1 deletion components/image-controller/base/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
resources:
- allow-argocd-to-manage.yaml
- monitoring.yaml
- rbac

Expand Down
13 changes: 0 additions & 13 deletions components/integration/base/allow-argocd-to-manage.yaml

This file was deleted.

28 changes: 0 additions & 28 deletions components/integration/base/argocd-permissions.yaml

This file was deleted.

2 changes: 0 additions & 2 deletions components/integration/base/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
resources:
- allow-argocd-to-manage.yaml
- argocd-permissions.yaml
- delete-snapshots.yaml
- manage-integrationtestscenarios.yaml
- integration.yaml
Expand Down
12 changes: 0 additions & 12 deletions components/jvm-build-service/base/allow-argocd-to-manage.yaml

This file was deleted.

1 change: 0 additions & 1 deletion components/jvm-build-service/base/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
resources:
- allow-argocd-to-manage.yaml
- https://github.com/redhat-appstudio/jvm-build-service/deploy/crds/base?ref=cac2c46771e4ce11554e7032b90aab221d928645
- https://github.com/redhat-appstudio/jvm-build-service/deploy/operator/base?ref=cac2c46771e4ce11554e7032b90aab221d928645
- https://github.com/redhat-appstudio/jvm-build-service/deploy/operator/config?ref=cac2c46771e4ce11554e7032b90aab221d928645
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- monitoring.yaml
- allow-argocd-to-manage.yaml
13 changes: 0 additions & 13 deletions components/project-controller/base/allow-argocd-to-manage.yaml

This file was deleted.

28 changes: 0 additions & 28 deletions components/project-controller/base/argocd-permissions.yaml

This file was deleted.

2 changes: 0 additions & 2 deletions components/project-controller/base/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,5 @@ kind: Kustomization

resources:
- project-controller.yaml
- allow-argocd-to-manage.yaml
- argocd-permissions.yaml

namespace: project-controller
13 changes: 0 additions & 13 deletions components/release/base/allow-argocd-to-manage.yaml

This file was deleted.

29 changes: 0 additions & 29 deletions components/release/base/argocd-permissions.yaml

This file was deleted.

2 changes: 0 additions & 2 deletions components/release/base/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
resources:
- allow-argocd-to-manage.yaml
- argocd-permissions.yaml
- release-pipeline-resources-clusterrole.yaml
- release-service-config-rbac.yaml
- release-service-configurator-role.yaml
Expand Down

0 comments on commit e97dc55

Please sign in to comment.