Skip to content

Commit d531f1d

Browse files
committed
API Ref v1.22 alpha.3
1 parent 6848d25 commit d531f1d

File tree

58 files changed

+849
-722
lines changed

Some content is hidden

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

58 files changed

+849
-722
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -630,6 +630,8 @@ PATCH /apis/certificates.k8s.io/v1/certificatesigningrequests/{name}
630630

631631
200 (<a href="{{< ref "../authentication-resources/certificate-signing-request-v1#CertificateSigningRequest" >}}">CertificateSigningRequest</a>): OK
632632

633+
201 (<a href="{{< ref "../authentication-resources/certificate-signing-request-v1#CertificateSigningRequest" >}}">CertificateSigningRequest</a>): Created
634+
633635
401: Unauthorized
634636

635637

@@ -678,6 +680,8 @@ PATCH /apis/certificates.k8s.io/v1/certificatesigningrequests/{name}/approval
678680

679681
200 (<a href="{{< ref "../authentication-resources/certificate-signing-request-v1#CertificateSigningRequest" >}}">CertificateSigningRequest</a>): OK
680682

683+
201 (<a href="{{< ref "../authentication-resources/certificate-signing-request-v1#CertificateSigningRequest" >}}">CertificateSigningRequest</a>): Created
684+
681685
401: Unauthorized
682686

683687

@@ -726,6 +730,8 @@ PATCH /apis/certificates.k8s.io/v1/certificatesigningrequests/{name}/status
726730

727731
200 (<a href="{{< ref "../authentication-resources/certificate-signing-request-v1#CertificateSigningRequest" >}}">CertificateSigningRequest</a>): OK
728732

733+
201 (<a href="{{< ref "../authentication-resources/certificate-signing-request-v1#CertificateSigningRequest" >}}">CertificateSigningRequest</a>): Created
734+
729735
401: Unauthorized
730736

731737

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -416,6 +416,8 @@ PATCH /api/v1/namespaces/{namespace}/serviceaccounts/{name}
416416

417417
200 (<a href="{{< ref "../authentication-resources/service-account-v1#ServiceAccount" >}}">ServiceAccount</a>): OK
418418

419+
201 (<a href="{{< ref "../authentication-resources/service-account-v1#ServiceAccount" >}}">ServiceAccount</a>): Created
420+
419421
401: Unauthorized
420422

421423

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +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
4344

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

47+
Spec holds information about the request being evaluated
4648

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

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

5053

5154

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ TokenReview attempts to authenticate a token to a known user. Note: TokenReview
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
4344

4445
- **spec** (<a href="{{< ref "../authentication-resources/token-review-v1#TokenReviewSpec" >}}">TokenReviewSpec</a>), required
4546

content/en/docs/reference/kubernetes-api/authorization-resources/cluster-role-binding-v1.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,8 @@ PATCH /apis/rbac.authorization.k8s.io/v1/clusterrolebindings/{name}
351351

352352
200 (<a href="{{< ref "../authorization-resources/cluster-role-binding-v1#ClusterRoleBinding" >}}">ClusterRoleBinding</a>): OK
353353

354+
201 (<a href="{{< ref "../authorization-resources/cluster-role-binding-v1#ClusterRoleBinding" >}}">ClusterRoleBinding</a>): Created
355+
354356
401: Unauthorized
355357

356358

content/en/docs/reference/kubernetes-api/authorization-resources/cluster-role-v1.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,11 @@ ClusterRole is a cluster level, logical grouping of PolicyRules that can be refe
6666

6767
- **rules.resources** ([]string)
6868

69-
Resources is a list of resources this rule applies to. ResourceAll represents all resources.
69+
Resources is a list of resources this rule applies to. '*' represents all resources.
7070

7171
- **rules.verbs** ([]string), required
7272

73-
Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds.
73+
Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. '*' represents all verbs.
7474

7575
- **rules.resourceNames** ([]string)
7676

@@ -347,6 +347,8 @@ PATCH /apis/rbac.authorization.k8s.io/v1/clusterroles/{name}
347347

348348
200 (<a href="{{< ref "../authorization-resources/cluster-role-v1#ClusterRole" >}}">ClusterRole</a>): OK
349349

350+
201 (<a href="{{< ref "../authorization-resources/cluster-role-v1#ClusterRole" >}}">ClusterRole</a>): Created
351+
350352
401: Unauthorized
351353

352354

content/en/docs/reference/kubernetes-api/authorization-resources/local-subject-access-review-v1.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ LocalSubjectAccessReview checks whether or not a user or group can perform an ac
4040

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

43+
Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
4344

4445
- **spec** (<a href="{{< ref "../authorization-resources/subject-access-review-v1#SubjectAccessReviewSpec" >}}">SubjectAccessReviewSpec</a>), required
4546

content/en/docs/reference/kubernetes-api/authorization-resources/role-binding-v1.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -444,6 +444,8 @@ PATCH /apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings/{na
444444

445445
200 (<a href="{{< ref "../authorization-resources/role-binding-v1#RoleBinding" >}}">RoleBinding</a>): OK
446446

447+
201 (<a href="{{< ref "../authorization-resources/role-binding-v1#RoleBinding" >}}">RoleBinding</a>): Created
448+
447449
401: Unauthorized
448450

449451

content/en/docs/reference/kubernetes-api/authorization-resources/role-v1.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,11 @@ Role is a namespaced, logical grouping of PolicyRules that can be referenced as
5555

5656
- **rules.resources** ([]string)
5757

58-
Resources is a list of resources this rule applies to. ResourceAll represents all resources.
58+
Resources is a list of resources this rule applies to. '*' represents all resources.
5959

6060
- **rules.verbs** ([]string), required
6161

62-
Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds.
62+
Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. '*' represents all verbs.
6363

6464
- **rules.resourceNames** ([]string)
6565

@@ -429,6 +429,8 @@ PATCH /apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles/{name}
429429

430430
200 (<a href="{{< ref "../authorization-resources/role-v1#Role" >}}">Role</a>): OK
431431

432+
201 (<a href="{{< ref "../authorization-resources/role-v1#Role" >}}">Role</a>): Created
433+
432434
401: Unauthorized
433435

434436

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ SelfSubjectAccessReview checks whether or the current user can perform an action
4040

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

43+
Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
4344

4445
- **spec** (<a href="{{< ref "../authorization-resources/self-subject-access-review-v1#SelfSubjectAccessReviewSpec" >}}">SelfSubjectAccessReviewSpec</a>), required
4546

0 commit comments

Comments
 (0)