Skip to content

Commit f631b35

Browse files
committed
[skip ci] repo-sync
1 parent 7c51e96 commit f631b35

File tree

104 files changed

+8646
-5000
lines changed

Some content is hidden

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

104 files changed

+8646
-5000
lines changed

gen/models/V1DeleteOptions.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ export class V1DeleteOptions {
3030
*/
3131
'gracePeriodSeconds'?: number;
3232
/**
33+
* if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it
34+
*/
35+
'ignoreStoreReadErrorWithClusterBreakingPotential'?: boolean;
36+
/**
3337
* Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
3438
*/
3539
'kind'?: string;
@@ -64,6 +68,12 @@ export class V1DeleteOptions {
6468
"type": "number",
6569
"format": "int64"
6670
},
71+
{
72+
"name": "ignoreStoreReadErrorWithClusterBreakingPotential",
73+
"baseName": "ignoreStoreReadErrorWithClusterBreakingPotential",
74+
"type": "boolean",
75+
"format": ""
76+
},
6777
{
6878
"name": "kind",
6979
"baseName": "kind",

gen/models/V1GRPCAction.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@
1212

1313

1414

15+
/**
16+
* GRPCAction specifies an action involving a GRPC service.
17+
*/
1518
export class V1GRPCAction {
1619
/**
1720
* Port number of the gRPC service. Number must be in the range 1 to 65535.

gen/models/V1PersistentVolumeClaimCondition.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,13 @@ export class V1PersistentVolumeClaimCondition {
3232
* reason is a unique, this should be a short, machine understandable string that gives the reason for condition\'s last transition. If it reports \"Resizing\" that means the underlying persistent volume is being resized.
3333
*/
3434
'reason'?: string;
35+
/**
36+
* Status is the status of the condition. Can be True, False, Unknown. More info: https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/#:~:text=state%20of%20pvc-,conditions.status,-(string)%2C%20required
37+
*/
3538
'status': string;
39+
/**
40+
* Type is the type of the condition. More info: https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/#:~:text=set%20to%20%27ResizeStarted%27.-,PersistentVolumeClaimCondition,-contains%20details%20about
41+
*/
3642
'type': string;
3743

3844
static readonly discriminator: string | undefined = undefined;

gen/models/V1PodDNSConfigOption.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,12 @@
1717
*/
1818
export class V1PodDNSConfigOption {
1919
/**
20-
* Required.
20+
* Name is this DNS resolver option\'s name. Required.
2121
*/
2222
'name'?: string;
23+
/**
24+
* Value is this DNS resolver option\'s value.
25+
*/
2326
'value'?: string;
2427

2528
static readonly discriminator: string | undefined = undefined;

gen/models/V1PodSecurityContext.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ export class V1PodSecurityContext {
4242
* The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows.
4343
*/
4444
'runAsUser'?: number;
45+
/**
46+
* seLinuxChangePolicy defines how the container\'s SELinux label is applied to all volumes used by the Pod. It has no effect on nodes that do not support SELinux or to volumes does not support SELinux. Valid values are \"MountOption\" and \"Recursive\". \"Recursive\" means relabeling of all files on all Pod volumes by the container runtime. This may be slow for large volumes, but allows mixing privileged and unprivileged Pods sharing the same volume on the same node. \"MountOption\" mounts all eligible Pod volumes with `-o context` mount option. This requires all Pods that share the same volume to use the same SELinux label. It is not possible to share the same volume among privileged and unprivileged Pods. Eligible volumes are in-tree FibreChannel and iSCSI volumes, and all CSI volumes whose CSI driver announces SELinux support by setting spec.seLinuxMount: true in their CSIDriver instance. Other volumes are always re-labelled recursively. \"MountOption\" value is allowed only when SELinuxMount feature gate is enabled. If not specified and SELinuxMount feature gate is enabled, \"MountOption\" is used. If not specified and SELinuxMount feature gate is disabled, \"MountOption\" is used for ReadWriteOncePod volumes and \"Recursive\" for all other volumes. This field affects only Pods that have SELinux label set, either in PodSecurityContext or in SecurityContext of all containers. All Pods that use the same volume should use the same seLinuxChangePolicy, otherwise some pods can get stuck in ContainerCreating state. Note that this field cannot be set when spec.os.name is windows.
47+
*/
48+
'seLinuxChangePolicy'?: string;
4549
'seLinuxOptions'?: V1SELinuxOptions;
4650
'seccompProfile'?: V1SeccompProfile;
4751
/**
@@ -97,6 +101,12 @@ export class V1PodSecurityContext {
97101
"type": "number",
98102
"format": "int64"
99103
},
104+
{
105+
"name": "seLinuxChangePolicy",
106+
"baseName": "seLinuxChangePolicy",
107+
"type": "string",
108+
"format": ""
109+
},
100110
{
101111
"name": "seLinuxOptions",
102112
"baseName": "seLinuxOptions",

gen/models/V1PodSpec.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ import { V1PodReadinessGate } from '../models/V1PodReadinessGate';
2121
import { V1PodResourceClaim } from '../models/V1PodResourceClaim';
2222
import { V1PodSchedulingGate } from '../models/V1PodSchedulingGate';
2323
import { V1PodSecurityContext } from '../models/V1PodSecurityContext';
24+
import { V1ResourceRequirements } from '../models/V1ResourceRequirements';
2425
import { V1Toleration } from '../models/V1Toleration';
2526
import { V1TopologySpreadConstraint } from '../models/V1TopologySpreadConstraint';
2627
import { V1Volume } from '../models/V1Volume';
@@ -121,6 +122,7 @@ export class V1PodSpec {
121122
* ResourceClaims defines which ResourceClaims must be allocated and reserved before the Pod is allowed to start. The resources will be made available to those containers which consume them by name. This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. This field is immutable.
122123
*/
123124
'resourceClaims'?: Array<V1PodResourceClaim>;
125+
'resources'?: V1ResourceRequirements;
124126
/**
125127
* Restart policy for all containers within the pod. One of Always, OnFailure, Never. In some contexts, only a subset of those values may be permitted. Default to Always. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy Possible enum values: - `\"Always\"` - `\"Never\"` - `\"OnFailure\"`
126128
*/
@@ -328,6 +330,12 @@ export class V1PodSpec {
328330
"type": "Array<V1PodResourceClaim>",
329331
"format": ""
330332
},
333+
{
334+
"name": "resources",
335+
"baseName": "resources",
336+
"type": "V1ResourceRequirements",
337+
"format": ""
338+
},
331339
{
332340
"name": "restartPolicy",
333341
"baseName": "restartPolicy",

gen/models/V1PodStatus.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ export class V1PodStatus {
2626
*/
2727
'conditions'?: Array<V1PodCondition>;
2828
/**
29-
* The list has one entry per container in the manifest. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status
29+
* Statuses of containers in this pod. Each container in the pod should have at most one status in this list, and all statuses should be for containers in the pod. However this is not enforced. If a status for a non-existent container is present in the list, or the list has duplicate names, the behavior of various Kubernetes components is not defined and those statuses might be ignored. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status
3030
*/
3131
'containerStatuses'?: Array<V1ContainerStatus>;
3232
/**
33-
* Status for any ephemeral containers that have run in this pod.
33+
* Statuses for any ephemeral containers that have run in this pod. Each ephemeral container in the pod should have at most one status in this list, and all statuses should be for containers in the pod. However this is not enforced. If a status for a non-existent container is present in the list, or the list has duplicate names, the behavior of various Kubernetes components is not defined and those statuses might be ignored. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status
3434
*/
3535
'ephemeralContainerStatuses'?: Array<V1ContainerStatus>;
3636
/**
@@ -42,7 +42,7 @@ export class V1PodStatus {
4242
*/
4343
'hostIPs'?: Array<V1HostIP>;
4444
/**
45-
* The list has one entry per init container in the manifest. The most recent successful init container will have ready = true, the most recently started container will have startTime set. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status
45+
* Statuses of init containers in this pod. The most recent successful non-restartable init container will have ready = true, the most recently started container will have startTime set. Each init container in the pod should have at most one status in this list, and all statuses should be for containers in the pod. However this is not enforced. If a status for a non-existent container is present in the list, or the list has duplicate names, the behavior of various Kubernetes components is not defined and those statuses might be ignored. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#pod-and-container-status
4646
*/
4747
'initContainerStatuses'?: Array<V1ContainerStatus>;
4848
/**

gen/models/V1ResourceHealth.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414

1515
/**
16-
* ResourceHealth represents the health of a resource. It has the latest device health information. This is a part of KEP https://kep.k8s.io/4680 and historical health changes are planned to be added in future iterations of a KEP.
16+
* ResourceHealth represents the health of a resource. It has the latest device health information. This is a part of KEP https://kep.k8s.io/4680.
1717
*/
1818
export class V1ResourceHealth {
1919
/**

gen/models/V1ResourceStatus.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,16 @@
1313
import { V1ResourceHealth } from '../models/V1ResourceHealth';
1414

1515

16+
/**
17+
* ResourceStatus represents the status of a single resource allocated to a Pod.
18+
*/
1619
export class V1ResourceStatus {
1720
/**
18-
* Name of the resource. Must be unique within the pod and match one of the resources from the pod spec.
21+
* Name of the resource. Must be unique within the pod and in case of non-DRA resource, match one of the resources from the pod spec. For DRA resources, the value must be \"claim:<claim_name>/<request>\". When this status is reported about a container, the \"claim_name\" and \"request\" must match one of the claims of this container.
1922
*/
2023
'name': string;
2124
/**
22-
* List of unique Resources health. Each element in the list contains an unique resource ID and resource health. At a minimum, ResourceID must uniquely identify the Resource allocated to the Pod on the Node for the lifetime of a Pod. See ResourceID type for it\'s definition.
25+
* List of unique resources health. Each element in the list contains an unique resource ID and its health. At a minimum, for the lifetime of a Pod, resource ID must uniquely identify the resource allocated to the Pod on the Node. If other Pod on the same Node reports the status with the same resource ID, it must be the same resource they share. See ResourceID type definition for a specific format it has in various use cases.
2326
*/
2427
'resources'?: Array<V1ResourceHealth>;
2528

gen/models/V1TypedObjectReference.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@
1212

1313

1414

15+
/**
16+
* TypedObjectReference contains enough information to let you locate the typed referenced object
17+
*/
1518
export class V1TypedObjectReference {
1619
/**
1720
* APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.

0 commit comments

Comments
 (0)