kubestellar / kubeflex

A flexible and scalable platform for running Kubernetes control plane APIs.
Apache License 2.0
47 stars 13 forks source link

bug: Wrong certificate when using a `hostContainer` different from `kubeflex-control-plane` #247

Closed francostellari closed 5 months ago

francostellari commented 5 months ago

Describe the bug

The controller does not respect the choice of hostContainer and continue creating a certificate for kubeflex-control-plane.

Steps To Reproduce

Use a different value for the hostContainer

See https://github.com/kubestellar/kubeflex/blob/07fb5296d732b560008233800e141674dbdff669/pkg/reconcilers/vcluster/chart.go#L68

Expected Behavior

A certificate for the desired control plane should be used.

Additional Context

No response