Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare for release v0.22.0 #24

Merged
merged 1 commit into from
Jan 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ ARCH ?= amd64
OS ?= $(shell uname -s | tr A-Z a-z)
K8S_LATEST_VER ?= $(shell curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)
export CONTROLLER_IMG ?= $(REGISTRY)/$(IMAGE_NAME)
TAG ?= dev
TAG ?= v0.22.0

## Tool Binaries
CONTROLLER_GEN := $(TOOLS_BIN_DIR)/controller-gen
Expand Down Expand Up @@ -178,6 +178,11 @@ create-cluster: $(KIND) $(CLUSTERCTL) $(KUBECTL) $(ENVSUBST) ## Create a new kin

@echo wait for capd-system pod
$(KUBECTL) wait --for=condition=Available deployment/capd-controller-manager -n capd-system --timeout=$(TIMEOUT)
$(KUBECTL) wait --for=condition=Available deployment/capi-kubeadm-control-plane-controller-manager -n capi-kubeadm-control-plane-system --timeout=$(TIMEOUT)
$(KUBECTL) wait --for=condition=Available deployment/capi-kubeadm-bootstrap-controller-manager -n capi-kubeadm-bootstrap-system --timeout=$(TIMEOUT)

@echo "sleep allowing webhook to be ready"
sleep 10

@echo "Create a workload cluster"
$(KUBECTL) apply -f $(KIND_CLUSTER_YAML)
Expand Down
2 changes: 1 addition & 1 deletion config/default/manager_image_patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ spec:
spec:
containers:
# Change the value of image field below to your controller image URL
- image: projectsveltos/shard-controller-amd64:dev
- image: projectsveltos/shard-controller-amd64:v0.22.0
name: manager
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ require (
github.com/onsi/ginkgo/v2 v2.15.0
github.com/onsi/gomega v1.31.0
github.com/pkg/errors v0.9.1
github.com/projectsveltos/libsveltos v0.21.2-0.20240120111559-a243ee94d3fc
github.com/projectsveltos/libsveltos v0.22.0
github.com/spf13/pflag v1.0.5
golang.org/x/text v0.14.0
k8s.io/api v0.29.1
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/projectsveltos/libsveltos v0.21.2-0.20240120111559-a243ee94d3fc h1:SuRmcxnPvD0hmyAm2yVh1Unc0hzA4abEChXHgIqGb+E=
github.com/projectsveltos/libsveltos v0.21.2-0.20240120111559-a243ee94d3fc/go.mod h1:CUdg31JkncVRQY6AIEQGjT2Mj6OCDckdS6OKwG9o8ek=
github.com/projectsveltos/libsveltos v0.22.0 h1:Y1+aHWfs9m8ygt+6KbQgvnBa+G9HHBb1cIgiyBqxj0g=
github.com/projectsveltos/libsveltos v0.22.0/go.mod h1:CUdg31JkncVRQY6AIEQGjT2Mj6OCDckdS6OKwG9o8ek=
github.com/prometheus/client_golang v1.17.0 h1:rl2sfwZMtSthVU752MqfjQozy7blglC+1SOtjMAMh+Q=
github.com/prometheus/client_golang v1.17.0/go.mod h1:VeL+gMmOAxkS2IqfCq0ZmHSL+LjWfWDUmp1mBz9JgUY=
github.com/prometheus/client_model v0.4.1-0.20230718164431-9a2bf3000d16 h1:v7DLqVdK4VrYkVD5diGdl4sxJurKJEMnODWRJlxV9oM=
Expand Down
2 changes: 1 addition & 1 deletion manifest/manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ spec:
- --report-mode=0
command:
- /manager
image: projectsveltos/shard-controller-amd64:dev
image: projectsveltos/shard-controller-amd64:v0.22.0
livenessProbe:
httpGet:
path: /healthz
Expand Down
3 changes: 2 additions & 1 deletion pkg/sharding/ac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,10 @@ spec:
- --report-mode=0
- --shard-key={{.SHARD}}
- --v=5
- --version=v0.22.0
command:
- /manager
image: projectsveltos/addon-controller-amd64:dev
image: projectsveltos/addon-controller-amd64:v0.22.0
livenessProbe:
httpGet:
path: /healthz
Expand Down
3 changes: 2 additions & 1 deletion pkg/sharding/addon-controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,10 @@ spec:
- --report-mode=0
- --shard-key={{.SHARD}}
- --v=5
- --version=v0.22.0
command:
- /manager
image: projectsveltos/addon-controller-amd64:dev
image: projectsveltos/addon-controller-amd64:v0.22.0
livenessProbe:
httpGet:
path: /healthz
Expand Down
4 changes: 2 additions & 2 deletions pkg/sharding/classifier.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ spec:
- --report-mode=0
- --shard-key={{.SHARD}}
- --v=5
- --version=mainmain
- --version=v0.22.0
command:
- /manager
image: projectsveltos/classifier-amd64:dev
image: projectsveltos/classifier-amd64:v0.22.0
livenessProbe:
httpGet:
path: /healthz
Expand Down
4 changes: 2 additions & 2 deletions pkg/sharding/classifier.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ spec:
- --report-mode=0
- --shard-key={{.SHARD}}
- --v=5
- --version=mainmain
- --version=v0.22.0
command:
- /manager
image: projectsveltos/classifier-amd64:dev
image: projectsveltos/classifier-amd64:v0.22.0
livenessProbe:
httpGet:
path: /healthz
Expand Down
2 changes: 1 addition & 1 deletion pkg/sharding/em.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
- --v=5
command:
- /manager
image: projectsveltos/event-manager-amd64:dev
image: projectsveltos/event-manager-amd64:v0.22.0
livenessProbe:
httpGet:
path: /healthz
Expand Down
2 changes: 1 addition & 1 deletion pkg/sharding/event-manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ spec:
- --v=5
command:
- /manager
image: projectsveltos/event-manager-amd64:dev
image: projectsveltos/event-manager-amd64:v0.22.0
livenessProbe:
httpGet:
path: /healthz
Expand Down
2 changes: 1 addition & 1 deletion pkg/sharding/healthcheck-manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ spec:
- --v=5
command:
- /manager
image: projectsveltos/healthcheck-manager-amd64:dev
image: projectsveltos/healthcheck-manager-amd64:v0.22.0
livenessProbe:
httpGet:
path: /healthz
Expand Down
2 changes: 1 addition & 1 deletion pkg/sharding/hm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
- --v=5
command:
- /manager
image: projectsveltos/healthcheck-manager-amd64:dev
image: projectsveltos/healthcheck-manager-amd64:v0.22.0
livenessProbe:
httpGet:
path: /healthz
Expand Down
2 changes: 1 addition & 1 deletion pkg/sharding/sc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
- --v=5
command:
- /manager
image: projectsveltos/sveltoscluster-manager-amd64:dev
image: projectsveltos/sveltoscluster-manager-amd64:v0.22.0
livenessProbe:
httpGet:
path: /healthz
Expand Down
2 changes: 1 addition & 1 deletion pkg/sharding/sveltoscluster-manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ spec:
- --v=5
command:
- /manager
image: projectsveltos/sveltoscluster-manager-amd64:dev
image: projectsveltos/sveltoscluster-manager-amd64:v0.22.0
livenessProbe:
httpGet:
path: /healthz
Expand Down