apiVersion: v1
kind: Service
metadata:
  labels:
    app: certmanager
    app.kubernetes.io/component: controller
    app.kubernetes.io/instance: RELEASE-NAME
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/name: certmanager
    app.kubernetes.io/version: v1.5.4
    helm.sh/chart: certmanager-v1.5.4
  name: RELEASE-NAME-certmanager
  namespace: default
spec:
  ports:
  - name: tcp-prometheus-servicemonitor
    port: 9402
    protocol: TCP
    targetPort: 9402
  selector:
    app.kubernetes.io/component: controller
    app.kubernetes.io/instance: RELEASE-NAME
    app.kubernetes.io/name: certmanager
  type: ClusterIP
