Compare commits

...

94 Commits

Author SHA1 Message Date
Kubernetes Publisher
81042e1c53 Update dependencies to v0.37.0-alpha.1 tag 2026-06-11 04:15:20 +00:00
Kubernetes Publisher
cfe83ef28c Merge pull request #139435 from xigang/rename_informer_metrics
client-go: Rename FIFO metrics file to informer metrics

Kubernetes-commit: 2f2ec717505fc9f75ddb91e6a2a14cadf2b0d95c
2026-06-10 00:12:34 +00:00
Kubernetes Publisher
2fb3fa6ff2 Merge pull request #129331 from pohly/log-client-go-portforward
client-go portforward + apiserver proxy: structured, contextual logging

Kubernetes-commit: 42a9d604c239d13a76bb5a3c3beb1c01c4779c59
2026-06-09 16:12:45 +00:00
Kubernetes Publisher
c53b2772ec Merge pull request #137694 from Jefftree/client-go-throttle-err
client-go: return context error directly instead of wrapping as rate limiter error

Kubernetes-commit: 1fd96eb4bb023453099100f446393cab3f92c218
2026-06-08 20:09:17 +00:00
Kubernetes Publisher
0deb0beab3 Merge pull request #137988 from Jefftree/flake-fix
leaderelection: retry release on conflict from inflight renew

Kubernetes-commit: 6b364b1811ab7e9b3bc03a253b94fe6e18841d54
2026-06-06 03:35:59 +00:00
Kubernetes Publisher
6b1bbb2a13 Merge pull request #138488 from yliaog/master
DRA Extended Resource: promote to GA in 1.37

Kubernetes-commit: e0c1c5bd3d1896f9bb12b7881d84bcdc4bf0cf2b
2026-06-03 19:35:53 +00:00
Kubernetes Publisher
274207396a Merge pull request #139420 from dims/update-x-net-deps
Bump golang.org/x/net to HEAD for http2 configureServer ALPN fix

Kubernetes-commit: 5ffa4a018b34d0c0a438891cfe71834b10be4e0a
2026-06-02 19:35:09 +00:00
Davanum Srinivas
c637a8ce7e Bump golang.org/x/net to HEAD for http2 go1.27 wrap fixes
Updates golang.org/x/net to v0.55.1-0.20260602153038-42abb857022c to pick up
the go1.27 http2 "wrap" fixes:

