cilium / cilium-cli

CLI to install, manage & troubleshoot Kubernetes clusters running Cilium
https://cilium.io
Apache License 2.0
418 stars 209 forks source link

CFP: Support programmatic installation from k8s clusters #1351

Open andrewtagg-db opened 1 year ago

andrewtagg-db commented 1 year ago

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 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.

github-actions[bot] commented 1 week ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.