From 4e0e1917c68474a42c08a8ea22f83cf47c88645b Mon Sep 17 00:00:00 2001 From: Gianluca Mardente Date: Fri, 9 Jan 2026 14:27:57 +0100 Subject: [PATCH] (chore) prepare for release v1.4.0 --- Makefile | 2 +- api/v1beta1/zz_generated.deepcopy.go | 5 ++--- config/default/manager_auth_proxy_patch.yaml | 2 +- config/default/manager_image_patch.yaml | 2 +- go.mod | 4 ++-- go.sum | 8 ++++---- manifest/deployment-agentless.yaml | 4 ++-- manifest/deployment-shard.yaml | 4 ++-- manifest/manifest.yaml | 4 ++-- .../drift-detection-manager-in-mgmt-cluster.go | 4 ++-- .../drift-detection-manager-in-mgmt-cluster.yaml | 4 ++-- pkg/drift-detection/drift-detection-manager.go | 4 ++-- pkg/drift-detection/drift-detection-manager.yaml | 4 ++-- test/pullmode-sveltosapplier.yaml | 2 +- 14 files changed, 26 insertions(+), 27 deletions(-) diff --git a/Makefile b/Makefile index bd974161..ac1bdb41 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.4.0 .PHONY: all all: build diff --git a/api/v1beta1/zz_generated.deepcopy.go b/api/v1beta1/zz_generated.deepcopy.go index c909b133..a1c2a54a 100644 --- a/api/v1beta1/zz_generated.deepcopy.go +++ b/api/v1beta1/zz_generated.deepcopy.go @@ -21,12 +21,11 @@ limitations under the License. package v1beta1 import ( + apiv1beta1 "github.com/projectsveltos/libsveltos/api/v1beta1" corev1 "k8s.io/api/core/v1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/util/intstr" - - apiv1beta1 "github.com/projectsveltos/libsveltos/api/v1beta1" ) // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. diff --git a/config/default/manager_auth_proxy_patch.yaml b/config/default/manager_auth_proxy_patch.yaml index 71072d25..55a94b0b 100644 --- a/config/default/manager_auth_proxy_patch.yaml +++ b/config/default/manager_auth_proxy_patch.yaml @@ -16,7 +16,7 @@ spec: - --shard-key= - --capi-onboard-annotation= - "--v=5" - - "--version=main" + - "--version=v1.4.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 79fda7a5..24796303 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:v1.4.0 name: controller diff --git a/go.mod b/go.mod index e3898872..d24734d9 100644 --- a/go.mod +++ b/go.mod @@ -7,7 +7,7 @@ require ( github.com/Masterminds/semver/v3 v3.4.0 github.com/TwiN/go-color v1.4.1 github.com/dariubs/percent v1.0.0 - github.com/docker/cli v29.1.3+incompatible + github.com/docker/cli v29.1.4+incompatible github.com/fluxcd/pkg/apis/meta v1.24.0 github.com/fluxcd/pkg/http/fetch v0.21.0 github.com/fluxcd/pkg/tar v0.16.0 @@ -18,7 +18,7 @@ require ( github.com/onsi/ginkgo/v2 v2.27.4 github.com/onsi/gomega v1.39.0 github.com/pkg/errors v0.9.1 - github.com/projectsveltos/libsveltos v1.3.2-0.20260106181004-5f54626fd3ed + github.com/projectsveltos/libsveltos v1.4.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 15e92202..203684e1 100644 --- a/go.sum +++ b/go.sum @@ -76,8 +76,8 @@ github.com/distribution/reference v0.6.0 h1:0IXCQ5g4/QMHHkarYzh5l+u8T3t73zM5Qvfr github.com/distribution/reference v0.6.0/go.mod h1:BbU0aIcezP1/5jX/8MP0YiH4SdvB5Y4f/wlDRiLyi3E= github.com/dlclark/regexp2 v1.11.0 h1:G/nrcoOa7ZXlpoa/91N3X7mM3r8eIlMBBJZvsz/mxKI= github.com/dlclark/regexp2 v1.11.0/go.mod h1:DHkYz0B9wPfa6wondMfaivmHpzrQ3v9q8cnmRbL6yW8= -github.com/docker/cli v29.1.3+incompatible h1:+kz9uDWgs+mAaIZojWfFt4d53/jv0ZUOOoSh5ZnH36c= -github.com/docker/cli v29.1.3+incompatible/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8= +github.com/docker/cli v29.1.4+incompatible h1:AI8fwZhqsAsrqZnVv9h6lbexeW/LzNTasf6A4vcNN8M= +github.com/docker/cli v29.1.4+incompatible/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8= github.com/docker/docker-credential-helpers v0.8.2 h1:bX3YxiGzFP5sOXWc3bTPEXdEaZSeVMrFgOr3T+zrFAo= github.com/docker/docker-credential-helpers v0.8.2/go.mod h1:P3ci7E3lwkZg6XiHdRKft1KckHiO9a2rNtyFbZ/ry9M= github.com/docker/go-events v0.0.0-20190806004212-e31b211e4f1c h1:+pKlWGMw7gf6bQ+oDZB4KHQFypsfjYlq/C4rfL7D3g8= @@ -287,8 +287,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.3.2-0.20260106181004-5f54626fd3ed h1:xPA+dceHZ6tZa45FzwURwKe8s8oROEz7Es036t/BXo4= -github.com/projectsveltos/libsveltos v1.3.2-0.20260106181004-5f54626fd3ed/go.mod h1:FVlyPzYhNgvfKmZ1qmYcdvFRJELmW9LyPXLUkjqeGcg= +github.com/projectsveltos/libsveltos v1.4.0 h1:W30Bmyv5g6qmHOcGtURRmr5JFjKSx1ZA9NRpz147sS8= +github.com/projectsveltos/libsveltos v1.4.0/go.mod h1:M3ljA5j0FMQ9V0dGE3OvqhzfUEgzcU4JDGj/VTQMfZg= 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 55407693..72e22756 100644 --- a/manifest/deployment-agentless.yaml +++ b/manifest/deployment-agentless.yaml @@ -24,7 +24,7 @@ spec: - --shard-key= - --capi-onboard-annotation= - --v=5 - - --version=main + - --version=v1.4.0 - --agent-in-mgmt-cluster=true command: - /manager @@ -37,7 +37,7 @@ spec: valueFrom: resourceFieldRef: resource: limits.cpu - image: docker.io/projectsveltos/addon-controller:main + image: docker.io/projectsveltos/addon-controller:v1.4.0 livenessProbe: failureThreshold: 3 httpGet: diff --git a/manifest/deployment-shard.yaml b/manifest/deployment-shard.yaml index 2ddd1bbe..03efa76f 100644 --- a/manifest/deployment-shard.yaml +++ b/manifest/deployment-shard.yaml @@ -24,7 +24,7 @@ spec: - --shard-key={{.SHARD}} - --capi-onboard-annotation= - --v=5 - - --version=main + - --version=v1.4.0 - --agent-in-mgmt-cluster=false command: - /manager @@ -37,7 +37,7 @@ spec: valueFrom: resourceFieldRef: resource: limits.cpu - image: docker.io/projectsveltos/addon-controller:main + image: docker.io/projectsveltos/addon-controller:v1.4.0 livenessProbe: failureThreshold: 3 httpGet: diff --git a/manifest/manifest.yaml b/manifest/manifest.yaml index 9b90285e..a894b7b3 100644 --- a/manifest/manifest.yaml +++ b/manifest/manifest.yaml @@ -6952,7 +6952,7 @@ spec: - --shard-key= - --capi-onboard-annotation= - --v=5 - - --version=main + - --version=v1.4.0 - --agent-in-mgmt-cluster=false command: - /manager @@ -6965,7 +6965,7 @@ spec: valueFrom: resourceFieldRef: resource: limits.cpu - image: docker.io/projectsveltos/addon-controller:main + image: docker.io/projectsveltos/addon-controller:v1.4.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 e747371e..36ea81f4 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.4.0 command: - /manager - image: docker.io/projectsveltos/drift-detection-manager@sha256:ae4939ec695a7f93e30faab84cf896bd4cf0ff27c464929d9bf85526a662cdd9 + image: docker.io/projectsveltos/drift-detection-manager@sha256:d3aefe743cafa192be7586fdf078c6d196c0955b70edf39cf8de10c3b97179d9 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 69d69519..90618d2c 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.4.0 command: - /manager - image: docker.io/projectsveltos/drift-detection-manager@sha256:ae4939ec695a7f93e30faab84cf896bd4cf0ff27c464929d9bf85526a662cdd9 + image: docker.io/projectsveltos/drift-detection-manager@sha256:d3aefe743cafa192be7586fdf078c6d196c0955b70edf39cf8de10c3b97179d9 livenessProbe: failureThreshold: 3 httpGet: diff --git a/pkg/drift-detection/drift-detection-manager.go b/pkg/drift-detection/drift-detection-manager.go index cd84db71..e9cb9fda 100644 --- a/pkg/drift-detection/drift-detection-manager.go +++ b/pkg/drift-detection/drift-detection-manager.go @@ -146,10 +146,10 @@ spec: - --cluster-type= - --current-cluster=managed-cluster - --run-mode=do-not-send-updates - - --version=main + - --version=v1.4.0 command: - /manager - image: docker.io/projectsveltos/drift-detection-manager@sha256:ae4939ec695a7f93e30faab84cf896bd4cf0ff27c464929d9bf85526a662cdd9 + image: docker.io/projectsveltos/drift-detection-manager@sha256:d3aefe743cafa192be7586fdf078c6d196c0955b70edf39cf8de10c3b97179d9 livenessProbe: failureThreshold: 3 httpGet: diff --git a/pkg/drift-detection/drift-detection-manager.yaml b/pkg/drift-detection/drift-detection-manager.yaml index 0c37ddec..63b001c8 100644 --- a/pkg/drift-detection/drift-detection-manager.yaml +++ b/pkg/drift-detection/drift-detection-manager.yaml @@ -128,10 +128,10 @@ spec: - --cluster-type= - --current-cluster=managed-cluster - --run-mode=do-not-send-updates - - --version=main + - --version=v1.4.0 command: - /manager - image: docker.io/projectsveltos/drift-detection-manager@sha256:ae4939ec695a7f93e30faab84cf896bd4cf0ff27c464929d9bf85526a662cdd9 + image: docker.io/projectsveltos/drift-detection-manager@sha256:d3aefe743cafa192be7586fdf078c6d196c0955b70edf39cf8de10c3b97179d9 livenessProbe: failureThreshold: 3 httpGet: diff --git a/test/pullmode-sveltosapplier.yaml b/test/pullmode-sveltosapplier.yaml index 38e7f9d9..5305198f 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:e95b9a39f8bdfeea40551643397337dd19dd7de30c460c35103887824f292f7e + image: docker.io/projectsveltos/sveltos-applier@sha256:9c66642a977ed4625de4a3930302bb39d41baf905d047bb51c7416558d85451c livenessProbe: failureThreshold: 3 httpGet: