---
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
  creationTimestamp: "2025-10-29T11:54:05Z"
  generation: 1
  labels:
    app.kubernetes.io/component: monitoring
    app.kubernetes.io/managed-by: ssp-operator
    app.kubernetes.io/name: metrics
    app.kubernetes.io/part-of: hyperconverged-cluster
    app.kubernetes.io/version: 4.19.11
    k8s-app: kubevirt
    openshift.io/cluster-monitoring: "true"
    prometheus.ssp.kubevirt.io: "true"
  managedFields:
  - apiVersion: monitoring.coreos.com/v1
    fieldsType: FieldsV1
    fieldsV1:
      f:metadata:
        f:labels:
          .: {}
          f:app.kubernetes.io/component: {}
          f:app.kubernetes.io/managed-by: {}
          f:app.kubernetes.io/name: {}
          f:app.kubernetes.io/part-of: {}
          f:app.kubernetes.io/version: {}
          f:k8s-app: {}
          f:openshift.io/cluster-monitoring: {}
          f:prometheus.ssp.kubevirt.io: {}
        f:ownerReferences:
          .: {}
          k:{"uid":"2730307e-96c7-4aea-a509-2ac5f5bfc88d"}: {}
      f:spec:
        .: {}
        f:endpoints: {}
        f:namespaceSelector:
          .: {}
          f:any: {}
        f:selector: {}
    manager: manager
    operation: Update
    time: "2025-10-29T11:54:05Z"
  name: prometheus-k8s-rules-cnv
  namespace: openshift-cnv
  ownerReferences:
  - apiVersion: ssp.kubevirt.io/v1beta2
    blockOwnerDeletion: true
    controller: true
    kind: SSP
    name: ssp-kubevirt-hyperconverged
    uid: 2730307e-96c7-4aea-a509-2ac5f5bfc88d
  resourceVersion: "2146133"
  uid: a0b3b68a-3269-4a7b-b838-0f29fafea69c
spec:
  endpoints:
  - honorLabels: true
    port: metrics
    scheme: https
    tlsConfig:
      ca: {}
      cert: {}
      insecureSkipVerify: true
  namespaceSelector:
    any: true
  selector:
    matchLabels:
      prometheus.ssp.kubevirt.io: "true"
