argo-cd/manifests/base/application-controller/argocd-metrics.yaml
Liviu Costea f704cd07e6 Use kubernetes recommended labels (#1168)
The recommended labels are the ones described here:
https://kubernetes.io/docs/concepts/overview/working-with-objects/common-labels/
The manifests labels should be in sync with the helm chart
Also this is a follow up after the discussion from:
https://github.com/argoproj/argo-cd/pull/1035
2019-02-24 01:42:23 -08:00

16 lines
351 B
YAML

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