currently we have an error in the below with kubectl v1.28
default output is changed as same as --short flag
Error in local: command "kubectl version --short" failed.
error: exit status 1
stdout: ""
stderr: "error: unknown flag: --short\nSee 'kubectl version --help' for usage.\n"
Changes:
removed --short flag for kubectl version in min_k8s_version
Context:
--short
flag forkubectl version
atv1.24
https://github.com/kubernetes/kubernetes/pull/108987--short
flag forkubectl version
atv1.28
https://github.com/kubernetes/kubernetes/pull/116720--short
flagChanges:
--short
flag forkubectl version
inmin_k8s_version
v1.28+