Skip to content

Commit d7a892a

Browse files
authored
Merge pull request #124 from gianlucam76/prep
Prepare for release v0.4.0
2 parents 06e504a + e357785 commit d7a892a

File tree

9 files changed

+18
-18
lines changed

9 files changed

+18
-18
lines changed

Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ ARCH ?= amd64
2525
OS ?= $(shell uname -s | tr A-Z a-z)
2626
K8S_LATEST_VER ?= $(shell curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)
2727
export CONTROLLER_IMG ?= $(REGISTRY)/$(IMAGE_NAME)
28-
TAG ?= dev
28+
TAG ?= v0.4.0
2929

3030
# Get cluster-api version and build ldflags
3131
clusterapi := $(shell go list -m sigs.k8s.io/cluster-api)
@@ -244,16 +244,16 @@ deploy-projectsveltos: $(KUSTOMIZE)
244244
$(MAKE) load-image
245245

246246
@echo 'Install libsveltos CRDs'
247-
$(KUBECTL) apply -f https://raw.githubusercontent.com/projectsveltos/libsveltos/dev/config/crd/bases/lib.projectsveltos.io_debuggingconfigurations.yaml
248-
$(KUBECTL) apply -f https://raw.githubusercontent.com/projectsveltos/libsveltos/dev/config/crd/bases/lib.projectsveltos.io_sveltosclusters.yaml
247+
$(KUBECTL) apply -f https://raw.githubusercontent.com/projectsveltos/libsveltos/v0.4.0/config/crd/bases/lib.projectsveltos.io_debuggingconfigurations.yaml
248+
$(KUBECTL) apply -f https://raw.githubusercontent.com/projectsveltos/libsveltos/v0.4.0/config/crd/bases/lib.projectsveltos.io_sveltosclusters.yaml
249249

250250
# Install projectsveltos controller-manager components
251251
@echo 'Install projectsveltos controller-manager components'
252252
cd config/manager && ../../$(KUSTOMIZE) edit set image controller=${IMG}
253253
$(KUSTOMIZE) build config/default | $(ENVSUBST) | $(KUBECTL) apply -f-
254254

255255
# Install sveltoscluster-manager
256-
$(KUBECTL) apply -f https://raw.githubusercontent.com/projectsveltos/sveltoscluster-manager/dev/manifest/manifest.yaml
256+
$(KUBECTL) apply -f https://raw.githubusercontent.com/projectsveltos/sveltoscluster-manager/v0.4.0/manifest/manifest.yaml
257257

258258
@echo "Waiting for projectsveltos controller-manager to be available..."
259259
$(KUBECTL) wait --for=condition=Available deployment/fm-controller-manager -n projectsveltos --timeout=$(TIMEOUT)
@@ -270,7 +270,7 @@ set-manifest-pull-policy:
270270

271271
drift-detection-manager:
272272
@echo "Downloading drift detection manager yaml"
273-
curl -L https://raw.githubusercontent.com/projectsveltos/drift-detection-manager/dev/manifest/manifest.yaml -o ./pkg/drift-detection/drift-detection-manager.yaml
273+
curl -L https://raw.githubusercontent.com/projectsveltos/drift-detection-manager/v0.4.0/manifest/manifest.yaml -o ./pkg/drift-detection/drift-detection-manager.yaml
274274
cd pkg/drift-detection; go generate
275275

276276
.PHONY: build

