---
apiVersion: v1
kind: Service
metadata:
  labels:
    ActiveMQArtemis: amq-broker-a
    application: amq-broker-a-app
    statefulset.kubernetes.io/pod-name: amq-broker-a-ss-0
  name: amq-broker-a-0-svc
  annotations:
    prometheus.io/path: /metrics/
    prometheus.io/port: '8161'
    prometheus.io/scheme: https
    prometheus.io/scrape: 'true'
spec:
  ports:
  - port: 61616
    name: all
    protocol: TCP
    targetPort: 61616
  - port: 8161
    name: console-jolokia
    protocol: TCP
    targetPort: 8161
  - port: 5672
    name: amqp
    protocol: TCP
    targetPort: 5672
  - port: 1883
    name: mqtt
    protocol: TCP
    targetPort: 1883
  - port: 61613
    name: stomp
    protocol: TCP
    targetPort: 61613
  - port: 61617
    name: all-ssl
    protocol: TCP
    targetPort: 61617
  - port: 5671
    name: amqp-ssl
    protocol: TCP
    targetPort: 5671
  - port: 8883
    name: mqtt-ssl
    protocol: TCP
    targetPort: 8883
  - port: 61612
    name: stomp-ssl
    protocol: TCP
    targetPort: 61612
  selector:
    ActiveMQArtemis: amq-broker-a
    application: amq-broker-a-app
    statefulset.kubernetes.io/pod-name: amq-broker-a-ss-0
  type: ClusterIP
---
kind: Route
apiVersion: route.openshift.io/v1
metadata:
  labels:
    ActiveMQArtemis: amq-broker-a
    application: amq-broker-a-app
    statefulset.kubernetes.io/pod-name: amq-broker-a-ss-0
  name: amq-broker-a-console-0
spec:
  host: amq-broker-a-console-0.amq-messaging.apps.oofvnrkr.westeurope.aroapp.io
  port:
    targetPort: console-jolokia
  tls:
    termination: passthrough
  to:
    kind: Service
    name: amq-broker-a-0-svc
    weight: 100
  wildcardPolicy: None
---
kind: Route
apiVersion: route.openshift.io/v1
metadata:
  labels:
    ActiveMQArtemis: amq-broker-a
    application: amq-broker-a-app
    statefulset.kubernetes.io/pod-name: amq-broker-a-ss-0
  name: amq-broker-a-acceptor-0
spec:
  host: amq-broker-a-acceptor-0.amq-messaging.apps.oofvnrkr.westeurope.aroapp.io
  port:
    targetPort: all-ssl
  tls:
    termination: passthrough
  to:
    kind: Service
    name: amq-broker-a-0-svc
    weight: 100
  wildcardPolicy: None