---
apiVersion: v1
kind: Service
metadata:
  labels:
    app.kubernetes.io/component: background-controller
    app.kubernetes.io/instance: kyverno
    app.kubernetes.io/part-of: kyverno
    app.kubernetes.io/version: 3.4.1
  name: kyverno-background-controller-metrics
  namespace: kyverno
spec:
  ports:
    - name: metrics-port
      port: 8000
      protocol: TCP
      targetPort: 8000
  selector:
    app.kubernetes.io/component: background-controller
    app.kubernetes.io/instance: kyverno
    app.kubernetes.io/part-of: kyverno
  type: ClusterIP
