---
apiVersion: monitoring.coreos.com/v1
kind: PrometheusRule
metadata:
  annotations:
    exclude.release.openshift.io/internal-openshift-hosted: "true"
    include.release.openshift.io/self-managed-high-availability: "true"
  creationTimestamp: "2022-03-08T10:14:06Z"
  generation: 1
  managedFields:
  - apiVersion: monitoring.coreos.com/v1
    fieldsType: FieldsV1
    fieldsV1:
      f:metadata:
        f:annotations:
          .: {}
          f:exclude.release.openshift.io/internal-openshift-hosted: {}
          f:include.release.openshift.io/self-managed-high-availability: {}
      f:spec:
        .: {}
        f:groups: {}
    manager: cluster-version-operator
    operation: Update
    time: "2022-03-08T10:14:06Z"
  name: kube-apiserver-operator
  namespace: openshift-kube-apiserver-operator
  resourceVersion: "1423"
  selfLink: /apis/monitoring.coreos.com/v1/namespaces/openshift-kube-apiserver-operator/prometheusrules/kube-apiserver-operator
  uid: b254a320-048f-4807-9d81-dc0a3a7d02be
spec:
  groups:
  - name: cluster-version
    rules:
    - alert: TechPreviewNoUpgrade
      annotations:
        message: Cluster has enabled tech preview features that will prevent upgrades.
      expr: |
        cluster_feature_set{name!="", namespace="openshift-kube-apiserver-operator"} == 0
      for: 10m
      labels:
        severity: warning
