diff --git a/Makefile b/Makefile index 68c29961..4bb5ee4a 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.45.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..ca0b9df7 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.45.0" env: - name: GOMEMLIMIT valueFrom: diff --git a/config/default/manager_image_patch.yaml b/config/default/manager_image_patch.yaml index 79fda7a5..fc6ee10b 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.45.0 name: controller diff --git a/manifest/deployment-agentless.yaml b/manifest/deployment-agentless.yaml index 3d5f5a1a..f5f3fc83 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.45.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.45.0 livenessProbe: failureThreshold: 3 httpGet: diff --git a/manifest/deployment-shard.yaml b/manifest/deployment-shard.yaml index 6428ba0e..e5670041 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.45.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.45.0 livenessProbe: failureThreshold: 3 httpGet: diff --git a/manifest/manifest.yaml b/manifest/manifest.yaml index 5c993b70..e403dba8 100644 --- a/manifest/manifest.yaml +++ b/manifest/manifest.yaml @@ -8447,7 +8447,7 @@ spec: - --report-mode=0 - --shard-key= - --v=5 - - --version=main + - --version=v0.45.0 command: - /manager env: @@ -8459,7 +8459,7 @@ spec: valueFrom: resourceFieldRef: resource: limits.cpu - image: docker.io/projectsveltos/addon-controller:main + image: docker.io/projectsveltos/addon-controller:v0.45.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..eb7dbdc2 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.45.0 command: - /manager - image: docker.io/projectsveltos/drift-detection-manager:main + image: docker.io/projectsveltos/drift-detection-manager:v0.45.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..062f8e7a 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.45.0 command: - /manager - image: docker.io/projectsveltos/drift-detection-manager:main + image: docker.io/projectsveltos/drift-detection-manager:v0.45.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..8e71a82a 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.45.0 command: - /manager - image: docker.io/projectsveltos/drift-detection-manager:main + image: docker.io/projectsveltos/drift-detection-manager:v0.45.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..c775d2ef 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.45.0 command: - /manager - image: docker.io/projectsveltos/drift-detection-manager:main + image: docker.io/projectsveltos/drift-detection-manager:v0.45.0 livenessProbe: failureThreshold: 3 httpGet: