Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ ARCH ?= $(shell go env GOARCH)
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 ?= v1.4.0

## Tool Binaries
CONTROLLER_GEN := $(TOOLS_BIN_DIR)/controller-gen
Expand Down
2 changes: 1 addition & 1 deletion config/default/manager_auth_proxy_patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ spec:
- "--shard-key="
- --capi-onboard-annotation=
- "--v=5"
- "--version=main"
- "--version=v1.4.0"
- "--registry="
- "--agent-in-mgmt-cluster=false"
2 changes: 1 addition & 1 deletion config/default/manager_image_patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ spec:
spec:
containers:
# Change the value of image field below to your controller image URL
- image: docker.io/projectsveltos/classifier:main
- image: docker.io/projectsveltos/classifier:v1.4.0
name: manager
8 changes: 4 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ require (
github.com/TwiN/go-color v1.4.1
github.com/gdexlab/go-render v1.0.1
github.com/go-logr/logr v1.4.3
github.com/onsi/ginkgo/v2 v2.27.3
github.com/onsi/gomega v1.38.3
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.20260103131048-3e231674542f
github.com/projectsveltos/libsveltos v1.4.0
github.com/prometheus/client_golang v1.23.2
github.com/spf13/pflag v1.0.10
golang.org/x/text v0.32.0
Expand All @@ -19,7 +19,7 @@ require (
k8s.io/client-go v0.35.0
k8s.io/component-base v0.35.0
k8s.io/klog/v2 v2.130.1
k8s.io/utils v0.0.0-20251222233032-718f0e51e6d2
k8s.io/utils v0.0.0-20260108192941-914a6e750570
sigs.k8s.io/cluster-api v1.12.1
sigs.k8s.io/controller-runtime v0.22.4
sigs.k8s.io/yaml v1.6.0
Expand Down
16 changes: 8 additions & 8 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -133,18 +133,18 @@ github.com/monochromegane/go-gitignore v0.0.0-20200626010858-205db1a8cc00 h1:n6/
github.com/monochromegane/go-gitignore v0.0.0-20200626010858-205db1a8cc00/go.mod h1:Pm3mSP3c5uWn86xMLZ5Sa7JB9GsEZySvHYXCTK4E9q4=
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 h1:C3w9PqII01/Oq1c1nUAm88MOHcQC9l5mIlSMApZMrHA=
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ=
github.com/onsi/ginkgo/v2 v2.27.3 h1:ICsZJ8JoYafeXFFlFAG75a7CxMsJHwgKwtO+82SE9L8=
github.com/onsi/ginkgo/v2 v2.27.3/go.mod h1:ArE1D/XhNXBXCBkKOLkbsb2c81dQHCRcF5zwn/ykDRo=
github.com/onsi/gomega v1.38.3 h1:eTX+W6dobAYfFeGC2PV6RwXRu/MyT+cQguijutvkpSM=
github.com/onsi/gomega v1.38.3/go.mod h1:ZCU1pkQcXDO5Sl9/VVEGlDyp+zm0m1cmeG5TOzLgdh4=
github.com/onsi/ginkgo/v2 v2.27.4 h1:fcEcQW/A++6aZAZQNUmNjvA9PSOzefMJBerHJ4t8v8Y=
github.com/onsi/ginkgo/v2 v2.27.4/go.mod h1:ArE1D/XhNXBXCBkKOLkbsb2c81dQHCRcF5zwn/ykDRo=
github.com/onsi/gomega v1.39.0 h1:y2ROC3hKFmQZJNFeGAMeHZKkjBL65mIZcvrLQBF9k6Q=
github.com/onsi/gomega v1.39.0/go.mod h1:ZCU1pkQcXDO5Sl9/VVEGlDyp+zm0m1cmeG5TOzLgdh4=
github.com/opencontainers/go-digest v1.0.0 h1:apOUWs51W5PlhuyGyz9FCeeBIOUDA/6nW8Oi/yOhh5U=
github.com/opencontainers/go-digest v1.0.0/go.mod h1:0JzlMkj0TRzQZfJkVvzbP0HBR3IKzErnv2BNG4W4MAM=
github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/projectsveltos/libsveltos v1.3.2-0.20260103131048-3e231674542f h1:229nA6njEfLJcK4HQLkCE7o+dwNdleUSp0sPp5uTKwo=
github.com/projectsveltos/libsveltos v1.3.2-0.20260103131048-3e231674542f/go.mod h1:SL8yFAUfonKi8fJsW+VkWnYFVJ8jWx62RD4e0aglVvc=
github.com/projectsveltos/libsveltos v1.4.0 h1:W30Bmyv5g6qmHOcGtURRmr5JFjKSx1ZA9NRpz147sS8=
github.com/projectsveltos/libsveltos v1.4.0/go.mod h1:M3ljA5j0FMQ9V0dGE3OvqhzfUEgzcU4JDGj/VTQMfZg=
github.com/prometheus/client_golang v1.23.2 h1:Je96obch5RDVy3FDMndoUsjAhG5Edi49h0RJWRi/o0o=
github.com/prometheus/client_golang v1.23.2/go.mod h1:Tb1a6LWHB3/SPIzCoaDXI4I8UHKeFTEQ1YCr+0Gyqmg=
github.com/prometheus/client_model v0.6.2 h1:oBsgwpGs7iVziMvrGhE53c/GrLUsZdHnqNwqPLxwZyk=
Expand Down Expand Up @@ -283,8 +283,8 @@ k8s.io/klog/v2 v2.130.1 h1:n9Xl7H1Xvksem4KFG4PYbdQCQxqc/tTUyrgXaOhHSzk=
k8s.io/klog/v2 v2.130.1/go.mod h1:3Jpz1GvMt720eyJH1ckRHK1EDfpxISzJ7I9OYgaDtPE=
k8s.io/kube-openapi v0.0.0-20250910181357-589584f1c912 h1:Y3gxNAuB0OBLImH611+UDZcmKS3g6CthxToOb37KgwE=
k8s.io/kube-openapi v0.0.0-20250910181357-589584f1c912/go.mod h1:kdmbQkyfwUagLfXIad1y2TdrjPFWp2Q89B3qkRwf/pQ=
k8s.io/utils v0.0.0-20251222233032-718f0e51e6d2 h1:OfgiEo21hGiwx1oJUU5MpEaeOEg6coWndBkZF/lkFuE=
k8s.io/utils v0.0.0-20251222233032-718f0e51e6d2/go.mod h1:xDxuJ0whA3d0I4mf/C4ppKHxXynQ+fxnkmQH0vTHnuk=
k8s.io/utils v0.0.0-20260108192941-914a6e750570 h1:JT4W8lsdrGENg9W+YwwdLJxklIuKWdRm+BC+xt33FOY=
k8s.io/utils v0.0.0-20260108192941-914a6e750570/go.mod h1:xDxuJ0whA3d0I4mf/C4ppKHxXynQ+fxnkmQH0vTHnuk=
sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.31.2 h1:jpcvIRr3GLoUoEKRkHKSmGjxb6lWwrBlJsXc+eUYQHM=
sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.31.2/go.mod h1:Ve9uj1L+deCXFrPOk1LpFXqTg7LCFzFso6PA48q/XZw=
sigs.k8s.io/cluster-api v1.12.1 h1:s3DivSZjXdu2HPyOtV/n6XwSZBaIycZdKNs4y8X+3lY=
Expand Down
2 changes: 1 addition & 1 deletion hack/tools/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.25.5

require (
github.com/a8m/envsubst v1.4.3
github.com/onsi/ginkgo/v2 v2.27.3
github.com/onsi/ginkgo/v2 v2.27.4
golang.org/x/oauth2 v0.34.0
golang.org/x/tools v0.40.0
k8s.io/client-go v0.35.0
Expand Down
4 changes: 2 additions & 2 deletions hack/tools/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@ github.com/nxadm/tail v1.4.8 h1:nPr65rt6Y5JFSKQO7qToXr7pePgD6Gwiw05lkbyAQTE=
github.com/nxadm/tail v1.4.8/go.mod h1:+ncqLTQzXmGhMZNUePPaPqPvBxHAIsmXswZKocGu+AU=
github.com/onsi/ginkgo v1.16.5 h1:8xi0RTUf59SOSfEtZMvwTvXYMzG4gV23XVHOZiXNtnE=
github.com/onsi/ginkgo v1.16.5/go.mod h1:+E8gABHa3K6zRBolWtd+ROzc/U5bkGt0FwiG042wbpU=
github.com/onsi/ginkgo/v2 v2.27.3 h1:ICsZJ8JoYafeXFFlFAG75a7CxMsJHwgKwtO+82SE9L8=
github.com/onsi/ginkgo/v2 v2.27.3/go.mod h1:ArE1D/XhNXBXCBkKOLkbsb2c81dQHCRcF5zwn/ykDRo=
github.com/onsi/ginkgo/v2 v2.27.4 h1:fcEcQW/A++6aZAZQNUmNjvA9PSOzefMJBerHJ4t8v8Y=
github.com/onsi/ginkgo/v2 v2.27.4/go.mod h1:ArE1D/XhNXBXCBkKOLkbsb2c81dQHCRcF5zwn/ykDRo=
github.com/onsi/gomega v1.38.3 h1:eTX+W6dobAYfFeGC2PV6RwXRu/MyT+cQguijutvkpSM=
github.com/onsi/gomega v1.38.3/go.mod h1:ZCU1pkQcXDO5Sl9/VVEGlDyp+zm0m1cmeG5TOzLgdh4=
github.com/pelletier/go-toml v1.9.5 h1:4yBQzkHv+7BHq2PQUZF3Mx0IYxG7LsP222s7Agd3ve8=
Expand Down
4 changes: 2 additions & 2 deletions manifest/deployment-agentless.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ spec:
- --shard-key=
- --capi-onboard-annotation=
- --v=5
- --version=main
- --version=v1.4.0
- --registry=
- --agent-in-mgmt-cluster=true
command:
- /manager
image: docker.io/projectsveltos/classifier:main
image: docker.io/projectsveltos/classifier:v1.4.0
livenessProbe:
failureThreshold: 3
httpGet:
Expand Down
4 changes: 2 additions & 2 deletions manifest/deployment-shard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ spec:
- --shard-key={{.SHARD}}
- --capi-onboard-annotation=
- --v=5
- --version=main
- --version=v1.4.0
- --registry=
- --agent-in-mgmt-cluster=false
command:
- /manager
image: docker.io/projectsveltos/classifier:main
image: docker.io/projectsveltos/classifier:v1.4.0
livenessProbe:
failureThreshold: 3
httpGet:
Expand Down
4 changes: 2 additions & 2 deletions manifest/manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -170,12 +170,12 @@ spec:
- --shard-key=
- --capi-onboard-annotation=
- --v=5
- --version=main
- --version=v1.4.0
- --registry=
- --agent-in-mgmt-cluster=false
command:
- /manager
image: docker.io/projectsveltos/classifier:main
image: docker.io/projectsveltos/classifier:v1.4.0
livenessProbe:
failureThreshold: 3
httpGet:
Expand Down
4 changes: 2 additions & 2 deletions pkg/agent/sveltos-agent-in-mgmt-cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@ spec:
- --cluster-namespace=
- --cluster-name=
- --cluster-type=
- --version=main
- --version=v1.4.0
- --current-cluster=management-cluster
- --run-mode=do-not-send-reports
command:
- /manager
image: docker.io/projectsveltos/sveltos-agent@sha256:c42478112497f49c880778ef072f8adca89c6efb442e4cc624e1c6fe553ab39d
image: docker.io/projectsveltos/sveltos-agent@sha256:d52b74914203bd9ab06020e96387b53f396bcb7632bd9e8361c7d4412c972932
livenessProbe:
failureThreshold: 3
httpGet:
Expand Down
4 changes: 2 additions & 2 deletions pkg/agent/sveltos-agent-in-mgmt-cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ spec:
- --cluster-namespace=
- --cluster-name=
- --cluster-type=
- --version=main
- --version=v1.4.0
- --current-cluster=management-cluster
- --run-mode=do-not-send-reports
command:
- /manager
image: docker.io/projectsveltos/sveltos-agent@sha256:c42478112497f49c880778ef072f8adca89c6efb442e4cc624e1c6fe553ab39d
image: docker.io/projectsveltos/sveltos-agent@sha256:d52b74914203bd9ab06020e96387b53f396bcb7632bd9e8361c7d4412c972932
livenessProbe:
failureThreshold: 3
httpGet:
Expand Down
4 changes: 2 additions & 2 deletions pkg/agent/sveltos-agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -201,12 +201,12 @@ spec:
- --cluster-namespace=
- --cluster-name=
- --cluster-type=
- --version=main
- --version=v1.4.0
- --current-cluster=managed-cluster
- --run-mode=do-not-send-reports
command:
- /manager
image: docker.io/projectsveltos/sveltos-agent@sha256:c42478112497f49c880778ef072f8adca89c6efb442e4cc624e1c6fe553ab39d
image: docker.io/projectsveltos/sveltos-agent@sha256:d52b74914203bd9ab06020e96387b53f396bcb7632bd9e8361c7d4412c972932
livenessProbe:
failureThreshold: 3
httpGet:
Expand Down
4 changes: 2 additions & 2 deletions pkg/agent/sveltos-agent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -183,12 +183,12 @@ spec:
- --cluster-namespace=
- --cluster-name=
- --cluster-type=
- --version=main
- --version=v1.4.0
- --current-cluster=managed-cluster
- --run-mode=do-not-send-reports
command:
- /manager
image: docker.io/projectsveltos/sveltos-agent@sha256:c42478112497f49c880778ef072f8adca89c6efb442e4cc624e1c6fe553ab39d
image: docker.io/projectsveltos/sveltos-agent@sha256:d52b74914203bd9ab06020e96387b53f396bcb7632bd9e8361c7d4412c972932
livenessProbe:
failureThreshold: 3
httpGet:
Expand Down
4 changes: 2 additions & 2 deletions pkg/agent/sveltos-applier.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ spec:
- --cluster-type=
- --secret-with-kubeconfig=
- --v=5
- --version=main
- --version=v1.4.0
command:
- /manager
env:
Expand All @@ -117,7 +117,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:
Expand Down
4 changes: 2 additions & 2 deletions pkg/agent/sveltos-applier.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ spec:
- --cluster-type=
- --secret-with-kubeconfig=
- --v=5
- --version=main
- --version=v1.4.0
command:
- /manager
env:
Expand All @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion test/pullmode-sveltosapplier.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down