saedHasan / kafkaK8sCluster

0 stars 0 forks source link

Cluster CA Cert not retrievable #4

Open DollyVolley opened 5 months ago

DollyVolley commented 5 months ago

The command kubectl get secret my-cluster-cluster-ca-cert -n kafka -o jsonpath="{.data.ca}" | base64 --decode should return the certificate but returns an empty string.

The certificate contains the following attributes: ca.crt: 1854 bytes ca.p12: 1702 bytes ca.password: 12 bytes

So there is no attribute "ca" only "ca.crt", "ca.p12" and "ca.password".

saedHasan commented 5 months ago

this command returens only the decoded password , it should showed as a clear text. but first , you need to make sure that the user ( my-user ) already created in ysers.yaml file.