Skip to content

Commit bd250ca

Browse files
authored
Merge pull request #786 from wzshiming/promote/0.4
Release 0.4
2 parents 49a0bfd + 5076fbf commit bd250ca

File tree

3 files changed

+7
-9
lines changed

3 files changed

+7
-9
lines changed

pkg/consts/consts.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ var (
2424

2525
// Version is the version of the project.
2626
// It will be overwritten during the `make build` process.
27-
Version = "0.3.0"
27+
Version = "0.4.0"
2828
BinaryPrefix = "https://github.com/kubernetes-sigs/kwok/releases/download"
2929
ImagePrefix = "registry.k8s.io/kwok"
3030

3131
// PreRelease is the pre-release version of the project.
3232
// It will be overwritten during the `make build` process.
33-
PreRelease = "alpha"
33+
PreRelease = "GA"
3434

3535
// KubeVersion is the version of Kubernetes.
3636
// It will be overwritten during the `make build` process.

pkg/utils/version/vars_test.go

+3-5
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ package version
1818

1919
import (
2020
"testing"
21-
22-
"sigs.k8s.io/kwok/pkg/consts"
2321
)
2422

2523
func TestVersionInfo(t *testing.T) {
@@ -36,23 +34,23 @@ func TestVersionInfo(t *testing.T) {
3634
name: "versionInfo to alpha",
3735
args: args{
3836
version: "v1.2.3",
39-
preRelease: consts.PreRelease,
37+
preRelease: "alpha",
4038
},
4139
want: "1.2.3-alpha",
4240
},
4341
{
4442
name: "versionInfo to alpha but version is not v",
4543
args: args{
4644
version: "1.2.3",
47-
preRelease: consts.PreRelease,
45+
preRelease: "alpha",
4846
},
4947
want: "1.2.3-alpha",
5048
},
5149
{
5250
name: "versionInfo to alpha but version is empty",
5351
args: args{
5452
version: "",
55-
preRelease: consts.PreRelease,
53+
preRelease: "alpha",
5654
},
5755
want: "",
5856
},

site/content/en/docs/generated/kwokctl_create_cluster.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,10 @@ kwokctl create cluster [flags]
6464
--kube-scheduler-port uint32 Port of kube-scheduler given to the host, only for binary and docker/podman/nerdctl runtime
6565
--kubeconfig string The path to the kubeconfig file will be added to the newly created cluster and set to current-context (default "~/.kube/config")
6666
--kwok-controller-binary string Binary of kwok-controller, only for binary runtime
67-
(default "https://github.com/kubernetes-sigs/kwok/releases/download/v0.3.0/kwok-linux-amd64")
67+
(default "https://github.com/kubernetes-sigs/kwok/releases/download/v0.4.0/kwok-linux-amd64")
6868
--kwok-controller-image string Image of kwok-controller, only for docker/podman/nerdctl/kind/kind-podman runtime
6969
'${KWOK_IMAGE_PREFIX}/kwok:${KWOK_VERSION}'
70-
(default "registry.k8s.io/kwok/kwok:v0.3.0")
70+
(default "registry.k8s.io/kwok/kwok:v0.4.0")
7171
--prometheus-binary string Binary of Prometheus, only for binary runtime
7272
--prometheus-binary-tar string Tar of Prometheus, if --prometheus-binary is set, this is ignored, only for binary runtime
7373
(default "https://github.com/prometheus/prometheus/releases/download/v2.44.0/prometheus-2.44.0.linux-amd64.tar.gz")

0 commit comments

Comments
 (0)