diff --git a/Makefile b/Makefile index 895d285a..fb5d1a16 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 ?= v1.6.0 .PHONY: all all: build diff --git a/config/default/manager_auth_proxy_patch.yaml b/config/default/manager_auth_proxy_patch.yaml index c5b2205e..0b063a61 100644 --- a/config/default/manager_auth_proxy_patch.yaml +++ b/config/default/manager_auth_proxy_patch.yaml @@ -22,7 +22,7 @@ spec: - --shard-key= - --capi-onboard-annotation= - "--v=5" - - "--version=main" + - "--version=v1.6.0" - "--agent-in-mgmt-cluster=false" env: - name: GOMEMLIMIT diff --git a/config/default/manager_image_patch.yaml b/config/default/manager_image_patch.yaml index 22ae3140..c3746875 100644 --- a/config/default/manager_image_patch.yaml +++ b/config/default/manager_image_patch.yaml @@ -7,8 +7,8 @@ spec: template: spec: initContainers: - - image: docker.io/projectsveltos/addon-controller:main + - image: docker.io/projectsveltos/addon-controller:v1.6.0 name: initialization containers: - - image: docker.io/projectsveltos/addon-controller:main + - image: docker.io/projectsveltos/addon-controller:v1.6.0 name: controller diff --git a/go.mod b/go.mod index 25911f04..12eed72c 100644 --- a/go.mod +++ b/go.mod @@ -18,7 +18,7 @@ require ( github.com/onsi/ginkgo/v2 v2.28.1 github.com/onsi/gomega v1.39.1 github.com/pkg/errors v0.9.1 - github.com/projectsveltos/libsveltos v1.5.1 + github.com/projectsveltos/libsveltos v1.6.0 github.com/prometheus/client_golang v1.23.2 github.com/robfig/cron v1.2.0 github.com/spf13/pflag v1.0.10 diff --git a/go.sum b/go.sum index 9e0b1c71..b4de99a3 100644 --- a/go.sum +++ b/go.sum @@ -279,8 +279,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 v1.5.1 h1:PDTl+JoT5uVREldz8aXITzdEj3YRo9EXkoyrB0NNeUA= -github.com/projectsveltos/libsveltos v1.5.1/go.mod h1:AM2uJ4uasH6PnK8aMeLpc1p8WW7J+uzBA1Nx2g0r5Ug= +github.com/projectsveltos/libsveltos v1.6.0 h1:O6Rd5K+HsmyxKS/YVlXywGaLriNmU/T6MkhEFziaIjY= +github.com/projectsveltos/libsveltos v1.6.0/go.mod h1:Wi/ICx8bv1SGBuzIu6ZFEJAosauY3jA/wbIe1SCvnEs= github.com/projectsveltos/lua-utils/glua-json v0.0.0-20251212200258-2b3cdcb7c0f5 h1:khnc+994UszxZYu69J+R5FKiLA/Nk1JQj0EYAkwTWz0= github.com/projectsveltos/lua-utils/glua-json v0.0.0-20251212200258-2b3cdcb7c0f5/go.mod h1:yVL8KQFa9tmcxgwl9nwIMtKgtmIVC1zaFRSCfOwYvPY= github.com/projectsveltos/lua-utils/glua-runes v0.0.0-20251212200258-2b3cdcb7c0f5 h1:YbsebwRwTRhV8QacvEAdFqxcxHdeu7JTVtsBovbkgos= diff --git a/manifest/deployment-agentless.yaml b/manifest/deployment-agentless.yaml index 8c486e0b..a7c87ca4 100644 --- a/manifest/deployment-agentless.yaml +++ b/manifest/deployment-agentless.yaml @@ -26,7 +26,7 @@ spec: - --shard-key= - --capi-onboard-annotation= - --v=5 - - --version=main + - --version=v1.6.0 - --agent-in-mgmt-cluster=true command: - /manager @@ -39,7 +39,7 @@ spec: valueFrom: resourceFieldRef: resource: limits.cpu - image: docker.io/projectsveltos/addon-controller:main + image: docker.io/projectsveltos/addon-controller:v1.6.0 livenessProbe: failureThreshold: 3 httpGet: @@ -85,7 +85,7 @@ spec: env: - name: IS_INITIALIZATION value: "true" - image: docker.io/projectsveltos/addon-controller:main + image: docker.io/projectsveltos/addon-controller:v1.6.0 name: initialization securityContext: runAsNonRoot: true diff --git a/manifest/deployment-shard.yaml b/manifest/deployment-shard.yaml index ed99770c..b2c993ae 100644 --- a/manifest/deployment-shard.yaml +++ b/manifest/deployment-shard.yaml @@ -26,7 +26,7 @@ spec: - --shard-key={{.SHARD}} - --capi-onboard-annotation= - --v=5 - - --version=main + - --version=v1.6.0 - --agent-in-mgmt-cluster=false command: - /manager @@ -39,7 +39,7 @@ spec: valueFrom: resourceFieldRef: resource: limits.cpu - image: docker.io/projectsveltos/addon-controller:main + image: docker.io/projectsveltos/addon-controller:v1.6.0 livenessProbe: failureThreshold: 3 httpGet: @@ -85,7 +85,7 @@ spec: env: - name: IS_INITIALIZATION value: "true" - image: docker.io/projectsveltos/addon-controller:main + image: docker.io/projectsveltos/addon-controller:v1.6.0 name: initialization securityContext: runAsNonRoot: true diff --git a/manifest/manifest.yaml b/manifest/manifest.yaml index d14f966b..0115b750 100644 --- a/manifest/manifest.yaml +++ b/manifest/manifest.yaml @@ -7918,7 +7918,7 @@ spec: - --shard-key= - --capi-onboard-annotation= - --v=5 - - --version=main + - --version=v1.6.0 - --agent-in-mgmt-cluster=false command: - /manager @@ -7931,7 +7931,7 @@ spec: valueFrom: resourceFieldRef: resource: limits.cpu - image: docker.io/projectsveltos/addon-controller:main + image: docker.io/projectsveltos/addon-controller:v1.6.0 livenessProbe: failureThreshold: 3 httpGet: @@ -7977,7 +7977,7 @@ spec: env: - name: IS_INITIALIZATION value: "true" - image: docker.io/projectsveltos/addon-controller:main + image: docker.io/projectsveltos/addon-controller:v1.6.0 name: initialization securityContext: runAsNonRoot: true 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 5c7ab49f..75fe4192 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=v1.6.0 command: - /manager - image: docker.io/projectsveltos/drift-detection-manager@sha256:ff32d9cc6bb9625df547a69b87892f865556a3f3a5421f5fce1dbb57b1b13b66 + image: docker.io/projectsveltos/drift-detection-manager@sha256:29d666e30ba9bfd32c0c23f0243ec4d9ece1232e33af84d0fd1fbda397b71d46 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 735bbc63..a2698927 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=v1.6.0 command: - /manager - image: docker.io/projectsveltos/drift-detection-manager@sha256:ff32d9cc6bb9625df547a69b87892f865556a3f3a5421f5fce1dbb57b1b13b66 + image: docker.io/projectsveltos/drift-detection-manager@sha256:29d666e30ba9bfd32c0c23f0243ec4d9ece1232e33af84d0fd1fbda397b71d46 livenessProbe: failureThreshold: 3 httpGet: diff --git a/pkg/drift-detection/drift-detection-manager.go b/pkg/drift-detection/drift-detection-manager.go index b4e1eb04..3ce37baa 100644 --- a/pkg/drift-detection/drift-detection-manager.go +++ b/pkg/drift-detection/drift-detection-manager.go @@ -146,7 +146,7 @@ spec: - --cluster-type= - --current-cluster=managed-cluster - --run-mode=do-not-send-updates - - --version=main + - --version=v1.6.0 command: - /manager env: @@ -158,7 +158,7 @@ spec: valueFrom: resourceFieldRef: resource: limits.cpu - image: docker.io/projectsveltos/drift-detection-manager@sha256:ff32d9cc6bb9625df547a69b87892f865556a3f3a5421f5fce1dbb57b1b13b66 + image: docker.io/projectsveltos/drift-detection-manager@sha256:29d666e30ba9bfd32c0c23f0243ec4d9ece1232e33af84d0fd1fbda397b71d46 livenessProbe: failureThreshold: 3 httpGet: diff --git a/pkg/drift-detection/drift-detection-manager.yaml b/pkg/drift-detection/drift-detection-manager.yaml index d5d57ac5..647324eb 100644 --- a/pkg/drift-detection/drift-detection-manager.yaml +++ b/pkg/drift-detection/drift-detection-manager.yaml @@ -128,7 +128,7 @@ spec: - --cluster-type= - --current-cluster=managed-cluster - --run-mode=do-not-send-updates - - --version=main + - --version=v1.6.0 command: - /manager env: @@ -140,7 +140,7 @@ spec: valueFrom: resourceFieldRef: resource: limits.cpu - image: docker.io/projectsveltos/drift-detection-manager@sha256:ff32d9cc6bb9625df547a69b87892f865556a3f3a5421f5fce1dbb57b1b13b66 + image: docker.io/projectsveltos/drift-detection-manager@sha256:29d666e30ba9bfd32c0c23f0243ec4d9ece1232e33af84d0fd1fbda397b71d46 livenessProbe: failureThreshold: 3 httpGet: diff --git a/test/pullmode-sveltosapplier.yaml b/test/pullmode-sveltosapplier.yaml index b001c067..d0897a7e 100644 --- a/test/pullmode-sveltosapplier.yaml +++ b/test/pullmode-sveltosapplier.yaml @@ -99,7 +99,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.namespace - image: docker.io/projectsveltos/sveltos-applier@sha256:5a65667b59b64ab00bfa1ad8bc95dd1affe3c19b1650b0e2fab703a9449972d4 + image: docker.io/projectsveltos/sveltos-applier@sha256:d3738205aa35468e33e07a02b75d29033730a5446bb35891ba47289a60fd2f0f livenessProbe: failureThreshold: 3 httpGet: