# argocd_source_argocd-metrics.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