Skip to content

Commit 2a39f29

Browse files
authored
Upgrade Kubernetes schema and client libraries to v1.33 (#3619)
<!--Thanks for your contribution. See [CONTRIBUTING](CONTRIBUTING.md) for Pulumi's contribution guidelines. Help us merge your changes more quickly by adding more details such as labels, milestones, and reviewers.--> ### Proposed changes <!--Give us a brief description of what you've done and what it solves. --> 1. Update Go to v1.24 (required by k8s). 2. Updated the Kubernetes dependencies to v1.33. 3. Updated the fluxcd/ssa dependency (since it links to the Kubernetes libraries). 4. Updated the "deprecations" code for 1.33. ### Related issues (optional) <!--Refer to related PRs or issues: #1234, or 'Fixes #1234' or 'Closes #1234'. Or link to full URLs to issues or pull requests in other GitHub repositories. -->
1 parent 771d0b1 commit 2a39f29

File tree

1,286 files changed

+161475
-24748
lines changed

Some content is hidden

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

1,286 files changed

+161475
-24748
lines changed

.ci-mgmt.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ gcp: true # need GCP credentials to test in GKE
66
pulumiVersionFile: .pulumi.version
77
major-version: 4
88
parallel: 3
9+
toolVersions:
10+
go: 1.24.x
911
envOverride:
1012
AWS_REGION: us-west-2
1113
PULUMI_TEST_OWNER: moolumi

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ env:
3939
SIGNING_KEY_ID: ${{ secrets.JAVA_SIGNING_KEY_ID }}
4040
SIGNING_KEY: ${{ secrets.JAVA_SIGNING_KEY }}
4141
SIGNING_PASSWORD: ${{ secrets.JAVA_SIGNING_PASSWORD }}
42-
GOVERSION: "1.21.x"
42+
GOVERSION: "1.24.x"
4343
NODEVERSION: "20.x"
4444
PYTHONVERSION: "3.11.8"
4545
DOTNETVERSION: "8.0.x"

.github/workflows/command-dispatch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ env:
2424
SIGNING_KEY_ID: ${{ secrets.JAVA_SIGNING_KEY_ID }}
2525
SIGNING_KEY: ${{ secrets.JAVA_SIGNING_KEY }}
2626
SIGNING_PASSWORD: ${{ secrets.JAVA_SIGNING_PASSWORD }}
27-
GOVERSION: "1.21.x"
27+
GOVERSION: "1.24.x"
2828
NODEVERSION: "20.x"
2929
PYTHONVERSION: "3.11.8"
3030
DOTNETVERSION: "8.0.x"

.github/workflows/prerelease.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ env:
3030
SIGNING_KEY_ID: ${{ secrets.JAVA_SIGNING_KEY_ID }}
3131
SIGNING_KEY: ${{ secrets.JAVA_SIGNING_KEY }}
3232
SIGNING_PASSWORD: ${{ secrets.JAVA_SIGNING_PASSWORD }}
33-
GOVERSION: "1.21.x"
33+
GOVERSION: "1.24.x"
3434
NODEVERSION: "20.x"
3535
PYTHONVERSION: "3.11.8"
3636
DOTNETVERSION: "8.0.x"

.github/workflows/pull-request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ env:
2121
SIGNING_KEY_ID: ${{ secrets.JAVA_SIGNING_KEY_ID }}
2222
SIGNING_KEY: ${{ secrets.JAVA_SIGNING_KEY }}
2323
SIGNING_PASSWORD: ${{ secrets.JAVA_SIGNING_PASSWORD }}
24-
GOVERSION: "1.21.x"
24+
GOVERSION: "1.24.x"
2525
NODEVERSION: "20.x"
2626
PYTHONVERSION: "3.11.8"
2727
DOTNETVERSION: "8.0.x"

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ env:
3131
SIGNING_KEY_ID: ${{ secrets.JAVA_SIGNING_KEY_ID }}
3232
SIGNING_KEY: ${{ secrets.JAVA_SIGNING_KEY }}
3333
SIGNING_PASSWORD: ${{ secrets.JAVA_SIGNING_PASSWORD }}
34-
GOVERSION: "1.21.x"
34+
GOVERSION: "1.24.x"
3535
NODEVERSION: "20.x"
3636
PYTHONVERSION: "3.11.8"
3737
DOTNETVERSION: "8.0.x"

.github/workflows/run-acceptance-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ env:
2727
SIGNING_KEY_ID: ${{ secrets.JAVA_SIGNING_KEY_ID }}
2828
SIGNING_KEY: ${{ secrets.JAVA_SIGNING_KEY }}
2929
SIGNING_PASSWORD: ${{ secrets.JAVA_SIGNING_PASSWORD }}
30-
GOVERSION: "1.21.x"
30+
GOVERSION: "1.24.x"
3131
NODEVERSION: "20.x"
3232
PYTHONVERSION: "3.11.8"
3333
DOTNETVERSION: "8.0.x"

.github/workflows/weekly-pulumi-update.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ env:
2323
SIGNING_KEY_ID: ${{ secrets.JAVA_SIGNING_KEY_ID }}
2424
SIGNING_KEY: ${{ secrets.JAVA_SIGNING_KEY }}
2525
SIGNING_PASSWORD: ${{ secrets.JAVA_SIGNING_PASSWORD }}
26-
GOVERSION: "1.21.x"
26+
GOVERSION: "1.24.x"
2727
NODEVERSION: "20.x"
2828
PYTHONVERSION: "3.11.8"
2929
DOTNETVERSION: "8.0.x"

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33

44
## Unreleased
55

6+
### Changed
7+
8+
- Updated Kubernetes schemas and libraries to v1.33.0. (<https://github.com/pulumi/pulumi-kubernetes/pull/3619>)
9+
610
## 4.22.2 (April 15, 2025)
711

812
### Fixed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ CODEGEN := pulumi-gen-${PACK}
1111
PROVIDER_PATH := provider/v4
1212
VERSION_PATH := ${PROVIDER_PATH}/pkg/version.Version
1313

14-
KUBE_VERSION ?= v1.32.0
14+
KUBE_VERSION ?= v1.33.0
1515
SWAGGER_URL ?= https://github.com/kubernetes/kubernetes/raw/${KUBE_VERSION}/api/openapi-spec/swagger.json
1616
OPENAPI_DIR := provider/pkg/gen/openapi-specs
1717
OPENAPI_FILE := ${OPENAPI_DIR}/swagger-${KUBE_VERSION}.json

provider/cmd/pulumi-resource-kubernetes/schema.json

Lines changed: 18964 additions & 12290 deletions
Large diffs are not rendered by default.

provider/go.mod

Lines changed: 55 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,43 @@
11
module github.com/pulumi/pulumi-kubernetes/provider/v4
22

3-
go 1.23.0
3+
go 1.24.0
44

5-
toolchain go1.23.3
5+
toolchain go1.24.1
66

77
replace github.com/pulumi/pulumi-kubernetes/sdk/v4 => ../sdk
88

99
require (
1010
github.com/evanphx/json-patch v5.9.0+incompatible
11-
github.com/fluxcd/pkg/ssa v0.28.1
11+
github.com/fluxcd/pkg/ssa v0.46.0
1212
github.com/golang/protobuf v1.5.4
1313
github.com/google/gnostic-models v0.6.9
1414
github.com/imdario/mergo v0.3.16
1515
github.com/jonboulle/clockwork v0.4.0
1616
github.com/mitchellh/mapstructure v1.5.0
17-
github.com/onsi/ginkgo/v2 v2.21.0
18-
github.com/onsi/gomega v1.35.1
17+
github.com/onsi/ginkgo/v2 v2.23.4
18+
github.com/onsi/gomega v1.37.0
1919
github.com/pkg/errors v0.9.1
20-
github.com/pulumi/cloud-ready-checks v1.2.0
20+
github.com/pulumi/cloud-ready-checks v1.3.0
2121
github.com/pulumi/pulumi-kubernetes/sdk/v4 v4.22.2
2222
github.com/pulumi/pulumi/pkg/v3 v3.165.0
2323
github.com/pulumi/pulumi/sdk/v3 v3.165.0
2424
github.com/stretchr/testify v1.10.0
25-
golang.org/x/crypto v0.36.0
25+
golang.org/x/crypto v0.37.0
2626
golang.org/x/exp v0.0.0-20241210194714-1829a127f884
27-
golang.org/x/tools v0.28.0
27+
golang.org/x/tools v0.32.0
2828
google.golang.org/grpc v1.68.1
2929
gopkg.in/yaml.v3 v3.0.1
3030
helm.sh/helm/v3 v3.17.3
31-
k8s.io/api v0.32.2
32-
k8s.io/apimachinery v0.32.2
33-
k8s.io/cli-runtime v0.32.2
34-
k8s.io/client-go v0.32.2
35-
k8s.io/kube-openapi v0.0.0-20241127205056-99599406b04f
36-
k8s.io/kubectl v0.32.2
37-
k8s.io/utils v0.0.0-20241210054802-24370beab758
31+
k8s.io/api v0.33.0
32+
k8s.io/apimachinery v0.33.0
33+
k8s.io/cli-runtime v0.33.0
34+
k8s.io/client-go v0.33.0
35+
k8s.io/kube-openapi v0.0.0-20250318190949-c8a335a9a2ff
36+
k8s.io/kubectl v0.33.0
37+
k8s.io/utils v0.0.0-20250321185631-1f6e0b77f77e
3838
sigs.k8s.io/cli-utils v0.37.2
39-
sigs.k8s.io/kustomize/api v0.18.0
40-
sigs.k8s.io/kustomize/kyaml v0.18.1
39+
sigs.k8s.io/kustomize/api v0.19.0
40+
sigs.k8s.io/kustomize/kyaml v0.19.0
4141
sigs.k8s.io/yaml v1.4.0
4242
)
4343

@@ -93,13 +93,13 @@ require (
9393
github.com/edsrzf/mmap-go v1.1.0 // indirect
9494
github.com/emicklei/go-restful/v3 v3.12.1 // indirect
9595
github.com/emirpasic/gods v1.18.1 // indirect
96-
github.com/evanphx/json-patch/v5 v5.9.0 // indirect
96+
github.com/evanphx/json-patch/v5 v5.9.11 // indirect
9797
github.com/exponent-io/jsonpath v0.0.0-20210407135951-1de76d718b3f // indirect
9898
github.com/fatih/color v1.16.0 // indirect
9999
github.com/felixge/httpsnoop v1.0.4 // indirect
100-
github.com/fsnotify/fsnotify v1.8.0 // indirect
100+
github.com/fluxcd/cli-utils v0.36.0-flux.13 // indirect
101101
github.com/fxamacker/cbor/v2 v2.7.0 // indirect
102-
github.com/go-errors/errors v1.4.2 // indirect
102+
github.com/go-errors/errors v1.5.1 // indirect
103103
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect
104104
github.com/go-git/go-billy/v5 v5.6.1 // indirect
105105
github.com/go-git/go-git/v5 v5.13.1 // indirect
@@ -116,14 +116,13 @@ require (
116116
github.com/golang/glog v1.2.4 // indirect
117117
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
118118
github.com/google/btree v1.1.3 // indirect
119-
github.com/google/cel-go v0.22.1 // indirect
120-
github.com/google/go-cmp v0.6.0 // indirect
121-
github.com/google/gofuzz v1.2.0 // indirect
122-
github.com/google/pprof v0.0.0-20241029153458-d1b30febd7db // indirect
119+
github.com/google/cel-go v0.23.2 // indirect
120+
github.com/google/go-cmp v0.7.0 // indirect
121+
github.com/google/pprof v0.0.0-20250403155104-27863c87afa6 // indirect
123122
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
124123
github.com/google/uuid v1.6.0 // indirect
125124
github.com/gorilla/mux v1.8.1 // indirect
126-
github.com/gorilla/websocket v1.5.3 // indirect
125+
github.com/gorilla/websocket v1.5.4-0.20250319132907-e064f32e3674 // indirect
127126
github.com/gosuri/uitable v0.0.4 // indirect
128127
github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79 // indirect
129128
github.com/grpc-ecosystem/grpc-gateway/v2 v2.24.0 // indirect
@@ -139,13 +138,13 @@ require (
139138
github.com/josharian/intern v1.0.0 // indirect
140139
github.com/json-iterator/go v1.1.12 // indirect
141140
github.com/kevinburke/ssh_config v1.2.0 // indirect
142-
github.com/klauspost/compress v1.17.11 // indirect
141+
github.com/klauspost/compress v1.18.0 // indirect
143142
github.com/lann/builder v0.0.0-20180802200727-47ae307949d0 // indirect
144143
github.com/lann/ps v0.0.0-20150810152359-62de8c46ede0 // indirect
145144
github.com/lib/pq v1.10.9 // indirect
146145
github.com/liggitt/tabwriter v0.0.0-20181228230101-89fcab3d43de // indirect
147146
github.com/lucasb-eyer/go-colorful v1.2.0 // indirect
148-
github.com/mailru/easyjson v0.7.7 // indirect
147+
github.com/mailru/easyjson v0.9.0 // indirect
149148
github.com/mattn/go-colorable v0.1.13 // indirect
150149
github.com/mattn/go-isatty v0.0.20 // indirect
151150
github.com/mattn/go-localereader v0.0.1 // indirect
@@ -177,9 +176,9 @@ require (
177176
github.com/pjbgf/sha1cd v0.3.0 // indirect
178177
github.com/pkg/term v1.1.0 // indirect
179178
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
180-
github.com/prometheus/client_golang v1.20.5 // indirect
179+
github.com/prometheus/client_golang v1.22.0 // indirect
181180
github.com/prometheus/client_model v0.6.1 // indirect
182-
github.com/prometheus/common v0.61.0 // indirect
181+
github.com/prometheus/common v0.62.0 // indirect
183182
github.com/prometheus/procfs v0.15.1 // indirect
184183
github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 // indirect
185184
github.com/pulumi/esc v0.13.0 // indirect
@@ -198,8 +197,8 @@ require (
198197
github.com/skeema/knownhosts v1.3.0 // indirect
199198
github.com/spf13/afero v1.9.5 // indirect
200199
github.com/spf13/cast v1.7.0 // indirect
201-
github.com/spf13/cobra v1.8.1 // indirect
202-
github.com/spf13/pflag v1.0.5
200+
github.com/spf13/cobra v1.9.1 // indirect
201+
github.com/spf13/pflag v1.0.6
203202
github.com/stoewer/go-strcase v1.3.0 // indirect
204203
github.com/texttheater/golang-levenshtein v1.0.1 // indirect
205204
github.com/uber/jaeger-client-go v2.30.0+incompatible // indirect
@@ -211,41 +210,41 @@ require (
211210
github.com/xeipuuv/gojsonschema v1.2.0 // indirect
212211
github.com/xlab/treeprint v1.2.0 // indirect
213212
github.com/zclconf/go-cty v1.13.2 // indirect
214-
go.etcd.io/etcd/api/v3 v3.5.17 // indirect
215-
go.etcd.io/etcd/client/v3 v3.5.17 // indirect
216-
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.57.0 // indirect
217-
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.57.0 // indirect
218-
go.opentelemetry.io/otel v1.32.0 // indirect
219-
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.32.0 // indirect
220-
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.32.0 // indirect
221-
go.opentelemetry.io/otel/metric v1.32.0 // indirect
222-
go.opentelemetry.io/otel/sdk v1.32.0 // indirect
223-
go.opentelemetry.io/otel/trace v1.32.0 // indirect
213+
go.opentelemetry.io/auto/sdk v1.1.0 // indirect
214+
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.58.0 // indirect
215+
go.opentelemetry.io/otel v1.34.0 // indirect
216+
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.33.0 // indirect
217+
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.33.0 // indirect
218+
go.opentelemetry.io/otel/metric v1.34.0 // indirect
219+
go.opentelemetry.io/otel/sdk v1.33.0 // indirect
220+
go.opentelemetry.io/otel/trace v1.34.0 // indirect
224221
go.opentelemetry.io/proto/otlp v1.4.0 // indirect
225222
go.uber.org/atomic v1.11.0 // indirect
226-
golang.org/x/mod v0.22.0 // indirect
227-
golang.org/x/net v0.37.0
228-
golang.org/x/oauth2 v0.24.0 // indirect
229-
golang.org/x/sync v0.12.0 // indirect
230-
golang.org/x/sys v0.31.0 // indirect
231-
golang.org/x/term v0.30.0 // indirect
232-
golang.org/x/text v0.23.0
233-
golang.org/x/time v0.8.0 // indirect
223+
go.uber.org/automaxprocs v1.6.0 // indirect
224+
golang.org/x/mod v0.24.0 // indirect
225+
golang.org/x/net v0.39.0
226+
golang.org/x/oauth2 v0.29.0 // indirect
227+
golang.org/x/sync v0.13.0 // indirect
228+
golang.org/x/sys v0.32.0 // indirect
229+
golang.org/x/term v0.31.0 // indirect
230+
golang.org/x/text v0.24.0
231+
golang.org/x/time v0.11.0 // indirect
234232
google.golang.org/genproto/googleapis/api v0.0.0-20241209162323-e6fa225c2576 // indirect
235233
google.golang.org/genproto/googleapis/rpc v0.0.0-20241209162323-e6fa225c2576 // indirect
236-
google.golang.org/protobuf v1.35.2
234+
google.golang.org/protobuf v1.36.5
237235
gopkg.in/evanphx/json-patch.v4 v4.12.0 // indirect
238236
gopkg.in/inf.v0 v0.9.1 // indirect
239237
gopkg.in/warnings.v0 v0.1.2 // indirect
240238
gopkg.in/yaml.v2 v2.4.0
241-
k8s.io/apiextensions-apiserver v0.32.2
242-
k8s.io/apiserver v0.32.2
243-
k8s.io/component-base v0.32.2 // indirect
239+
k8s.io/apiextensions-apiserver v0.33.0
240+
k8s.io/apiserver v0.33.0
241+
k8s.io/component-base v0.33.0 // indirect
244242
k8s.io/klog/v2 v2.130.1 // indirect
245243
lukechampine.com/frand v1.4.2 // indirect
246244
oras.land/oras-go v1.2.5 // indirect
247-
sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.31.1 // indirect
248-
sigs.k8s.io/controller-runtime v0.18.4 // indirect
245+
sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.31.2 // indirect
246+
sigs.k8s.io/controller-runtime v0.20.4 // indirect
249247
sigs.k8s.io/json v0.0.0-20241014173422-cfa47c3a1cc8 // indirect
250-
sigs.k8s.io/structured-merge-diff/v4 v4.4.3
248+
sigs.k8s.io/randfill v1.0.0 // indirect
249+
sigs.k8s.io/structured-merge-diff/v4 v4.6.0
251250
)

0 commit comments

Comments
 (0)