Closed Pela2silveira closed 1 month ago
This issue has been marked as stale due to 60 days of inactivity. Stale issues will be closed after a further 30 days of inactivity; please remove the stale label in order to prevent this occurring.
Removing stale label, this report is still relevant
I confirm this is a legitimate bug. Here are simpler repro manifests:
The expected certificate contents are:
The actual outcome is that only CA secret certificates are present. We may be able to project individual keys in the mount path, but I have to catch up with volume projections in Kubernetes.
Describe the bug
using kind: RabbitmqCluster and set both spec.tls.secretName and spec.tls.caSecretName, the operator set the same value for both files, being this value the CA cert.
To Reproduce
Steps to reproduce the behavior:
reference:
Expected behavior /etc/rabbitmq-tls/tls.crt and /etc/rabbitmq-tls/ca.crt should be different, the first one is the server cert, the second is the CA used to validate client certificate.
Other details