loft-sh / vcluster-docs

https://vcluster.com/docs
Apache License 2.0
5 stars 26 forks source link

Changing the flag "D" with "--decode" which supports both platform (Mac & linux) . #248

Closed 12rashic closed 2 months ago

12rashic commented 2 months ago

In official documentation for v0.20 where its mentioned to use : kubectl get secret vc-my-vcluster -n test --template={{.data.config}} | base64 -D , for retriveing the Kube-config , but for linux users flag "-D" doesn't work , instead "-d" would work .

The flag "--decode" would support both mac ,and linux users , also would provide better compatability. kubectl get secret vc-my-vcluster -n test --template={{.data.config}} | base64 --decode