microcks / microcks-ansible-operator

Kubernetes Operator for easy setup and management of Microcks installs
https://microcks.io
Apache License 2.0
26 stars 6 forks source link

Update Kafka CR template #30

Closed hguerrero closed 3 years ago

hguerrero commented 3 years ago

With the latest versions of Strimzi, there is a new way to define the listeners for the Kafka custom resource. The current usage is still supported but will be removed in the future.

lbroudoux commented 3 years ago

Thanks Hugo. Could you put here the link to the doc explaining new syntax?

hguerrero commented 3 years ago

Here is the doc: https://strimzi.io/docs/operators/master/using.html#proc-config-kafka-str

New format:

    listeners: (8)
      - name: plain (9)
        port: 9092 (10)
        type: internal (11)
        tls: false (12)
        configuration:
          useServiceDnsDomain: true (13)
      - name: tls
        port: 9093
        type: internal
        tls: true
        authentication: (14)
          type: tls
      - name: external (15)
        port: 9094
        type: route
        tls: true
        configuration:
          brokerCertChainAndKey: (16)
            secretName: my-secret
            certificate: my-certificate.crt
            key: my-key.key
lbroudoux commented 3 years ago

Tests have been realized on OpenShift but not yet on vanilla Kubernetes. beta1 version remains the default version unless features.async.kafka.useStrimziBeta2 property of the CR is set to true.

lbroudoux commented 3 years ago

Now done.