Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kubectl container - Extract version better
1. Use --client since -c is deprecated now 2. The command (./kubectl version --client | grep -o 'GitVersion:"[^"]*"') now returns: GitVersion:"v1.4.0-alpha.1.784+ed3a29bd6aeb98-dirty" so parse out the version better using sed Related to kubernetes#23708
- Loading branch information