config/default/manager_image_patch.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ spec:
88
spec:
99
containers:
1010
# Change the value of image field below to your controller image URL
11-
- image: gianlucam76/sveltos-manager-amd64:dev
11+
- image: gianlucam76/sveltos-manager-amd64:v0.4.0
1212
name: manager

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ require (
1212
github.com/onsi/ginkgo/v2 v2.6.0
1313
github.com/onsi/gomega v1.24.1
1414
github.com/pkg/errors v0.9.1
15-
github.com/projectsveltos/libsveltos v0.3.1-0.20230129021247-6caa90913d47
15+
github.com/projectsveltos/libsveltos v0.4.0
1616
github.com/prometheus/client_golang v1.13.0
1717
github.com/spf13/pflag v1.0.5
1818
golang.org/x/text v0.5.0
@@ -25,7 +25,7 @@ require (
2525
k8s.io/component-base v0.25.3
2626
k8s.io/klog/v2 v2.80.1
2727
k8s.io/utils v0.0.0-20220823124924-e9cbc92d1a73
28-
sigs.k8s.io/cluster-api v1.3.2
28+
sigs.k8s.io/cluster-api v1.3.3
2929
sigs.k8s.io/controller-runtime v0.13.1
3030
sigs.k8s.io/gateway-api v0.5.0
3131
)

go.sum

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -790,8 +790,8 @@ github.com/posener/complete v1.1.1/go.mod h1:em0nMJCgc9GFtwrmVmEMR/ZL6WyhyjMBndr
790790
github.com/posener/complete v1.2.3/go.mod h1:WZIdtGGp+qx0sLrYKtIRAruyNpv6hFCicSgv7Sy7s/s=
791791
github.com/poy/onpar v0.0.0-20190519213022-ee068f8ea4d1 h1:oL4IBbcqwhhNWh31bjOX8C/OCy0zs9906d/VUru+bqg=
792792
github.com/poy/onpar v0.0.0-20190519213022-ee068f8ea4d1/go.mod h1:nSbFQvMj97ZyhFRSJYtut+msi4sOY6zJDGCdSc+/rZU=
793-
github.com/projectsveltos/libsveltos v0.3.1-0.20230129021247-6caa90913d47 h1:5fh0jEZVFbxV5BXXqLVdJ8E0llfx56W90ivTNJJQ6uI=
794-
github.com/projectsveltos/libsveltos v0.3.1-0.20230129021247-6caa90913d47/go.mod h1:smYCt3DQSZpQqsaoM2mJAIP6RAMXcxw5Af0mzkncCs4=
793+
github.com/projectsveltos/libsveltos v0.4.0 h1:9Z+GtfNTyQ4MB3npHL7grUyokMumDTme/qWkfZkfbtI=
794+
github.com/projectsveltos/libsveltos v0.4.0/go.mod h1:smYCt3DQSZpQqsaoM2mJAIP6RAMXcxw5Af0mzkncCs4=
795795
github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw=
796796
github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo=
797797
github.com/prometheus/client_golang v1.1.0/go.mod h1:I1FGZT9+L76gKKOs5djB6ezCbFQP1xR9D75/vuwEF3g=
@@ -1674,8 +1674,8 @@ oras.land/oras-go v1.2.0/go.mod h1:pFNs7oHp2dYsYMSS82HaX5l4mpnGO7hbpPN6EWH2ltc=
16741674
rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8=
16751675
rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0=
16761676
rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA=
1677-
sigs.k8s.io/cluster-api v1.3.2 h1:DkkaVASrxgOP4hT24ndGwfge8+YjHKuAyZBSGJwAlq4=
1678-
sigs.k8s.io/cluster-api v1.3.2/go.mod h1:nnXmR51rHshpMEXmB4LZIwdiXWKXV6yaooB1KzrL0Qs=
1677+
sigs.k8s.io/cluster-api v1.3.3 h1:sHRAbuev6+bz3OAySmdmT62md/D/UUIy0EYwvP38H/4=
1678+
sigs.k8s.io/cluster-api v1.3.3/go.mod h1:nnXmR51rHshpMEXmB4LZIwdiXWKXV6yaooB1KzrL0Qs=
16791679
sigs.k8s.io/controller-runtime v0.13.1 h1:tUsRCSJVM1QQOOeViGeX3GMT3dQF1eePPw6sEE3xSlg=
16801680
sigs.k8s.io/controller-runtime v0.13.1/go.mod h1:Zbz+el8Yg31jubvAEyglRZGdLAjplZl+PgtYNI6WNTI=
16811681
sigs.k8s.io/gateway-api v0.5.0 h1:ze+k9fJqvmL8s1t3e4q1ST8RnN+f09dEv+gfacahlAE=

hack/tools/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ require (
88
github.com/onsi/ginkgo/v2 v2.6.0
99
golang.org/x/oauth2 v0.0.0-20220909003341-f21342109be1
1010
k8s.io/client-go v0.25.2
11-
sigs.k8s.io/cluster-api v1.3.2
11+
sigs.k8s.io/cluster-api v1.3.3
1212
sigs.k8s.io/controller-runtime/tools/setup-envtest v0.0.0-20211110210527-619e6b92dab9
1313
sigs.k8s.io/controller-tools v0.8.0
1414
sigs.k8s.io/kind v0.17.0

hack/tools/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1428,8 +1428,8 @@ mvdan.cc/unparam v0.0.0-20220706161116-678bad134442/go.mod h1:F/Cxw/6mVrNKqrR2Yj
14281428
rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8=
14291429
rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0=
14301430
rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA=
1431-
sigs.k8s.io/cluster-api v1.3.2 h1:DkkaVASrxgOP4hT24ndGwfge8+YjHKuAyZBSGJwAlq4=
1432-
sigs.k8s.io/cluster-api v1.3.2/go.mod h1:nnXmR51rHshpMEXmB4LZIwdiXWKXV6yaooB1KzrL0Qs=
1431+
sigs.k8s.io/cluster-api v1.3.3 h1:sHRAbuev6+bz3OAySmdmT62md/D/UUIy0EYwvP38H/4=
1432+
sigs.k8s.io/cluster-api v1.3.3/go.mod h1:nnXmR51rHshpMEXmB4LZIwdiXWKXV6yaooB1KzrL0Qs=
14331433
sigs.k8s.io/controller-runtime v0.13.1 h1:tUsRCSJVM1QQOOeViGeX3GMT3dQF1eePPw6sEE3xSlg=
14341434
sigs.k8s.io/controller-runtime v0.13.1/go.mod h1:Zbz+el8Yg31jubvAEyglRZGdLAjplZl+PgtYNI6WNTI=
14351435
sigs.k8s.io/controller-runtime/tools/setup-envtest v0.0.0-20211110210527-619e6b92dab9 h1:ylYUI5uaq/guUFerFRVG81FHSA5/3+fERCE1RQbQUZ4=

manifest/manifest.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1383,7 +1383,7 @@ spec:
13831383
- --v=5
13841384
command:
13851385
- /manager
1386-
image: gianlucam76/sveltos-manager-amd64:dev
1386+
image: gianlucam76/sveltos-manager-amd64:v0.4.0
13871387
livenessProbe:
13881388
httpGet:
13891389
path: /healthz

pkg/drift-detection/drift-detection-manager.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ spec:
260260
- --run-mode=do-not-send-updates
261261
command:
262262
- /manager
263-
image: gianlucam76/drift-detection-manager-amd64:main
263+
image: gianlucam76/drift-detection-manager-amd64:v0.4.0
264264
livenessProbe:
265265
httpGet:
266266
path: /healthz

pkg/drift-detection/drift-detection-manager.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ spec:
242242
- --run-mode=do-not-send-updates
243243
command:
244244
- /manager
245-
image: gianlucam76/drift-detection-manager-amd64:main
245+
image: gianlucam76/drift-detection-manager-amd64:v0.4.0
246246
livenessProbe:
247247
httpGet:
248248
path: /healthz

0 commit comments

Comments
 (0)