This repository was archived by the owner on Mar 26, 2025. It is now read-only.

Description
Description
When a new SSL listener is added where the "hostnameOverride" field contains a new value, the auto-generated certificates are not updated.
As a workaround new certificates can be issued and specified in the 'serverSSLCertSecret'.
Expected Behavior
Certificates are re-issued with the new hostname added as a Subject Alternative Name
Actual Behavior
Certificates are not updated and clients connecting to the new hostname get an SSL exception.
Affected Version
0.25.1
Steps to Reproduce
kubectl create -f config/samples/simplekafkacluster_ssl.yaml
- Add external listener to config/samples/simplekafkacluster_ssl.yaml:
spec:
listenersConfig:
externalListeners:
- type: "ssl"
name: "external"
externalStartingPort: 19090
containerPort: 9094
accessMethod: LoadBalancer
hostnameOverride: kafka.local
kubectl apply config/samples/simplekafkacluster_ssl.yaml
- Observe that the certificates generated at step 1 are not updated with the new hostname 'kafka.local'
Checklist