Skip to content

Commit d5f03a2

Browse files
authored
Merge pull request #1334 from gianlucam76/release-1.0
Release 1.0
2 parents baeb655 + edccc1d commit d5f03a2

33 files changed

+420
-209
lines changed

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"dockerfile": "${localWorkspaceFolder}/.devcontainer/Dockerfile",
99
"context": "${localWorkspaceFolder}",
1010
"args": {
11-
"GO_VERSION": "1.24.4",
11+
"GO_VERSION": "1.24.6",
1212
"KUBECTX_VERSION": "0.9.5",
1313
"SVELTOSCTL_VERSION": "0.53.0"
1414
}

.github/workflows/main.yaml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: checkout
17-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
17+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
1818
- name: Set up Go
1919
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
2020
with:
21-
go-version: 1.24.4
21+
go-version: 1.24.6
2222
- name: Build
2323
run: make build
2424
- name: FMT
@@ -33,11 +33,11 @@ jobs:
3333
runs-on: ubuntu-latest
3434
steps:
3535
- name: checkout
36-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
36+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
3737
- name: Set up Go
3838
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
3939
with:
40-
go-version: 1.24.4
40+
go-version: 1.24.6
4141
- name: ut
4242
run: make test
4343
env:
@@ -46,11 +46,11 @@ jobs:
4646
runs-on: ubuntu-latest
4747
steps:
4848
- name: checkout
49-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
49+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
5050
- name: Set up Go
5151
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
5252
with:
53-
go-version: 1.24.4
53+
go-version: 1.24.6
5454
- name: Free Disk Space (Ubuntu)
5555
uses: jlumbroso/free-disk-space@main
5656
with:
@@ -74,11 +74,11 @@ jobs:
7474
runs-on: ubuntu-latest
7575
steps:
7676
- name: checkout
77-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
77+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
7878
- name: Set up Go
7979
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
8080
with:
81-
go-version: 1.24.4
81+
go-version: 1.24.6
8282
- name: Free Disk Space (Ubuntu)
8383
uses: jlumbroso/free-disk-space@main
8484
with:
@@ -102,11 +102,11 @@ jobs:
102102
runs-on: ubuntu-latest
103103
steps:
104104
- name: checkout
105-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
105+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
106106
- name: Set up Go
107107
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
108108
with:
109-
go-version: 1.24.4
109+
go-version: 1.24.6
110110
- name: Free Disk Space (Ubuntu)
111111
uses: jlumbroso/free-disk-space@main
112112
with:
@@ -130,11 +130,11 @@ jobs:
130130
runs-on: ubuntu-latest
131131
steps:
132132
- name: checkout
133-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
133+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
134134
- name: Set up Go
135135
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
136136
with:
137-
go-version: 1.24.4
137+
go-version: 1.24.6
138138
- name: Free Disk Space (Ubuntu)
139139
uses: jlumbroso/free-disk-space@main
140140
with:
@@ -158,11 +158,11 @@ jobs:
158158
runs-on: ubuntu-latest
159159
steps:
160160
- name: checkout
161-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
161+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
162162
- name: Set up Go
163163
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
164164
with:
165-
go-version: 1.24.4
165+
go-version: 1.24.6
166166
- name: Free Disk Space (Ubuntu)
167167
uses: jlumbroso/free-disk-space@main
168168
with:
@@ -186,11 +186,11 @@ jobs:
186186
runs-on: ubuntu-latest
187187
steps:
188188
- name: checkout
189-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
189+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
190190
- name: Set up Go
191191
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
192192
with:
193-
go-version: 1.24.4
193+
go-version: 1.24.6
194194
- name: Free Disk Space (Ubuntu)
195195
uses: jlumbroso/free-disk-space@main
196196
with:

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build the manager binary
2-
FROM golang:1.24.4 AS builder
2+
FROM golang:1.24.6 AS builder
33

44
ARG BUILDOS
55
ARG TARGETARCH

Dockerfile_WithGit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build the manager binary
2-
FROM golang:1.24.4 AS builder
2+
FROM golang:1.24.6 AS builder
33

44
ARG BUILDOS
55
ARG TARGETARCH

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ OS ?= $(shell uname -s)
2727
OS := $(shell echo $(OS) | tr '[:upper:]' '[:lower:]')
2828
K8S_LATEST_VER ?= $(shell curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)
2929
export CONTROLLER_IMG ?= $(REGISTRY)/$(IMAGE_NAME)
30-
TAG ?= v1.0.0
30+
TAG ?= v1.0.1
3131

