Skip to content

Commit c42c5b3

Browse files
authored
Support k8s v1.32 (#334)
1 parent 4139352 commit c42c5b3

File tree

7 files changed

+119
-111
lines changed

7 files changed

+119
-111
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ jobs:
6161
strategy:
6262
matrix:
6363
k3s_version:
64+
- v1.32.0-k3s1
6465
- v1.31.2-k3s1
6566
- v1.30.6-k3s1
6667
- v1.29.10-k3s1

.github/workflows/docker.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ jobs:
1010
strategy:
1111
matrix:
1212
image:
13+
- rancher/k3s:v1.32.0-k3s1
1314
- rancher/k3s:v1.31.2-k3s1
1415
- rancher/k3s:v1.30.6-k3s1
1516
- rancher/k3s:v1.29.10-k3s1

Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,7 @@ ci-build-setup: test-setup
6868
curl -L https://github.com/docker/compose/releases/download/v2.30.3/docker-compose-`uname -s`-`uname -m` > docker-compose
6969
chmod +x docker-compose
7070
sudo mv docker-compose /usr/local/bin
71-
curl -Lo kubectl https://storage.googleapis.com/kubernetes-release/release/v1.20.7/bin/linux/amd64/kubectl
72-
curl -LO "https://dl.k8s.io/release/v1.31.3/bin/linux/amd64/kubectl"
71+
curl -LO "https://dl.k8s.io/release/v1.32.0/bin/linux/amd64/kubectl"
7372
chmod +x kubectl
7473
sudo mv kubectl /usr/local/bin/
7574
bash scripts/gogetcookie.sh

go.mod

Lines changed: 30 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/gavinbunney/terraform-provider-kubectl
22

3-
go 1.23
3+
go 1.23.0
44

55
toolchain go1.23.3
66

@@ -14,24 +14,24 @@ require (
1414
github.com/icza/dyno v0.0.0-20230330125955-09f820a8d9c0
1515
github.com/mitchellh/go-homedir v1.1.0
1616
github.com/stretchr/testify v1.10.0
17-
github.com/zclconf/go-cty v1.15.1
17+
github.com/zclconf/go-cty v1.16.0
1818
github.com/zclconf/go-cty-yaml v1.1.0
19-
google.golang.org/grpc v1.68.1
19+
google.golang.org/grpc v1.69.2
2020
gopkg.in/yaml.v2 v2.4.0
21-
k8s.io/api v0.31.3
22-
k8s.io/apimachinery v0.31.3
23-
k8s.io/cli-runtime v0.31.3
24-
k8s.io/client-go v0.31.3
25-
k8s.io/kube-aggregator v0.31.3
26-
k8s.io/kubectl v0.31.3
21+
k8s.io/api v0.32.0
22+
k8s.io/apimachinery v0.32.0
23+
k8s.io/cli-runtime v0.32.0
24+
k8s.io/client-go v0.32.0
25+
k8s.io/kube-aggregator v0.32.0
26+
k8s.io/kubectl v0.32.0
2727
sigs.k8s.io/kustomize/api v0.18.0
2828
sigs.k8s.io/yaml v1.4.0
2929
)
3030

3131
require (
32-
github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161 // indirect
32+
github.com/Azure/go-ansiterm v0.0.0-20250102033503-faa5f7b0171c // indirect
3333
github.com/MakeNowJust/heredoc v1.0.0 // indirect
34-
github.com/ProtonMail/go-crypto v1.1.3 // indirect
34+
github.com/ProtonMail/go-crypto v1.1.4 // indirect
3535
github.com/agext/levenshtein v1.2.3 // indirect
3636
github.com/apparentlymart/go-cidr v1.1.0 // indirect
3737
github.com/apparentlymart/go-textseg/v15 v15.0.0 // indirect
@@ -69,30 +69,29 @@ require (
6969
github.com/hashicorp/go-retryablehttp v0.7.7 // indirect
7070
github.com/hashicorp/go-uuid v1.0.3 // indirect
7171
github.com/hashicorp/go-version v1.7.0 // indirect
72-
github.com/hashicorp/hc-install v0.9.0 // indirect
72+
github.com/hashicorp/hc-install v0.9.1 // indirect
7373
github.com/hashicorp/logutils v1.0.0 // indirect
7474
github.com/hashicorp/terraform-exec v0.21.0 // indirect
75-
github.com/hashicorp/terraform-json v0.23.0 // indirect
75+
github.com/hashicorp/terraform-json v0.24.0 // indirect
7676
github.com/hashicorp/terraform-plugin-log v0.9.0 // indirect
7777
github.com/hashicorp/terraform-registry-address v0.2.3 // indirect
7878
github.com/hashicorp/terraform-svchost v0.1.1 // indirect
7979
github.com/hashicorp/yamux v0.1.2 // indirect
80-
github.com/imdario/mergo v0.3.16 // indirect
8180
github.com/inconshreveable/mousetrap v1.1.0 // indirect
82-
github.com/jonboulle/clockwork v0.4.0 // indirect
81+
github.com/jonboulle/clockwork v0.5.0 // indirect
8382
github.com/josharian/intern v1.0.0 // indirect
8483
github.com/json-iterator/go v1.1.12 // indirect
8584
github.com/liggitt/tabwriter v0.0.0-20181228230101-89fcab3d43de // indirect
86-
github.com/mailru/easyjson v0.7.7 // indirect
87-
github.com/mattn/go-colorable v0.1.13 // indirect
85+
github.com/mailru/easyjson v0.9.0 // indirect
86+
github.com/mattn/go-colorable v0.1.14 // indirect
8887
github.com/mattn/go-isatty v0.0.20 // indirect
8988
github.com/mitchellh/copystructure v1.2.0 // indirect
9089
github.com/mitchellh/go-testing-interface v1.14.1 // indirect
9190
github.com/mitchellh/go-wordwrap v1.0.1 // indirect
9291
github.com/mitchellh/mapstructure v1.5.0 // indirect
9392
github.com/mitchellh/reflectwalk v1.0.2 // indirect
9493
github.com/moby/spdystream v0.5.0 // indirect
95-
github.com/moby/term v0.5.0 // indirect
94+
github.com/moby/term v0.5.2 // indirect
9695
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
9796
github.com/modern-go/reflect2 v1.0.2 // indirect
9897
github.com/monochromegane/go-gitignore v0.0.0-20200626010858-205db1a8cc00 // indirect
@@ -110,27 +109,27 @@ require (
110109
github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect
111110
github.com/x448/float16 v0.8.4 // indirect
112111
github.com/xlab/treeprint v1.2.0 // indirect
113-
golang.org/x/crypto v0.30.0 // indirect
112+
golang.org/x/crypto v0.32.0 // indirect
114113
golang.org/x/mod v0.22.0 // indirect
115-
golang.org/x/net v0.32.0 // indirect
116-
golang.org/x/oauth2 v0.24.0 // indirect
114+
golang.org/x/net v0.34.0 // indirect
115+
golang.org/x/oauth2 v0.25.0 // indirect
117116
golang.org/x/sync v0.10.0 // indirect
118-
golang.org/x/sys v0.28.0 // indirect
119-
golang.org/x/term v0.27.0 // indirect
117+
golang.org/x/sys v0.29.0 // indirect
118+
golang.org/x/term v0.28.0 // indirect
120119
golang.org/x/text v0.21.0 // indirect
121-
golang.org/x/time v0.8.0 // indirect
122-
golang.org/x/tools v0.28.0 // indirect
120+
golang.org/x/time v0.9.0 // indirect
121+
golang.org/x/tools v0.29.0 // indirect
123122
google.golang.org/appengine v1.6.8 // indirect
124-
google.golang.org/genproto/googleapis/rpc v0.0.0-20241209162323-e6fa225c2576 // indirect
125-
google.golang.org/protobuf v1.35.2 // indirect
123+
google.golang.org/genproto/googleapis/rpc v0.0.0-20250106144421-5f5ef82da422 // indirect
124+
google.golang.org/protobuf v1.36.2 // indirect
126125
gopkg.in/evanphx/json-patch.v4 v4.12.0 // indirect
127126
gopkg.in/inf.v0 v0.9.1 // indirect
128127
gopkg.in/yaml.v3 v3.0.1 // indirect
129-
k8s.io/component-base v0.31.3 // indirect
128+
k8s.io/component-base v0.32.0 // indirect
130129
k8s.io/klog/v2 v2.130.1 // indirect
131-
k8s.io/kube-openapi v0.0.0-20241127205056-99599406b04f // indirect
132-
k8s.io/utils v0.0.0-20241104163129-6fe5fd82f078 // indirect
130+
k8s.io/kube-openapi v0.0.0-20241212222426-2c72e554b1e7 // indirect
131+
k8s.io/utils v0.0.0-20241210054802-24370beab758 // indirect
133132
sigs.k8s.io/json v0.0.0-20241014173422-cfa47c3a1cc8 // indirect
134133
sigs.k8s.io/kustomize/kyaml v0.18.1 // indirect
135-
sigs.k8s.io/structured-merge-diff/v4 v4.4.3 // indirect
134+
sigs.k8s.io/structured-merge-diff/v4 v4.5.0 // indirect
136135
)

0 commit comments

Comments
 (0)