Skip to content

Different domain per listener #1361

@yvespp

Description

@yvespp

I would like to have two different listeners on two different domains but it looks like this currently isn't possible with the operator.
You can only set one domain globally and set the prefixTemplate per domain:

apiVersion: cluster.redpanda.com/v1alpha2
kind: Redpanda
metadata:
  name: redpanda
spec:
  clusterSpec:
    external:
      domain: my-domain.com
    listeners:
      kafka:
        authenticationMethod: sasl
        external:
          default:
            prefixTemplate: "redpanda-test-$POD_ORDINAL"
            advertisedPorts:
            - 30092
          mtls-listener:
            port: 9095
            authenticationMethod: mtls_identity
            tls:
              enabled: true
              cert: default
              requireClientAuth: true

It would be great if the domain could also be configured per listener.

Additionally, the available variables for prefixTemplate don't appear to be documented; I had to look them up in the source code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions