---
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
  annotations:
    operator.cdi.kubevirt.io/lastAppliedConfiguration: '{"metadata":{"name":"service-monitor-cdi","namespace":"openshift-cnv","creationTimestamp":null,"labels":{"cdi.kubevirt.io":"","openshift.io/cluster-monitoring":"","prometheus.cdi.kubevirt.io":"true"}},"spec":{"endpoints":[{"port":"metrics","scheme":"http","tlsConfig":{"ca":{},"cert":{},"insecureSkipVerify":true}}],"selector":{"matchLabels":{"prometheus.cdi.kubevirt.io":"true"}},"namespaceSelector":{"matchNames":["openshift-cnv"]}}}'
  creationTimestamp: "2025-10-29T11:53:25Z"
  generation: 1
  labels:
    app.kubernetes.io/component: storage
    app.kubernetes.io/managed-by: cdi-operator
    app.kubernetes.io/part-of: hyperconverged-cluster
    app.kubernetes.io/version: 4.19.11
    cdi.kubevirt.io: ""
    openshift.io/cluster-monitoring: ""
    prometheus.cdi.kubevirt.io: "true"
  managedFields:
  - apiVersion: monitoring.coreos.com/v1
    fieldsType: FieldsV1
    fieldsV1:
      f:metadata:
        f:annotations:
          .: {}
          f:operator.cdi.kubevirt.io/lastAppliedConfiguration: {}
        f:labels:
          .: {}
          f:app.kubernetes.io/component: {}
          f:app.kubernetes.io/managed-by: {}
          f:app.kubernetes.io/part-of: {}
          f:app.kubernetes.io/version: {}
          f:cdi.kubevirt.io: {}
          f:openshift.io/cluster-monitoring: {}
          f:prometheus.cdi.kubevirt.io: {}
        f:ownerReferences:
          .: {}
          k:{"uid":"d3932a57-9f4c-41fd-96eb-46836c1d62ca"}: {}
      f:spec:
        .: {}
        f:endpoints: {}
        f:namespaceSelector:
          .: {}
          f:matchNames: {}
        f:selector: {}
    manager: virt-cdi-operator
    operation: Update
    time: "2025-10-29T11:53:25Z"
  name: service-monitor-cdi
  namespace: openshift-cnv
  ownerReferences:
  - apiVersion: apps/v1
    blockOwnerDeletion: true
    controller: true
    kind: Deployment
    name: cdi-deployment
    uid: d3932a57-9f4c-41fd-96eb-46836c1d62ca
  resourceVersion: "2144855"
  uid: 735218c1-0979-4906-9887-4e61202c1450
spec:
  endpoints:
  - port: metrics
    scheme: http
    tlsConfig:
      ca: {}
      cert: {}
      insecureSkipVerify: true
  namespaceSelector:
    matchNames:
    - openshift-cnv
  selector:
    matchLabels:
      prometheus.cdi.kubevirt.io: "true"
