argo-cd/manifests/base/applicationset-controller/argocd-applicationset-controller-rolebinding.yaml
Nicholas Morey 1ec6fa4721
fix(manifests): set appset controller label app.kubernetes.io/part-of to argocd (#12346)
* fix(manifests): set appset controller label `app.kubernetes.io/part-of` to `argocd`

This ensures that the applicationset-controller components are grouped with the rest of the argocd resources when used by other tools.

The resources can still be identified as part of the applicationset-controller with the `app.kubernetes.io/name: argocd-applicationset-controller` label

Signed-off-by: Nicholas Morey <nicholas@morey.tech>

* refactor: component applicationset-controller

Signed-off-by: Nicholas Morey <nicholas@morey.tech>

* fix: revert bad paste

Signed-off-by: Nicholas Morey <nicholas@morey.tech>

* fix: bad replace

Signed-off-by: Nicholas Morey <nicholas@morey.tech>

* fix: another bad replace :(

Signed-off-by: Nicholas Morey <nicholas@morey.tech>

* fix: missed refactor

Signed-off-by: Nicholas Morey <nicholas@morey.tech>

---------

Signed-off-by: Nicholas Morey <nicholas@morey.tech>
2023-02-17 13:59:32 -05:00

15 lines
457 B
YAML

apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
labels:
app.kubernetes.io/name: argocd-applicationset-controller
app.kubernetes.io/part-of: argocd
app.kubernetes.io/component: applicationset-controller
name: argocd-applicationset-controller
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: argocd-applicationset-controller
subjects:
- kind: ServiceAccount
name: argocd-applicationset-controller