Apparently newer versions of kubectl do not longer support the argument --short for the version check.
Output:
$ ./scripts/deploy.sh install --basic
==== Creates namespace and secrets, then installs synology-csi ====
error: unknown flag: --short
See 'kubectl version --help' for usage.
Version not supported:
Apparently newer versions of
kubectl
do not longer support the argument--short
for the version check.Output:
Possible fix: Remove the argument
--short
from https://github.com/SynologyOpenSource/synology-csi/blob/main/scripts/deploy.sh#L13Example output from kubectl:
This should be fine.