Skip to content

Commit 6663338

Browse files
committed
[skip ci] repo-sync
1 parent d8c1664 commit 6663338

26 files changed

+881
-15
lines changed

gen/models/V1ContainerStatus.ts

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@
1111
*/
1212

1313
import { V1ContainerState } from '../models/V1ContainerState';
14+
import { V1ContainerUser } from '../models/V1ContainerUser';
1415
import { V1ResourceRequirements } from '../models/V1ResourceRequirements';
16+
import { V1ResourceStatus } from '../models/V1ResourceStatus';
1517
import { V1VolumeMountStatus } from '../models/V1VolumeMountStatus';
1618

1719

@@ -24,6 +26,10 @@ export class V1ContainerStatus {
2426
*/
2527
'allocatedResources'?: { [key: string]: string; };
2628
/**
29+
* AllocatedResourcesStatus represents the status of various resources allocated for this Pod.
30+
*/
31+
'allocatedResourcesStatus'?: Array<V1ResourceStatus>;
32+
/**
2733
* ContainerID is the ID of the container in the format \'<type>://<container_id>\'. Where type is a container runtime identifier, returned from Version call of CRI API (for example \"containerd\").
2834
*/
2935
'containerID'?: string;
@@ -54,6 +60,7 @@ export class V1ContainerStatus {
5460
*/
5561
'started'?: boolean;
5662
'state'?: V1ContainerState;
63+
'user'?: V1ContainerUser;
5764
/**
5865
* Status of volume mounts.
5966
*/
@@ -68,6 +75,12 @@ export class V1ContainerStatus {
6875
"type": "{ [key: string]: string; }",
6976
"format": ""
7077
},
78+
{
79+
"name": "allocatedResourcesStatus",
80+
"baseName": "allocatedResourcesStatus",
81+
"type": "Array<V1ResourceStatus>",
82+
"format": ""
83+
},
7184
{
7285
"name": "containerID",
7386
"baseName": "containerID",
@@ -128,6 +141,12 @@ export class V1ContainerStatus {
128141
"type": "V1ContainerState",
129142
"format": ""
130143
},
144+
{
145+
"name": "user",
146+
"baseName": "user",
147+
"type": "V1ContainerUser",
148+
"format": ""
149+
},
131150
{
132151
"name": "volumeMounts",
133152
"baseName": "volumeMounts",

gen/models/V1ContainerUser.ts

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
/**
2+
* Api
3+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4+
*
5+
* OpenAPI spec version: master
6+
*
7+
*
8+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9+
* https://openapi-generator.tech
10+
* Do not edit the class manually.
11+
*/
12+
13+
import { V1LinuxContainerUser } from '../models/V1LinuxContainerUser';
14+
15+
16+
/**
17+
* ContainerUser represents user identity information
18+
*/
19+
export class V1ContainerUser {
20+
'linux'?: V1LinuxContainerUser;
21+
22+
static readonly discriminator: string | undefined = undefined;
23+
24+
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
25+
{
26+
"name": "linux",
27+
"baseName": "linux",
28+
"type": "V1LinuxContainerUser",
29+
"format": ""
30+
} ];
31+
32+
static getAttributeTypeMap() {
33+
return V1ContainerUser.attributeTypeMap;
34+
}
35+
36+
public constructor() {
37+
}
38+
}
39+
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
/**
2+
* Api
3+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4+
*
5+
* OpenAPI spec version: master
6+
*
7+
*
8+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9+
* https://openapi-generator.tech
10+
* Do not edit the class manually.
11+
*/
12+
13+
import { V1FieldSelectorRequirement } from '../models/V1FieldSelectorRequirement';
14+
15+
16+
/**
17+
* FieldSelectorAttributes indicates a field limited access. Webhook authors are encouraged to * ensure rawSelector and requirements are not both set * consider the requirements field if set * not try to parse or consider the rawSelector field if set. This is to avoid another CVE-2022-2880 (i.e. getting different systems to agree on how exactly to parse a query is not something we want), see https://www.oxeye.io/resources/golang-parameter-smuggling-attack for more details. For the *SubjectAccessReview endpoints of the kube-apiserver: * If rawSelector is empty and requirements are empty, the request is not limited. * If rawSelector is present and requirements are empty, the rawSelector will be parsed and limited if the parsing succeeds. * If rawSelector is empty and requirements are present, the requirements should be honored * If rawSelector is present and requirements are present, the request is invalid.
18+
*/
19+
export class V1FieldSelectorAttributes {
20+
/**
21+
* rawSelector is the serialization of a field selector that would be included in a query parameter. Webhook implementations are encouraged to ignore rawSelector. The kube-apiserver\'s *SubjectAccessReview will parse the rawSelector as long as the requirements are not present.
22+
*/
23+
'rawSelector'?: string;
24+
/**
25+
* requirements is the parsed interpretation of a field selector. All requirements must be met for a resource instance to match the selector. Webhook implementations should handle requirements, but how to handle them is up to the webhook. Since requirements can only limit the request, it is safe to authorize as unlimited request if the requirements are not understood.
26+
*/
27+
'requirements'?: Array<V1FieldSelectorRequirement>;
28+
29+
static readonly discriminator: string | undefined = undefined;
30+
31+
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
32+
{
33+
"name": "rawSelector",
34+
"baseName": "rawSelector",
35+
"type": "string",
36+
"format": ""
37+
},
38+
{
39+
"name": "requirements",
40+
"baseName": "requirements",
41+
"type": "Array<V1FieldSelectorRequirement>",
42+
"format": ""
43+
} ];
44+
45+
static getAttributeTypeMap() {
46+
return V1FieldSelectorAttributes.attributeTypeMap;
47+
}
48+
49+
public constructor() {
50+
}
51+
}
52+
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
/**
2+
* Api
3+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4+
*
5+
* OpenAPI spec version: master
6+
*
7+
*
8+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9+
* https://openapi-generator.tech
10+
* Do not edit the class manually.
11+
*/
12+
13+
14+
15+
/**
16+
* FieldSelectorRequirement is a selector that contains values, a key, and an operator that relates the key and values.
17+
*/
18+
export class V1FieldSelectorRequirement {
19+
/**
20+
* key is the field selector key that the requirement applies to.
21+
*/
22+
'key': string;
23+
/**
24+
* operator represents a key\'s relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. The list of operators may grow in the future.
25+
*/
26+
'operator': string;
27+
/**
28+
* values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty.
29+
*/
30+
'values'?: Array<string>;
31+
32+
static readonly discriminator: string | undefined = undefined;
33+
34+
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
35+
{
36+
"name": "key",
37+
"baseName": "key",
38+
"type": "string",
39+
"format": ""
40+
},
41+
{
42+
"name": "operator",
43+
"baseName": "operator",
44+
"type": "string",
45+
"format": ""
46+
},
47+
{
48+
"name": "values",
49+
"baseName": "values",
50+
"type": "Array<string>",
51+
"format": ""
52+
} ];
53+
54+
static getAttributeTypeMap() {
55+
return V1FieldSelectorRequirement.attributeTypeMap;
56+
}
57+
58+
public constructor() {
59+
}
60+
}
61+

gen/models/V1ImageVolumeSource.ts

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
/**
2+
* Api
3+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4+
*
5+
* OpenAPI spec version: master
6+
*
7+
*
8+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9+
* https://openapi-generator.tech
10+
* Do not edit the class manually.
11+
*/
12+
13+
14+
15+
/**
16+
* ImageVolumeSource represents a image volume resource.
17+
*/
18+
export class V1ImageVolumeSource {
19+
/**
20+
* Policy for pulling OCI objects. Possible values are: Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails. Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn\'t present. IfNotPresent: the kubelet pulls if the reference isn\'t already present on disk. Container creation will fail if the reference isn\'t present and the pull fails. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Possible enum values: - `\"Always\"` means that kubelet always attempts to pull the latest image. Container will fail If the pull fails. - `\"IfNotPresent\"` means that kubelet pulls if the image isn\'t present on disk. Container will fail if the image isn\'t present and the pull fails. - `\"Never\"` means that kubelet never pulls an image, but only uses a local image. Container will fail if the image isn\'t present
21+
*/
22+
'pullPolicy'?: V1ImageVolumeSourcePullPolicyEnum;
23+
/**
24+
* Required: Image or artifact reference to be used. Behaves in the same way as pod.spec.containers[*].image. Pull secrets will be assembled in the same way as for the container image by looking up node credentials, SA image pull secrets, and pod spec image pull secrets. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets.
25+
*/
26+
'reference'?: string;
27+
28+
static readonly discriminator: string | undefined = undefined;
29+
30+
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
31+
{
32+
"name": "pullPolicy",
33+
"baseName": "pullPolicy",
34+
"type": "V1ImageVolumeSourcePullPolicyEnum",
35+
"format": ""
36+
},
37+
{
38+
"name": "reference",
39+
"baseName": "reference",
40+
"type": "string",
41+
"format": ""
42+
} ];
43+
44+
static getAttributeTypeMap() {
45+
return V1ImageVolumeSource.attributeTypeMap;
46+
}
47+
48+
public constructor() {
49+
}
50+
}
51+
52+
53+
export enum V1ImageVolumeSourcePullPolicyEnum {
54+
Always = 'Always',
55+
IfNotPresent = 'IfNotPresent',
56+
Never = 'Never'
57+
}
58+
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
/**
2+
* Api
3+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4+
*
5+
* OpenAPI spec version: master
6+
*
7+
*
8+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9+
* https://openapi-generator.tech
10+
* Do not edit the class manually.
11+
*/
12+
13+
import { V1LabelSelectorRequirement } from '../models/V1LabelSelectorRequirement';
14+
15+
16+
/**
17+
* LabelSelectorAttributes indicates a label limited access. Webhook authors are encouraged to * ensure rawSelector and requirements are not both set * consider the requirements field if set * not try to parse or consider the rawSelector field if set. This is to avoid another CVE-2022-2880 (i.e. getting different systems to agree on how exactly to parse a query is not something we want), see https://www.oxeye.io/resources/golang-parameter-smuggling-attack for more details. For the *SubjectAccessReview endpoints of the kube-apiserver: * If rawSelector is empty and requirements are empty, the request is not limited. * If rawSelector is present and requirements are empty, the rawSelector will be parsed and limited if the parsing succeeds. * If rawSelector is empty and requirements are present, the requirements should be honored * If rawSelector is present and requirements are present, the request is invalid.
18+
*/
19+
export class V1LabelSelectorAttributes {
20+
/**
21+
* rawSelector is the serialization of a field selector that would be included in a query parameter. Webhook implementations are encouraged to ignore rawSelector. The kube-apiserver\'s *SubjectAccessReview will parse the rawSelector as long as the requirements are not present.
22+
*/
23+
'rawSelector'?: string;
24+
/**
25+
* requirements is the parsed interpretation of a label selector. All requirements must be met for a resource instance to match the selector. Webhook implementations should handle requirements, but how to handle them is up to the webhook. Since requirements can only limit the request, it is safe to authorize as unlimited request if the requirements are not understood.
26+
*/
27+
'requirements'?: Array<V1LabelSelectorRequirement>;
28+
29+
static readonly discriminator: string | undefined = undefined;
30+
31+
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
32+
{
33+
"name": "rawSelector",
34+
"baseName": "rawSelector",
35+
"type": "string",
36+
"format": ""
37+
},
38+
{
39+
"name": "requirements",
40+
"baseName": "requirements",
41+
"type": "Array<V1LabelSelectorRequirement>",
42+
"format": ""
43+
} ];
44+
45+
static getAttributeTypeMap() {
46+
return V1LabelSelectorAttributes.attributeTypeMap;
47+
}
48+
49+
public constructor() {
50+
}
51+
}
52+

