mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 20:24:09 +00:00
Added changes
This commit is contained in:
parent
032a6fd494
commit
4425fd6bfe
17
api/openapi-spec/swagger.json
generated
17
api/openapi-spec/swagger.json
generated
@ -1797,13 +1797,16 @@
|
|||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta",
|
||||||
|
"description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
|
||||||
},
|
},
|
||||||
"spec": {
|
"spec": {
|
||||||
"$ref": "#/definitions/io.k8s.api.authentication.v1.TokenRequestSpec"
|
"$ref": "#/definitions/io.k8s.api.authentication.v1.TokenRequestSpec",
|
||||||
|
"description": "Spec holds information about the request being evaluated"
|
||||||
},
|
},
|
||||||
"status": {
|
"status": {
|
||||||
"$ref": "#/definitions/io.k8s.api.authentication.v1.TokenRequestStatus"
|
"$ref": "#/definitions/io.k8s.api.authentication.v1.TokenRequestStatus",
|
||||||
|
"description": "Status is filled in by the server and indicates whether the token can be authenticated."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
@ -1873,7 +1876,8 @@
|
|||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta",
|
||||||
|
"description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
|
||||||
},
|
},
|
||||||
"spec": {
|
"spec": {
|
||||||
"$ref": "#/definitions/io.k8s.api.authentication.v1.TokenReviewSpec",
|
"$ref": "#/definitions/io.k8s.api.authentication.v1.TokenReviewSpec",
|
||||||
@ -1981,7 +1985,8 @@
|
|||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"
|
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta",
|
||||||
|
"description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
|
||||||
},
|
},
|
||||||
"spec": {
|
"spec": {
|
||||||
"$ref": "#/definitions/io.k8s.api.authentication.v1beta1.TokenReviewSpec",
|
"$ref": "#/definitions/io.k8s.api.authentication.v1beta1.TokenReviewSpec",
|
||||||
@ -1989,7 +1994,7 @@
|
|||||||
},
|
},
|
||||||
"status": {
|
"status": {
|
||||||
"$ref": "#/definitions/io.k8s.api.authentication.v1beta1.TokenReviewStatus",
|
"$ref": "#/definitions/io.k8s.api.authentication.v1beta1.TokenReviewStatus",
|
||||||
"description": "Status is filled in by the server and indicates whether the request can be authenticated."
|
"description": "Status is filled in by the server and indicates whether the token can be authenticated."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
|
@ -2,8 +2,6 @@
|
|||||||
./staging/src/k8s.io/api/apps/v1/types.go
|
./staging/src/k8s.io/api/apps/v1/types.go
|
||||||
./staging/src/k8s.io/api/apps/v1beta1/types.go
|
./staging/src/k8s.io/api/apps/v1beta1/types.go
|
||||||
./staging/src/k8s.io/api/apps/v1beta2/types.go
|
./staging/src/k8s.io/api/apps/v1beta2/types.go
|
||||||
./staging/src/k8s.io/api/authentication/v1/types.go
|
|
||||||
./staging/src/k8s.io/api/authentication/v1beta1/types.go
|
|
||||||
./staging/src/k8s.io/api/autoscaling/v2beta2/types.go
|
./staging/src/k8s.io/api/autoscaling/v2beta2/types.go
|
||||||
./staging/src/k8s.io/api/certificates/v1/types.go
|
./staging/src/k8s.io/api/certificates/v1/types.go
|
||||||
./staging/src/k8s.io/api/certificates/v1beta1/types.go
|
./staging/src/k8s.io/api/certificates/v1beta1/types.go
|
||||||
|
@ -58,11 +58,15 @@ message ExtraValue {
|
|||||||
|
|
||||||
// TokenRequest requests a token for a given service account.
|
// TokenRequest requests a token for a given service account.
|
||||||
message TokenRequest {
|
message TokenRequest {
|
||||||
|
// Standard object's metadata.
|
||||||
|
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||||
// +optional
|
// +optional
|
||||||
optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
|
optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
|
||||||
|
|
||||||
|
// Spec holds information about the request being evaluated
|
||||||
optional TokenRequestSpec spec = 2;
|
optional TokenRequestSpec spec = 2;
|
||||||
|
|
||||||
|
// Status is filled in by the server and indicates whether the token can be authenticated.
|
||||||
// +optional
|
// +optional
|
||||||
optional TokenRequestStatus status = 3;
|
optional TokenRequestStatus status = 3;
|
||||||
}
|
}
|
||||||
@ -105,6 +109,8 @@ message TokenRequestStatus {
|
|||||||
// Note: TokenReview requests may be cached by the webhook token authenticator
|
// Note: TokenReview requests may be cached by the webhook token authenticator
|
||||||
// plugin in the kube-apiserver.
|
// plugin in the kube-apiserver.
|
||||||
message TokenReview {
|
message TokenReview {
|
||||||
|
// Standard object's metadata.
|
||||||
|
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||||
// +optional
|
// +optional
|
||||||
optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
|
optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
|
||||||
|
|
||||||
|
@ -48,6 +48,8 @@ const (
|
|||||||
// plugin in the kube-apiserver.
|
// plugin in the kube-apiserver.
|
||||||
type TokenReview struct {
|
type TokenReview struct {
|
||||||
metav1.TypeMeta `json:",inline"`
|
metav1.TypeMeta `json:",inline"`
|
||||||
|
// Standard object's metadata.
|
||||||
|
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||||
// +optional
|
// +optional
|
||||||
metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
|
metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
|
||||||
|
|
||||||
@ -130,10 +132,15 @@ func (t ExtraValue) String() string {
|
|||||||
// TokenRequest requests a token for a given service account.
|
// TokenRequest requests a token for a given service account.
|
||||||
type TokenRequest struct {
|
type TokenRequest struct {
|
||||||
metav1.TypeMeta `json:",inline"`
|
metav1.TypeMeta `json:",inline"`
|
||||||
|
// Standard object's metadata.
|
||||||
|
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||||
// +optional
|
// +optional
|
||||||
metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
|
metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
|
||||||
|
|
||||||
|
// Spec holds information about the request being evaluated
|
||||||
Spec TokenRequestSpec `json:"spec" protobuf:"bytes,2,opt,name=spec"`
|
Spec TokenRequestSpec `json:"spec" protobuf:"bytes,2,opt,name=spec"`
|
||||||
|
|
||||||
|
// Status is filled in by the server and indicates whether the token can be authenticated.
|
||||||
// +optional
|
// +optional
|
||||||
Status TokenRequestStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
|
Status TokenRequestStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
|
||||||
}
|
}
|
||||||
|
@ -40,7 +40,10 @@ func (BoundObjectReference) SwaggerDoc() map[string]string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var map_TokenRequest = map[string]string{
|
var map_TokenRequest = map[string]string{
|
||||||
"": "TokenRequest requests a token for a given service account.",
|
"": "TokenRequest requests a token for a given service account.",
|
||||||
|
"metadata": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
|
||||||
|
"spec": "Spec holds information about the request being evaluated",
|
||||||
|
"status": "Status is filled in by the server and indicates whether the token can be authenticated.",
|
||||||
}
|
}
|
||||||
|
|
||||||
func (TokenRequest) SwaggerDoc() map[string]string {
|
func (TokenRequest) SwaggerDoc() map[string]string {
|
||||||
@ -69,9 +72,10 @@ func (TokenRequestStatus) SwaggerDoc() map[string]string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var map_TokenReview = map[string]string{
|
var map_TokenReview = map[string]string{
|
||||||
"": "TokenReview attempts to authenticate a token to a known user. Note: TokenReview requests may be cached by the webhook token authenticator plugin in the kube-apiserver.",
|
"": "TokenReview attempts to authenticate a token to a known user. Note: TokenReview requests may be cached by the webhook token authenticator plugin in the kube-apiserver.",
|
||||||
"spec": "Spec holds information about the request being evaluated",
|
"metadata": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
|
||||||
"status": "Status is filled in by the server and indicates whether the request can be authenticated.",
|
"spec": "Spec holds information about the request being evaluated",
|
||||||
|
"status": "Status is filled in by the server and indicates whether the request can be authenticated.",
|
||||||
}
|
}
|
||||||
|
|
||||||
func (TokenReview) SwaggerDoc() map[string]string {
|
func (TokenReview) SwaggerDoc() map[string]string {
|
||||||
|
@ -41,13 +41,15 @@ message ExtraValue {
|
|||||||
// Note: TokenReview requests may be cached by the webhook token authenticator
|
// Note: TokenReview requests may be cached by the webhook token authenticator
|
||||||
// plugin in the kube-apiserver.
|
// plugin in the kube-apiserver.
|
||||||
message TokenReview {
|
message TokenReview {
|
||||||
|
// Standard object's metadata.
|
||||||
|
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||||
// +optional
|
// +optional
|
||||||
optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
|
optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
|
||||||
|
|
||||||
// Spec holds information about the request being evaluated
|
// Spec holds information about the request being evaluated
|
||||||
optional TokenReviewSpec spec = 2;
|
optional TokenReviewSpec spec = 2;
|
||||||
|
|
||||||
// Status is filled in by the server and indicates whether the request can be authenticated.
|
// Status is filled in by the server and indicates whether the token can be authenticated.
|
||||||
// +optional
|
// +optional
|
||||||
optional TokenReviewStatus status = 3;
|
optional TokenReviewStatus status = 3;
|
||||||
}
|
}
|
||||||
|
@ -35,13 +35,15 @@ import (
|
|||||||
// plugin in the kube-apiserver.
|
// plugin in the kube-apiserver.
|
||||||
type TokenReview struct {
|
type TokenReview struct {
|
||||||
metav1.TypeMeta `json:",inline"`
|
metav1.TypeMeta `json:",inline"`
|
||||||
|
// Standard object's metadata.
|
||||||
|
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||||
// +optional
|
// +optional
|
||||||
metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
|
metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
|
||||||
|
|
||||||
// Spec holds information about the request being evaluated
|
// Spec holds information about the request being evaluated
|
||||||
Spec TokenReviewSpec `json:"spec" protobuf:"bytes,2,opt,name=spec"`
|
Spec TokenReviewSpec `json:"spec" protobuf:"bytes,2,opt,name=spec"`
|
||||||
|
|
||||||
// Status is filled in by the server and indicates whether the request can be authenticated.
|
// Status is filled in by the server and indicates whether the token can be authenticated.
|
||||||
// +optional
|
// +optional
|
||||||
Status TokenReviewStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
|
Status TokenReviewStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
|
||||||
}
|
}
|
||||||
|
@ -28,9 +28,10 @@ package v1beta1
|
|||||||
|
|
||||||
// AUTO-GENERATED FUNCTIONS START HERE. DO NOT EDIT.
|
// AUTO-GENERATED FUNCTIONS START HERE. DO NOT EDIT.
|
||||||
var map_TokenReview = map[string]string{
|
var map_TokenReview = map[string]string{
|
||||||
"": "TokenReview attempts to authenticate a token to a known user. Note: TokenReview requests may be cached by the webhook token authenticator plugin in the kube-apiserver.",
|
"": "TokenReview attempts to authenticate a token to a known user. Note: TokenReview requests may be cached by the webhook token authenticator plugin in the kube-apiserver.",
|
||||||
"spec": "Spec holds information about the request being evaluated",
|
"metadata": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
|
||||||
"status": "Status is filled in by the server and indicates whether the request can be authenticated.",
|
"spec": "Spec holds information about the request being evaluated",
|
||||||
|
"status": "Status is filled in by the server and indicates whether the token can be authenticated.",
|
||||||
}
|
}
|
||||||
|
|
||||||
func (TokenReview) SwaggerDoc() map[string]string {
|
func (TokenReview) SwaggerDoc() map[string]string {
|
||||||
|
Loading…
Reference in New Issue
Block a user