diff --git a/Makefile b/Makefile index 4edb6836..6faa0fd9 100644 --- a/Makefile +++ b/Makefile @@ -27,7 +27,7 @@ OS ?= $(shell uname -s) OS := $(shell echo $(OS) | tr '[:upper:]' '[:lower:]') 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.43.0 .PHONY: all all: build diff --git a/config/default/manager_auth_proxy_patch.yaml b/config/default/manager_auth_proxy_patch.yaml index a1640b7b..867677d5 100644 --- a/config/default/manager_auth_proxy_patch.yaml +++ b/config/default/manager_auth_proxy_patch.yaml @@ -15,7 +15,7 @@ spec: - "--report-mode=0" - --shard-key= - "--v=5" - - "--version=main" + - "--version=v0.43.0" env: - name: GOMEMLIMIT valueFrom: diff --git a/config/default/manager_image_patch.yaml b/config/default/manager_image_patch.yaml index 79fda7a5..7ff66583 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: docker.io/projectsveltos/addon-controller:main + - image: docker.io/projectsveltos/addon-controller:v0.43.0 name: controller diff --git a/go.mod b/go.mod index 04f7dfe8..53269975 100644 --- a/go.mod +++ b/go.mod @@ -17,7 +17,7 @@ require ( github.com/onsi/ginkgo/v2 v2.22.0 github.com/onsi/gomega v1.36.0 github.com/pkg/errors v0.9.1 - github.com/projectsveltos/libsveltos v0.42.1-0.20241129122707-e7c51baedfbd + github.com/projectsveltos/libsveltos v0.43.0 github.com/prometheus/client_golang v1.20.5 github.com/spf13/pflag v1.0.5 github.com/yuin/gopher-lua v1.1.1 diff --git a/go.sum b/go.sum index 7d37c435..4f7afe06 100644 --- a/go.sum +++ b/go.sum @@ -326,8 +326,8 @@ github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 h1:Jamvg5psRI github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/poy/onpar v1.1.2 h1:QaNrNiZx0+Nar5dLgTVp5mXkyoVFIbepjyEoGSnhbAY= github.com/poy/onpar v1.1.2/go.mod h1:6X8FLNoxyr9kkmnlqpK6LSoiOtrO6MICtWwEuWkLjzg= -github.com/projectsveltos/libsveltos v0.42.1-0.20241129122707-e7c51baedfbd h1:csSkEGSZS8DJ+EioxTdJDC+dDcyvVWzWo8yaWlgBOoc= -github.com/projectsveltos/libsveltos v0.42.1-0.20241129122707-e7c51baedfbd/go.mod h1:4hqQRjwZ/DZ6u0haL3zhdARZ3lpspLv57rkhpXIzbsg= +github.com/projectsveltos/libsveltos v0.43.0 h1:3M7r7TbEbMJ3Xlb0MTxK4QDnH+5P5+dT0J+7+iGSUsg= +github.com/projectsveltos/libsveltos v0.43.0/go.mod h1:4hqQRjwZ/DZ6u0haL3zhdARZ3lpspLv57rkhpXIzbsg= 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/deployment-agentless.yaml b/manifest/deployment-agentless.yaml index 3d5f5a1a..15ce18d5 100644 --- a/manifest/deployment-agentless.yaml +++ b/manifest/deployment-agentless.yaml @@ -23,7 +23,7 @@ spec: - --report-mode=0 - --agent-in-mgmt-cluster - --v=5 - - --version=main + - --version=v0.43.0 command: - /manager env: @@ -35,7 +35,7 @@ spec: valueFrom: resourceFieldRef: resource: limits.cpu - image: docker.io/projectsveltos/addon-controller:main + image: docker.io/projectsveltos/addon-controller:v0.43.0 livenessProbe: failureThreshold: 3 httpGet: diff --git a/manifest/deployment-shard.yaml b/manifest/deployment-shard.yaml index 6428ba0e..c461f762 100644 --- a/manifest/deployment-shard.yaml +++ b/manifest/deployment-shard.yaml @@ -23,7 +23,7 @@ spec: - --report-mode=0 - --shard-key={{.SHARD}} - --v=5 - - --version=main + - --version=v0.43.0 command: - /manager env: @@ -35,7 +35,7 @@ spec: valueFrom: resourceFieldRef: resource: limits.cpu - image: docker.io/projectsveltos/addon-controller:main + image: docker.io/projectsveltos/addon-controller:v0.43.0 livenessProbe: failureThreshold: 3 httpGet: diff --git a/manifest/manifest.yaml b/manifest/manifest.yaml index e250b82d..9ca67b11 100644 --- a/manifest/manifest.yaml +++ b/manifest/manifest.yaml @@ -8428,7 +8428,7 @@ spec: - --report-mode=0 - --shard-key= - --v=5 - - --version=main + - --version=v0.43.0 command: - /manager env: @@ -8440,7 +8440,7 @@ spec: valueFrom: resourceFieldRef: resource: limits.cpu - image: docker.io/projectsveltos/addon-controller:main + image: docker.io/projectsveltos/addon-controller:v0.43.0 livenessProbe: failureThreshold: 3 httpGet: diff --git a/pkg/drift-detection/drift-detection-manager-in-mgmt-cluster.go b/pkg/drift-detection/drift-detection-manager-in-mgmt-cluster.go index 5150b275..2b543792 100644 --- a/pkg/drift-detection/drift-detection-manager-in-mgmt-cluster.go +++ b/pkg/drift-detection/drift-detection-manager-in-mgmt-cluster.go @@ -44,10 +44,10 @@ spec: - --cluster-type= - --current-cluster=management-cluster - --run-mode=do-not-send-updates - - --version=main + - --version=v0.43.0 command: - /manager - image: docker.io/projectsveltos/drift-detection-manager:main + image: docker.io/projectsveltos/drift-detection-manager:v0.43.0 livenessProbe: failureThreshold: 3 httpGet: diff --git a/pkg/drift-detection/drift-detection-manager-in-mgmt-cluster.yaml b/pkg/drift-detection/drift-detection-manager-in-mgmt-cluster.yaml index b1a71cf6..5699d223 100644 --- a/pkg/drift-detection/drift-detection-manager-in-mgmt-cluster.yaml +++ b/pkg/drift-detection/drift-detection-manager-in-mgmt-cluster.yaml @@ -26,10 +26,10 @@ spec: - --cluster-type= - --current-cluster=management-cluster - --run-mode=do-not-send-updates - - --version=main + - --version=v0.43.0 command: - /manager - image: docker.io/projectsveltos/drift-detection-manager:main + image: docker.io/projectsveltos/drift-detection-manager:v0.43.0 livenessProbe: failureThreshold: 3 httpGet: diff --git a/pkg/drift-detection/drift-detection-manager.go b/pkg/drift-detection/drift-detection-manager.go index f1484833..479bb6c8 100644 --- a/pkg/drift-detection/drift-detection-manager.go +++ b/pkg/drift-detection/drift-detection-manager.go @@ -138,10 +138,10 @@ spec: - --cluster-type= - --current-cluster=managed-cluster - --run-mode=do-not-send-updates - - --version=main + - --version=v0.43.0 command: - /manager - image: docker.io/projectsveltos/drift-detection-manager:main + image: docker.io/projectsveltos/drift-detection-manager:v0.43.0 livenessProbe: failureThreshold: 3 httpGet: diff --git a/pkg/drift-detection/drift-detection-manager.yaml b/pkg/drift-detection/drift-detection-manager.yaml index cefaf92f..388dc5bb 100644 --- a/pkg/drift-detection/drift-detection-manager.yaml +++ b/pkg/drift-detection/drift-detection-manager.yaml @@ -120,10 +120,10 @@ spec: - --cluster-type= - --current-cluster=managed-cluster - --run-mode=do-not-send-updates - - --version=main + - --version=v0.43.0 command: - /manager - image: docker.io/projectsveltos/drift-detection-manager:main + image: docker.io/projectsveltos/drift-detection-manager:v0.43.0 livenessProbe: failureThreshold: 3 httpGet: