Skip to content

Commit

Permalink
Upgrade kubernetes API to 1.29 (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
avivtur authored Feb 1, 2024
1 parent 451d1c7 commit db67300
Show file tree
Hide file tree
Showing 902 changed files with 9,748 additions and 5,276 deletions.
2 changes: 1 addition & 1 deletion containerized-data-importer/models/V1CustomTLSProfile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export interface V1CustomTLSProfile {
/**
* minTLSVersion is used to specify the minimal version of the TLS protocol that is negotiated during the TLS handshake. For example, to use TLS versions 1.1, 1.2 and 1.3 (yaml):
*
* minTLSVersion: VersionTLS11
* minTLSVersion: TLSv1.1
*
* NOTE: currently the highest minTLSVersion allowed is VersionTLS12
* @type {string}
Expand Down
10 changes: 5 additions & 5 deletions containerized-data-importer/models/V1ObjectMeta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import {
*/
export interface V1ObjectMeta {
/**
* Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations
* Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations
* @type {{ [key: string]: string; }}
* @memberof V1ObjectMeta
*/
Expand Down Expand Up @@ -75,7 +75,7 @@ export interface V1ObjectMeta {
*/
generation?: number;
/**
* Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels
* Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels
* @type {{ [key: string]: string; }}
* @memberof V1ObjectMeta
*/
Expand All @@ -87,15 +87,15 @@ export interface V1ObjectMeta {
*/
managedFields?: Array<V1ManagedFieldsEntry>;
/**
* Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names
* Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names
* @type {string}
* @memberof V1ObjectMeta
*/
name?: string;
/**
* Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.
*
* Must be a DNS_LABEL. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces
* Must be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces
* @type {string}
* @memberof V1ObjectMeta
*/
Expand Down Expand Up @@ -123,7 +123,7 @@ export interface V1ObjectMeta {
/**
* UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.
*
* Populated by the system. Read-only. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids
* Populated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids
* @type {string}
* @memberof V1ObjectMeta
*/
Expand Down
4 changes: 2 additions & 2 deletions containerized-data-importer/models/V1OwnerReference.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@ export interface V1OwnerReference {
*/
kind: string;
/**
* Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names
* Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names
* @type {string}
* @memberof V1OwnerReference
*/
name: string;
/**
* UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids
* UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids
* @type {string}
* @memberof V1OwnerReference
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,14 +72,10 @@ export interface V1PersistentVolumeClaimSpec {
storageClassName?: string;
/**
* volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec.
*
* Possible enum values:
* - `"Block"` means the volume will not be formatted with a filesystem and will remain a raw block device.
* - `"Filesystem"` means the volume will be or is formatted with a filesystem.
* @type {string}
* @memberof V1PersistentVolumeClaimSpec
*/
volumeMode?: V1PersistentVolumeClaimSpecVolumeModeEnum;
volumeMode?: string;
/**
* volumeName is the binding reference to the PersistentVolume backing this claim.
* @type {string}
Expand All @@ -88,15 +84,6 @@ export interface V1PersistentVolumeClaimSpec {
volumeName?: string;
}

/**
* @export
* @enum {string}
*/
export enum V1PersistentVolumeClaimSpecVolumeModeEnum {
Block = 'Block',
Filesystem = 'Filesystem',
}

export function V1PersistentVolumeClaimSpecFromJSON(json: any): V1PersistentVolumeClaimSpec {
return V1PersistentVolumeClaimSpecFromJSONTyped(json, false);
}
Expand Down
4 changes: 2 additions & 2 deletions containerized-data-importer/models/V1ResourceRequirements.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export interface V1ResourceRequirements {
*
* This is an alpha field and requires enabling the DynamicResourceAllocation feature gate.
*
* This field is immutable. It can only be set for containers.
* This field is immutable.
* @type {Array<V1ResourceClaim>}
* @memberof V1ResourceRequirements
*/
Expand All @@ -38,7 +38,7 @@ export interface V1ResourceRequirements {
*/
limits?: { [key: string]: string };
/**
* Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
* Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
* @type {{ [key: string]: string; }}
* @memberof V1ResourceRequirements
*/
Expand Down
2 changes: 1 addition & 1 deletion containerized-data-importer/models/V1StatusDetails.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export interface V1StatusDetails {
*/
retryAfterSeconds?: number;
/**
* UID of the resource. (when there is a single resource which can be described). More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids
* UID of the resource. (when there is a single resource which can be described). More info: http://kubernetes.io/docs/user-guide/identifiers#uids
* @type {string}
* @memberof V1StatusDetails
*/
Expand Down
8 changes: 0 additions & 8 deletions containerized-data-importer/models/V1beta1CDIConfigSpec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,6 @@ export interface V1beta1CDIConfigSpec {
* @memberof V1beta1CDIConfigSpec
*/
insecureRegistries?: Array<string>;
/**
* LogVerbosity overrides the default verbosity level used to initialize loggers
* @type {number}
* @memberof V1beta1CDIConfigSpec
*/
logVerbosity?: number;
/**
*
* @type {V1ResourceRequirements}
Expand Down Expand Up @@ -139,7 +133,6 @@ export function V1beta1CDIConfigSpecFromJSONTyped(
insecureRegistries: !exists(json, 'insecureRegistries')
? undefined
: json['insecureRegistries'],
logVerbosity: !exists(json, 'logVerbosity') ? undefined : json['logVerbosity'],
podResourceRequirements: !exists(json, 'podResourceRequirements')
? undefined
: V1ResourceRequirementsFromJSON(json['podResourceRequirements']),
Expand Down Expand Up @@ -173,7 +166,6 @@ export function V1beta1CDIConfigSpecToJSON(value?: V1beta1CDIConfigSpec | null):
: (value.imagePullSecrets as Array<any>).map(V1LocalObjectReferenceToJSON),
importProxy: V1beta1ImportProxyToJSON(value.importProxy),
insecureRegistries: value.insecureRegistries,
logVerbosity: value.logVerbosity,
podResourceRequirements: V1ResourceRequirementsToJSON(value.podResourceRequirements),
preallocation: value.preallocation,
scratchSpaceStorageClass: value.scratchSpaceStorageClass,
Expand Down
24 changes: 4 additions & 20 deletions containerized-data-importer/models/V1beta1CDISpec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,6 @@ import {
V1beta1CDIConfigSpec,
V1beta1CDIConfigSpecFromJSON,
V1beta1CDIConfigSpecToJSON,
V1beta1ComponentConfig,
V1beta1ComponentConfigFromJSON,
V1beta1ComponentConfigToJSON,
V1beta1CustomizeComponents,
V1beta1CustomizeComponentsFromJSON,
V1beta1CustomizeComponentsToJSON,
} from './';

/**
Expand All @@ -55,12 +49,6 @@ export interface V1beta1CDISpec {
* @memberof V1beta1CDISpec
*/
config?: V1beta1CDIConfigSpec;
/**
*
* @type {V1beta1CustomizeComponents}
* @memberof V1beta1CDISpec
*/
customizeComponents?: V1beta1CustomizeComponents;
/**
* PullPolicy describes a policy for if/when to pull a container image
*
Expand All @@ -74,10 +62,10 @@ export interface V1beta1CDISpec {
imagePullPolicy?: V1beta1CDISpecImagePullPolicyEnum;
/**
*
* @type {V1beta1ComponentConfig}
* @type {ApiNodePlacement}
* @memberof V1beta1CDISpec
*/
infra?: V1beta1ComponentConfig;
infra?: ApiNodePlacement;
/**
* PriorityClass of the CDI control plane
* @type {string}
Expand Down Expand Up @@ -127,11 +115,8 @@ export function V1beta1CDISpecFromJSONTyped(
? undefined
: json['cloneStrategyOverride'],
config: !exists(json, 'config') ? undefined : V1beta1CDIConfigSpecFromJSON(json['config']),
customizeComponents: !exists(json, 'customizeComponents')
? undefined
: V1beta1CustomizeComponentsFromJSON(json['customizeComponents']),
imagePullPolicy: !exists(json, 'imagePullPolicy') ? undefined : json['imagePullPolicy'],
infra: !exists(json, 'infra') ? undefined : V1beta1ComponentConfigFromJSON(json['infra']),
infra: !exists(json, 'infra') ? undefined : ApiNodePlacementFromJSON(json['infra']),
priorityClass: !exists(json, 'priorityClass') ? undefined : json['priorityClass'],
uninstallStrategy: !exists(json, 'uninstallStrategy') ? undefined : json['uninstallStrategy'],
workload: !exists(json, 'workload') ? undefined : ApiNodePlacementFromJSON(json['workload']),
Expand All @@ -149,9 +134,8 @@ export function V1beta1CDISpecToJSON(value?: V1beta1CDISpec | null): any {
certConfig: V1beta1CDICertConfigToJSON(value.certConfig),
cloneStrategyOverride: value.cloneStrategyOverride,
config: V1beta1CDIConfigSpecToJSON(value.config),
customizeComponents: V1beta1CustomizeComponentsToJSON(value.customizeComponents),
imagePullPolicy: value.imagePullPolicy,
infra: V1beta1ComponentConfigToJSON(value.infra),
infra: ApiNodePlacementToJSON(value.infra),
priorityClass: value.priorityClass,
uninstallStrategy: value.uninstallStrategy,
workload: ApiNodePlacementToJSON(value.workload),
Expand Down
114 changes: 0 additions & 114 deletions containerized-data-importer/models/V1beta1ComponentConfig.ts

This file was deleted.

Loading

0 comments on commit db67300

Please sign in to comment.