Skip to content

Commit d572e54

Browse files
authored
Merge pull request #2446 from ryantking/go1.17
✨ Update go version to 1.17
2 parents 019c185 + b772ff9 commit d572e54

File tree

44 files changed

+591
-24
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+591
-24
lines changed

.github/workflows/testdata.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Setup Go
1919
uses: actions/setup-go@v2
2020
with:
21-
go-version: '1.16'
21+
go-version: '1.17'
2222
- name: Remove pre-installed kustomize
2323
# This step is needed as the following one tries to remove
2424
# kustomize for each test but has no permission to do so

.github/workflows/unit-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Setup Go
2525
uses: actions/setup-go@v2
2626
with:
27-
go-version: '1.16'
27+
go-version: '1.17'
2828
# This step is needed as the following one tries to remove
2929
# kustomize for each test but has no permission to do so
3030
- name: Remove pre-installed kustomize
@@ -54,7 +54,7 @@ jobs:
5454
- name: Setup Go
5555
uses: actions/setup-go@v2
5656
with:
57-
go-version: '1.16'
57+
go-version: '1.17'
5858
- name: Generate the coverage output
5959
run: make test-coverage
6060
- name: Send the coverage output

docs/book/src/component-config-tutorial/testdata/project/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.16 as builder
2+
FROM golang:1.17 as builder
33

44
WORKDIR /workspace
55
# Copy the Go Modules manifests
Lines changed: 62 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,70 @@
11
module tutorial.kubebuilder.io/project
22

3-
go 1.16
3+
go 1.17
44

55
require (
66
k8s.io/apimachinery v0.21.2
77
k8s.io/client-go v0.21.2
88
sigs.k8s.io/controller-runtime v0.9.2
99
)
10+
11+
require (
12+
cloud.google.com/go v0.54.0 // indirect
13+
github.com/Azure/go-autorest v14.2.0+incompatible // indirect
14+
github.com/Azure/go-autorest/autorest v0.11.12 // indirect
15+
github.com/Azure/go-autorest/autorest/adal v0.9.5 // indirect
16+
github.com/Azure/go-autorest/autorest/date v0.3.0 // indirect
17+
github.com/Azure/go-autorest/logger v0.2.0 // indirect
18+
github.com/Azure/go-autorest/tracing v0.6.0 // indirect
19+
github.com/beorn7/perks v1.0.1 // indirect
20+
github.com/cespare/xxhash/v2 v2.1.1 // indirect
21+
github.com/davecgh/go-spew v1.1.1 // indirect
22+
github.com/evanphx/json-patch v4.11.0+incompatible // indirect
23+
github.com/form3tech-oss/jwt-go v3.2.2+incompatible // indirect
24+
github.com/fsnotify/fsnotify v1.4.9 // indirect
25+
github.com/go-logr/logr v0.4.0 // indirect
26+
github.com/go-logr/zapr v0.4.0 // indirect
27+
github.com/gogo/protobuf v1.3.2 // indirect
28+
github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e // indirect
29+
github.com/golang/protobuf v1.5.2 // indirect
30+
github.com/google/go-cmp v0.5.5 // indirect
31+
github.com/google/gofuzz v1.1.0 // indirect
32+
github.com/google/uuid v1.1.2 // indirect
33+
github.com/googleapis/gnostic v0.5.5 // indirect
34+
github.com/hashicorp/golang-lru v0.5.4 // indirect
35+
github.com/imdario/mergo v0.3.12 // indirect
36+
github.com/json-iterator/go v1.1.11 // indirect
37+
github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 // indirect
38+
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
39+
github.com/modern-go/reflect2 v1.0.1 // indirect
40+
github.com/pkg/errors v0.9.1 // indirect
41+
github.com/prometheus/client_golang v1.11.0 // indirect
42+
github.com/prometheus/client_model v0.2.0 // indirect
43+
github.com/prometheus/common v0.26.0 // indirect
44+
github.com/prometheus/procfs v0.6.0 // indirect
45+
github.com/spf13/pflag v1.0.5 // indirect
46+
go.uber.org/atomic v1.7.0 // indirect
47+
go.uber.org/multierr v1.6.0 // indirect
48+
go.uber.org/zap v1.17.0 // indirect
49+
golang.org/x/crypto v0.0.0-20210220033148-5ea612d1eb83 // indirect
50+
golang.org/x/net v0.0.0-20210428140749-89ef3d95e781 // indirect
51+
golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d // indirect
52+
golang.org/x/sys v0.0.0-20210603081109-ebe580a85c40 // indirect
53+
golang.org/x/term v0.0.0-20210220032956-6a3ed077a48d // indirect
54+
golang.org/x/text v0.3.6 // indirect
55+
golang.org/x/time v0.0.0-20210611083556-38a9dc6acbc6 // indirect
56+
gomodules.xyz/jsonpatch/v2 v2.2.0 // indirect
57+
google.golang.org/appengine v1.6.7 // indirect
58+
google.golang.org/protobuf v1.26.0 // indirect
59+
gopkg.in/inf.v0 v0.9.1 // indirect
60+
gopkg.in/yaml.v2 v2.4.0 // indirect
61+
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
62+
k8s.io/api v0.21.2 // indirect
63+
k8s.io/apiextensions-apiserver v0.21.2 // indirect
64+
k8s.io/component-base v0.21.2 // indirect
65+
k8s.io/klog/v2 v2.8.0 // indirect
66+
k8s.io/kube-openapi v0.0.0-20210305001622-591a79e4bda7 // indirect
67+
k8s.io/utils v0.0.0-20210527160623-6fdb442a123b // indirect
68+
sigs.k8s.io/structured-merge-diff/v4 v4.1.0 // indirect
69+
sigs.k8s.io/yaml v1.2.0 // indirect
70+
)

docs/book/src/cronjob-tutorial/testdata/project/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.16 as builder
2+
FROM golang:1.17 as builder
33

44
WORKDIR /workspace
55
# Copy the Go Modules manifests

docs/book/src/cronjob-tutorial/testdata/project/go.mod

Lines changed: 63 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module tutorial.kubebuilder.io/project
22

3-
go 1.16
3+
go 1.17
44

55
require (
66
github.com/onsi/ginkgo v1.16.4
@@ -11,3 +11,65 @@ require (
1111
k8s.io/client-go v0.21.2
1212
sigs.k8s.io/controller-runtime v0.9.2
1313
)
14+
15+
require (
16+
cloud.google.com/go v0.54.0 // indirect
17+
github.com/Azure/go-autorest v14.2.0+incompatible // indirect
18+
github.com/Azure/go-autorest/autorest v0.11.12 // indirect
19+
github.com/Azure/go-autorest/autorest/adal v0.9.5 // indirect
20+
github.com/Azure/go-autorest/autorest/date v0.3.0 // indirect
21+
github.com/Azure/go-autorest/logger v0.2.0 // indirect
22+
github.com/Azure/go-autorest/tracing v0.6.0 // indirect
23+
github.com/beorn7/perks v1.0.1 // indirect
24+
github.com/cespare/xxhash/v2 v2.1.1 // indirect
25+
github.com/davecgh/go-spew v1.1.1 // indirect
26+
github.com/evanphx/json-patch v4.11.0+incompatible // indirect
27+
github.com/form3tech-oss/jwt-go v3.2.2+incompatible // indirect
28+
github.com/fsnotify/fsnotify v1.4.9 // indirect
29+
github.com/go-logr/logr v0.4.0 // indirect
30+
github.com/go-logr/zapr v0.4.0 // indirect
31+
github.com/gogo/protobuf v1.3.2 // indirect
32+
github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e // indirect
33+
github.com/golang/protobuf v1.5.2 // indirect
34+
github.com/google/go-cmp v0.5.5 // indirect
35+
github.com/google/gofuzz v1.1.0 // indirect
36+
github.com/google/uuid v1.1.2 // indirect
37+
github.com/googleapis/gnostic v0.5.5 // indirect
38+
github.com/hashicorp/golang-lru v0.5.4 // indirect
39+
github.com/imdario/mergo v0.3.12 // indirect
40+
github.com/json-iterator/go v1.1.11 // indirect
41+
github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 // indirect
42+
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
43+
github.com/modern-go/reflect2 v1.0.1 // indirect
44+
github.com/nxadm/tail v1.4.8 // indirect
45+
github.com/pkg/errors v0.9.1 // indirect
46+
github.com/prometheus/client_golang v1.11.0 // indirect
47+
github.com/prometheus/client_model v0.2.0 // indirect
48+
github.com/prometheus/common v0.26.0 // indirect
49+
github.com/prometheus/procfs v0.6.0 // indirect
50+
github.com/spf13/pflag v1.0.5 // indirect
51+
go.uber.org/atomic v1.7.0 // indirect
52+
go.uber.org/multierr v1.6.0 // indirect
53+
go.uber.org/zap v1.17.0 // indirect
54+
golang.org/x/crypto v0.0.0-20210220033148-5ea612d1eb83 // indirect
55+
golang.org/x/net v0.0.0-20210428140749-89ef3d95e781 // indirect
56+
golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d // indirect
57+
golang.org/x/sys v0.0.0-20210603081109-ebe580a85c40 // indirect
58+
golang.org/x/term v0.0.0-20210220032956-6a3ed077a48d // indirect
59+
golang.org/x/text v0.3.6 // indirect
60+
golang.org/x/time v0.0.0-20210611083556-38a9dc6acbc6 // indirect
61+
gomodules.xyz/jsonpatch/v2 v2.2.0 // indirect
62+
google.golang.org/appengine v1.6.7 // indirect
63+
google.golang.org/protobuf v1.26.0 // indirect
64+
gopkg.in/inf.v0 v0.9.1 // indirect
65+
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect
66+
gopkg.in/yaml.v2 v2.4.0 // indirect
67+
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
68+
k8s.io/apiextensions-apiserver v0.21.2 // indirect
69+
k8s.io/component-base v0.21.2 // indirect
70+
k8s.io/klog/v2 v2.8.0 // indirect
71+
k8s.io/kube-openapi v0.0.0-20210305001622-591a79e4bda7 // indirect
72+
k8s.io/utils v0.0.0-20210527160623-6fdb442a123b // indirect
73+
sigs.k8s.io/structured-merge-diff/v4 v4.1.0 // indirect
74+
sigs.k8s.io/yaml v1.2.0 // indirect
75+
)

docs/book/src/multiversion-tutorial/testdata/project/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.16 as builder
2+
FROM golang:1.17 as builder
33

44
WORKDIR /workspace
55
# Copy the Go Modules manifests

docs/book/utils/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module sigs.k8s.io/kubebuilder/docs/book/utils
22

3-
go 1.16
3+
go 1.17

docs/book/utils/go.sum

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +0,0 @@
1-
sigs.k8s.io/kubebuilder v1.0.8 h1:XYctSbuOICM9z1Ok0GIWChc1cj90EEEczeJQnb7ZPf0=

go.mod

Lines changed: 61 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module sigs.k8s.io/kubebuilder/v3
22

3-
go 1.16
3+
go 1.17
44

55
require (
66
github.com/cloudflare/cfssl v1.5.0 // for `kubebuilder alpha config-gen`
@@ -12,11 +12,70 @@ require (
1212
github.com/spf13/afero v1.6.0
1313
github.com/spf13/cobra v1.2.1
1414
github.com/spf13/pflag v1.0.5
15-
golang.org/x/text v0.3.7 // indirect
1615
golang.org/x/tools v0.1.5
1716
k8s.io/apimachinery v0.22.2 // for `kubebuilder alpha config-gen`
1817
sigs.k8s.io/controller-runtime v0.10.0
1918
sigs.k8s.io/controller-tools v0.7.0 // for `kubebuilder alpha config-gen`
2019
sigs.k8s.io/kustomize/kyaml v0.10.21 // for `kubebuilder alpha config-gen`
2120
sigs.k8s.io/yaml v1.2.0
2221
)
22+
23+
require (
24+
github.com/PuerkitoBio/purell v1.1.1 // indirect
25+
github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578 // indirect
26+
github.com/davecgh/go-spew v1.1.1 // indirect
27+
github.com/emirpasic/gods v1.12.0 // indirect
28+
github.com/fsnotify/fsnotify v1.4.9 // indirect
29+
github.com/go-errors/errors v1.0.1 // indirect
30+
github.com/go-logr/logr v0.4.0 // indirect
31+
github.com/go-openapi/jsonpointer v0.19.5 // indirect
32+
github.com/go-openapi/jsonreference v0.19.5 // indirect
33+
github.com/go-openapi/swag v0.19.14 // indirect
34+
github.com/gogo/protobuf v1.3.2 // indirect
35+
github.com/golang/protobuf v1.5.2 // indirect
36+
github.com/google/certificate-transparency-go v1.0.21 // indirect
37+
github.com/google/go-cmp v0.5.6 // indirect
38+
github.com/google/gofuzz v1.1.0 // indirect
39+
github.com/inconshreveable/mousetrap v1.0.0 // indirect
40+
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
41+
github.com/jmoiron/sqlx v1.2.0 // indirect
42+
github.com/josharian/intern v1.0.0 // indirect
43+
github.com/json-iterator/go v1.1.11 // indirect
44+
github.com/kevinburke/ssh_config v0.0.0-20190725054713-01f96b0aa0cd // indirect
45+
github.com/mailru/easyjson v0.7.6 // indirect
46+
github.com/mitchellh/go-homedir v1.1.0 // indirect
47+
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
48+
github.com/modern-go/reflect2 v1.0.1 // indirect
49+
github.com/monochromegane/go-gitignore v0.0.0-20200626010858-205db1a8cc00 // indirect
50+
github.com/nxadm/tail v1.4.8 // indirect
51+
github.com/pmezard/go-difflib v1.0.0 // indirect
52+
github.com/sergi/go-diff v1.1.0 // indirect
53+
github.com/src-d/gcfg v1.4.0 // indirect
54+
github.com/stretchr/testify v1.7.0 // indirect
55+
github.com/weppos/publicsuffix-go v0.13.0 // indirect
56+
github.com/xanzy/ssh-agent v0.2.1 // indirect
57+
github.com/xlab/treeprint v0.0.0-20181112141820-a009c3971eca // indirect
58+
github.com/zmap/zcrypto v0.0.0-20200911161511-43ff0ea04f21 // indirect
59+
github.com/zmap/zlint/v2 v2.2.1 // indirect
60+
golang.org/x/crypto v0.0.0-20210220033148-5ea612d1eb83 // indirect
61+
golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6 // indirect
62+
golang.org/x/mod v0.4.2 // indirect
63+
golang.org/x/net v0.0.0-20210520170846-37e1c6afe023 // indirect
64+
golang.org/x/sys v0.0.0-20210817190340-bfb29a6856f2 // indirect
65+
golang.org/x/text v0.3.7 // indirect
66+
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
67+
google.golang.org/protobuf v1.26.0 // indirect
68+
gopkg.in/inf.v0 v0.9.1 // indirect
69+
gopkg.in/src-d/go-billy.v4 v4.3.2 // indirect
70+
gopkg.in/src-d/go-git.v4 v4.13.1 // indirect
71+
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect
72+
gopkg.in/warnings.v0 v0.1.2 // indirect
73+
gopkg.in/yaml.v2 v2.4.0 // indirect
74+
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
75+
k8s.io/api v0.22.2 // indirect
76+
k8s.io/apiextensions-apiserver v0.22.2 // indirect
77+
k8s.io/klog/v2 v2.9.0 // indirect
78+
k8s.io/kube-openapi v0.0.0-20210421082810-95288971da7e // indirect
79+
k8s.io/utils v0.0.0-20210819203725-bdf08cb9a70a // indirect
80+
sigs.k8s.io/structured-merge-diff/v4 v4.1.2 // indirect
81+
)

0 commit comments

Comments
 (0)