mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-11-14 07:52:01 +00:00
Automatic merge from submit-queue addressing issue #39427 adding a flag --output to 'kubectl version' **What this PR does / why we need it**: Addressing Issue https://github.com/kubernetes/kubernetes/issues/39427 we all **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #39427 **Release note**: ``` kubectl version has new flag --output (=json or yaml) allowing result of the command to be parsed in either json format or yaml. ```