diff --git a/pkg/consts/consts.go b/pkg/consts/consts.go index 9a52aba2b..17b084837 100644 --- a/pkg/consts/consts.go +++ b/pkg/consts/consts.go @@ -24,13 +24,13 @@ var ( // Version is the version of the project. // It will be overwritten during the `make build` process. - Version = "0.3.0" + Version = "0.4.0" BinaryPrefix = "https://github.com/kubernetes-sigs/kwok/releases/download" ImagePrefix = "registry.k8s.io/kwok" // PreRelease is the pre-release version of the project. // It will be overwritten during the `make build` process. - PreRelease = "alpha" + PreRelease = "GA" // KubeVersion is the version of Kubernetes. // It will be overwritten during the `make build` process. diff --git a/pkg/utils/version/vars_test.go b/pkg/utils/version/vars_test.go index 73e85cf9f..76c7727e8 100644 --- a/pkg/utils/version/vars_test.go +++ b/pkg/utils/version/vars_test.go @@ -18,8 +18,6 @@ package version import ( "testing" - - "sigs.k8s.io/kwok/pkg/consts" ) func TestVersionInfo(t *testing.T) { @@ -36,7 +34,7 @@ func TestVersionInfo(t *testing.T) { name: "versionInfo to alpha", args: args{ version: "v1.2.3", - preRelease: consts.PreRelease, + preRelease: "alpha", }, want: "1.2.3-alpha", }, @@ -44,7 +42,7 @@ func TestVersionInfo(t *testing.T) { name: "versionInfo to alpha but version is not v", args: args{ version: "1.2.3", - preRelease: consts.PreRelease, + preRelease: "alpha", }, want: "1.2.3-alpha", }, @@ -52,7 +50,7 @@ func TestVersionInfo(t *testing.T) { name: "versionInfo to alpha but version is empty", args: args{ version: "", - preRelease: consts.PreRelease, + preRelease: "alpha", }, want: "", }, diff --git a/site/content/en/docs/generated/kwokctl_create_cluster.md b/site/content/en/docs/generated/kwokctl_create_cluster.md index 6a08747fb..fe02f8994 100644 --- a/site/content/en/docs/generated/kwokctl_create_cluster.md +++ b/site/content/en/docs/generated/kwokctl_create_cluster.md @@ -63,10 +63,10 @@ kwokctl create cluster [flags] --kube-scheduler-port uint32 Port of kube-scheduler given to the host, only for binary and docker/podman/nerdctl runtime --kubeconfig string The path to the kubeconfig file will be added to the newly created cluster and set to current-context (default "~/.kube/config") --kwok-controller-binary string Binary of kwok-controller, only for binary runtime - (default "https://github.com/kubernetes-sigs/kwok/releases/download/v0.3.0/kwok-linux-amd64") + (default "https://github.com/kubernetes-sigs/kwok/releases/download/v0.4.0/kwok-linux-amd64") --kwok-controller-image string Image of kwok-controller, only for docker/podman/nerdctl/kind/kind-podman runtime '${KWOK_IMAGE_PREFIX}/kwok:${KWOK_VERSION}' - (default "registry.k8s.io/kwok/kwok:v0.3.0") + (default "registry.k8s.io/kwok/kwok:v0.4.0") --prometheus-binary string Binary of Prometheus, only for binary runtime --prometheus-binary-tar string Tar of Prometheus, if --prometheus-binary is set, this is ignored, only for binary runtime (default "https://github.com/prometheus/prometheus/releases/download/v2.44.0/prometheus-2.44.0.linux-amd64.tar.gz")