Files
deploy/manifests/base/notification/argocd-notifications-controller-metrics-service.yaml
Nicholas MoreyandGitHub de38010a04 feat(manifests): add app.kubernetes.io labels to notifications-controller resources (#12348)
* feat(manifests): add app.kubernetes.io lables to notifications-controller resources

Added to any notifications-controller resources. The argocd-notifications-controller-metrics service already has a name label, so I kept that as is for backwards compatibility.

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

* fix: remove duplicate `labels:`

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

---------

Signed-off-by: Nicholas Morey <[email protected]>
2023-03-14 14:48:16 -04:00

17 lines
420 B
YAML

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