Skip to content

Commit

Permalink
KubeLB is now built with Go 1.23 (#51)
Browse files Browse the repository at this point in the history
Signed-off-by: Waleed Malik <[email protected]>
  • Loading branch information
ahmedwaleedmalik authored Aug 15, 2024
1 parent 507f798 commit a7b74ef
Show file tree
Hide file tree
Showing 19 changed files with 30 additions and 30 deletions.
6 changes: 3 additions & 3 deletions .prow/postsubmits.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ postsubmits:
preset-goproxy: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.22-node-20-kind-0.23-12
- image: quay.io/kubermatic/build:go-1.23-node-20-kind-0.23-0
command:
- /bin/bash
- -c
Expand Down Expand Up @@ -60,7 +60,7 @@ postsubmits:
preset-goproxy: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.22-node-20-kind-0.23-12
- image: quay.io/kubermatic/build:go-1.23-node-20-kind-0.23-0
command:
- "./hack/ci/upload-gocache.sh"
resources:
Expand All @@ -83,7 +83,7 @@ postsubmits:
preset-goproxy: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.22-node-20-kind-0.23-12
- image: quay.io/kubermatic/build:go-1.23-node-20-kind-0.23-0
command:
- make
args:
Expand Down
20 changes: 10 additions & 10 deletions .prow/verify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ presubmits:
preset-goproxy: "true"
spec:
containers:
- image: golang:1.22
- image: golang:1.23
command:
- make
args:
Expand All @@ -39,7 +39,7 @@ presubmits:
preset-goproxy: "true"
spec:
containers:
- image: golangci/golangci-lint:v1.59.1
- image: golangci/golangci-lint:v1.60.1
command:
- make
args:
Expand All @@ -57,7 +57,7 @@ presubmits:
preset-goproxy: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.22-node-20-kind-0.23-12
- image: quay.io/kubermatic/build:go-1.23-node-20-kind-0.23-0
command:
- make
args:
Expand All @@ -72,7 +72,7 @@ presubmits:
clone_uri: "ssh://[email protected]/kubermatic/kubelb.git"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.22-node-20-kind-0.23-12
- image: quay.io/kubermatic/build:go-1.23-node-20-kind-0.23-0
command:
- make
args:
Expand All @@ -84,7 +84,7 @@ presubmits:
clone_uri: "ssh://[email protected]/kubermatic/kubelb.git"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.22-node-20-kind-0.23-12
- image: quay.io/kubermatic/build:go-1.23-node-20-kind-0.23-0
command:
- make
args:
Expand All @@ -98,7 +98,7 @@ presubmits:
preset-goproxy: "true"
spec:
containers:
- image: golang:1.22
- image: golang:1.23
command:
- make
args:
Expand All @@ -119,7 +119,7 @@ presubmits:
preset-goproxy: "true"
spec:
containers:
- image: golang:1.22
- image: golang:1.23
command:
- make
args:
Expand All @@ -141,7 +141,7 @@ presubmits:
preset-goproxy: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.22-node-20-kind-0.23-12
- image: quay.io/kubermatic/build:go-1.23-node-20-kind-0.23-0
securityContext:
privileged: true
env:
Expand Down Expand Up @@ -175,7 +175,7 @@ presubmits:
clone_uri: "ssh://[email protected]/kubermatic/kubelb.git"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.22-node-20-kind-0.23-12
- image: quay.io/kubermatic/build:go-1.23-node-20-kind-0.23-0
command:
- shfmt
args:
Expand Down Expand Up @@ -205,7 +205,7 @@ presubmits:
preset-goproxy: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.22-node-20-kind-0.23-12
- image: quay.io/kubermatic/build:go-1.23-node-20-kind-0.23-0
command:
- ./hack/verify-licenses.sh
resources:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ KUBELB_CCM_IMG ?= quay.io/kubermatic/kubelb-ccm
ENVTEST_K8S_VERSION = 1.30.0
KUSTOMIZE_VERSION ?= v5.4.3
CONTROLLER_TOOLS_VERSION ?= v0.15.0
GO_VERSION = 1.22.6
GO_VERSION = 1.23.0
HELM_DOCS_VERSION ?= v1.14.2
CRD_REF_DOCS_VERSION ?= v0.1.0

Expand Down
2 changes: 1 addition & 1 deletion ccm.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM docker.io/golang:1.22.6 as builder
FROM docker.io/golang:1.23.0 as builder

WORKDIR /workspace
# Copy the Go Modules manifests
Expand Down
2 changes: 1 addition & 1 deletion charts/kubelb-ccm/crds/kubelb.k8c.io_syncsecrets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.15.0
name: syncsecrets.kubelb.k8c.io
spec:
group: kubelb.k8c.io
Expand Down
2 changes: 1 addition & 1 deletion charts/kubelb-manager/crds/kubelb.k8c.io_addresses.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.15.0
name: addresses.kubelb.k8c.io
spec:
group: kubelb.k8c.io
Expand Down
2 changes: 1 addition & 1 deletion charts/kubelb-manager/crds/kubelb.k8c.io_configs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.15.0
name: configs.kubelb.k8c.io
spec:
group: kubelb.k8c.io
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.15.0
name: loadbalancers.kubelb.k8c.io
spec:
group: kubelb.k8c.io
Expand Down
2 changes: 1 addition & 1 deletion charts/kubelb-manager/crds/kubelb.k8c.io_routes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.15.0
name: routes.kubelb.k8c.io
spec:
group: kubelb.k8c.io
Expand Down
2 changes: 1 addition & 1 deletion charts/kubelb-manager/crds/kubelb.k8c.io_syncsecrets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.15.0
name: syncsecrets.kubelb.k8c.io
spec:
group: kubelb.k8c.io
Expand Down
2 changes: 1 addition & 1 deletion charts/kubelb-manager/crds/kubelb.k8c.io_tenants.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.15.0
name: tenants.kubelb.k8c.io
spec:
group: kubelb.k8c.io
Expand Down
2 changes: 1 addition & 1 deletion config/crd/bases/kubelb.k8c.io_addresses.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.15.0
name: addresses.kubelb.k8c.io
spec:
group: kubelb.k8c.io
Expand Down
2 changes: 1 addition & 1 deletion config/crd/bases/kubelb.k8c.io_configs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.15.0
name: configs.kubelb.k8c.io
spec:
group: kubelb.k8c.io
Expand Down
2 changes: 1 addition & 1 deletion config/crd/bases/kubelb.k8c.io_loadbalancers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.15.0
name: loadbalancers.kubelb.k8c.io
spec:
group: kubelb.k8c.io
Expand Down
2 changes: 1 addition & 1 deletion config/crd/bases/kubelb.k8c.io_routes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.15.0
name: routes.kubelb.k8c.io
spec:
group: kubelb.k8c.io
Expand Down
2 changes: 1 addition & 1 deletion config/crd/bases/kubelb.k8c.io_syncsecrets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.15.0
name: syncsecrets.kubelb.k8c.io
spec:
group: kubelb.k8c.io
Expand Down
2 changes: 1 addition & 1 deletion config/crd/bases/kubelb.k8c.io_tenants.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.15.0
name: tenants.kubelb.k8c.io
spec:
group: kubelb.k8c.io
Expand Down
2 changes: 1 addition & 1 deletion hack/verify-licenses.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ set -euo pipefail
cd $(dirname $0)/..
source hack/lib.sh

CONTAINERIZE_IMAGE=quay.io/kubermatic/build:go-1.22-node-20-kind-0.23-12 containerize ./hack/verify-licenses.sh
CONTAINERIZE_IMAGE=quay.io/kubermatic/build:go-1.23-node-20-kind-0.23-0 containerize ./hack/verify-licenses.sh

go mod vendor

Expand Down
2 changes: 1 addition & 1 deletion kubelb.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM docker.io/golang:1.22.6 as builder
FROM docker.io/golang:1.23.0 as builder

WORKDIR /workspace
# Copy the Go Modules manifests
Expand Down

0 comments on commit a7b74ef

Please sign in to comment.