cilium-cli icon indicating copy to clipboard operation
cilium-cli copied to clipboard

Enabling Hubble using the Cilium CLI doesn't work if Cilium was installed via Helm

Open rolinh opened this issue 4 years ago • 2 comments

The helm install method creates a CA for Hubble/Hubble Relay named hubble-ca-secret. This CA is different than the one used for ClusterMesh. On the other end, when installing Cilium using the CLI, the same CA is used for both ClusterMesh and Hubble. As reported by this user, this means that when using cilium hubble enable, Hubble Relay is not able to connect to Cilium/Hubble nodes because the cert cannot be validated (see more details in this comment).

We should ensure that the two installation methods are consistent in this regard so that enabling Hubble works either way.

rolinh avatar Sep 03 '21 07:09 rolinh

My two cents:

I think we should go the cilium cli way, i.e. one CA shared for Hubble and ClusterMesh (and anything internal to Cilium). It's simpler that what we currently do through Helm/certen (i.e. two different CAs) and moreover all the certs are for the internal ${something}.cilium.io so it's unusual to have two CAs "responsible" for the same domain, if that make sense.

kaworu avatar Sep 03 '21 10:09 kaworu

Related: #300

tklauser avatar Oct 01 '21 09:10 tklauser