- CL 782940 (golang/go#79642): configureServer registers the h2 and http/1.1
  ALPN protocols on s.TLSConfig.
- CL 785900 (golang/go#79778): ConfigureTransport/ConfigureTransports enable
  HTTP/2 on the transport and keep TLSClientConfig non-nil.

With both, the kube-apiserver secure-serving path and the client-go / apiserver
HTTP/2 clients negotiate HTTP/2 under go1.27 with no Kubernetes-side changes;
no workaround is needed.

Gerrit: https://go-review.googlesource.com/c/net/+/782940
Gerrit: https://go-review.googlesource.com/c/net/+/785900
Signed-off-by: Davanum Srinivas <davanum@gmail.com>

Kubernetes-commit: 544a4612cd73250f69e6a95f4b3de8b94112e594
2026-06-02 12:21:42 -04:00
xigang
0c1c0f1e14 client-go: Rename FIFO metrics file to informer metrics
Signed-off-by: xigang <wangxigang2014@gmail.com>

Kubernetes-commit: fe0cc1d829e10077f11895674e3ce021884a85bb
2026-06-02 17:37:52 +08:00
Kubernetes Publisher
5d252d37f7 Merge pull request #135925 from jianzhangbjz/painc
Docs: event cache key generation functions require non-nil inputs

Kubernetes-commit: 451b50df783cc381f15c9c2a35d2948a699c249a
2026-05-28 21:01:30 +00:00
Kubernetes Publisher
3f75409d2a Merge pull request #139190 from Kartavyasonar/doc-configmap-binarydata-env-limitation
doc: clarify ConfigMap BinaryData not propagated to container env vars

Kubernetes-commit: 0be5dabcdf90e7d997b3de06144d8959d0eab7cd
2026-05-28 01:01:26 +00:00
Kartavya Sonar
778155c88d doc: clarify ConfigMap BinaryData not propagated to container env vars
Kubernetes-commit: be38e73900fdb0a1128e83d41ed11d483284b538
2026-05-27 12:34:32 +00:00
Kubernetes Publisher
87f45e924f Merge pull request #138653 from adrianmoisey/hpa-generation-conditions
HPA: Set ObservedGeneration in HPA conditions

Kubernetes-commit: b094736530bf98e7d3d1c766c6c67064f1d56029
2026-05-26 17:51:49 +00:00
Kubernetes Publisher
a35c5f8f96 Merge pull request #139258 from dims/update-x-net-deps
Bump golang.org/x/net from v0.54.0 to v0.55.0

Kubernetes-commit: 6790dcf1f60d0528576a8665ef3a807c7951bb8f
2026-05-23 13:52:13 +00:00
Davanum Srinivas
3952f1d02a Bump golang.org/x/net from v0.54.0 to v0.55.0
Fixes ci-kubernetes-e2e-kind-golang-tip and ci-kubernetes-unit-golang-tip,
which started failing under Go tip identifying as go1.27 with:

  vendor/google.golang.org/grpc/internal/transport/handler_server.go:271:18:
      undefined: http2.TrailerPrefix

In x/net v0.54.0, TrailerPrefix was defined only in http2/server.go, which
carries `//go:build !(go1.27 && !http2legacy)` and is therefore excluded
under go1.27. Upstream golang/net commit 1efab4271a moved TrailerPrefix
(and other symbols accidentally dropped by the go1.27 server wrapper) into
common files. That fix is released in v0.55.0.

Tracked in https://github.com/kubernetes/kubernetes/issues/139257

Kubernetes-commit: d7c6b52ac4b6387d740af2fea7f1dd007d71c64c
2026-05-23 08:06:24 -04:00
Kubernetes Publisher
7b85db3954 Merge pull request #139248 from dims/bump-golang.org/x/crypto-to-v0.52.0
Bump golang.org/x/crypto to v0.52.0

Kubernetes-commit: f6442409ad90cdd4b4826571f409e59a07ceb070
2026-05-22 21:51:59 +00:00
Kubernetes Publisher
3772a3df68 Merge pull request #138572 from dom4ha/promote-workload-api-v1alpha3
Converts the DisruptionMode enum field to struct as v1alpha3 and drops v1alpha2

Kubernetes-commit: 901087fb35049e1a7d115fd0c9d8586399468615
2026-05-22 21:51:57 +00:00
Kubernetes Publisher
c39cf12e43 Merge pull request #138287 from adrianmoisey/fix-typo
Fix typo on WaitForCacheSync comment

Kubernetes-commit: 65c1c32a9b221ce2fc13b91295691ca7e2257587
2026-05-22 21:51:53 +00:00
Davanum Srinivas
f8dcfdcb70 Bump golang.org/x/crypto to v0.52.0
Kubernetes-commit: 17a8f4f5c041b13b7ae5bff4a40a4f37fff13d51
2026-05-22 12:13:09 -04:00
Kubernetes Publisher
0328c36dee Merge pull request #137103 from arcceus/api-linter-apps-optionalorrequired
Enables the optionalorrequired linter for the apps API group

Kubernetes-commit: e136f39334a72b7d35069a97d373ccaa0211dcae
2026-05-22 01:51:13 +00:00
Kubernetes Publisher
d584c96c7a Merge pull request #136847 from liyuerich/commentstartautoscaling
enable commentstart check on autoscaling API group

Kubernetes-commit: 323e89513a2083dcb41e55762c1c9ee666dbe73b
2026-05-21 21:53:51 +00:00
Kubernetes Publisher
32e59e0509 Merge pull request #137852 from aojea/patch-6
Update OWNERS file to keep it up to date

Kubernetes-commit: 0388b43509233b9b4744200065d31ad1ae734419
2026-05-20 10:45:52 +00:00
Kubernetes Publisher
26991d8106 Merge pull request #139173 from Jefftree/bump-kube-openapi-bbf5c5577288
Bump kube-openapi to latest

Kubernetes-commit: 9bad8d66e7ff3d8fe2a0a23d68d560e9fdd34933
2026-05-19 22:46:11 +00:00
Jefftree
d89f2c0a74 Bump k8s.io/kube-openapi to bbf5c5577288
TAG=agy

CONV=c2ce531b-5959-4834-9544-afc09a93f52f

Kubernetes-commit: c52952f80ceffcf9123d63c0a8377b825b02fcc2
2026-05-19 20:35:22 +00:00
Kubernetes Publisher
88581e025b Merge pull request #138103 from adri1197/client-go-event-annotations
events: add AnnotatedEventRecorder interface into internal/events

Kubernetes-commit: f529c91dda103b71aef86a1ec5e41e3df720b8f9
2026-05-19 14:45:38 +00:00
Kubernetes Publisher
bdc99a38a9 Merge pull request #139143 from michaelasp/informerStoreFix
Fix informer store setting store version to noop

Kubernetes-commit: 0cf3c17f479853fe24b6b7ddaf05528747929fa3
2026-05-19 02:45:04 +00:00
Michael Aspinwall
6a38c1c8a4 Fix nil check for store metrics
Kubernetes-commit: e50a7f3dbc18bfcd0cd0179bfb65e03fedcc331e
2026-05-18 18:19:58 +00:00
dom4ha
81cba8bc15 Convert DisruptionMode from enum to struct
Kubernetes-commit: 72d770c6793550109883d9bab2f0a7d53d11a3f6
2026-05-18 14:12:20 +00:00
Kubernetes Publisher
9dfd0befa6 Merge pull request #138260 from liggitt/inline-json
use `json:""` consistently for inlined fields

Kubernetes-commit: 12484ce715d4c2030d894ebb2841e2cb027db7d0
2026-05-13 18:45:48 +00:00
dom4ha
c86813f4ba Remove v1alpha2 API definitions
Update client-go lister and informer imports to v1alpha3

Kubernetes-commit: 88948acc38c40c683c5d545aa14282885c6c2acb
2026-04-24 10:43:23 +00:00
dom4ha
ebcde46dda Add generated files for v1alpha3
Run code generation for v1alpha3

Kubernetes-commit: 6404ddc2b783e70ea9fbd5f019b282ec754a79a4
2026-04-27 08:30:14 +00:00
yliao
897ceddac2 promotion to GA (stable)
Kubernetes-commit: f28571781bc9bb76ed0cdb4e8ba759631503faa2
2026-04-20 20:06:27 +00:00
Adrian Moisey
927e750b6c Set generation condition for HPA
Kubernetes-commit: 8a31943e79107effe0495ea58081ade437bf47ba
2026-04-16 19:43:43 +02:00
arcceus
c6f16b36a1 revert WhenDeleted/WhenScaled to +optional
Kubernetes-commit: 012fc1b844c6be1d45a6f169f6344864dee4e8d3
2026-04-09 23:28:05 +05:30
Adrian Moisey
dcac84bd05 ./hack/update-codegen.sh
Kubernetes-commit: 0c3df692c41d185b3b7ac4e70f89fa95276f7492
2026-04-09 10:44:48 +02:00
Jordan Liggitt
06945f2b0e switch tag Get("json") to Lookup("json")
Kubernetes-commit: ef2e578f14fe666eb8a7296ea19f8284c1df5e7b
2026-04-07 18:12:54 -04:00
Jordan Liggitt
a16e1bb854 Drop meaningless ,inline from json tags
Kubernetes-commit: bed4a34ad8901d9a01efcb9594838f96ec9d4563
2026-04-07 13:30:08 -04:00
Jordan Liggitt
ef5f95859e Bump sigs.k8s.io/structured-merge-diff/v6
Kubernetes-commit: 8a5c4d9d58739782de5b142c77d08d8fb459372c
2026-04-14 14:27:54 -04:00
Kubernetes Publisher
14ef437cc6 Merge pull request #139001 from jpbetz/bump-kube-openapi-for-revert
Bump kube-openapi to pick up #609

Kubernetes-commit: 34e600ec497ff6bd81a0c6c98b0f764900fa2643
2026-05-13 02:45:26 +00:00
Joe Betz
f49c3b763f Bump kube-openapi to pick up API Definitions revert
Kubernetes-commit: 89549643b89eefccefdf1d30bb328e74914614c9
2026-05-12 11:09:49 -04:00
Kubernetes Publisher
11948c1336 Merge pull request #138657 from jpbetz/codegen-discovery
Enable validation-gen for all existing and future APIs

Kubernetes-commit: 553312e6c22a6a9c176f5530a18691c7f03b126d
2026-05-12 22:44:53 +00:00
Joe Betz
63b2f68438 Explicitly disable validation-gen where not needed
Kubernetes-commit: 9d65aeabb631d387ef1da15c0765eb8e297fb6aa
2026-05-07 17:49:35 -04:00
Kubernetes Publisher
ca52b81a29 Merge pull request #138931 from Jefftree/bump-kube-openapi
Bump kube-openapi to latest

Kubernetes-commit: 50bda3a6bf90bfa8157522cda5e91ffb0194f92f
2026-05-09 20:51:01 +00:00
Jefftree
c2ce71e1e5 Bump kube-openapi to 312035bf509b
Kubernetes-commit: 58400287bc6f58e228d5cecb798b04f2710ad7cc
2026-05-09 12:04:54 -04:00
Kubernetes Publisher
0582d760ec Merge pull request #138271 from Jefftree/remove-agg-v2beta1
Remove v2beta1 aggregated discovery support from clients

Kubernetes-commit: 5ad5004d594a97495d6005513787a54b5aa2972b
2026-05-07 20:50:23 +00:00
Kubernetes Publisher
0a31f6e5eb Merge pull request #138759 from soltysh/drop_job_features
Drop job features

Kubernetes-commit: af6d86c7cc933ce1ff7159bad1eceaf9a60144e3
2026-05-07 16:50:18 +00:00
Kubernetes Publisher
24705f39ff Merge pull request #138819 from skitt/goyaml-yaml-v2.4.4
Bump go.yaml.in/yaml/v2 to 2.4.4

Kubernetes-commit: 43fe7b425091a6581e0f6777ef89a215e229eebb
2026-05-06 20:50:28 +00:00
Stephen Kitt
f2e82a9540 Bump go.yaml.in/yaml/v2 to 2.4.4
This only changes tests to drop gopkg.in/check.v1, which helps our
dependency tree a little.

Signed-off-by: Stephen Kitt <skitt@redhat.com>

Kubernetes-commit: edf0df348c217271f4ed7acee3b436c27e71df88
2026-05-06 18:24:52 +02:00
Kubernetes Publisher
d7e05a3637 Merge pull request #138786 from dims/update-x-packages
Update golang.org/x/* dependencies

Kubernetes-commit: 5d6e917ac112bf7f2b139da77c2e765784473bb2
2026-05-06 00:50:27 +00:00
Davanum Srinivas
818cfeb954 Update golang.org/x/* dependencies
- golang.org/x/exp: 944ab1f22d93 -> 746e56fc9e2f
- golang.org/x/mod: v0.34.0 -> v0.35.0
- golang.org/x/oauth2: v0.35.0 -> v0.36.0
- golang.org/x/time: v0.14.0 -> v0.15.0
- golang.org/x/tools: v0.43.0 -> v0.44.0

Signed-off-by: Davanum Srinivas <davanum@gmail.com>

Kubernetes-commit: 4b0e01df008f9f44bab98b0712ede29fdb6f4ccb
2026-05-05 07:22:08 -04:00
Kubernetes Publisher
535f2d0806 Merge pull request #138722 from qflen/fix/mountpath-doc-colon-129453
Fix v1.VolumeMount.MountPath doc to match validator (allow ':')

Kubernetes-commit: 209d50cef164494dc18586aca0bd082914e677ab
2026-05-04 20:50:03 +00:00
Kubernetes Publisher
14ae5b45e1 Merge pull request #138741 from dims/update-kube-openapi
bump k8s.io/kube-openapi to v0.0.0-20260502001324-b7f5293f4787

Kubernetes-commit: 0fe8ee192270e99e222cf04fb6492a4c584690eb
2026-05-04 20:50:00 +00:00
Maciej Szulik
e7adb43e4b Generated changes
Signed-off-by: Maciej Szulik <soltysh@gmail.com>

Kubernetes-commit: 978f5741d81a448fd7e4339e5ca99c8c75c92862
2026-05-04 16:45:18 +02:00
Davanum Srinivas
47b7dd6ca6 bump k8s.io/kube-openapi to v0.0.0-20260502001324-b7f5293f4787
Updates k8s.io/kube-openapi across all staging modules and vendors the new
revision. Key changes upstream:

- builder/openapi.go, builder3/openapi.go: use common.EscapeJsonPointer()
  when keying definition names into swagger.Definitions / spec.Components.Schemas,
  fixing incorrect lookups for types whose names contain JSON-Pointer-reserved
  characters (e.g. '/', '~').

- pkg/generators/apidefinitions/loader.go (new): LoadAPIVersion() reads an
  apiversion.yaml from a source-tree directory and validates its TypeMeta,
  providing a declarative way to describe API versions in-tree.

- pkg/generators/apidefinitions/types.go (new): APIVersion type that carries
  the schemeGroupVersion / kindAPIVersion metadata consumed by the loader.

- pkg/generators/config.go, openapi.go, model_names.go: minor generator
  improvements accompanying the apidefinitions loader addition.

- pkg/generators/rules/list_type_streaming_tags.go: streaming-tag rule fix.

- pkg/schemaconv/openapi.go, proto_models.go: schema conversion cleanups.

- pkg/validation/validate/result.go: validation result cleanup.

Previous version: v0.0.0-20260317180543-43fb72c5454a
New version:      v0.0.0-20260502001324-b7f5293f4787

Kubernetes-commit: eaf347cecb168ee85fc77ffc9a5cda4eb99ce1ca
2026-05-01 20:50:32 -04:00
Kimon N
b46a0c233f Fix v1.VolumeMount.MountPath doc to match validator (allow ':')
The v1.VolumeMount.MountPath doc claims the path must not contain
':', but the validator does not enforce this. The internal type in
pkg/apis/core/types.go carries no such constraint, and existing
TestValidateVolumeMounts success cases use mountPath values like "d:",
"F:", and "G:\mount".

This is a doc-only change. The validator is unchanged; the public doc
now matches what the validator actually accepts. Regenerated proto and
openapi snapshots to propagate the doc update.

Signed-off-by: Kimon N. <nkimon00@gmail.com>

Kubernetes-commit: 6691ecaf2f5ce3076f3c61eca5355cc99535d1bd
2026-04-30 22:51:30 +02:00
Kubernetes Publisher
98a97d3bea Merge pull request #136709 from gzb1128/dra-cel-no-such-key-error-enhancement
DRA: improve CEL error message for "no such key" errors

Kubernetes-commit: c485ef21ab23ba1a244b2c9843868f1a6da54060
2026-04-29 19:15:56 +00:00
Kubernetes Publisher
224d0b9220 Merge pull request #138576 from p0lyn0mial/upstream-reflector-list-trace-obj-count
client-go/reflector: Add object count to reflector "Objects listed" trace step

Kubernetes-commit: 5ce17ed71b124a8c89414f929a58d536e008cce7
2026-04-28 11:16:22 +00:00
Kubernetes Publisher
f854ec26d2 Merge pull request #138340 from pacoxu/bump-unwanted
bump stretchr/objx to v0.5.3

Kubernetes-commit: ef1853d811fb004f24e73494b1753b7beb977390
2026-04-27 19:13:58 +00:00
Paco Xu
d0e1111cfa bump github.com/stretchr/objx to v0.5.3
Kubernetes-commit: 8730b0ebc99d0554e318138d2c83370a6bdef12c
2026-04-27 14:59:42 +08:00
Kubernetes Publisher
fbda1bea62 Merge pull request #138573 from dims/update-go-openapi-deps-rebase
Update go-openapi dependencies (jsonpointer, jsonreference, swag)

Kubernetes-commit: e9b95827ebf963f7bab0a1a8ddd90e408858c892
2026-04-26 03:13:14 +00:00
Kubernetes Publisher
34c8061b60 Merge pull request #138393 from humblec/bump-etcd-sdk-3.6.10
etcd: bump etcd sdk to v3.6.10

Kubernetes-commit: e1cf06b9b41f3534fd1ce475a18ef20d46e8f876
2026-04-25 15:17:53 +00:00
Humble Devassy Chirammal
cb70ef072c etcd: bump etcd sdk to v3.6.10
Bump go.etcd.io/etcd/{api,client/pkg,client,pkg,server}/v3 from v3.6.8 to v3.6.10.
go.etcd.io/etcd/raft/v3 is intentionally left unchanged (separate release cadence).

Signed-off-by: Humble Devassy Chirammal <humble.devassy@gmail.com>

Kubernetes-commit: 15492a41ed637237cf1891ef140544f64197643d
2026-04-25 09:08:49 +05:30
Kubernetes Publisher
9c68566d66 Merge pull request #138295 from kencochrane/retrywatcher-downgrade-410-gone-log
client-go/tools/watch: downgrade 410 Gone error to V(4) debug log in RetryWatcher

Kubernetes-commit: 301946d15e67a4a2e8a5fb8292eb836acd366d78
2026-04-24 19:14:37 +00:00
Lukasz Szaszkiewicz
768b463699 client-go/reflector: add object count to "Objects listed" trace step
Kubernetes-commit: c83716b7885647e089cd44f74090caaf95da7be6
2026-04-24 16:40:12 +02:00
Davanum Srinivas
236db84a02 Update go-openapi dependencies (jsonpointer, jsonreference, swag)
Bump go-openapi dependencies to latest versions:
- github.com/go-openapi/jsonpointer v0.21.0 → v0.22.4
- github.com/go-openapi/jsonreference v0.20.2 → v0.21.4
- github.com/go-openapi/swag v0.23.0 → v0.25.4

The new swag version has been restructured into a multi-module monorepo
with submodules (cmdutils, conv, fileutils, jsonname, jsonutils, loading,
mangling, netutils, stringutils, typeutils, yamlutils). As a result:
- mailru/easyjson and josharian/intern are no longer transitive deps
  and have been removed from vendor
- go-openapi/jsonpointer and go-openapi/swag no longer reference
  unwanted deps davecgh/go-spew, mailru/easyjson, or gopkg.in/yaml.v3
- Updated hack/unwanted-dependencies.json accordingly

Signed-off-by: Davanum Srinivas <davanum@gmail.com>

Kubernetes-commit: 693dc57f5753ce69f7d3f49f26bfefc9554e47e6
2026-04-24 08:13:31 -04:00
Kubernetes Publisher
5834c79c33 Merge pull request #138562 from dims/update-cbor-dep
Update github.com/fxamacker/cbor/v2 to v2.9.1

Kubernetes-commit: 6e4605d14e04ea9681b6dd6b5729c788e28e89b7
2026-04-24 11:13:58 +00:00
Kubernetes Publisher
1f2893e611 Merge pull request #138561 from dims/update-xnet-dep
Update golang.org/x/net to v0.53.0

Kubernetes-commit: 1f22abeebcb4e1ecae2f3dbcf3f0cd747ecfb3d6
2026-04-24 11:13:55 +00:00
Davanum Srinivas
ab9883c3cd Update github.com/fxamacker/cbor/v2 to v2.9.1
Parser hardening for the kube-apiserver CBOR deserializer (PRs #750,
#753, #757): fixes tag-1 epoch float64 overflow into time.Time fields
(directly reachable via DecTagOptional decode path), RawMessage clone
defense, and keyasint type-confusion fixes.

Kubernetes-commit: dc29a934e460eb29130de6724787ca1b677e31e0
2026-04-23 21:43:02 -04:00
Davanum Srinivas
e584095d82 Update golang.org/x/net to v0.53.0
Fixes CVE-2026-33814 (golang/go#78476): HTTP/2 Transport hangs
indefinitely when a peer sends a SETTINGS frame with MaxFrameSize=0.
This is reachable from kube-apiserver's OIDC, admission webhook,
and aggregated API client paths.

Kubernetes-commit: 12a2470693d86f63f4614048ffdd43dc393dd7e0
2026-04-23 21:36:05 -04:00
Ken Cochrane
fd78cbf903 client-go/tools/watch: downgrade 410 Gone error to V(4) debug log in RetryWatcher
Also check apierrors.IsResourceExpired in addition to IsGone.

Kubernetes-commit: 08e07a914281cda80b8541b444b6d6f1f8e754e2
2026-04-23 18:23:46 -04:00
Kubernetes Publisher
af852a6051 Merge pull request #138192 from skitt/otel-1.42
Bump otel to 1.43.0 and contrib to 0.68.0

Kubernetes-commit: 5ed1fd971d594a3cda7f7e26cd037e8be37f520f
2026-04-23 18:47:31 +00:00
Jefftree
d59f4e8465 Remove aggregated discovery v2beta1 client-side references
Kubernetes-commit: 6d48f50dcf41c11c72f511ca51b5aa8b580782af
2026-04-08 10:44:27 -04:00
Stephen Kitt
54edeb4bfe Bump otel to 1.43.0 and contrib to 0.68.0
See
https://github.com/open-telemetry/opentelemetry-go/releases/tag/v1.41.0
https://github.com/open-telemetry/opentelemetry-go/releases/tag/v1.42.0
https://github.com/open-telemetry/opentelemetry-go/releases/tag/v1.43.0
and
https://github.com/open-telemetry/opentelemetry-go-contrib/releases/tag/v1.41.0
https://github.com/open-telemetry/opentelemetry-go-contrib/releases/tag/v1.42.0
https://github.com/open-telemetry/opentelemetry-go-contrib/releases/tag/v1.43.0
for details.

otelgrpc no longer produces "messages" span events so these are
removed from the tracing test.

Signed-off-by: Stephen Kitt <skitt@redhat.com>

Kubernetes-commit: 1a63916abee48d6356fbc2e6965433647e6cf073
2026-04-03 10:10:53 +02:00
Kubernetes Publisher
3273f3d7b7 Merge pull request #135708 from michaelschiff/informer-generated-docs
informer-gen generated comments reference non-existent method

Kubernetes-commit: 88bf9c97c4285de0d83e227159a9698015b3927e
2026-04-23 10:26:23 +00:00
Kubernetes Publisher
9dcacd934a Merge pull request #138070 from Jefftree/deprecate-multilock
Deprecate MultiLock in client-go leader election

Kubernetes-commit: cb9696a5c4ab8a45a741ef76017a38e31d6a010e
2026-04-23 02:24:21 +00:00
Kubernetes Publisher
f596361399 Merge pull request #135336 from carlory/clean-AnyVolumeDataSource
[1.37] Remove feature gate AnyVolumeDataSource

Kubernetes-commit: cbd6fe51c906f32ebbaa5970e449264470965e6f
2026-04-22 22:26:57 +00:00
Kubernetes Publisher
3c8a6967ba Merge pull request #138354 from dims/update-moby-spdystream-v0.5.1
Update github.com/moby/spdystream from v0.5.0 to v0.5.1

Kubernetes-commit: 02b979213695b4e3d707ceb5a79095ae7d81b7a0
2026-04-14 14:38:51 +00:00
Davanum Srinivas
6e6322efd1 Update github.com/moby/spdystream from v0.5.0 to v0.5.1
Kubernetes-commit: 7e9c2c8eef26f99aa2f94d8e09d6d32de86c7769

Kubernetes-commit: f6209104d25a6c0ea7605a73b9ec4085aacbca03
2026-04-13 13:57:52 -04:00
Adrian Fernandez De La Torre
e86b6659d9 events: add AnnotatedEventRecorder interface
Add a separate AnnotatedEventRecorder interface with an AnnotatedEventf
method that allows attaching annotations to events at creation time.
Implement it in recorderImpl, FakeRecorder, and EventRecorderAdapter.

Add a Verbose option to FakeRecorder that optionally includes action,
object kind/apiVersion, and annotations in event output. The default
format is unchanged.

Signed-off-by: Adrian Fernandez De La Torre <adri1197@gmail.com>

Kubernetes-commit: 31fe350b2b2065b49752adb4f68f1ea1c282058e
2026-03-30 15:43:47 +02:00
Jefftree
53b6fdc0a0 Deprecate MultiLock, UnknownLeader, and ConcatRawRecord in client-go leader election
Kubernetes-commit: 875a572f25bb7da59ccaf487d889658a10448a63
2026-03-27 15:06:39 -04:00
Jefftree
898f48977a client-go: use errors.Is for context errors in tryThrottleWithInfo
Kubernetes-commit: 9cde416114a98056b546a0b0132b11c882c8aa13
2026-03-27 13:20:02 -04:00
Kubernetes Publisher
b5cc94ef3b Merge pull request #136589 from tosi3k/preemption-mode
Add Workload-Aware Preemption fields to Workload and PodGroup APIs

Kubernetes-commit: c1ebc2c3e2f6aa1e4a5f8be5e2f78763d0da29eb
2026-03-24 11:02:08 +00:00
gzb1128
6fd7c180ef DRA: add hint for CEL "no such key" errors
When CEL expressions access non-existent map keys, add a helpful hint
suggesting optional chaining (.? followed by orValue()) or has() macro.

Kubernetes-commit: 5e2d5b9a621109bd89f2dbc4092e0123ab500c85
2026-03-24 16:09:26 +08:00
Jefftree
1b1630d32a leaderelection: retry release on conflict from inflight renew
Kubernetes-commit: 2bde6b664a167dd7352476f69cb9da03c5461b40
2026-03-23 21:25:05 -04:00
Antonio Ojea
c7b98b2ab5 Update OWNERS file to keep it up to day
clean up and update the OWNERS files under client-go so people that
is no longer active is moved to emeritus.

Kubernetes-commit: d4913ecba2f3c426257515c1de6c668d21ea7079
2026-03-18 17:01:42 +01:00
Jefftree
1de307a3cf client-go: return context error directly instead of wrapping as rate limiter error
Kubernetes-commit: f6fdd040225b125f425568a5ac558a909a576e41
2026-03-12 23:21:30 -04:00
Antoni Zawodny
1f6e0f4541 Add Workload-Aware Preemption fields to Workload and PodGroup APIs
Co-authored-by: Omar Sayed <omarsayed@google.com>

Kubernetes-commit: 59c9f75133f22ed24e944cf0b8a1a68e1c49af32
2026-03-12 17:25:06 +01:00
arcceus
729f9aeb66 addressing review comments
Kubernetes-commit: 383b22767c114c1231c06779374743594f6c2e5e
2026-03-11 01:08:24 +05:30
michaelschiff
71d7d2af1e run ./hack/udpate-codegen.sh
Kubernetes-commit: f4b14448e917dc384e071329c400b747eba77995
2026-02-13 11:53:32 -08:00
liyuerich
fcb4eb8245 enable commentstart check on autoscaling API group
Signed-off-by: liyuerich <yue.li@daocloud.io>

Kubernetes-commit: ba3d29dbcf3f466ea8922d254870007b05958da3
2026-02-09 11:39:46 +08:00
Jian Zhang
cca86bddbd Add documentation for non-nil event requirement in cache key functions
Signed-off-by: Jian Zhang <jiazha@redhat.com>

Kubernetes-commit: 7035a837b5c5de89fc4fb41c8878ae1657695c60
2025-12-24 12:38:39 +08:00
carlory
6a81dca7e6 run make update
Signed-off-by: carlory <baofa.fan@daocloud.io>

Kubernetes-commit: 95460ea1f897a497d01641986e38cb56b5565bed
2025-11-18 17:35:11 +08:00
carlory
333a3455d5 Remove feature gate AnyVolumeDataSource
Signed-off-by: carlory <baofa.fan@daocloud.io>

Kubernetes-commit: 9a1b8cbe492cae9943160c5eaeba7b3caf1cf7c5
2025-11-18 17:26:20 +08:00
Patrick Ohly
23c1f4e30f client-go portforward + apiserver proxy: structured, contextual logging
When debugging, it helps to keep output from different connections
separate. This can be done with contextual logging and using different loggers
for each connection.

Cancellation is handled separately for requests. Therefore the new APIs only
add support for passing a logger instance.

Kubernetes-commit: a325a4223395dfa71005b8e5dd8ea60bd91d9329
2024-12-04 15:21:11 +01:00
271 changed files with 1307 additions and 2336 deletions

5
OWNERS
View File

@@ -2,7 +2,6 @@
approvers:
- aojea
- caesarxuchao
- deads2k
- liggitt
- smarterclayton
@@ -12,8 +11,6 @@ approvers:
- enj
reviewers:
- aojea
- apelisse
- caesarxuchao
- deads2k
- jpbetz
- liggitt
@@ -27,4 +24,6 @@ reviewers:
labels:
- sig/api-machinery
emeritus_approvers:
- apelisse
- caesarxuchao
- lavalamp

View File

@@ -1,6 +1,7 @@
# See the OWNERS docs at https://go.k8s.io/owners
approvers:
- apelisse
- jpbetz
- api-approvers
emeritus_approvers:
- apelisse

View File

@@ -32,7 +32,7 @@ import (
//
// MutatingAdmissionPolicy describes the definition of an admission mutation policy that mutates the object coming into admission chain.
type MutatingAdmissionPolicyApplyConfiguration struct {
metav1.TypeMetaApplyConfiguration `json:",inline"`
metav1.TypeMetaApplyConfiguration `json:""`
// metadata is the standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
// spec defines the desired behavior of the MutatingAdmissionPolicy.

View File

@@ -42,7 +42,7 @@ import (
// Adding/removing policies, bindings, or params can not affect whether a
// given (policy, binding, param) combination is within its own CEL budget.
type MutatingAdmissionPolicyBindingApplyConfiguration struct {
metav1.TypeMetaApplyConfiguration `json:",inline"`
metav1.TypeMetaApplyConfiguration `json:""`
// metadata is the standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
// spec defines the desired behavior of the MutatingAdmissionPolicyBinding.

View File

@@ -32,7 +32,7 @@ import (
//
// MutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object.
type MutatingWebhookConfigurationApplyConfiguration struct {
metav1.TypeMetaApplyConfiguration `json:",inline"`
metav1.TypeMetaApplyConfiguration `json:""`
// metadata is the standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
// webhooks is a list of webhooks and the affected resources and operations.

View File

@@ -30,7 +30,7 @@ type NamedRuleWithOperationsApplyConfiguration struct {
// resourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
ResourceNames []string `json:"resourceNames,omitempty"`
// RuleWithOperations is a tuple of Operations and Resources.
RuleWithOperationsApplyConfiguration `json:",inline"`
RuleWithOperationsApplyConfiguration `json:""`
}
// NamedRuleWithOperationsApplyConfiguration constructs a declarative configuration of the NamedRuleWithOperations type for use with

View File

@@ -35,7 +35,7 @@ type RuleWithOperationsApplyConfiguration struct {
Operations []admissionregistrationv1.OperationType `json:"operations,omitempty"`
// Rule is embedded, it describes other criteria of the rule, like
// APIGroups, APIVersions, Resources, etc.
RuleApplyConfiguration `json:",inline"`
RuleApplyConfiguration `json:""`
}
// RuleWithOperationsApplyConfiguration constructs a declarative configuration of the RuleWithOperations type for use with

View File

@@ -32,7 +32,7 @@ import (
//
// ValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it.
type ValidatingAdmissionPolicyApplyConfiguration struct {
metav1.TypeMetaApplyConfiguration `json:",inline"`
metav1.TypeMetaApplyConfiguration `json:""`
// metadata is the standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
// spec defines the desired behavior of the ValidatingAdmissionPolicy.

View File

@@ -42,7 +42,7 @@ import (
// Adding/removing policies, bindings, or params can not affect whether a
// given (policy, binding, param) combination is within its own CEL budget.
type ValidatingAdmissionPolicyBindingApplyConfiguration struct {
metav1.TypeMetaApplyConfiguration `json:",inline"`
metav1.TypeMetaApplyConfiguration `json:""`
// metadata is the standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
// spec defines the desired behavior of the ValidatingAdmissionPolicyBinding.

View File

@@ -32,7 +32,7 @@ import (
//
// ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it.
type ValidatingWebhookConfigurationApplyConfiguration struct {
metav1.TypeMetaApplyConfiguration `json:",inline"`
metav1.TypeMetaApplyConfiguration `json:""`
// metadata is the standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
// webhooks is a list of webhooks and the affected resources and operations.

View File

@@ -32,7 +32,7 @@ import (
//
// MutatingAdmissionPolicy describes the definition of an admission mutation policy that mutates the object coming into admission chain.
type MutatingAdmissionPolicyApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:",inline"`
v1.TypeMetaApplyConfiguration `json:""`
// metadata is the standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
// spec defines the desired behavior of the MutatingAdmissionPolicy.

View File

@@ -42,7 +42,7 @@ import (
// Adding/removing policies, bindings, or params can not affect whether a
// given (policy, binding, param) combination is within its own CEL budget.
type MutatingAdmissionPolicyBindingApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:",inline"`
v1.TypeMetaApplyConfiguration `json:""`
// metadata is the standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
// spec defines the desired behavior of the MutatingAdmissionPolicyBinding.

View File

@@ -31,7 +31,7 @@ type NamedRuleWithOperationsApplyConfiguration struct {
// resourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
ResourceNames []string `json:"resourceNames,omitempty"`
// RuleWithOperations is a tuple of Operations and Resources.
v1.RuleWithOperationsApplyConfiguration `json:",inline"`
v1.RuleWithOperationsApplyConfiguration `json:""`
}
// NamedRuleWithOperationsApplyConfiguration constructs a declarative configuration of the NamedRuleWithOperations type for use with

View File

@@ -32,7 +32,7 @@ import (
//
// ValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it.
type ValidatingAdmissionPolicyApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:",inline"`
v1.TypeMetaApplyConfiguration `json:""`
// metadata is the standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
// spec defines the desired behavior of the ValidatingAdmissionPolicy.

View File

@@ -42,7 +42,7 @@ import (
// Adding/removing policies, bindings, or params can not affect whether a
// given (policy, binding, param) combination is within its own CEL budget.
type ValidatingAdmissionPolicyBindingApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:",inline"`
v1.TypeMetaApplyConfiguration `json:""`
// metadata is the standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
// spec defines the desired behavior of the ValidatingAdmissionPolicyBinding.

View File

@@ -32,7 +32,7 @@ import (
//
// MutatingAdmissionPolicy describes the definition of an admission mutation policy that mutates the object coming into admission chain.
type MutatingAdmissionPolicyApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:",inline"`
v1.TypeMetaApplyConfiguration `json:""`
// metadata is the standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
// spec defines the desired behavior of the MutatingAdmissionPolicy.

View File

@@ -42,7 +42,7 @@ import (
// Adding/removing policies, bindings, or params can not affect whether a
// given (policy, binding, param) combination is within its own CEL budget.
type MutatingAdmissionPolicyBindingApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:",inline"`
v1.TypeMetaApplyConfiguration `json:""`
// metadata is the standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
// spec defines the desired behavior of the MutatingAdmissionPolicyBinding.

View File

@@ -33,7 +33,7 @@ import (
// MutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object.
// Deprecated in v1.16, planned for removal in v1.19. Use admissionregistration.k8s.io/v1 MutatingWebhookConfiguration instead.
type MutatingWebhookConfigurationApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:",inline"`
v1.TypeMetaApplyConfiguration `json:""`
// metadata is the standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
// webhooks is a list of webhooks and the affected resources and operations.

View File

@@ -31,7 +31,7 @@ type NamedRuleWithOperationsApplyConfiguration struct {
// resourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
ResourceNames []string `json:"resourceNames,omitempty"`
// RuleWithOperations is a tuple of Operations and Resources.
v1.RuleWithOperationsApplyConfiguration `json:",inline"`
v1.RuleWithOperationsApplyConfiguration `json:""`
}
// NamedRuleWithOperationsApplyConfiguration constructs a declarative configuration of the NamedRuleWithOperations type for use with

View File

@@ -32,7 +32,7 @@ import (
//
// ValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it.
type ValidatingAdmissionPolicyApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:",inline"`
v1.TypeMetaApplyConfiguration `json:""`
// metadata is the standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
// spec defines the desired behavior of the ValidatingAdmissionPolicy.

View File

@@ -42,7 +42,7 @@ import (
// Adding/removing policies, bindings, or params can not affect whether a
// given (policy, binding, param) combination is within its own CEL budget.
type ValidatingAdmissionPolicyBindingApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:",inline"`
v1.TypeMetaApplyConfiguration `json:""`
// metadata is the standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
// spec defines the desired behavior of the ValidatingAdmissionPolicyBinding.

View File

@@ -33,7 +33,7 @@ import (
// ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it.
// Deprecated in v1.16, planned for removal in v1.19. Use admissionregistration.k8s.io/v1 ValidatingWebhookConfiguration instead.
type ValidatingWebhookConfigurationApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:",inline"`
v1.TypeMetaApplyConfiguration `json:""`
// metadata is the standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
// webhooks is a list of webhooks and the affected resources and operations.

View File

@@ -32,7 +32,7 @@ import (
//
// Storage version of a specific resource.
type StorageVersionApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:",inline"`
v1.TypeMetaApplyConfiguration `json:""`
// metadata is the standard object metadata.
// The name is <group>.<resource>.
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`

View File

@@ -41,7 +41,7 @@ import (
// it may be subject to name and representation changes in future releases, and clients should not
// depend on its stability. It is primarily for internal use by controllers.
type ControllerRevisionApplyConfiguration struct {
metav1.TypeMetaApplyConfiguration `json:",inline"`
metav1.TypeMetaApplyConfiguration `json:""`
// Standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`

View File

@@ -32,7 +32,7 @@ import (
//
// DaemonSet represents the configuration of a daemon set.
type DaemonSetApplyConfiguration struct {
metav1.TypeMetaApplyConfiguration `json:",inline"`
metav1.TypeMetaApplyConfiguration `json:""`
// Standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`

View File

@@ -32,7 +32,7 @@ import (
//
// Deployment enables declarative updates for Pods and ReplicaSets.
type DeploymentApplyConfiguration struct {
metav1.TypeMetaApplyConfiguration `json:",inline"`
metav1.TypeMetaApplyConfiguration `json:""`
// Standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`

View File

@@ -32,7 +32,7 @@ import (
//
// ReplicaSet ensures that a specified number of pod replicas are running at any given time.
type ReplicaSetApplyConfiguration struct {
metav1.TypeMetaApplyConfiguration `json:",inline"`
metav1.TypeMetaApplyConfiguration `json:""`
// If the Labels of a ReplicaSet are empty, they are defaulted to
// be the same as the Pod(s) that the ReplicaSet manages.
// Standard object's metadata.

View File

@@ -38,7 +38,7 @@ import (
// The StatefulSet guarantees that a given network identity will always
// map to the same storage identity.
type StatefulSetApplyConfiguration struct {
metav1.TypeMetaApplyConfiguration `json:",inline"`
metav1.TypeMetaApplyConfiguration `json:""`
// Standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`

View File

@@ -43,7 +43,7 @@ import (
// it may be subject to name and representation changes in future releases, and clients should not
// depend on its stability. It is primarily for internal use by controllers.
type ControllerRevisionApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:",inline"`
v1.TypeMetaApplyConfiguration `json:""`
// Standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`

View File

@@ -34,7 +34,7 @@ import (
// more information.
// Deployment enables declarative updates for Pods and ReplicaSets.
type DeploymentApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:",inline"`
v1.TypeMetaApplyConfiguration `json:""`
// Standard object metadata.
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
// Specification of the desired behavior of the Deployment.

View File

@@ -40,7 +40,7 @@ import (
// The StatefulSet guarantees that a given network identity will always
// map to the same storage identity.
type StatefulSetApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:",inline"`
v1.TypeMetaApplyConfiguration `json:""`
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
// Spec defines the desired identities of pods in this set.
Spec *StatefulSetSpecApplyConfiguration `json:"spec,omitempty"`

View File

@@ -43,7 +43,7 @@ import (
// it may be subject to name and representation changes in future releases, and clients should not
// depend on its stability. It is primarily for internal use by controllers.
type ControllerRevisionApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:",inline"`
v1.TypeMetaApplyConfiguration `json:""`
// Standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`

View File

@@ -34,7 +34,7 @@ import (
// more information.
// DaemonSet represents the configuration of a daemon set.
type DaemonSetApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:",inline"`
v1.TypeMetaApplyConfiguration `json:""`
// Standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`

View File

@@ -34,7 +34,7 @@ import (
// more information.
// Deployment enables declarative updates for Pods and ReplicaSets.
type DeploymentApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:",inline"`
v1.TypeMetaApplyConfiguration `json:""`
// Standard object metadata.
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
// Specification of the desired behavior of the Deployment.

View File

@@ -34,7 +34,7 @@ import (
// more information.
// ReplicaSet ensures that a specified number of pod replicas are running at any given time.
type ReplicaSetApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:",inline"`
v1.TypeMetaApplyConfiguration `json:""`
// If the Labels of a ReplicaSet are empty, they are defaulted to
// be the same as the Pod(s) that the ReplicaSet manages.
// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

View File

@@ -30,7 +30,7 @@ import (
//
// Scale represents a scaling request for a resource.
type ScaleApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:",inline"`
v1.TypeMetaApplyConfiguration `json:""`
// Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
// defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.

View File

@@ -40,7 +40,7 @@ import (
// The StatefulSet guarantees that a given network identity will always
// map to the same storage identity.
type StatefulSetApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:",inline"`
v1.TypeMetaApplyConfiguration `json:""`
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
// Spec defines the desired identities of pods in this set.
Spec *StatefulSetSpecApplyConfiguration `json:"spec,omitempty"`

View File

@@ -32,8 +32,8 @@ import (
//
// configuration of a horizontal pod autoscaler.
type HorizontalPodAutoscalerApplyConfiguration struct {
metav1.TypeMetaApplyConfiguration `json:",inline"`
// Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
metav1.TypeMetaApplyConfiguration `json:""`
// metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
// spec defines the behaviour of autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.
Spec *HorizontalPodAutoscalerSpecApplyConfiguration `json:"spec,omitempty"`

View File

@@ -23,7 +23,7 @@ package v1
//
// specification of a horizontal pod autoscaler.
type HorizontalPodAutoscalerSpecApplyConfiguration struct {
// reference to scaled resource; horizontal pod autoscaler will learn the current resource consumption
// scaleTargetRef is the reference to scaled resource; horizontal pod autoscaler will learn the current resource consumption
// and will set the desired number of pods by using its Scale subresource.
ScaleTargetRef *CrossVersionObjectReferenceApplyConfiguration `json:"scaleTargetRef,omitempty"`
// minReplicas is the lower limit for the number of replicas to which the autoscaler

View File

@@ -29,8 +29,8 @@ import (
//
// Scale represents a scaling request for a resource.
type ScaleApplyConfiguration struct {
metav1.TypeMetaApplyConfiguration `json:",inline"`
// Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
metav1.TypeMetaApplyConfiguration `json:""`
// metadata is the standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
// spec defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.
Spec *ScaleSpecApplyConfiguration `json:"spec,omitempty"`

View File

@@ -34,7 +34,7 @@ import (
// autoscaler, which automatically manages the replica count of any resource
// implementing the scale subresource based on the metrics specified.
type HorizontalPodAutoscalerApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:",inline"`
v1.TypeMetaApplyConfiguration `json:""`
// metadata is the standard object metadata.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`

View File

@@ -42,6 +42,10 @@ type HorizontalPodAutoscalerConditionApplyConfiguration struct {
// message is a human-readable explanation containing details about
// the transition
Message *string `json:"message,omitempty"`
// observedGeneration represents the .metadata.generation that the condition was set based upon.
// For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
// with respect to the current state of the instance.
ObservedGeneration *int64 `json:"observedGeneration,omitempty"`
}
// HorizontalPodAutoscalerConditionApplyConfiguration constructs a declarative configuration of the HorizontalPodAutoscalerCondition type for use with
@@ -89,3 +93,11 @@ func (b *HorizontalPodAutoscalerConditionApplyConfiguration) WithMessage(value s
b.Message = &value
return b
}
// WithObservedGeneration sets the ObservedGeneration field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the ObservedGeneration field is set to the value of the last call.
func (b *HorizontalPodAutoscalerConditionApplyConfiguration) WithObservedGeneration(value int64) *HorizontalPodAutoscalerConditionApplyConfiguration {
b.ObservedGeneration = &value
return b
}

View File

@@ -43,7 +43,7 @@ type MetricStatusApplyConfiguration struct {
// Kubernetes, and have special scaling options on top of those available
// to normal per-pod metrics using the "pods" source.
Resource *ResourceMetricStatusApplyConfiguration `json:"resource,omitempty"`
// container resource refers to a resource metric (such as those specified in
// containerResource refers to a resource metric (such as those specified in
// requests and limits) known to Kubernetes describing a single container in each pod in the
// current scale target (e.g. CPU or memory). Such metrics are built in to
// Kubernetes, and have special scaling options on top of those available

View File

@@ -32,7 +32,7 @@ type MetricValueStatusApplyConfiguration struct {
// averageValue is the current value of the average of the
// metric across all relevant pods (as a quantity)
AverageValue *resource.Quantity `json:"averageValue,omitempty"`
// currentAverageUtilization is the current value of the average of the
// averageUtilization is the current value of the average of the
// resource metric across all relevant pods, represented as a percentage of
// the requested value of the resource for the pods.
AverageUtilization *int32 `json:"averageUtilization,omitempty"`

View File

@@ -28,7 +28,7 @@ type ObjectMetricStatusApplyConfiguration struct {
Metric *MetricIdentifierApplyConfiguration `json:"metric,omitempty"`
// current contains the current value for the given metric
Current *MetricValueStatusApplyConfiguration `json:"current,omitempty"`
// DescribedObject specifies the descriptions of a object,such as kind,name apiVersion
// describedObject specifies the descriptions of a object,such as kind,name apiVersion
DescribedObject *CrossVersionObjectReferenceApplyConfiguration `json:"describedObject,omitempty"`
}

View File

@@ -32,7 +32,7 @@ import (
//
// CronJob represents the configuration of a single cron job.
type CronJobApplyConfiguration struct {
metav1.TypeMetaApplyConfiguration `json:",inline"`
metav1.TypeMetaApplyConfiguration `json:""`
// Standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`

View File

@@ -32,7 +32,7 @@ import (
//
// Job represents the configuration of a single job.
type JobApplyConfiguration struct {
metav1.TypeMetaApplyConfiguration `json:",inline"`
metav1.TypeMetaApplyConfiguration `json:""`
// Standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`

View File

@@ -69,9 +69,6 @@ type JobStatusApplyConfiguration struct {
Failed *int32 `json:"failed,omitempty"`
// The number of pods which are terminating (in phase Pending or Running
// and have a deletionTimestamp).
//
// This field is beta-level. The job controller populates the field when
// the feature gate JobPodReplacementPolicy is enabled (enabled by default).
Terminating *int32 `json:"terminating,omitempty"`
// completedIndexes holds the completed indexes when .spec.completionMode =
// "Indexed" in a text format. The indexes are represented as decimal integers

View File

@@ -32,7 +32,7 @@ import (
//
// CronJob represents the configuration of a single cron job.
type CronJobApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:",inline"`
v1.TypeMetaApplyConfiguration `json:""`
// Standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`

View File

@@ -41,7 +41,7 @@ import (
// (with the "kubernetes.io/kube-apiserver-client" signerName),
// or to obtain certificates from custom non-Kubernetes signers.
type CertificateSigningRequestApplyConfiguration struct {
metav1.TypeMetaApplyConfiguration `json:",inline"`
metav1.TypeMetaApplyConfiguration `json:""`
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
// spec contains the certificate request, and is immutable after creation.
// Only the request, signerName, expirationSeconds, and usages fields can be set on creation.

View File

@@ -46,7 +46,7 @@ import (
// anchors for that signer. Admission control is used to enforce that only users
// with permissions on the signer can create or modify the corresponding bundle.
type ClusterTrustBundleApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:",inline"`
v1.TypeMetaApplyConfiguration `json:""`
// metadata contains the object metadata.
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
// spec contains the signer (if any) and trust anchors.

View File

@@ -32,7 +32,7 @@ import (
//
// Describes a certificate signing request
type CertificateSigningRequestApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:",inline"`
v1.TypeMetaApplyConfiguration `json:""`
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
// spec contains the certificate request, and is immutable after creation.
// Only the request, signerName, expirationSeconds, and usages fields can be set on creation.

View File

@@ -46,7 +46,7 @@ import (
// anchors for that signer. Admission control is used to enforce that only users
// with permissions on the signer can create or modify the corresponding bundle.
type ClusterTrustBundleApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:",inline"`
v1.TypeMetaApplyConfiguration `json:""`
// metadata contains the object metadata.
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
// spec contains the signer (if any) and trust anchors.

View File

@@ -35,7 +35,7 @@ import (
//
// Kubelets use this API to implement podCertificate projected volumes
type PodCertificateRequestApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:",inline"`
v1.TypeMetaApplyConfiguration `json:""`
// metadata contains the object metadata.
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
// spec contains the details about the certificate being requested.

View File

@@ -32,7 +32,7 @@ import (
//
// Lease defines a lease concept.
type LeaseApplyConfiguration struct {
metav1.TypeMetaApplyConfiguration `json:",inline"`
metav1.TypeMetaApplyConfiguration `json:""`
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
// spec contains the specification of the Lease.

View File

@@ -33,7 +33,7 @@ import (
// LeaseCandidate defines a candidate for a Lease object.
// Candidates are created such that coordinated leader election will pick the best leader from the list of candidates.
type LeaseCandidateApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:",inline"`
v1.TypeMetaApplyConfiguration `json:""`
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
// spec contains the specification of the Lease.

View File

@@ -32,7 +32,7 @@ import (
//
// Lease defines a lease concept.
type LeaseApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:",inline"`
v1.TypeMetaApplyConfiguration `json:""`
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
// spec contains the specification of the Lease.

View File

@@ -33,7 +33,7 @@ import (
// LeaseCandidate defines a candidate for a Lease object.
// Candidates are created such that coordinated leader election will pick the best leader from the list of candidates.
type LeaseCandidateApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:",inline"`
v1.TypeMetaApplyConfiguration `json:""`
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
// spec contains the specification of the Lease.

View File

@@ -33,7 +33,7 @@ import (
// ComponentStatus (and ComponentStatusList) holds the cluster validation info.
// Deprecated: This API is deprecated in v1.19+
type ComponentStatusApplyConfiguration struct {
metav1.TypeMetaApplyConfiguration `json:",inline"`
metav1.TypeMetaApplyConfiguration `json:""`
// Standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`

View File

@@ -32,7 +32,7 @@ import (
//
// ConfigMap holds configuration data for pods to consume.
type ConfigMapApplyConfiguration struct {
metav1.TypeMetaApplyConfiguration `json:",inline"`
metav1.TypeMetaApplyConfiguration `json:""`
// Standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
@@ -54,6 +54,8 @@ type ConfigMapApplyConfiguration struct {
// the Data field, this is enforced during validation process.
// Using this field will require 1.10+ apiserver and
// kubelet.
// Note: BinaryData keys are not currently propagated to container env vars
// via ConfigMapKeyRef or ConfigMapRef env sources; only Data keys are used.
BinaryData map[string][]byte `json:"binaryData,omitempty"`
}

View File

@@ -26,9 +26,10 @@ package v1
//
// The contents of the target ConfigMap's Data field will represent the
// key-value pairs as environment variables.
// Keys in the BinaryData field are not currently propagated to container env vars.
type ConfigMapEnvSourceApplyConfiguration struct {
// The ConfigMap to select from.
LocalObjectReferenceApplyConfiguration `json:",inline"`
LocalObjectReferenceApplyConfiguration `json:""`
// Specify whether the ConfigMap must be defined
Optional *bool `json:"optional,omitempty"`
}

View File

@@ -24,8 +24,9 @@ package v1
// Selects a key from a ConfigMap.
type ConfigMapKeySelectorApplyConfiguration struct {
// The ConfigMap to select from.
LocalObjectReferenceApplyConfiguration `json:",inline"`
// The key to select.
LocalObjectReferenceApplyConfiguration `json:""`
// The key to select from the ConfigMap's Data field.
// Keys in the BinaryData field are not currently propagated to container env vars.
Key *string `json:"key,omitempty"`
// Specify whether the ConfigMap or its key must be defined
Optional *bool `json:"optional,omitempty"`

View File

@@ -29,7 +29,7 @@ package v1
// Note that this is identical to a configmap volume source without the default
// mode.
type ConfigMapProjectionApplyConfiguration struct {
LocalObjectReferenceApplyConfiguration `json:",inline"`
LocalObjectReferenceApplyConfiguration `json:""`
// items if unspecified, each key-value pair in the Data field of the referenced
// ConfigMap will be projected into the volume as a file whose name is the
// key and content is the value. If specified, the listed keys will be

View File

@@ -28,7 +28,7 @@ package v1
// the items element is populated with specific mappings of keys to paths.
// ConfigMap volumes support ownership management and SELinux relabeling.
type ConfigMapVolumeSourceApplyConfiguration struct {
LocalObjectReferenceApplyConfiguration `json:",inline"`
LocalObjectReferenceApplyConfiguration `json:""`
// items if unspecified, each key-value pair in the Data field of the referenced
// ConfigMap will be projected into the volume as a file whose name is the
// key and content is the value. If specified, the listed keys will be

View File

@@ -49,7 +49,7 @@ import (
//
// Deprecated: This API is deprecated in v1.33+. Use discoveryv1.EndpointSlice.
type EndpointsApplyConfiguration struct {
metav1.TypeMetaApplyConfiguration `json:",inline"`
metav1.TypeMetaApplyConfiguration `json:""`
// Standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`

View File

@@ -38,7 +38,7 @@ type EphemeralContainerApplyConfiguration struct {
// specific to ephemeral containers. Fields in common with Container are in the
// following inlined struct so than an EphemeralContainer may easily be converted
// to a Container.
EphemeralContainerCommonApplyConfiguration `json:",inline"`
EphemeralContainerCommonApplyConfiguration `json:""`
// If set, the name of the container from PodSpec that this ephemeral container targets.
// The ephemeral container will be run in the namespaces (IPC, PID, etc) of this container.
// If not set then the ephemeral container uses the namespaces configured in the Pod spec.

View File

@@ -37,7 +37,7 @@ import (
// continued existence of events with that Reason. Events should be
// treated as informative, best-effort, supplemental data.
type EventApplyConfiguration struct {
metav1.TypeMetaApplyConfiguration `json:",inline"`
metav1.TypeMetaApplyConfiguration `json:""`
// Standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`

View File

@@ -32,7 +32,7 @@ import (
//
// LimitRange sets resource usage limits for each kind of resource in a Namespace.
type LimitRangeApplyConfiguration struct {
metav1.TypeMetaApplyConfiguration `json:",inline"`
metav1.TypeMetaApplyConfiguration `json:""`
// Standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`

View File

@@ -33,7 +33,7 @@ import (
// Namespace provides a scope for Names.
// Use of multiple namespaces is optional.
type NamespaceApplyConfiguration struct {
metav1.TypeMetaApplyConfiguration `json:",inline"`
metav1.TypeMetaApplyConfiguration `json:""`
// Standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`

View File

@@ -33,7 +33,7 @@ import (
// Node is a worker node in Kubernetes.
// Each node will have a unique identifier in the cache (i.e. in etcd).
type NodeApplyConfiguration struct {
metav1.TypeMetaApplyConfiguration `json:",inline"`
metav1.TypeMetaApplyConfiguration `json:""`
// Standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`

View File

@@ -34,7 +34,7 @@ import (
// It is analogous to a node.
// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes
type PersistentVolumeApplyConfiguration struct {
metav1.TypeMetaApplyConfiguration `json:",inline"`
metav1.TypeMetaApplyConfiguration `json:""`
// Standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`

View File

@@ -32,7 +32,7 @@ import (
//
// PersistentVolumeClaim is a user's request for and claim to a persistent volume
type PersistentVolumeClaimApplyConfiguration struct {
metav1.TypeMetaApplyConfiguration `json:",inline"`
metav1.TypeMetaApplyConfiguration `json:""`
// Standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`

View File

@@ -53,8 +53,8 @@ type PersistentVolumeClaimSpecApplyConfiguration struct {
// * An existing PVC (PersistentVolumeClaim)
// If the provisioner or an external controller can support the specified data source,
// it will create a new volume based on the contents of the specified data source.
// When the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef,
// and dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified.
// dataSource contents will be copied to dataSourceRef, and dataSourceRef contents will be
// copied to dataSource when dataSourceRef.namespace is not specified.
// If the namespace is specified, then dataSourceRef will not be copied to dataSource.
DataSource *TypedLocalObjectReferenceApplyConfiguration `json:"dataSource,omitempty"`
// dataSourceRef specifies the object from which to populate the volume with data, if a non-empty
@@ -78,7 +78,6 @@ type PersistentVolumeClaimSpecApplyConfiguration struct {
// specified.
// * While dataSource only allows local objects, dataSourceRef allows objects
// in any namespaces.
// (Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled.
// (Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled.
DataSourceRef *TypedObjectReferenceApplyConfiguration `json:"dataSourceRef,omitempty"`
// volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim.

View File

@@ -31,7 +31,7 @@ type PersistentVolumeSpecApplyConfiguration struct {
// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity
Capacity *corev1.ResourceList `json:"capacity,omitempty"`
// persistentVolumeSource is the actual volume backing the persistent volume.
PersistentVolumeSourceApplyConfiguration `json:",inline"`
PersistentVolumeSourceApplyConfiguration `json:""`
// accessModes contains all ways the volume can be mounted.
// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes
AccessModes []corev1.PersistentVolumeAccessMode `json:"accessModes,omitempty"`

View File

@@ -33,7 +33,7 @@ import (
// Pod is a collection of containers that can run on a host. This resource is created
// by clients and scheduled onto hosts.
type PodApplyConfiguration struct {
metav1.TypeMetaApplyConfiguration `json:",inline"`
metav1.TypeMetaApplyConfiguration `json:""`
// Standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`

View File

@@ -32,7 +32,7 @@ import (
//
// PodTemplate describes a template for creating copies of a predefined pod.
type PodTemplateApplyConfiguration struct {
metav1.TypeMetaApplyConfiguration `json:",inline"`
metav1.TypeMetaApplyConfiguration `json:""`
// Standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`

View File

@@ -25,7 +25,7 @@ package v1
// alive or ready to receive traffic.
type ProbeApplyConfiguration struct {
// The action taken to determine the health of a container
ProbeHandlerApplyConfiguration `json:",inline"`
ProbeHandlerApplyConfiguration `json:""`
// Number of seconds after the container has started before liveness probes are initiated.
// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
InitialDelaySeconds *int32 `json:"initialDelaySeconds,omitempty"`

View File

@@ -32,7 +32,7 @@ import (
//
// ReplicationController represents the configuration of a replication controller.
type ReplicationControllerApplyConfiguration struct {
metav1.TypeMetaApplyConfiguration `json:",inline"`
metav1.TypeMetaApplyConfiguration `json:""`
// If the Labels of a ReplicationController are empty, they are defaulted to
// be the same as the Pod(s) that the replication controller manages.
// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

View File

@@ -32,7 +32,7 @@ import (
//
// ResourceQuota sets aggregate quota restrictions enforced per namespace
type ResourceQuotaApplyConfiguration struct {
metav1.TypeMetaApplyConfiguration `json:",inline"`
metav1.TypeMetaApplyConfiguration `json:""`
// Standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`

View File

@@ -33,7 +33,7 @@ import (
// Secret holds secret data of a certain type. The total bytes of the values in
// the Data field must be less than MaxSecretSize bytes.
type SecretApplyConfiguration struct {
metav1.TypeMetaApplyConfiguration `json:",inline"`
metav1.TypeMetaApplyConfiguration `json:""`
// Standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`

View File

@@ -28,7 +28,7 @@ package v1
// key-value pairs as environment variables.
type SecretEnvSourceApplyConfiguration struct {
// The Secret to select from.
LocalObjectReferenceApplyConfiguration `json:",inline"`
LocalObjectReferenceApplyConfiguration `json:""`
// Specify whether the Secret must be defined
Optional *bool `json:"optional,omitempty"`
}

View File

@@ -24,7 +24,7 @@ package v1
// SecretKeySelector selects a key of a Secret.
type SecretKeySelectorApplyConfiguration struct {
// The name of the secret in the pod's namespace to select from.
LocalObjectReferenceApplyConfiguration `json:",inline"`
LocalObjectReferenceApplyConfiguration `json:""`
// The key of the secret to select from. Must be a valid secret key.
Key *string `json:"key,omitempty"`
// Specify whether the Secret or its key must be defined

View File

@@ -28,7 +28,7 @@ package v1
// Note that this is identical to a secret volume source without the default
// mode.
type SecretProjectionApplyConfiguration struct {
LocalObjectReferenceApplyConfiguration `json:",inline"`
LocalObjectReferenceApplyConfiguration `json:""`
// items if unspecified, each key-value pair in the Data field of the referenced
// Secret will be projected into the volume as a file whose name is the
// key and content is the value. If specified, the listed keys will be

View File

@@ -34,7 +34,7 @@ import (
// (for example 3306) that the proxy listens on, and the selector that determines which pods
// will answer requests sent through the proxy.
type ServiceApplyConfiguration struct {
metav1.TypeMetaApplyConfiguration `json:",inline"`
metav1.TypeMetaApplyConfiguration `json:""`
// Standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`

View File

@@ -35,7 +35,7 @@ import (
// * a principal that can be authenticated and authorized
// * a set of secrets
type ServiceAccountApplyConfiguration struct {
metav1.TypeMetaApplyConfiguration `json:",inline"`
metav1.TypeMetaApplyConfiguration `json:""`
// Standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`

View File

@@ -30,7 +30,7 @@ type VolumeApplyConfiguration struct {
// volumeSource represents the location and type of the mounted volume.
// If not specified, the Volume is implied to be an EmptyDir.
// This implied behavior is deprecated and will be removed in a future version.
VolumeSourceApplyConfiguration `json:",inline"`
VolumeSourceApplyConfiguration `json:""`
}
// VolumeApplyConfiguration constructs a declarative configuration of the Volume type for use with

View File

@@ -49,8 +49,7 @@ type VolumeMountApplyConfiguration struct {
//
// If this field is not specified, it is treated as an equivalent of Disabled.
RecursiveReadOnly *corev1.RecursiveReadOnlyMode `json:"recursiveReadOnly,omitempty"`
// Path within the container at which the volume should be mounted. Must
// not contain ':'.
// Path within the container at which the volume should be mounted.
MountPath *string `json:"mountPath,omitempty"`
// Path within the volume from which the container's volume should be mounted.
// Defaults to "" (volume's root).

View File

@@ -37,7 +37,7 @@ import (
// by listing EndpointSlices in the service's namespace whose `kubernetes.io/service-name`
// label contains the service's name.
type EndpointSliceApplyConfiguration struct {
metav1.TypeMetaApplyConfiguration `json:",inline"`
metav1.TypeMetaApplyConfiguration `json:""`
// Standard object's metadata.
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
// addressType specifies the type of address carried by this EndpointSlice.

View File

@@ -34,7 +34,7 @@ import (
// For a given service there may be multiple EndpointSlice objects, selected by
// labels, which must be joined to produce the full set of endpoints.
type EndpointSliceApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:",inline"`
v1.TypeMetaApplyConfiguration `json:""`
// Standard object's metadata.
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
// addressType specifies the type of address carried by this EndpointSlice.

View File

@@ -38,7 +38,7 @@ import (
// continued existence of events with that Reason. Events should be
// treated as informative, best-effort, supplemental data.
type EventApplyConfiguration struct {
metav1.TypeMetaApplyConfiguration `json:",inline"`
metav1.TypeMetaApplyConfiguration `json:""`
// Standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`

View File

@@ -38,7 +38,7 @@ import (
// continued existence of events with that Reason. Events should be
// treated as informative, best-effort, supplemental data.
type EventApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:",inline"`
v1.TypeMetaApplyConfiguration `json:""`
// Standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`

View File

@@ -34,7 +34,7 @@ import (
// more information.
// DaemonSet represents the configuration of a daemon set.
type DaemonSetApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:",inline"`
v1.TypeMetaApplyConfiguration `json:""`
// Standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`

View File

@@ -34,7 +34,7 @@ import (
// more information.
// Deployment enables declarative updates for Pods and ReplicaSets.
type DeploymentApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:",inline"`
v1.TypeMetaApplyConfiguration `json:""`
// Standard object metadata.
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
// Specification of the desired behavior of the Deployment.

View File

@@ -36,7 +36,7 @@ import (
// based virtual hosting etc.
// DEPRECATED - This group version of Ingress is deprecated by networking.k8s.io/v1beta1 Ingress. See the release notes for more information.
type IngressApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:",inline"`
v1.TypeMetaApplyConfiguration `json:""`
// Standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`

View File

@@ -53,7 +53,7 @@ type IngressRuleApplyConfiguration struct {
// just traffic matching the host to the default backend or all traffic to the
// default backend, is left to the controller fulfilling the Ingress. Http is
// currently the only supported IngressRuleValue.
IngressRuleValueApplyConfiguration `json:",inline"`
IngressRuleValueApplyConfiguration `json:""`
}
// IngressRuleApplyConfiguration constructs a declarative configuration of the IngressRule type for use with

View File

@@ -33,7 +33,7 @@ import (
// DEPRECATED 1.9 - This group version of NetworkPolicy is deprecated by networking/v1/NetworkPolicy.
// NetworkPolicy describes what network traffic is allowed for a set of Pods
type NetworkPolicyApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:",inline"`
v1.TypeMetaApplyConfiguration `json:""`
// Standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`

View File

@@ -34,7 +34,7 @@ import (
// more information.
// ReplicaSet ensures that a specified number of pod replicas are running at any given time.
type ReplicaSetApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:",inline"`
v1.TypeMetaApplyConfiguration `json:""`
// If the Labels of a ReplicaSet are empty, they are defaulted to
// be the same as the Pod(s) that the ReplicaSet manages.
// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

View File

@@ -30,7 +30,7 @@ import (
//
// represents a scaling request for a resource.
type ScaleApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:",inline"`
v1.TypeMetaApplyConfiguration `json:""`
// Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
// defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.

View File

@@ -33,7 +33,7 @@ import (
// FlowSchema defines the schema of a group of flows. Note that a flow is made up of a set of inbound API requests with
// similar attributes and is identified by a pair of strings: the name of the FlowSchema and a "flow distinguisher".
type FlowSchemaApplyConfiguration struct {
metav1.TypeMetaApplyConfiguration `json:",inline"`
metav1.TypeMetaApplyConfiguration `json:""`
// `metadata` is the standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`

View File

@@ -32,7 +32,7 @@ import (
//
// PriorityLevelConfiguration represents the configuration of a priority level.
type PriorityLevelConfigurationApplyConfiguration struct {
metav1.TypeMetaApplyConfiguration `json:",inline"`
metav1.TypeMetaApplyConfiguration `json:""`
// `metadata` is the standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`

Some files were not shown because too many files have changed in this diff Show More