Closed vishal-biyani closed 6 years ago
This looks like a problem specific to GKE clusters, but I might be wrong. The kubectl version on GKE adds a + to the minor version.
+
$ kubectl version Server Version: version.Info{Major:"1", Minor:"10+", GitVersion:"v1.10.4-gke.0", GitCommit:"c08fe9548257472151a8fa298bd6c3e9ea1b8c09", GitTreeState:"clean", BuildDate:"2018-06-06T11:34:07Z", GoVersion:"go1.9.3b4", Compiler:"gc", Platform:"linux/amd64"}
This causes the kubesquash to not install even though the version is 1.10 or higher.
$ ./kubesquash-osx NOTE: can't detect kubernetes version. strconv.Atoi: parsing "10+": invalid syntax
fixed by #3
This looks like a problem specific to GKE clusters, but I might be wrong. The kubectl version on GKE adds a
+
to the minor version.This causes the kubesquash to not install even though the version is 1.10 or higher.