Skip to content
Discussion options

You must be logged in to vote

You can use a resource template to customize the service created by the operator for the acceptor or ignore it and create your own custom service. With a resource template, you can customize the acceptor service type, i.e.

apiVersion: broker.amq.io/v1beta1
kind: ActiveMQArtemis
metadata:
  name: artemis-broker
spec:
  acceptors:
    - name: mqtt
      expose: false
      port: 8883
      protocols: mqtt
      sslEnabled: true
      sslSecret: mqtt-server-cert
      bindToAllInterfaces: true
  resourceTemplates:
  - selector:
      kind: "Service"
      name: "artemis-broker-mqtt-[0-9]+-svc"
    patch:
      kind: "Service"
      spec:
        type: LoadBalancer

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@Syndlex
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by Syndlex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants