Skip to content

Commit 03fdc86

Browse files
authoredJun 13, 2024
update to kubernetes 1.28, go 1.22 (#243)
fixes #242 Signed-off-by: Alex Price <aprice@atlassian.com>
1 parent 679092c commit 03fdc86

File tree

5 files changed

+57
-93
lines changed

5 files changed

+57
-93
lines changed
 

‎.github/workflows/build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Set up Go
1717
uses: actions/setup-go@v2
1818
with:
19-
go-version: ^1.14
19+
go-version: ^1.22
2020
id: go
2121

2222
- name: Check out code into the Go module directory

‎.github/workflows/golangci-lint.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ jobs:
1313
steps:
1414
- uses: actions/setup-go@v3
1515
with:
16-
go-version: 1.19
16+
go-version: 1.22
1717
- uses: actions/checkout@v3
1818
- name: golangci-lint
19-
uses: golangci/golangci-lint-action@v3
19+
uses: golangci/golangci-lint-action@v6
2020
with:
21-
version: v1.50.1
21+
version: v1.59
2222
args: --timeout=5m

‎Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM --platform=$BUILDPLATFORM golang:1.20 as builder
1+
FROM --platform=$BUILDPLATFORM golang:1.22 as builder
22
ARG TARGETPLATFORM
33
ARG ENVVAR=CGO_ENABLED=0
44
WORKDIR /go/src/github.com/atlassian/escalator/

‎go.mod

+14-14
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/atlassian/escalator
22

3-
go 1.20
3+
go 1.22
44

55
require (
66
github.com/aws/aws-sdk-go v1.50.33
@@ -9,11 +9,11 @@ require (
99
github.com/prometheus/client_golang v1.11.1
1010
github.com/sirupsen/logrus v1.6.0
1111
github.com/stephanos/clock v0.0.0-20161224195152-e4ec0ab5053e
12-
github.com/stretchr/testify v1.8.1
12+
github.com/stretchr/testify v1.8.2
1313
gopkg.in/alecthomas/kingpin.v2 v2.2.6
14-
k8s.io/api v0.27.11
15-
k8s.io/apimachinery v0.27.11
16-
k8s.io/client-go v0.27.11
14+
k8s.io/api v0.28.11
15+
k8s.io/apimachinery v0.28.11
16+
k8s.io/client-go v0.28.11
1717
)
1818

1919
require (
@@ -25,16 +25,16 @@ require (
2525
github.com/davecgh/go-spew v1.1.1 // indirect
2626
github.com/emicklei/go-restful/v3 v3.9.0 // indirect
2727
github.com/evanphx/json-patch v4.12.0+incompatible // indirect
28-
github.com/go-logr/logr v1.2.3 // indirect
28+
github.com/go-logr/logr v1.2.4 // indirect
2929
github.com/go-openapi/jsonpointer v0.19.6 // indirect
30-
github.com/go-openapi/jsonreference v0.20.1 // indirect
30+
github.com/go-openapi/jsonreference v0.20.2 // indirect
3131
github.com/go-openapi/swag v0.22.3 // indirect
3232
github.com/gogo/protobuf v1.3.2 // indirect
3333
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
34-
github.com/golang/protobuf v1.5.3 // indirect
35-
github.com/google/gnostic v0.5.7-v3refs // indirect
34+
github.com/golang/protobuf v1.5.4 // indirect
35+
github.com/google/gnostic-models v0.6.8 // indirect
3636
github.com/google/go-cmp v0.5.9 // indirect
37-
github.com/google/gofuzz v1.1.0 // indirect
37+
github.com/google/gofuzz v1.2.0 // indirect
3838
github.com/imdario/mergo v0.3.6 // indirect
3939
github.com/jmespath/go-jmespath v0.4.0 // indirect
4040
github.com/josharian/intern v1.0.0 // indirect
@@ -52,7 +52,7 @@ require (
5252
github.com/prometheus/procfs v0.6.0 // indirect
5353
github.com/spf13/pflag v1.0.5 // indirect
5454
golang.org/x/net v0.23.0 // indirect
55-
golang.org/x/oauth2 v0.7.0 // indirect
55+
golang.org/x/oauth2 v0.8.0 // indirect
5656
golang.org/x/sys v0.18.0 // indirect
5757
golang.org/x/term v0.18.0 // indirect
5858
golang.org/x/text v0.14.0 // indirect
@@ -62,9 +62,9 @@ require (
6262
gopkg.in/inf.v0 v0.9.1 // indirect
6363
gopkg.in/yaml.v2 v2.4.0 // indirect
6464
gopkg.in/yaml.v3 v3.0.1 // indirect
65-
k8s.io/klog/v2 v2.90.1 // indirect
66-
k8s.io/kube-openapi v0.0.0-20230501164219-8b0f38b5fd1f // indirect
67-
k8s.io/utils v0.0.0-20230209194617-a36077c30491 // indirect
65+
k8s.io/klog/v2 v2.100.1 // indirect
66+
k8s.io/kube-openapi v0.0.0-20230717233707-2695361300d9 // indirect
67+
k8s.io/utils v0.0.0-20230406110748-d93618cff8a2 // indirect
6868
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
6969
sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect
7070
sigs.k8s.io/yaml v1.3.0 // indirect

0 commit comments

Comments
 (0)
Failed to load comments.