3232
.PHONY: all
3333
all: build
@@ -503,7 +503,7 @@ $(shell skopeo inspect --format '{{.Digest}}' "docker://projectsveltos/drift-det
503503
endef
504504

505505
define get-digest-sveltos-applier
506-
$(shell skopeo inspect --format '{{.Digest}}' "docker://projectsveltos/sveltos-applier:${TAG}" --override-os="linux" --override-arch="amd64" --override-variant="v8" 2>/dev/null)
506+
$(shell skopeo inspect --format '{{.Digest}}' "docker://projectsveltos/sveltos-applier:main" --override-os="linux" --override-arch="amd64" --override-variant="v8" 2>/dev/null)
507507
endef
508508

509509
drift-detection-manager:
@@ -522,8 +522,8 @@ sveltos-applier:
522522
@echo "Downloading sveltos applier yaml"
523523
$(eval digest :=$(call get-digest-sveltos-applier))
524524
@echo "image digest is $(get-digest-sveltos-applier)"
525-
curl -L -H "Authorization: token $$GITHUB_PAT" https://raw.githubusercontent.com/projectsveltos/sveltos-applier/$(TAG)/manifest/manifest.yaml -o ./test/pullmode-sveltosapplier.yaml
526-
sed -i '' -e "s#image: docker.io/projectsveltos/sveltos-applier:${TAG}#image: docker.io/projectsveltos/sveltos-applier@${digest}#g" ./test/pullmode-sveltosapplier.yaml
525+
curl -L -H "Authorization: token $$GITHUB_PAT" https://raw.githubusercontent.com/projectsveltos/sveltos-applier/main/manifest/manifest.yaml -o ./test/pullmode-sveltosapplier.yaml
526+
sed -i '' -e "s#image: docker.io/projectsveltos/sveltos-applier:main#image: docker.io/projectsveltos/sveltos-applier@${digest}#g" ./test/pullmode-sveltosapplier.yaml
527527
sed -i '' -e "s#cluster-namespace=#cluster-namespace=default#g" ./test/pullmode-sveltosapplier.yaml
528528
sed -i '' -e "s#cluster-name=#cluster-name=clusterapi-workload#g" ./test/pullmode-sveltosapplier.yaml
529529
sed -i '' -e "s#cluster-type=#cluster-type=sveltos#g" ./test/pullmode-sveltosapplier.yaml

api/v1beta1/spec.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -469,6 +469,7 @@ type KustomizationRef struct {
469469

470470
// DeploymentType indicates whether resources need to be deployed
471471
// into the management cluster (local) or the managed cluster (remote)
472+
// NOTE: DeploymentType Local cannot be used when the matching cluster is the management cluster itself.
472473
// +kubebuilder:default:=Remote
473474
// +optional
474475
DeploymentType DeploymentType `json:"deploymentType,omitempty"`

config/crd/bases/config.projectsveltos.io_clusterprofiles.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -633,6 +633,7 @@ spec:
633633
description: |-
634634
DeploymentType indicates whether resources need to be deployed
635635
into the management cluster (local) or the managed cluster (remote)
636+
NOTE: DeploymentType Local cannot be used when the matching cluster is the management cluster itself.
636637
enum:
637638
- Local
638639
- Remote

config/crd/bases/config.projectsveltos.io_clustersummaries.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -671,6 +671,7 @@ spec:
671671
description: |-
672672
DeploymentType indicates whether resources need to be deployed
673673
into the management cluster (local) or the managed cluster (remote)
674+
NOTE: DeploymentType Local cannot be used when the matching cluster is the management cluster itself.
674675
enum:
675676
- Local
676677
- Remote

config/crd/bases/config.projectsveltos.io_profiles.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -633,6 +633,7 @@ spec:
633633
description: |-
634634
DeploymentType indicates whether resources need to be deployed
635635
into the management cluster (local) or the managed cluster (remote)
636+
NOTE: DeploymentType Local cannot be used when the matching cluster is the management cluster itself.
636637
enum:
637638
- Local
638639
- Remote

config/default/manager_auth_proxy_patch.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ spec:
1616
- --shard-key=
1717
- --capi-onboard-annotation=
1818
- "--v=5"
19-
- "--version=v1.0.0"
19+
- "--version=v1.0.1"
2020
- "--agent-in-mgmt-cluster=false"
2121
env:
2222
- name: GOMEMLIMIT

0 commit comments

Comments
 (0)