Exporting kubever

Asking for help? Comment out what you need so we can get more information to help you!

Cluster information:

Kubernetes version:
Cloud being used: self hosted cloud
Installation method: yum
Host OS: CENTOS 7
CNI and version:
CRI and version:

Running this: sudo export kubever=$(kubectl version | base64 | tr -d ‘\n’)
ouput:
WARNING: This version information is deprecated and will be replaced with the output from kubectl version --short. Use --output=yaml|json to get the full version.
sudo: export: command not found

If i do:/bin/sh kubever=$(kubectl version --short | base64 | tr -d ‘\n’)
output:
Flag --short has been deprecated, and will be removed in the future. The --short output will become the default.
/bin/sh: kubever=Q2xpZW50IFZlcnNpb246IHYxLjI0LjEKS3VzdG9taXplIFZlcnNpb246IHY0LjUuNApTZXJ2ZXIgVmVyc2lvbjogdjEuMjQuMQo=: No such file or directory

Any thoughts? Thank you!