diff --git a/Makefile b/Makefile index 9d56dd1b..750b8736 100644 --- a/Makefile +++ b/Makefile @@ -25,7 +25,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 ?= main +TAG ?= v0.7.2 # Get cluster-api version and build ldflags clusterapi := $(shell go list -m sigs.k8s.io/cluster-api) diff --git a/config/default/manager_image_patch.yaml b/config/default/manager_image_patch.yaml index 8c209a3a..1d9fcd24 100644 --- a/config/default/manager_image_patch.yaml +++ b/config/default/manager_image_patch.yaml @@ -8,5 +8,5 @@ spec: spec: containers: # Change the value of image field below to your controller image URL - - image: projectsveltos/sveltos-manager-amd64:main + - image: projectsveltos/sveltos-manager-amd64:v0.7.2 name: manager diff --git a/go.mod b/go.mod index 7b8714d9..08dff677 100644 --- a/go.mod +++ b/go.mod @@ -12,7 +12,7 @@ require ( github.com/onsi/ginkgo/v2 v2.6.0 github.com/onsi/gomega v1.24.1 github.com/pkg/errors v0.9.1 - github.com/projectsveltos/libsveltos v0.7.2-0.20230314175637-cecbf1f2a756 + github.com/projectsveltos/libsveltos v0.7.2 github.com/prometheus/client_golang v1.13.0 github.com/spf13/pflag v1.0.5 golang.org/x/text v0.7.0 diff --git a/go.sum b/go.sum index 7f9ec652..6e8d1b58 100644 --- a/go.sum +++ b/go.sum @@ -790,8 +790,8 @@ github.com/posener/complete v1.1.1/go.mod h1:em0nMJCgc9GFtwrmVmEMR/ZL6WyhyjMBndr github.com/posener/complete v1.2.3/go.mod h1:WZIdtGGp+qx0sLrYKtIRAruyNpv6hFCicSgv7Sy7s/s= github.com/poy/onpar v0.0.0-20190519213022-ee068f8ea4d1 h1:oL4IBbcqwhhNWh31bjOX8C/OCy0zs9906d/VUru+bqg= github.com/poy/onpar v0.0.0-20190519213022-ee068f8ea4d1/go.mod h1:nSbFQvMj97ZyhFRSJYtut+msi4sOY6zJDGCdSc+/rZU= -github.com/projectsveltos/libsveltos v0.7.2-0.20230314175637-cecbf1f2a756 h1:vtvDknYlSEaJdvURC0px790beE4KKNyX4CKcqnUQxAM= -github.com/projectsveltos/libsveltos v0.7.2-0.20230314175637-cecbf1f2a756/go.mod h1:K2IJCkj2dz6qgZyv0F7tkZkzJ+7il1qjDyIBaBS2NpQ= +github.com/projectsveltos/libsveltos v0.7.2 h1:z3GjpAxazF8kHXCty+zHMQl3xtrnQuSvUbFBjfyXN9E= +github.com/projectsveltos/libsveltos v0.7.2/go.mod h1:K2IJCkj2dz6qgZyv0F7tkZkzJ+7il1qjDyIBaBS2NpQ= github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo= github.com/prometheus/client_golang v1.1.0/go.mod h1:I1FGZT9+L76gKKOs5djB6ezCbFQP1xR9D75/vuwEF3g= diff --git a/manifest/manifest.yaml b/manifest/manifest.yaml index 66b1707f..df9cfdda 100644 --- a/manifest/manifest.yaml +++ b/manifest/manifest.yaml @@ -1487,7 +1487,7 @@ spec: - --v=5 command: - /manager - image: projectsveltos/sveltos-manager-amd64:main + image: projectsveltos/sveltos-manager-amd64:v0.7.2 livenessProbe: httpGet: path: /healthz diff --git a/pkg/drift-detection/drift-detection-manager.go b/pkg/drift-detection/drift-detection-manager.go index ab4267d8..616c1e6b 100644 --- a/pkg/drift-detection/drift-detection-manager.go +++ b/pkg/drift-detection/drift-detection-manager.go @@ -260,7 +260,7 @@ spec: - --run-mode=do-not-send-updates command: - /manager - image: projectsveltos/drift-detection-manager-amd64:main + image: projectsveltos/drift-detection-manager-amd64:v0.7.2 livenessProbe: httpGet: path: /healthz diff --git a/pkg/drift-detection/drift-detection-manager.yaml b/pkg/drift-detection/drift-detection-manager.yaml index 73998a62..4f664cee 100644 --- a/pkg/drift-detection/drift-detection-manager.yaml +++ b/pkg/drift-detection/drift-detection-manager.yaml @@ -242,7 +242,7 @@ spec: - --run-mode=do-not-send-updates command: - /manager - image: projectsveltos/drift-detection-manager-amd64:main + image: projectsveltos/drift-detection-manager-amd64:v0.7.2 livenessProbe: httpGet: path: /healthz