apiVersion: v1
kind: Service
metadata:
  annotations:
    service.beta.openshift.io/serving-cert-secret-name: alertmanager-user-workload-tls
  labels:
    app.kubernetes.io/component: alert-router
    app.kubernetes.io/instance: user-workload
    app.kubernetes.io/name: alertmanager
    app.kubernetes.io/part-of: openshift-monitoring
    app.kubernetes.io/version: 0.24.0
  name: alertmanager-user-workload
  namespace: openshift-user-workload-monitoring
spec:
  ports:
  - name: web
    port: 9095
    targetPort: web
  - name: tenancy
    port: 9092
    targetPort: tenancy
  - name: metrics
    port: 9097
    targetPort: metrics
  selector:
    app.kubernetes.io/component: alert-router
    app.kubernetes.io/instance: user-workload
    app.kubernetes.io/name: alertmanager
    app.kubernetes.io/part-of: openshift-monitoring
  sessionAffinity: ClientIP
  type: ClusterIP
