karpor
karpor copied to clipboard
Feat: Support importing kubeconfig from more cloud platforms (GCP, Azure)
What would you like to be added?
We need to consider more elegant ways to support importing kubeconfig from more cloud platforms. (GCP, Azure)
Why is this needed?
Currently, AWS KubeConfig has been supported (#564, thanks for @CirillaQL) by integrating aws-cli in Dockerfile. But this also brings two hidden dangers:
- If GCP and Azure authentication are to be introduced in the future, corresponding authentication CLI needs to be added to the Dockerfile, which will increase the size of the container image.
- The support for different machines may vary among different clients, increasing the potential risk of exceptions.
Do you still consider this issue? If so, I'd like to look into it. BTW, there is one typo, Axure -> Azure.
Hi, thank for your attention and correction. We can discuss in [https://github.com/KusionStack/karpor/issues/458](issue 458). There is an solution provided by @ruquanzhao.