Skip to content
This repository was archived by the owner on Apr 17, 2025. It is now read-only.

Commit 4e6d403

Browse files
committed
Update to Go 1.22
Bump the Go versions in various files and run go mod tidy to clean up things, Then update to controller-tools 0.15 to fix the segmentation fault when running controller-gen.
1 parent fbc9dd7 commit 4e6d403

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

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.21 AS builder
2+
FROM golang:1.22 AS builder
33

44
WORKDIR /workspace
55
# Copy the Go Modules manifests and all third-party libraries that are unlikely to change frequently

cloudbuild.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ steps:
1515
echo Checking out $_HNC_IMG_TAG
1616
git checkout $_HNC_IMG_TAG
1717
# Build the manifests and the kubectl plugin
18-
- name: golang:1.21
18+
- name: golang:1.22
1919
entrypoint: 'bash'
2020
args:
2121
- '-c'

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module sigs.k8s.io/hierarchical-namespaces
22

3-
go 1.21
3+
go 1.22
44

55
require (
66
contrib.go.opencensus.io/exporter/prometheus v0.4.0

0 commit comments

Comments
 (0)