apiVersion: v1
kind: Service
metadata:
  name: cluster-version-operator
  namespace: openshift-cluster-version
  labels:
    k8s-app: cluster-version-operator
  annotations:
    kubernetes.io/description: Expose cluster-version operator metrics to other in-cluster consumers.  Access requires a prometheus-k8s RoleBinding in this namespace.
    include.release.openshift.io/self-managed-high-availability: "true"
    exclude.release.openshift.io/internal-openshift-hosted: "true"
    service.beta.openshift.io/serving-cert-secret-name: cluster-version-operator-serving-cert
spec:
  type: ClusterIP
  selector:
    k8s-app: cluster-version-operator
  ports:
  - name: metrics
    port: 9099 # chosen to be in the internal open range
