jonmosco / kube-ps1

Kubernetes prompt info for bash and zsh
Apache License 2.0
3.52k stars 351 forks source link

Support for cloud providers #151

Closed obvionaoe closed 2 years ago

obvionaoe commented 2 years ago

Hi, would it be possible to add support for clusters from cloud providers, such as: GCP, AWS, Azure, etc

When I tried setting up the prompt for a kubeconfig from AWS I just got this:

(%{%F{4}%}⎈ %{%f%}|%{%F{1}%}arn:aws:eks:info%{%f%}:%{%F{6}%}default%{%f%})

Thanks

jonmosco commented 2 years ago

This looks like a shell escape issue, not a cloud provider configuration (which should be a kubeconfig file).