Thanks for taking time to make a feature request for Cilium! If you have usage questions, please try the slack channel and see the FAQ first.
Is your feature request related to a problem?
We are using CAPI to create and manage kubernetes clusters. We are updating our operators to install Cilium on managed clusters and the most straightforward way to accomplish this is invoking the K8sInstaller.Install method. However the k8s.Client builder expects a Kubeconfig file path rather than an instance of rest.Config or something similar (https://github.com/cilium/cilium-cli/blob/master/k8s/client.go#L62).
Describe the feature you'd like
Support a variant to the k8s Client builder that supports passing a rest.Config directly.
Cilium Feature Proposal
Thanks for taking time to make a feature request for Cilium! If you have usage questions, please try the slack channel and see the FAQ first.
Is your feature request related to a problem?
We are using CAPI to create and manage kubernetes clusters. We are updating our operators to install Cilium on managed clusters and the most straightforward way to accomplish this is invoking the
K8sInstaller.Install
method. However thek8s.Client
builder expects a Kubeconfig file path rather than an instance ofrest.Config
or something similar (https://github.com/cilium/cilium-cli/blob/master/k8s/client.go#L62).Describe the feature you'd like
Support a variant to the k8s Client builder that supports passing a
rest.Config
directly.