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