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
4 changes: 2 additions & 2 deletions 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 ?= v0.47.0

## Tool Binaries
CONTROLLER_GEN := $(TOOLS_BIN_DIR)/controller-gen
Expand Down Expand Up @@ -375,4 +375,4 @@ sveltos-agent:
sed -i'' -e "s#image: docker.io/projectsveltos/sveltos-agent:${TAG}#image: docker.io/projectsveltos/sveltos-agent@${digest}#g" ./pkg/agent/sveltos-agent.yaml
curl -L https://raw.githubusercontent.com/projectsveltos/sveltos-agent/$(TAG)/manifest/mgmt_cluster_manifest.yaml -o ./pkg/agent/sveltos-agent-in-mgmt-cluster.yaml
sed -i'' -e "s#image: docker.io/projectsveltos/sveltos-agent:${TAG}#image: docker.io/projectsveltos/sveltos-agent@${digest}#g" ./pkg/agent/sveltos-agent-in-mgmt-cluster.yaml
cd pkg/agent; go generate
cd pkg/agent; go generate
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 @@ -15,4 +15,4 @@ spec:
- "--report-mode=0"
- "--shard-key="
- "--v=5"
- "--version=main"
- "--version=v0.47.0"
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:v0.47.0
name: manager
4 changes: 2 additions & 2 deletions manifest/deployment-agentless.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ spec:
- --report-mode=0
- --agent-in-mgmt-cluster
- --v=5
- --version=main
- --version=v0.47.0
command:
- /manager
image: docker.io/projectsveltos/classifier:main
image: docker.io/projectsveltos/classifier:v0.47.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 @@ -23,10 +23,10 @@ spec:
- --report-mode=0
- --shard-key={{.SHARD}}
- --v=5
- --version=main
- --version=v0.47.0
command:
- /manager
image: docker.io/projectsveltos/classifier:main
image: docker.io/projectsveltos/classifier:v0.47.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 @@ -157,10 +157,10 @@ spec:
- --report-mode=0
- --shard-key=
- --v=5
- --version=main
- --version=v0.47.0
command:
- /manager
image: docker.io/projectsveltos/classifier:main
image: docker.io/projectsveltos/classifier:v0.47.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=v0.47.0
- --current-cluster=management-cluster
- --run-mode=do-not-send-reports
command:
- /manager
image: docker.io/projectsveltos/sveltos-agent@sha256:b6df4552f028ca1159b3ca81f475518d5bb1cd432100feace598e7910e5c4fc1
image: docker.io/projectsveltos/sveltos-agent@sha256:26cb4eaf0fbc11e04a6d68ddb0d79611b24e133c6e60664a06b756efa1b11699
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=v0.47.0
- --current-cluster=management-cluster
- --run-mode=do-not-send-reports
command:
- /manager
image: docker.io/projectsveltos/sveltos-agent@sha256:b6df4552f028ca1159b3ca81f475518d5bb1cd432100feace598e7910e5c4fc1
image: docker.io/projectsveltos/sveltos-agent@sha256:26cb4eaf0fbc11e04a6d68ddb0d79611b24e133c6e60664a06b756efa1b11699
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 @@ -193,12 +193,12 @@ spec:
- --cluster-namespace=
- --cluster-name=
- --cluster-type=
- --version=main
- --version=v0.47.0
- --current-cluster=managed-cluster
- --run-mode=do-not-send-reports
command:
- /manager
image: docker.io/projectsveltos/sveltos-agent@sha256:b6df4552f028ca1159b3ca81f475518d5bb1cd432100feace598e7910e5c4fc1
image: docker.io/projectsveltos/sveltos-agent@sha256:26cb4eaf0fbc11e04a6d68ddb0d79611b24e133c6e60664a06b756efa1b11699
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 @@ -175,12 +175,12 @@ spec:
- --cluster-namespace=
- --cluster-name=
- --cluster-type=
- --version=main
- --version=v0.47.0
- --current-cluster=managed-cluster
- --run-mode=do-not-send-reports
command:
- /manager
image: docker.io/projectsveltos/sveltos-agent@sha256:b6df4552f028ca1159b3ca81f475518d5bb1cd432100feace598e7910e5c4fc1
image: docker.io/projectsveltos/sveltos-agent@sha256:26cb4eaf0fbc11e04a6d68ddb0d79611b24e133c6e60664a06b756efa1b11699
livenessProbe:
failureThreshold: 3
httpGet:
Expand Down