gen/models/V1LinuxContainerUser.ts

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
/**
2+
* Api
3+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4+
*
5+
* OpenAPI spec version: master
6+
*
7+
*
8+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9+
* https://openapi-generator.tech
10+
* Do not edit the class manually.
11+
*/
12+
13+
14+
15+
/**
16+
* LinuxContainerUser represents user identity information in Linux containers
17+
*/
18+
export class V1LinuxContainerUser {
19+
/**
20+
* GID is the primary gid initially attached to the first process in the container
21+
*/
22+
'gid': number;
23+
/**
24+
* SupplementalGroups are the supplemental groups initially attached to the first process in the container
25+
*/
26+
'supplementalGroups'?: Array<number>;
27+
/**
28+
* UID is the primary uid initially attached to the first process in the container
29+
*/
30+
'uid': number;
31+
32+
static readonly discriminator: string | undefined = undefined;
33+
34+
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
35+
{
36+
"name": "gid",
37+
"baseName": "gid",
38+
"type": "number",
39+
"format": "int64"
40+
},
41+
{
42+
"name": "supplementalGroups",
43+
"baseName": "supplementalGroups",
44+
"type": "Array<number>",
45+
"format": "int64"
46+
},
47+
{
48+
"name": "uid",
49+
"baseName": "uid",
50+
"type": "number",
51+
"format": "int64"
52+
} ];
53+
54+
static getAttributeTypeMap() {
55+
return V1LinuxContainerUser.attributeTypeMap;
56+
}
57+
58+
public constructor() {
59+
}
60+
}
61+

gen/models/V1PersistentVolumeClaimSpec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export class V1PersistentVolumeClaimSpec {
3333
*/
3434
'storageClassName'?: string;
3535
/**
36-
* volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. If specified, the CSI driver will create or update the volume with the attributes defined in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass will be applied to the claim but it\'s not allowed to reset this field to empty string once it is set. If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass will be set by the persistentvolume controller if it exists. If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource exists. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled.
36+
* volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. If specified, the CSI driver will create or update the volume with the attributes defined in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass will be applied to the claim but it\'s not allowed to reset this field to empty string once it is set. If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass will be set by the persistentvolume controller if it exists. If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource exists. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Beta) Using this field requires the VolumeAttributesClass feature gate to be enabled (off by default).
3737
*/
3838
'volumeAttributesClassName'?: string;
3939
/**

0 commit comments

Comments
 (0)