apiVersion: v1
kind: Service
metadata:
  annotations:
    service.beta.openshift.io/serving-cert-secret-name: prometheus-k8s-thanos-sidecar-tls
  labels:
    app.kubernetes.io/component: thanos-sidecar
    app.kubernetes.io/name: prometheus
    app.kubernetes.io/part-of: openshift-monitoring
    app.kubernetes.io/version: 2.30.3
    prometheus: k8s
  name: prometheus-k8s-thanos-sidecar
  namespace: openshift-monitoring
spec:
  clusterIP: None
  ports:
  - name: thanos-proxy
    port: 10902
    targetPort: thanos-proxy
  selector:
    app.kubernetes.io/component: prometheus
    app.kubernetes.io/name: prometheus
    app.kubernetes.io/part-of: openshift-monitoring
    prometheus: k8s
