Skip to content

Commit 1dc83cb

Browse files
bump stdlib to v1.26.2 to fix CVEs (#537)
Signed-off-by: olalekan odukoya <odukoyaonline@gmail.com>
1 parent d53f844 commit 1dc83cb

19 files changed

Lines changed: 1012 additions & 761 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- uses: actions/checkout@v4
3131
- uses: actions/setup-go@v5
3232
with:
33-
go-version: v1.26.1
33+
go-version: v1.26.2
3434
- uses: actions/setup-node@v4
3535
with:
3636
node-version: '20'
@@ -45,7 +45,7 @@ jobs:
4545
- uses: actions/checkout@v4
4646
- uses: actions/setup-go@v5
4747
with:
48-
go-version: v1.26.1
48+
go-version: v1.26.2
4949
- uses: actions/setup-node@v4
5050
with:
5151
node-version: '20'
@@ -60,7 +60,7 @@ jobs:
6060
- uses: actions/checkout@v4
6161
- uses: actions/setup-go@v5
6262
with:
63-
go-version: v1.26.1
63+
go-version: v1.26.2
6464
- run: make test
6565

6666
lint:
@@ -70,7 +70,7 @@ jobs:
7070
- uses: actions/checkout@v4
7171
- uses: actions/setup-go@v5
7272
with:
73-
go-version: v1.26.1
73+
go-version: v1.26.2
7474
- run: make lint
7575

7676
verify:
@@ -80,5 +80,5 @@ jobs:
8080
- uses: actions/checkout@v4
8181
- uses: actions/setup-go@v5
8282
with:
83-
go-version: v1.26.1
83+
go-version: v1.26.2
8484
- run: make verify

.github/workflows/docs-gen-and-push.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434

3535
- uses: actions/setup-go@v5
3636
with:
37-
go-version: v1.26.1
37+
go-version: v1.26.2
3838
cache: true
3939

4040
- uses: actions/setup-python@v5

.github/workflows/goreleaser.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
fetch-depth: 0
2323
- uses: actions/setup-go@v5
2424
with:
25-
go-version: v1.26.1
25+
go-version: v1.26.2
2626
- name: Delete non-semver tags
2727
run: 'git tag -d $(git tag -l | grep -v "^v")'
2828
- name: Set LDFLAGS

.github/workflows/image.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- uses: actions/checkout@v4
2020
- uses: actions/setup-go@v5
2121
with:
22-
go-version: v1.26.1
22+
go-version: v1.26.2
2323
check-latest: true
2424

2525
# We need this to remove local tags that are not semver so goreleaser doesn't get confused.

.ko.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
baseImageOverrides:
2-
github.com/google/ko: golang:1.26.1
2+
github.com/google/ko: golang:1.26.2
33

44
builds:
55
- id: konnector

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ ENV VITE_BUILD_TARGET=docker
3636
RUN npm run build
3737

3838
# Build Go binary with embedded UI assets
39-
FROM golang:1.26.1 AS go-build-env
39+
FROM golang:1.26.2 AS go-build-env
4040
WORKDIR /app
4141

4242
# Accept build arguments for multi-arch support

Dockerfile.konnector

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
FROM golang:1.26.1 AS builder
15+
FROM golang:1.26.2 AS builder
1616
WORKDIR /app
1717

1818
# Accept build arguments for multi-arch support

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,10 @@ install: WHAT ?= ./cmd/... ./cli/cmd/...
110110
install: ## install binaries to GOBIN
111111
go install -ldflags="$(LDFLAGS)" $(WHAT)
112112

113+
.PHONY: install-crds
114+
install-crds: ## Install all CRDs into the current cluster
115+
kubectl apply -f deploy/crd
116+
113117
GOLANGCI_LINT = $(ROOT_DIR)/$(UGET_DIRECTORY)/golangci-lint-$(GOLANGCI_LINT_VERSION)
114118

115119
.PHONY: install-golangci-lint

cli/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/kube-bind/kube-bind/cli
22

3-
go 1.26.0
3+
go 1.26.2
44

55
replace (
66
github.com/kube-bind/kube-bind => ../

contrib/kcp/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/kube-bind/kube-bind/contrib/kcp
22

3-
go 1.26.0
3+
go 1.26.2
44

55
replace (
66
github.com/kube-bind/kube-bind => ../../

0 commit comments

Comments
 (0)