Files
deploy/manifests/base/applicationset-controller/argocd-applicationset-controller-service.yaml
Nicholas MoreyandGitHub 36e88e34d6 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 <[email protected]>

* refactor: component applicationset-controller

Signed-off-by: Nicholas Morey <[email protected]>

* fix: revert bad paste

Signed-off-by: Nicholas Morey <[email protected]>

* fix: bad replace

Signed-off-by: Nicholas Morey <[email protected]>

* fix: another bad replace :(

Signed-off-by: Nicholas Morey <[email protected]>

* fix: missed refactor

Signed-off-by: Nicholas Morey <[email protected]>

---------

Signed-off-by: Nicholas Morey <[email protected]>
2023-02-17 13:59:32 -05:00

20 lines
485 B
YAML

apiVersion: v1
kind: Service
metadata:
labels:
app.kubernetes.io/component: applicationset-controller
app.kubernetes.io/name: argocd-applicationset-controller
app.kubernetes.io/part-of: argocd
name: argocd-applicationset-controller
spec:
ports:
- name: webhook
port: 7000
protocol: TCP
targetPort: webhook
- name: metrics
port: 8080
protocol: TCP
targetPort: metrics
selector:
app.kubernetes.io/name: argocd-applicationset-controller