Skip to content

Commit d405670

Browse files
authored
Update API resource reference for v1.36.0 (#55505)
CI gate is failing but it is not related to this PR.
1 parent 9538c86 commit d405670

81 files changed

Lines changed: 3527 additions & 1718 deletions

File tree

Some content is hidden

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

content/en/docs/reference/kubernetes-api/authentication-resources/certificate-signing-request-v1.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -405,6 +405,11 @@ GET /apis/certificates.k8s.io/v1/certificatesigningrequests
405405
<a href="{{< ref "../common-parameters/common-parameters#sendInitialEvents" >}}">sendInitialEvents</a>
406406

407407

408+
- **shardSelector** (*in query*): string
409+
410+
<a href="{{< ref "../common-parameters/common-parameters#shardSelector" >}}">shardSelector</a>
411+
412+
408413
- **timeoutSeconds** (*in query*): integer
409414

410415
<a href="{{< ref "../common-parameters/common-parameters#timeoutSeconds" >}}">timeoutSeconds</a>
@@ -915,6 +920,11 @@ DELETE /apis/certificates.k8s.io/v1/certificatesigningrequests
915920
<a href="{{< ref "../common-parameters/common-parameters#sendInitialEvents" >}}">sendInitialEvents</a>
916921

917922

923+
- **shardSelector** (*in query*): string
924+
925+
<a href="{{< ref "../common-parameters/common-parameters#shardSelector" >}}">shardSelector</a>
926+
927+
918928
- **timeoutSeconds** (*in query*): integer
919929

920930
<a href="{{< ref "../common-parameters/common-parameters#timeoutSeconds" >}}">timeoutSeconds</a>

content/en/docs/reference/kubernetes-api/authentication-resources/cluster-trust-bundle-v1beta1.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,11 @@ GET /apis/certificates.k8s.io/v1beta1/clustertrustbundles
201201
<a href="{{< ref "../common-parameters/common-parameters#sendInitialEvents" >}}">sendInitialEvents</a>
202202

203203

204+
- **shardSelector** (*in query*): string
205+
206+
<a href="{{< ref "../common-parameters/common-parameters#shardSelector" >}}">shardSelector</a>
207+
208+
204209
- **timeoutSeconds** (*in query*): integer
205210

206211
<a href="{{< ref "../common-parameters/common-parameters#timeoutSeconds" >}}">timeoutSeconds</a>
@@ -501,6 +506,11 @@ DELETE /apis/certificates.k8s.io/v1beta1/clustertrustbundles
501506
<a href="{{< ref "../common-parameters/common-parameters#sendInitialEvents" >}}">sendInitialEvents</a>
502507

503508

509+
- **shardSelector** (*in query*): string
510+
511+
<a href="{{< ref "../common-parameters/common-parameters#shardSelector" >}}">shardSelector</a>
512+
513+
504514
- **timeoutSeconds** (*in query*): integer
505515

506516
<a href="{{< ref "../common-parameters/common-parameters#timeoutSeconds" >}}">timeoutSeconds</a>

content/en/docs/reference/kubernetes-api/authentication-resources/pod-certificate-request-v1beta1.md

Lines changed: 51 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -70,14 +70,6 @@ PodCertificateRequestSpec describes the certificate request. All fields are imm
7070

7171
nodeUID is the UID of the node the pod is assigned to.
7272

73-
- **pkixPublicKey** ([]byte), required
74-
75-
pkixPublicKey is the PKIX-serialized public key the signer will issue the certificate to.
76-
77-
The key must be one of RSA3072, RSA4096, ECDSAP256, ECDSAP384, ECDSAP521, or ED25519. Note that this list may be expanded in the future.
78-
79-
Signer implementations do not need to support all key types supported by kube-apiserver and kubelet. If a signer does not support the key type used for a given PodCertificateRequest, it must deny the request by setting a status.conditions entry with a type of "Denied" and a reason of "UnsupportedKeyType". It may also suggest a key type that it does support in the message field.
80-
8173
- **podName** (string), required
8274

8375
podName is the name of the pod into which the certificate will be mounted.
@@ -86,20 +78,6 @@ PodCertificateRequestSpec describes the certificate request. All fields are imm
8678

8779
podUID is the UID of the pod into which the certificate will be mounted.
8880

89-
- **proofOfPossession** ([]byte), required
90-
91-
proofOfPossession proves that the requesting kubelet holds the private key corresponding to pkixPublicKey.
92-
93-
It is contructed by signing the ASCII bytes of the pod's UID using `pkixPublicKey`.
94-
95-
kube-apiserver validates the proof of possession during creation of the PodCertificateRequest.
96-
97-
If the key is an RSA key, then the signature is over the ASCII bytes of the pod UID, using RSASSA-PSS from RFC 8017 (as implemented by the golang function crypto/rsa.SignPSS with nil options).
98-
99-
If the key is an ECDSA key, then the signature is as described by [SEC 1, Version 2.0](https://www.secg.org/sec1-v2.pdf) (as implemented by the golang library function crypto/ecdsa.SignASN1)
100-
101-
If the key is an ED25519 key, the the signature is as described by the [ED25519 Specification](https://ed25519.cr.yp.to/) (as implemented by the golang library crypto/ed25519.Sign).
102-
10381
- **serviceAccountName** (string), required
10482

10583
serviceAccountName is the name of the service account the pod is running as.
@@ -114,6 +92,16 @@ PodCertificateRequestSpec describes the certificate request. All fields are imm
11492

11593
All signer names beginning with `kubernetes.io` are reserved for use by the Kubernetes project. There is currently one well-known signer documented by the Kubernetes project, `kubernetes.io/kube-apiserver-client-pod`, which will issue client certificates understood by kube-apiserver. It is currently unimplemented.
11694

95+
- **stubPKCS10Request** ([]byte), required
96+
97+
A PKCS#10 certificate signing request (DER-serialized) generated by Kubelet using the subject private key.
98+
99+
Most signer implementations will ignore the contents of the CSR except to extract the subject public key. The API server automatically verifies the CSR signature during admission, so the signer does not need to repeat the verification. CSRs generated by kubelet are completely empty.
100+
101+
The subject public key must be one of RSA3072, RSA4096, ECDSAP256, ECDSAP384, ECDSAP521, or ED25519. Note that this list may be expanded in the future.
102+
103+
Signer implementations do not need to support all key types supported by kube-apiserver and kubelet. If a signer does not support the key type used for a given PodCertificateRequest, it must deny the request by setting a status.conditions entry with a type of "Denied" and a reason of "UnsupportedKeyType". It may also suggest a key type that it does support in the message field.
104+
117105
- **maxExpirationSeconds** (int32)
118106

119107
maxExpirationSeconds is the maximum lifetime permitted for the certificate.
@@ -122,6 +110,32 @@ PodCertificateRequestSpec describes the certificate request. All fields are imm
122110

123111
The signer implementation is then free to issue a certificate with any lifetime *shorter* than MaxExpirationSeconds, but no shorter than 3600 seconds (1 hour). This constraint is enforced by kube-apiserver. `kubernetes.io` signers will never issue certificates with a lifetime longer than 24 hours.
124112

113+
- **pkixPublicKey** ([]byte)
114+
115+
The PKIX-serialized public key the signer will issue the certificate to.
116+
117+
The key must be one of RSA3072, RSA4096, ECDSAP256, ECDSAP384, ECDSAP521, or ED25519. Note that this list may be expanded in the future.
118+
119+
Signer implementations do not need to support all key types supported by kube-apiserver and kubelet. If a signer does not support the key type used for a given PodCertificateRequest, it must deny the request by setting a status.conditions entry with a type of "Denied" and a reason of "UnsupportedKeyType". It may also suggest a key type that it does support in the message field.
120+
121+
Deprecated: This field is replaced by StubPKCS10Request. If StubPKCS10Request is set, this field must be empty. Signer implementations should extract the public key from the StubPKCS10Request field.
122+
123+
- **proofOfPossession** ([]byte)
124+
125+
A proof that the requesting kubelet holds the private key corresponding to pkixPublicKey.
126+
127+
It is contructed by signing the ASCII bytes of the pod's UID using `pkixPublicKey`.
128+
129+
kube-apiserver validates the proof of possession during creation of the PodCertificateRequest.
130+
131+
If the key is an RSA key, then the signature is over the ASCII bytes of the pod UID, using RSASSA-PSS from RFC 8017 (as implemented by the golang function crypto/rsa.SignPSS with nil options).
132+
133+
If the key is an ECDSA key, then the signature is as described by [SEC 1, Version 2.0](https://www.secg.org/sec1-v2.pdf) (as implemented by the golang library function crypto/ecdsa.SignASN1)
134+
135+
If the key is an ED25519 key, the the signature is as described by the [ED25519 Specification](https://ed25519.cr.yp.to/) (as implemented by the golang library crypto/ed25519.Sign).
136+
137+
Deprecated: This field is replaced by StubPKCS10Request. If StubPKCS10Request is set, this field must be empty.
138+
125139
- **unverifiedUserAnnotations** (map[string]string)
126140

127141
unverifiedUserAnnotations allow pod authors to pass additional information to the signer implementation. Kubernetes does not restrict or validate this metadata in any way.
@@ -382,6 +396,11 @@ GET /apis/certificates.k8s.io/v1beta1/namespaces/{namespace}/podcertificatereque
382396
<a href="{{< ref "../common-parameters/common-parameters#sendInitialEvents" >}}">sendInitialEvents</a>
383397

384398

399+
- **shardSelector** (*in query*): string
400+
401+
<a href="{{< ref "../common-parameters/common-parameters#shardSelector" >}}">shardSelector</a>
402+
403+
385404
- **timeoutSeconds** (*in query*): integer
386405

387406
<a href="{{< ref "../common-parameters/common-parameters#timeoutSeconds" >}}">timeoutSeconds</a>
@@ -455,6 +474,11 @@ GET /apis/certificates.k8s.io/v1beta1/podcertificaterequests
455474
<a href="{{< ref "../common-parameters/common-parameters#sendInitialEvents" >}}">sendInitialEvents</a>
456475

457476

477+
- **shardSelector** (*in query*): string
478+
479+
<a href="{{< ref "../common-parameters/common-parameters#shardSelector" >}}">shardSelector</a>
480+
481+
458482
- **timeoutSeconds** (*in query*): integer
459483

460484
<a href="{{< ref "../common-parameters/common-parameters#timeoutSeconds" >}}">timeoutSeconds</a>
@@ -895,6 +919,11 @@ DELETE /apis/certificates.k8s.io/v1beta1/namespaces/{namespace}/podcertificatere
895919
<a href="{{< ref "../common-parameters/common-parameters#sendInitialEvents" >}}">sendInitialEvents</a>
896920

897921

922+
- **shardSelector** (*in query*): string
923+
924+
<a href="{{< ref "../common-parameters/common-parameters#shardSelector" >}}">shardSelector</a>
925+
926+
898927
- **timeoutSeconds** (*in query*): integer
899928

900929
<a href="{{< ref "../common-parameters/common-parameters#timeoutSeconds" >}}">timeoutSeconds</a>

content/en/docs/reference/kubernetes-api/authentication-resources/self-subject-review-v1.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ SelfSubjectReview contains the user information that the kube-apiserver has abou
4040

4141
- **metadata** (<a href="{{< ref "../common-definitions/object-meta#ObjectMeta" >}}">ObjectMeta</a>)
4242

43-
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
43+
metadata is standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
4444

4545
- **status** (<a href="{{< ref "../authentication-resources/self-subject-review-v1#SelfSubjectReviewStatus" >}}">SelfSubjectReviewStatus</a>)
4646

47-
Status is filled in by the server with the user attributes.
47+
status is filled in by the server with the user attributes.
4848

4949

5050

@@ -58,28 +58,28 @@ SelfSubjectReviewStatus is filled by the kube-apiserver and sent back to a user.
5858

5959
- **userInfo** (UserInfo)
6060

61-
User attributes of the user making this request.
61+
userInfo is a set of attributes belonging to the user making this request.
6262

6363
<a name="UserInfo"></a>
6464
*UserInfo holds the information about the user needed to implement the user.Info interface.*
6565

6666
- **userInfo.extra** (map[string][]string)
6767

68-
Any additional information provided by the authenticator.
68+
extra is any additional information provided by the authenticator.
6969

7070
- **userInfo.groups** ([]string)
7171

7272
*Atomic: will be replaced during a merge*
7373

74-
The names of groups this user is a part of.
74+
groups is the names of groups this user is a part of.
7575

7676
- **userInfo.uid** (string)
7777

78-
A unique value that identifies this user across time. If this user is deleted and another user by the same name is added, they will have different UIDs.
78+
uid is a unique value that identifies this user across time. If this user is deleted and another user by the same name is added, they will have different UIDs.
7979

8080
- **userInfo.username** (string)
8181

82-
The name that uniquely identifies this user among all active users.
82+
username is the name that uniquely identifies this user among all active users.
8383

8484

8585

content/en/docs/reference/kubernetes-api/authentication-resources/service-account-v1.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,11 @@ GET /api/v1/namespaces/{namespace}/serviceaccounts
191191
<a href="{{< ref "../common-parameters/common-parameters#sendInitialEvents" >}}">sendInitialEvents</a>
192192

193193

194+
- **shardSelector** (*in query*): string
195+
196+
<a href="{{< ref "../common-parameters/common-parameters#shardSelector" >}}">shardSelector</a>
197+
198+
194199
- **timeoutSeconds** (*in query*): integer
195200

196201
<a href="{{< ref "../common-parameters/common-parameters#timeoutSeconds" >}}">timeoutSeconds</a>
@@ -264,6 +269,11 @@ GET /api/v1/serviceaccounts
264269
<a href="{{< ref "../common-parameters/common-parameters#sendInitialEvents" >}}">sendInitialEvents</a>
265270

266271

272+
- **shardSelector** (*in query*): string
273+
274+
<a href="{{< ref "../common-parameters/common-parameters#shardSelector" >}}">shardSelector</a>
275+
276+
267277
- **timeoutSeconds** (*in query*): integer
268278

269279
<a href="{{< ref "../common-parameters/common-parameters#timeoutSeconds" >}}">timeoutSeconds</a>
@@ -589,6 +599,11 @@ DELETE /api/v1/namespaces/{namespace}/serviceaccounts
589599
<a href="{{< ref "../common-parameters/common-parameters#sendInitialEvents" >}}">sendInitialEvents</a>
590600

591601

602+
- **shardSelector** (*in query*): string
603+
604+
<a href="{{< ref "../common-parameters/common-parameters#shardSelector" >}}">shardSelector</a>
605+
606+
592607
- **timeoutSeconds** (*in query*): integer
593608

594609
<a href="{{< ref "../common-parameters/common-parameters#timeoutSeconds" >}}">timeoutSeconds</a>

content/en/docs/reference/kubernetes-api/authentication-resources/token-request-v1.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,15 @@ TokenRequest requests a token for a given service account.
4040

4141
- **metadata** (<a href="{{< ref "../common-definitions/object-meta#ObjectMeta" >}}">ObjectMeta</a>)
4242

43-
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
43+
metadata is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
4444

45-
- **spec** (<a href="{{< ref "../authentication-resources/token-request-v1#TokenRequestSpec" >}}">TokenRequestSpec</a>), required
45+
- **spec** (<a href="{{< ref "../authentication-resources/token-request-v1#TokenRequestSpec" >}}">TokenRequestSpec</a>)
4646

47-
Spec holds information about the request being evaluated
47+
spec holds information about the request being evaluated
4848

4949
- **status** (<a href="{{< ref "../authentication-resources/token-request-v1#TokenRequestStatus" >}}">TokenRequestStatus</a>)
5050

51-
Status is filled in by the server and indicates whether the token can be authenticated.
51+
status is filled in by the server and indicates whether the token can be authenticated.
5252

5353

5454

@@ -60,38 +60,38 @@ TokenRequestSpec contains client provided parameters of a token request.
6060

6161
<hr>
6262

63-
- **audiences** ([]string), required
63+
- **audiences** ([]string)
6464

6565
*Atomic: will be replaced during a merge*
6666

67-
Audiences are the intendend audiences of the token. A recipient of a token must identify themself with an identifier in the list of audiences of the token, and otherwise should reject the token. A token issued for multiple audiences may be used to authenticate against any of the audiences listed but implies a high degree of trust between the target audiences.
67+
audiences are the intendend audiences of the token. A recipient of a token must identify themself with an identifier in the list of audiences of the token, and otherwise should reject the token. A token issued for multiple audiences may be used to authenticate against any of the audiences listed but implies a high degree of trust between the target audiences.
6868

6969
- **boundObjectRef** (BoundObjectReference)
7070

71-
BoundObjectRef is a reference to an object that the token will be bound to. The token will only be valid for as long as the bound object exists. NOTE: The API server's TokenReview endpoint will validate the BoundObjectRef, but other audiences may not. Keep ExpirationSeconds small if you want prompt revocation.
71+
boundObjectRef is a reference to an object that the token will be bound to. The token will only be valid for as long as the bound object exists. NOTE: The API server's TokenReview endpoint will validate the BoundObjectRef, but other audiences may not. Keep ExpirationSeconds small if you want prompt revocation.
7272

7373
<a name="BoundObjectReference"></a>
7474
*BoundObjectReference is a reference to an object that a token is bound to.*
7575

7676
- **boundObjectRef.apiVersion** (string)
7777

78-
API version of the referent.
78+
apiVersion is API version of the referent.
7979

8080
- **boundObjectRef.kind** (string)
8181

82-
Kind of the referent. Valid kinds are 'Pod' and 'Secret'.
82+
kind of the referent. Valid kinds are 'Pod' and 'Secret'.
8383

8484
- **boundObjectRef.name** (string)
8585

86-
Name of the referent.
86+
name of the referent.
8787

8888
- **boundObjectRef.uid** (string)
8989

90-
UID of the referent.
90+
uid of the referent.
9191

9292
- **expirationSeconds** (int64)
9393

94-
ExpirationSeconds is the requested duration of validity of the request. The token issuer may return a token with a different validity duration so a client needs to check the 'expiration' field in a response.
94+
expirationSeconds is the requested duration of validity of the request. The token issuer may return a token with a different validity duration so a client needs to check the 'expiration' field in a response.
9595

9696

9797

@@ -103,16 +103,16 @@ TokenRequestStatus is the result of a token request.
103103

104104
<hr>
105105

106-
- **expirationTimestamp** (Time), required
106+
- **expirationTimestamp** (Time)
107107

108-
ExpirationTimestamp is the time of expiration of the returned token.
108+
expirationTimestamp is the time of expiration of the returned token.
109109

110110
<a name="Time"></a>
111111
*Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.*
112112

113-
- **token** (string), required
113+
- **token** (string)
114114

115-
Token is the opaque bearer token.
115+
token is the opaque bearer token.
116116

117117

118118

0 commit comments

Comments
 (0)