diff --git a/k8s/1.14/api/admissionregistration/v1beta1/mutating_webhook_configuration.k b/k8s/1.14/api/admissionregistration/v1beta1/mutating_webhook_configuration.k index a4ac0c9b..409916d3 100644 --- a/k8s/1.14/api/admissionregistration/v1beta1/mutating_webhook_configuration.k +++ b/k8s/1.14/api/admissionregistration/v1beta1/mutating_webhook_configuration.k @@ -3,7 +3,7 @@ This is the mutating_webhook_configuration module in k8s.api.admissionregistrati This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MutatingWebhookConfiguration: @@ -16,7 +16,7 @@ schema MutatingWebhookConfiguration: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "MutatingWebhookConfiguration", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata. webhooks : [Webhook], default is Undefined, optional Webhooks is a list of webhooks and the affected resources and operations. @@ -27,7 +27,7 @@ schema MutatingWebhookConfiguration: kind: "MutatingWebhookConfiguration" = "MutatingWebhookConfiguration" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta webhooks?: [Webhook] diff --git a/k8s/1.14/api/admissionregistration/v1beta1/mutating_webhook_configuration_list.k b/k8s/1.14/api/admissionregistration/v1beta1/mutating_webhook_configuration_list.k index 86eabe64..f04e0f0a 100644 --- a/k8s/1.14/api/admissionregistration/v1beta1/mutating_webhook_configuration_list.k +++ b/k8s/1.14/api/admissionregistration/v1beta1/mutating_webhook_configuration_list.k @@ -3,7 +3,7 @@ This is the mutating_webhook_configuration_list module in k8s.api.admissionregis This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MutatingWebhookConfigurationList: @@ -18,7 +18,7 @@ schema MutatingWebhookConfigurationList: List of MutatingWebhookConfiguration. kind : str, default is "MutatingWebhookConfigurationList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema MutatingWebhookConfigurationList: kind: "MutatingWebhookConfigurationList" = "MutatingWebhookConfigurationList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.14/api/admissionregistration/v1beta1/validating_webhook_configuration.k b/k8s/1.14/api/admissionregistration/v1beta1/validating_webhook_configuration.k index dedbc145..823d3015 100644 --- a/k8s/1.14/api/admissionregistration/v1beta1/validating_webhook_configuration.k +++ b/k8s/1.14/api/admissionregistration/v1beta1/validating_webhook_configuration.k @@ -3,7 +3,7 @@ This is the validating_webhook_configuration module in k8s.api.admissionregistra This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingWebhookConfiguration: @@ -16,7 +16,7 @@ schema ValidatingWebhookConfiguration: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "ValidatingWebhookConfiguration", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata. webhooks : [Webhook], default is Undefined, optional Webhooks is a list of webhooks and the affected resources and operations. @@ -27,7 +27,7 @@ schema ValidatingWebhookConfiguration: kind: "ValidatingWebhookConfiguration" = "ValidatingWebhookConfiguration" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta webhooks?: [Webhook] diff --git a/k8s/1.14/api/admissionregistration/v1beta1/validating_webhook_configuration_list.k b/k8s/1.14/api/admissionregistration/v1beta1/validating_webhook_configuration_list.k index d6d6ba8b..ecc97e64 100644 --- a/k8s/1.14/api/admissionregistration/v1beta1/validating_webhook_configuration_list.k +++ b/k8s/1.14/api/admissionregistration/v1beta1/validating_webhook_configuration_list.k @@ -3,7 +3,7 @@ This is the validating_webhook_configuration_list module in k8s.api.admissionreg This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingWebhookConfigurationList: @@ -18,7 +18,7 @@ schema ValidatingWebhookConfigurationList: List of ValidatingWebhookConfiguration. kind : str, default is "ValidatingWebhookConfigurationList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ValidatingWebhookConfigurationList: kind: "ValidatingWebhookConfigurationList" = "ValidatingWebhookConfigurationList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.14/api/admissionregistration/v1beta1/webhook.k b/k8s/1.14/api/admissionregistration/v1beta1/webhook.k index 3aef360f..5e8dac3b 100644 --- a/k8s/1.14/api/admissionregistration/v1beta1/webhook.k +++ b/k8s/1.14/api/admissionregistration/v1beta1/webhook.k @@ -3,7 +3,7 @@ This is the webhook module in k8s.api.admissionregistration.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Webhook: @@ -20,7 +20,7 @@ schema Webhook: FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore. name : str, default is Undefined, required The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook. For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1"; you will set the selector as follows: "namespaceSelector": { @@ -69,7 +69,7 @@ schema Webhook: name: str - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector rules?: [RuleWithOperations] diff --git a/k8s/1.14/api/apps/v1/controller_revision.k b/k8s/1.14/api/apps/v1/controller_revision.k index a15da61a..6cdeb2b3 100644 --- a/k8s/1.14/api/apps/v1/controller_revision.k +++ b/k8s/1.14/api/apps/v1/controller_revision.k @@ -3,7 +3,7 @@ This is the controller_revision module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 import apimachinery.pkg.runtime @@ -19,7 +19,7 @@ schema ControllerRevision: Data is the serialized representation of the state. kind : str, default is "ControllerRevision", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata revision : int, default is Undefined, required Revision indicates the revision of the state represented by Data. @@ -32,7 +32,7 @@ schema ControllerRevision: kind: "ControllerRevision" = "ControllerRevision" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta revision: int diff --git a/k8s/1.14/api/apps/v1/controller_revision_list.k b/k8s/1.14/api/apps/v1/controller_revision_list.k index dda0efa5..f71ebc8f 100644 --- a/k8s/1.14/api/apps/v1/controller_revision_list.k +++ b/k8s/1.14/api/apps/v1/controller_revision_list.k @@ -3,7 +3,7 @@ This is the controller_revision_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ControllerRevisionList: @@ -18,7 +18,7 @@ schema ControllerRevisionList: Items is the list of ControllerRevisions kind : str, default is "ControllerRevisionList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema ControllerRevisionList: kind: "ControllerRevisionList" = "ControllerRevisionList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.14/api/apps/v1/daemon_set.k b/k8s/1.14/api/apps/v1/daemon_set.k index 9f0bdc99..21db81e9 100644 --- a/k8s/1.14/api/apps/v1/daemon_set.k +++ b/k8s/1.14/api/apps/v1/daemon_set.k @@ -3,7 +3,7 @@ This is the daemon_set module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DaemonSet: @@ -16,7 +16,7 @@ schema DaemonSet: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "DaemonSet", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata spec : DaemonSetSpec, default is Undefined, optional The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema DaemonSet: kind: "DaemonSet" = "DaemonSet" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: DaemonSetSpec diff --git a/k8s/1.14/api/apps/v1/daemon_set_list.k b/k8s/1.14/api/apps/v1/daemon_set_list.k index 42d49cc4..0439f03f 100644 --- a/k8s/1.14/api/apps/v1/daemon_set_list.k +++ b/k8s/1.14/api/apps/v1/daemon_set_list.k @@ -3,7 +3,7 @@ This is the daemon_set_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DaemonSetList: @@ -18,7 +18,7 @@ schema DaemonSetList: A list of daemon sets. kind : str, default is "DaemonSetList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema DaemonSetList: kind: "DaemonSetList" = "DaemonSetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.14/api/apps/v1/daemon_set_spec.k b/k8s/1.14/api/apps/v1/daemon_set_spec.k index caf3faf8..352f849c 100644 --- a/k8s/1.14/api/apps/v1/daemon_set_spec.k +++ b/k8s/1.14/api/apps/v1/daemon_set_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DaemonSetSpec: @@ -17,7 +17,7 @@ schema DaemonSetSpec: The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready). revisionHistoryLimit : int, default is Undefined, optional The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required A label query over pods that are managed by the daemon set. Must match in order to be controlled. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors template : corev1.PodTemplateSpec, default is Undefined, required An object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template @@ -30,7 +30,7 @@ schema DaemonSetSpec: revisionHistoryLimit?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector template: corev1.PodTemplateSpec diff --git a/k8s/1.14/api/apps/v1/deployment.k b/k8s/1.14/api/apps/v1/deployment.k index 2cb44b6e..382f5dc1 100644 --- a/k8s/1.14/api/apps/v1/deployment.k +++ b/k8s/1.14/api/apps/v1/deployment.k @@ -3,7 +3,7 @@ This is the deployment module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Deployment: @@ -16,7 +16,7 @@ schema Deployment: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "Deployment", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. spec : DeploymentSpec, default is Undefined, optional Specification of the desired behavior of the Deployment. @@ -27,7 +27,7 @@ schema Deployment: kind: "Deployment" = "Deployment" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: DeploymentSpec diff --git a/k8s/1.14/api/apps/v1/deployment_list.k b/k8s/1.14/api/apps/v1/deployment_list.k index 104bc7d0..eb758afa 100644 --- a/k8s/1.14/api/apps/v1/deployment_list.k +++ b/k8s/1.14/api/apps/v1/deployment_list.k @@ -3,7 +3,7 @@ This is the deployment_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DeploymentList: @@ -18,7 +18,7 @@ schema DeploymentList: Items is the list of Deployments. kind : str, default is "DeploymentList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema DeploymentList: kind: "DeploymentList" = "DeploymentList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.14/api/apps/v1/deployment_spec.k b/k8s/1.14/api/apps/v1/deployment_spec.k index b8591d9a..c0f14ef0 100644 --- a/k8s/1.14/api/apps/v1/deployment_spec.k +++ b/k8s/1.14/api/apps/v1/deployment_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DeploymentSpec: @@ -23,7 +23,7 @@ schema DeploymentSpec: Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1. revisionHistoryLimit : int, default is Undefined, optional The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. It must match the pod template's labels. strategy : DeploymentStrategy, default is Undefined, optional The deployment strategy to use to replace existing pods with new ones. @@ -42,7 +42,7 @@ schema DeploymentSpec: revisionHistoryLimit?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector strategy?: DeploymentStrategy diff --git a/k8s/1.14/api/apps/v1/replica_set.k b/k8s/1.14/api/apps/v1/replica_set.k index e1972b6e..643909aa 100644 --- a/k8s/1.14/api/apps/v1/replica_set.k +++ b/k8s/1.14/api/apps/v1/replica_set.k @@ -3,7 +3,7 @@ This is the replica_set module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicaSet: @@ -16,7 +16,7 @@ schema ReplicaSet: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "ReplicaSet", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata spec : ReplicaSetSpec, default is Undefined, optional Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema ReplicaSet: kind: "ReplicaSet" = "ReplicaSet" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ReplicaSetSpec diff --git a/k8s/1.14/api/apps/v1/replica_set_list.k b/k8s/1.14/api/apps/v1/replica_set_list.k index bf253ad3..dedd0ca3 100644 --- a/k8s/1.14/api/apps/v1/replica_set_list.k +++ b/k8s/1.14/api/apps/v1/replica_set_list.k @@ -3,7 +3,7 @@ This is the replica_set_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicaSetList: @@ -18,7 +18,7 @@ schema ReplicaSetList: List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller kind : str, default is "ReplicaSetList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ReplicaSetList: kind: "ReplicaSetList" = "ReplicaSetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.14/api/apps/v1/replica_set_spec.k b/k8s/1.14/api/apps/v1/replica_set_spec.k index 700810d3..53ae3f6f 100644 --- a/k8s/1.14/api/apps/v1/replica_set_spec.k +++ b/k8s/1.14/api/apps/v1/replica_set_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicaSetSpec: @@ -17,7 +17,7 @@ schema ReplicaSetSpec: Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) replicas : int, default is Undefined, optional Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required Selector is a label query over pods that should match the replica count. Label keys and values that must match in order to be controlled by this replica set. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors template : corev1.PodTemplateSpec, default is Undefined, optional Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template @@ -28,7 +28,7 @@ schema ReplicaSetSpec: replicas?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector template?: corev1.PodTemplateSpec diff --git a/k8s/1.14/api/apps/v1/stateful_set.k b/k8s/1.14/api/apps/v1/stateful_set.k index 82a33407..cd77fd2e 100644 --- a/k8s/1.14/api/apps/v1/stateful_set.k +++ b/k8s/1.14/api/apps/v1/stateful_set.k @@ -3,7 +3,7 @@ This is the stateful_set module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StatefulSet: @@ -19,7 +19,7 @@ schema StatefulSet: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "StatefulSet", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : StatefulSetSpec, default is Undefined, optional Spec defines the desired identities of pods in this set. @@ -30,7 +30,7 @@ schema StatefulSet: kind: "StatefulSet" = "StatefulSet" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: StatefulSetSpec diff --git a/k8s/1.14/api/apps/v1/stateful_set_list.k b/k8s/1.14/api/apps/v1/stateful_set_list.k index aa71da7f..5906b05b 100644 --- a/k8s/1.14/api/apps/v1/stateful_set_list.k +++ b/k8s/1.14/api/apps/v1/stateful_set_list.k @@ -3,7 +3,7 @@ This is the stateful_set_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StatefulSetList: @@ -18,7 +18,7 @@ schema StatefulSetList: items kind : str, default is "StatefulSetList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema StatefulSetList: kind: "StatefulSetList" = "StatefulSetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.14/api/apps/v1/stateful_set_spec.k b/k8s/1.14/api/apps/v1/stateful_set_spec.k index 4deeb5ed..14e6e0ee 100644 --- a/k8s/1.14/api/apps/v1/stateful_set_spec.k +++ b/k8s/1.14/api/apps/v1/stateful_set_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StatefulSetSpec: @@ -19,7 +19,7 @@ schema StatefulSetSpec: replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1. revisionHistoryLimit : int, default is Undefined, optional revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10. - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required selector is a label query over pods that should match the replica count. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors serviceName : str, default is Undefined, required serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where "pod-specific-string" is managed by the StatefulSet controller. @@ -38,7 +38,7 @@ schema StatefulSetSpec: revisionHistoryLimit?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector serviceName: str diff --git a/k8s/1.14/api/apps/v1beta1/controller_revision.k b/k8s/1.14/api/apps/v1beta1/controller_revision.k index d2000796..946c8332 100644 --- a/k8s/1.14/api/apps/v1beta1/controller_revision.k +++ b/k8s/1.14/api/apps/v1beta1/controller_revision.k @@ -3,7 +3,7 @@ This is the controller_revision module in k8s.api.apps.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 import apimachinery.pkg.runtime @@ -19,7 +19,7 @@ schema ControllerRevision: Data is the serialized representation of the state. kind : str, default is "ControllerRevision", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata revision : int, default is Undefined, required Revision indicates the revision of the state represented by Data. @@ -32,7 +32,7 @@ schema ControllerRevision: kind: "ControllerRevision" = "ControllerRevision" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta revision: int diff --git a/k8s/1.14/api/apps/v1beta1/controller_revision_list.k b/k8s/1.14/api/apps/v1beta1/controller_revision_list.k index 15470065..c1cb3f82 100644 --- a/k8s/1.14/api/apps/v1beta1/controller_revision_list.k +++ b/k8s/1.14/api/apps/v1beta1/controller_revision_list.k @@ -3,7 +3,7 @@ This is the controller_revision_list module in k8s.api.apps.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ControllerRevisionList: @@ -18,7 +18,7 @@ schema ControllerRevisionList: Items is the list of ControllerRevisions kind : str, default is "ControllerRevisionList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema ControllerRevisionList: kind: "ControllerRevisionList" = "ControllerRevisionList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.14/api/apps/v1beta1/deployment.k b/k8s/1.14/api/apps/v1beta1/deployment.k index 3fc0a5bf..0ddbcc68 100644 --- a/k8s/1.14/api/apps/v1beta1/deployment.k +++ b/k8s/1.14/api/apps/v1beta1/deployment.k @@ -3,7 +3,7 @@ This is the deployment module in k8s.api.apps.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Deployment: @@ -16,7 +16,7 @@ schema Deployment: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "Deployment", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. spec : DeploymentSpec, default is Undefined, optional Specification of the desired behavior of the Deployment. @@ -27,7 +27,7 @@ schema Deployment: kind: "Deployment" = "Deployment" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: DeploymentSpec diff --git a/k8s/1.14/api/apps/v1beta1/deployment_list.k b/k8s/1.14/api/apps/v1beta1/deployment_list.k index a2a37c40..8094a2da 100644 --- a/k8s/1.14/api/apps/v1beta1/deployment_list.k +++ b/k8s/1.14/api/apps/v1beta1/deployment_list.k @@ -3,7 +3,7 @@ This is the deployment_list module in k8s.api.apps.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DeploymentList: @@ -18,7 +18,7 @@ schema DeploymentList: Items is the list of Deployments. kind : str, default is "DeploymentList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema DeploymentList: kind: "DeploymentList" = "DeploymentList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.14/api/apps/v1beta1/deployment_spec.k b/k8s/1.14/api/apps/v1beta1/deployment_spec.k index 89bb0162..163c47e6 100644 --- a/k8s/1.14/api/apps/v1beta1/deployment_spec.k +++ b/k8s/1.14/api/apps/v1beta1/deployment_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DeploymentSpec: @@ -25,7 +25,7 @@ schema DeploymentSpec: The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 2. rollbackTo : RollbackConfig, default is Undefined, optional DEPRECATED. The config this deployment is rolling back to. Will be cleared after rollback is done. - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. strategy : DeploymentStrategy, default is Undefined, optional The deployment strategy to use to replace existing pods with new ones. @@ -46,7 +46,7 @@ schema DeploymentSpec: rollbackTo?: RollbackConfig - selector?: v1.LabelSelector + selector?: metav1.LabelSelector strategy?: DeploymentStrategy diff --git a/k8s/1.14/api/apps/v1beta1/scale.k b/k8s/1.14/api/apps/v1beta1/scale.k index a0ce63d8..3260f4a9 100644 --- a/k8s/1.14/api/apps/v1beta1/scale.k +++ b/k8s/1.14/api/apps/v1beta1/scale.k @@ -3,7 +3,7 @@ This is the scale module in k8s.api.apps.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Scale: @@ -16,7 +16,7 @@ schema Scale: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "Scale", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata. spec : ScaleSpec, default is Undefined, optional defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema Scale: kind: "Scale" = "Scale" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ScaleSpec diff --git a/k8s/1.14/api/apps/v1beta1/stateful_set.k b/k8s/1.14/api/apps/v1beta1/stateful_set.k index 386df5aa..5110d56c 100644 --- a/k8s/1.14/api/apps/v1beta1/stateful_set.k +++ b/k8s/1.14/api/apps/v1beta1/stateful_set.k @@ -3,7 +3,7 @@ This is the stateful_set module in k8s.api.apps.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StatefulSet: @@ -19,7 +19,7 @@ schema StatefulSet: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "StatefulSet", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : StatefulSetSpec, default is Undefined, optional Spec defines the desired identities of pods in this set. @@ -30,7 +30,7 @@ schema StatefulSet: kind: "StatefulSet" = "StatefulSet" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: StatefulSetSpec diff --git a/k8s/1.14/api/apps/v1beta1/stateful_set_list.k b/k8s/1.14/api/apps/v1beta1/stateful_set_list.k index e8d49ae9..fc29ac4f 100644 --- a/k8s/1.14/api/apps/v1beta1/stateful_set_list.k +++ b/k8s/1.14/api/apps/v1beta1/stateful_set_list.k @@ -3,7 +3,7 @@ This is the stateful_set_list module in k8s.api.apps.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StatefulSetList: @@ -18,7 +18,7 @@ schema StatefulSetList: items kind : str, default is "StatefulSetList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema StatefulSetList: kind: "StatefulSetList" = "StatefulSetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.14/api/apps/v1beta1/stateful_set_spec.k b/k8s/1.14/api/apps/v1beta1/stateful_set_spec.k index cc43f136..f208c3e2 100644 --- a/k8s/1.14/api/apps/v1beta1/stateful_set_spec.k +++ b/k8s/1.14/api/apps/v1beta1/stateful_set_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StatefulSetSpec: @@ -19,7 +19,7 @@ schema StatefulSetSpec: replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1. revisionHistoryLimit : int, default is Undefined, optional revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10. - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector is a label query over pods that should match the replica count. If empty, defaulted to labels on the pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors serviceName : str, default is Undefined, required serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where "pod-specific-string" is managed by the StatefulSet controller. @@ -38,7 +38,7 @@ schema StatefulSetSpec: revisionHistoryLimit?: int - selector?: v1.LabelSelector + selector?: metav1.LabelSelector serviceName: str diff --git a/k8s/1.14/api/apps/v1beta2/controller_revision.k b/k8s/1.14/api/apps/v1beta2/controller_revision.k index 4b6f2e4c..9e81f669 100644 --- a/k8s/1.14/api/apps/v1beta2/controller_revision.k +++ b/k8s/1.14/api/apps/v1beta2/controller_revision.k @@ -3,7 +3,7 @@ This is the controller_revision module in k8s.api.apps.v1beta2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 import apimachinery.pkg.runtime @@ -19,7 +19,7 @@ schema ControllerRevision: Data is the serialized representation of the state. kind : str, default is "ControllerRevision", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata revision : int, default is Undefined, required Revision indicates the revision of the state represented by Data. @@ -32,7 +32,7 @@ schema ControllerRevision: kind: "ControllerRevision" = "ControllerRevision" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta revision: int diff --git a/k8s/1.14/api/apps/v1beta2/controller_revision_list.k b/k8s/1.14/api/apps/v1beta2/controller_revision_list.k index ba1a0ee0..c4073723 100644 --- a/k8s/1.14/api/apps/v1beta2/controller_revision_list.k +++ b/k8s/1.14/api/apps/v1beta2/controller_revision_list.k @@ -3,7 +3,7 @@ This is the controller_revision_list module in k8s.api.apps.v1beta2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ControllerRevisionList: @@ -18,7 +18,7 @@ schema ControllerRevisionList: Items is the list of ControllerRevisions kind : str, default is "ControllerRevisionList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema ControllerRevisionList: kind: "ControllerRevisionList" = "ControllerRevisionList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.14/api/apps/v1beta2/daemon_set.k b/k8s/1.14/api/apps/v1beta2/daemon_set.k index 8063416b..e67f11b2 100644 --- a/k8s/1.14/api/apps/v1beta2/daemon_set.k +++ b/k8s/1.14/api/apps/v1beta2/daemon_set.k @@ -3,7 +3,7 @@ This is the daemon_set module in k8s.api.apps.v1beta2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DaemonSet: @@ -16,7 +16,7 @@ schema DaemonSet: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "DaemonSet", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : DaemonSetSpec, default is Undefined, optional The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema DaemonSet: kind: "DaemonSet" = "DaemonSet" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: DaemonSetSpec diff --git a/k8s/1.14/api/apps/v1beta2/daemon_set_list.k b/k8s/1.14/api/apps/v1beta2/daemon_set_list.k index c753b37b..7130477a 100644 --- a/k8s/1.14/api/apps/v1beta2/daemon_set_list.k +++ b/k8s/1.14/api/apps/v1beta2/daemon_set_list.k @@ -3,7 +3,7 @@ This is the daemon_set_list module in k8s.api.apps.v1beta2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DaemonSetList: @@ -18,7 +18,7 @@ schema DaemonSetList: A list of daemon sets. kind : str, default is "DaemonSetList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema DaemonSetList: kind: "DaemonSetList" = "DaemonSetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.14/api/apps/v1beta2/daemon_set_spec.k b/k8s/1.14/api/apps/v1beta2/daemon_set_spec.k index 7cd0be12..5c58389f 100644 --- a/k8s/1.14/api/apps/v1beta2/daemon_set_spec.k +++ b/k8s/1.14/api/apps/v1beta2/daemon_set_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DaemonSetSpec: @@ -17,7 +17,7 @@ schema DaemonSetSpec: The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready). revisionHistoryLimit : int, default is Undefined, optional The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required A label query over pods that are managed by the daemon set. Must match in order to be controlled. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors template : corev1.PodTemplateSpec, default is Undefined, required An object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template @@ -30,7 +30,7 @@ schema DaemonSetSpec: revisionHistoryLimit?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector template: corev1.PodTemplateSpec diff --git a/k8s/1.14/api/apps/v1beta2/deployment.k b/k8s/1.14/api/apps/v1beta2/deployment.k index 07c8695f..5117c06a 100644 --- a/k8s/1.14/api/apps/v1beta2/deployment.k +++ b/k8s/1.14/api/apps/v1beta2/deployment.k @@ -3,7 +3,7 @@ This is the deployment module in k8s.api.apps.v1beta2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Deployment: @@ -16,7 +16,7 @@ schema Deployment: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "Deployment", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. spec : DeploymentSpec, default is Undefined, optional Specification of the desired behavior of the Deployment. @@ -27,7 +27,7 @@ schema Deployment: kind: "Deployment" = "Deployment" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: DeploymentSpec diff --git a/k8s/1.14/api/apps/v1beta2/deployment_list.k b/k8s/1.14/api/apps/v1beta2/deployment_list.k index 0e265a53..8cd6f4b0 100644 --- a/k8s/1.14/api/apps/v1beta2/deployment_list.k +++ b/k8s/1.14/api/apps/v1beta2/deployment_list.k @@ -3,7 +3,7 @@ This is the deployment_list module in k8s.api.apps.v1beta2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DeploymentList: @@ -18,7 +18,7 @@ schema DeploymentList: Items is the list of Deployments. kind : str, default is "DeploymentList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema DeploymentList: kind: "DeploymentList" = "DeploymentList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.14/api/apps/v1beta2/deployment_spec.k b/k8s/1.14/api/apps/v1beta2/deployment_spec.k index 6564c983..51a19e84 100644 --- a/k8s/1.14/api/apps/v1beta2/deployment_spec.k +++ b/k8s/1.14/api/apps/v1beta2/deployment_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DeploymentSpec: @@ -23,7 +23,7 @@ schema DeploymentSpec: Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1. revisionHistoryLimit : int, default is Undefined, optional The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. It must match the pod template's labels. strategy : DeploymentStrategy, default is Undefined, optional The deployment strategy to use to replace existing pods with new ones. @@ -42,7 +42,7 @@ schema DeploymentSpec: revisionHistoryLimit?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector strategy?: DeploymentStrategy diff --git a/k8s/1.14/api/apps/v1beta2/replica_set.k b/k8s/1.14/api/apps/v1beta2/replica_set.k index fe193dbd..a0048649 100644 --- a/k8s/1.14/api/apps/v1beta2/replica_set.k +++ b/k8s/1.14/api/apps/v1beta2/replica_set.k @@ -3,7 +3,7 @@ This is the replica_set module in k8s.api.apps.v1beta2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicaSet: @@ -16,7 +16,7 @@ schema ReplicaSet: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "ReplicaSet", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : ReplicaSetSpec, default is Undefined, optional Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema ReplicaSet: kind: "ReplicaSet" = "ReplicaSet" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ReplicaSetSpec diff --git a/k8s/1.14/api/apps/v1beta2/replica_set_list.k b/k8s/1.14/api/apps/v1beta2/replica_set_list.k index ac5d1241..c8dc21fb 100644 --- a/k8s/1.14/api/apps/v1beta2/replica_set_list.k +++ b/k8s/1.14/api/apps/v1beta2/replica_set_list.k @@ -3,7 +3,7 @@ This is the replica_set_list module in k8s.api.apps.v1beta2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicaSetList: @@ -18,7 +18,7 @@ schema ReplicaSetList: List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller kind : str, default is "ReplicaSetList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ReplicaSetList: kind: "ReplicaSetList" = "ReplicaSetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.14/api/apps/v1beta2/replica_set_spec.k b/k8s/1.14/api/apps/v1beta2/replica_set_spec.k index c9451b61..776dc44d 100644 --- a/k8s/1.14/api/apps/v1beta2/replica_set_spec.k +++ b/k8s/1.14/api/apps/v1beta2/replica_set_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicaSetSpec: @@ -17,7 +17,7 @@ schema ReplicaSetSpec: Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) replicas : int, default is Undefined, optional Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required Selector is a label query over pods that should match the replica count. Label keys and values that must match in order to be controlled by this replica set. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors template : corev1.PodTemplateSpec, default is Undefined, optional Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template @@ -28,7 +28,7 @@ schema ReplicaSetSpec: replicas?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector template?: corev1.PodTemplateSpec diff --git a/k8s/1.14/api/apps/v1beta2/scale.k b/k8s/1.14/api/apps/v1beta2/scale.k index 5fd7c556..affb5237 100644 --- a/k8s/1.14/api/apps/v1beta2/scale.k +++ b/k8s/1.14/api/apps/v1beta2/scale.k @@ -3,7 +3,7 @@ This is the scale module in k8s.api.apps.v1beta2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Scale: @@ -16,7 +16,7 @@ schema Scale: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "Scale", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. spec : ScaleSpec, default is Undefined, optional defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema Scale: kind: "Scale" = "Scale" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ScaleSpec diff --git a/k8s/1.14/api/apps/v1beta2/stateful_set.k b/k8s/1.14/api/apps/v1beta2/stateful_set.k index 7fcf5291..097555ad 100644 --- a/k8s/1.14/api/apps/v1beta2/stateful_set.k +++ b/k8s/1.14/api/apps/v1beta2/stateful_set.k @@ -3,7 +3,7 @@ This is the stateful_set module in k8s.api.apps.v1beta2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StatefulSet: @@ -19,7 +19,7 @@ schema StatefulSet: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "StatefulSet", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : StatefulSetSpec, default is Undefined, optional Spec defines the desired identities of pods in this set. @@ -30,7 +30,7 @@ schema StatefulSet: kind: "StatefulSet" = "StatefulSet" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: StatefulSetSpec diff --git a/k8s/1.14/api/apps/v1beta2/stateful_set_list.k b/k8s/1.14/api/apps/v1beta2/stateful_set_list.k index 120eb050..5bf995a2 100644 --- a/k8s/1.14/api/apps/v1beta2/stateful_set_list.k +++ b/k8s/1.14/api/apps/v1beta2/stateful_set_list.k @@ -3,7 +3,7 @@ This is the stateful_set_list module in k8s.api.apps.v1beta2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StatefulSetList: @@ -18,7 +18,7 @@ schema StatefulSetList: items kind : str, default is "StatefulSetList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema StatefulSetList: kind: "StatefulSetList" = "StatefulSetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.14/api/apps/v1beta2/stateful_set_spec.k b/k8s/1.14/api/apps/v1beta2/stateful_set_spec.k index 52e2b106..09b1564b 100644 --- a/k8s/1.14/api/apps/v1beta2/stateful_set_spec.k +++ b/k8s/1.14/api/apps/v1beta2/stateful_set_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StatefulSetSpec: @@ -19,7 +19,7 @@ schema StatefulSetSpec: replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1. revisionHistoryLimit : int, default is Undefined, optional revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10. - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required selector is a label query over pods that should match the replica count. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors serviceName : str, default is Undefined, required serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where "pod-specific-string" is managed by the StatefulSet controller. @@ -38,7 +38,7 @@ schema StatefulSetSpec: revisionHistoryLimit?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector serviceName: str diff --git a/k8s/1.14/api/auditregistration/v1alpha1/audit_sink.k b/k8s/1.14/api/auditregistration/v1alpha1/audit_sink.k index 9d9872a6..dc4598e0 100644 --- a/k8s/1.14/api/auditregistration/v1alpha1/audit_sink.k +++ b/k8s/1.14/api/auditregistration/v1alpha1/audit_sink.k @@ -3,7 +3,7 @@ This is the audit_sink module in k8s.api.auditregistration.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema AuditSink: @@ -16,7 +16,7 @@ schema AuditSink: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "AuditSink", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : AuditSinkSpec, default is Undefined, optional Spec defines the audit configuration spec @@ -27,7 +27,7 @@ schema AuditSink: kind: "AuditSink" = "AuditSink" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: AuditSinkSpec diff --git a/k8s/1.14/api/auditregistration/v1alpha1/audit_sink_list.k b/k8s/1.14/api/auditregistration/v1alpha1/audit_sink_list.k index d7228277..1e0ebb31 100644 --- a/k8s/1.14/api/auditregistration/v1alpha1/audit_sink_list.k +++ b/k8s/1.14/api/auditregistration/v1alpha1/audit_sink_list.k @@ -3,7 +3,7 @@ This is the audit_sink_list module in k8s.api.auditregistration.v1alpha1 package This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema AuditSinkList: @@ -18,7 +18,7 @@ schema AuditSinkList: List of audit configurations. kind : str, default is "AuditSinkList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema AuditSinkList: kind: "AuditSinkList" = "AuditSinkList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.14/api/authentication/v1/token_review.k b/k8s/1.14/api/authentication/v1/token_review.k index 74ea1a57..0c66f25f 100644 --- a/k8s/1.14/api/authentication/v1/token_review.k +++ b/k8s/1.14/api/authentication/v1/token_review.k @@ -3,7 +3,7 @@ This is the token_review module in k8s.api.authentication.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema TokenReview: @@ -16,7 +16,7 @@ schema TokenReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "TokenReview", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : TokenReviewSpec, default is Undefined, required Spec holds information about the request being evaluated @@ -27,7 +27,7 @@ schema TokenReview: kind: "TokenReview" = "TokenReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: TokenReviewSpec diff --git a/k8s/1.14/api/authentication/v1beta1/token_review.k b/k8s/1.14/api/authentication/v1beta1/token_review.k index 6d4b23f6..3a6c6c14 100644 --- a/k8s/1.14/api/authentication/v1beta1/token_review.k +++ b/k8s/1.14/api/authentication/v1beta1/token_review.k @@ -3,7 +3,7 @@ This is the token_review module in k8s.api.authentication.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema TokenReview: @@ -16,7 +16,7 @@ schema TokenReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "TokenReview", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : TokenReviewSpec, default is Undefined, required Spec holds information about the request being evaluated @@ -27,7 +27,7 @@ schema TokenReview: kind: "TokenReview" = "TokenReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: TokenReviewSpec diff --git a/k8s/1.14/api/authorization/v1/local_subject_access_review.k b/k8s/1.14/api/authorization/v1/local_subject_access_review.k index bf2594a6..36da3e52 100644 --- a/k8s/1.14/api/authorization/v1/local_subject_access_review.k +++ b/k8s/1.14/api/authorization/v1/local_subject_access_review.k @@ -3,7 +3,7 @@ This is the local_subject_access_review module in k8s.api.authorization.v1 packa This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LocalSubjectAccessReview: @@ -16,7 +16,7 @@ schema LocalSubjectAccessReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "LocalSubjectAccessReview", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : SubjectAccessReviewSpec, default is Undefined, required Spec holds information about the request being evaluated. spec.namespace must be equal to the namespace you made the request against. If empty, it is defaulted. @@ -27,7 +27,7 @@ schema LocalSubjectAccessReview: kind: "LocalSubjectAccessReview" = "LocalSubjectAccessReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SubjectAccessReviewSpec diff --git a/k8s/1.14/api/authorization/v1/self_subject_access_review.k b/k8s/1.14/api/authorization/v1/self_subject_access_review.k index 63f78b80..8e7b2d72 100644 --- a/k8s/1.14/api/authorization/v1/self_subject_access_review.k +++ b/k8s/1.14/api/authorization/v1/self_subject_access_review.k @@ -3,7 +3,7 @@ This is the self_subject_access_review module in k8s.api.authorization.v1 packag This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SelfSubjectAccessReview: @@ -16,7 +16,7 @@ schema SelfSubjectAccessReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "SelfSubjectAccessReview", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : SelfSubjectAccessReviewSpec, default is Undefined, required Spec holds information about the request being evaluated. user and groups must be empty @@ -27,7 +27,7 @@ schema SelfSubjectAccessReview: kind: "SelfSubjectAccessReview" = "SelfSubjectAccessReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SelfSubjectAccessReviewSpec diff --git a/k8s/1.14/api/authorization/v1/self_subject_rules_review.k b/k8s/1.14/api/authorization/v1/self_subject_rules_review.k index 7e96f456..2015d0cf 100644 --- a/k8s/1.14/api/authorization/v1/self_subject_rules_review.k +++ b/k8s/1.14/api/authorization/v1/self_subject_rules_review.k @@ -3,7 +3,7 @@ This is the self_subject_rules_review module in k8s.api.authorization.v1 package This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SelfSubjectRulesReview: @@ -16,7 +16,7 @@ schema SelfSubjectRulesReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "SelfSubjectRulesReview", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : SelfSubjectRulesReviewSpec, default is Undefined, required Spec holds information about the request being evaluated. @@ -27,7 +27,7 @@ schema SelfSubjectRulesReview: kind: "SelfSubjectRulesReview" = "SelfSubjectRulesReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SelfSubjectRulesReviewSpec diff --git a/k8s/1.14/api/authorization/v1/subject_access_review.k b/k8s/1.14/api/authorization/v1/subject_access_review.k index b45b50a2..b603cb7c 100644 --- a/k8s/1.14/api/authorization/v1/subject_access_review.k +++ b/k8s/1.14/api/authorization/v1/subject_access_review.k @@ -3,7 +3,7 @@ This is the subject_access_review module in k8s.api.authorization.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SubjectAccessReview: @@ -16,7 +16,7 @@ schema SubjectAccessReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "SubjectAccessReview", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : SubjectAccessReviewSpec, default is Undefined, required Spec holds information about the request being evaluated @@ -27,7 +27,7 @@ schema SubjectAccessReview: kind: "SubjectAccessReview" = "SubjectAccessReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SubjectAccessReviewSpec diff --git a/k8s/1.14/api/authorization/v1beta1/local_subject_access_review.k b/k8s/1.14/api/authorization/v1beta1/local_subject_access_review.k index eabe7efd..60a10963 100644 --- a/k8s/1.14/api/authorization/v1beta1/local_subject_access_review.k +++ b/k8s/1.14/api/authorization/v1beta1/local_subject_access_review.k @@ -3,7 +3,7 @@ This is the local_subject_access_review module in k8s.api.authorization.v1beta1 This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LocalSubjectAccessReview: @@ -16,7 +16,7 @@ schema LocalSubjectAccessReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "LocalSubjectAccessReview", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : SubjectAccessReviewSpec, default is Undefined, required Spec holds information about the request being evaluated. spec.namespace must be equal to the namespace you made the request against. If empty, it is defaulted. @@ -27,7 +27,7 @@ schema LocalSubjectAccessReview: kind: "LocalSubjectAccessReview" = "LocalSubjectAccessReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SubjectAccessReviewSpec diff --git a/k8s/1.14/api/authorization/v1beta1/self_subject_access_review.k b/k8s/1.14/api/authorization/v1beta1/self_subject_access_review.k index 1dd41ec6..93c1a760 100644 --- a/k8s/1.14/api/authorization/v1beta1/self_subject_access_review.k +++ b/k8s/1.14/api/authorization/v1beta1/self_subject_access_review.k @@ -3,7 +3,7 @@ This is the self_subject_access_review module in k8s.api.authorization.v1beta1 p This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SelfSubjectAccessReview: @@ -16,7 +16,7 @@ schema SelfSubjectAccessReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "SelfSubjectAccessReview", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : SelfSubjectAccessReviewSpec, default is Undefined, required Spec holds information about the request being evaluated. user and groups must be empty @@ -27,7 +27,7 @@ schema SelfSubjectAccessReview: kind: "SelfSubjectAccessReview" = "SelfSubjectAccessReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SelfSubjectAccessReviewSpec diff --git a/k8s/1.14/api/authorization/v1beta1/self_subject_rules_review.k b/k8s/1.14/api/authorization/v1beta1/self_subject_rules_review.k index 716d1684..883a219c 100644 --- a/k8s/1.14/api/authorization/v1beta1/self_subject_rules_review.k +++ b/k8s/1.14/api/authorization/v1beta1/self_subject_rules_review.k @@ -3,7 +3,7 @@ This is the self_subject_rules_review module in k8s.api.authorization.v1beta1 pa This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SelfSubjectRulesReview: @@ -16,7 +16,7 @@ schema SelfSubjectRulesReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "SelfSubjectRulesReview", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : SelfSubjectRulesReviewSpec, default is Undefined, required Spec holds information about the request being evaluated. @@ -27,7 +27,7 @@ schema SelfSubjectRulesReview: kind: "SelfSubjectRulesReview" = "SelfSubjectRulesReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SelfSubjectRulesReviewSpec diff --git a/k8s/1.14/api/authorization/v1beta1/subject_access_review.k b/k8s/1.14/api/authorization/v1beta1/subject_access_review.k index 5edd78bb..01240f2c 100644 --- a/k8s/1.14/api/authorization/v1beta1/subject_access_review.k +++ b/k8s/1.14/api/authorization/v1beta1/subject_access_review.k @@ -3,7 +3,7 @@ This is the subject_access_review module in k8s.api.authorization.v1beta1 packag This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SubjectAccessReview: @@ -16,7 +16,7 @@ schema SubjectAccessReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "SubjectAccessReview", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : SubjectAccessReviewSpec, default is Undefined, required Spec holds information about the request being evaluated @@ -27,7 +27,7 @@ schema SubjectAccessReview: kind: "SubjectAccessReview" = "SubjectAccessReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SubjectAccessReviewSpec diff --git a/k8s/1.14/api/autoscaling/v1/horizontal_pod_autoscaler.k b/k8s/1.14/api/autoscaling/v1/horizontal_pod_autoscaler.k index 525b0ac5..bb0c3c88 100644 --- a/k8s/1.14/api/autoscaling/v1/horizontal_pod_autoscaler.k +++ b/k8s/1.14/api/autoscaling/v1/horizontal_pod_autoscaler.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler module in k8s.api.autoscaling.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscaler: @@ -16,7 +16,7 @@ schema HorizontalPodAutoscaler: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "HorizontalPodAutoscaler", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata spec : HorizontalPodAutoscalerSpec, default is Undefined, optional behaviour of autoscaler. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema HorizontalPodAutoscaler: kind: "HorizontalPodAutoscaler" = "HorizontalPodAutoscaler" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: HorizontalPodAutoscalerSpec diff --git a/k8s/1.14/api/autoscaling/v1/horizontal_pod_autoscaler_list.k b/k8s/1.14/api/autoscaling/v1/horizontal_pod_autoscaler_list.k index b8a7d70a..b4a2a69b 100644 --- a/k8s/1.14/api/autoscaling/v1/horizontal_pod_autoscaler_list.k +++ b/k8s/1.14/api/autoscaling/v1/horizontal_pod_autoscaler_list.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler_list module in k8s.api.autoscaling.v1 pack This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscalerList: @@ -18,7 +18,7 @@ schema HorizontalPodAutoscalerList: list of horizontal pod autoscaler objects. kind : str, default is "HorizontalPodAutoscalerList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema HorizontalPodAutoscalerList: kind: "HorizontalPodAutoscalerList" = "HorizontalPodAutoscalerList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.14/api/autoscaling/v1/scale.k b/k8s/1.14/api/autoscaling/v1/scale.k index 057fcaf0..ab7f8116 100644 --- a/k8s/1.14/api/autoscaling/v1/scale.k +++ b/k8s/1.14/api/autoscaling/v1/scale.k @@ -3,7 +3,7 @@ This is the scale module in k8s.api.autoscaling.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Scale: @@ -16,7 +16,7 @@ schema Scale: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "Scale", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata. spec : ScaleSpec, default is Undefined, optional defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema Scale: kind: "Scale" = "Scale" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ScaleSpec diff --git a/k8s/1.14/api/autoscaling/v2beta1/external_metric_source.k b/k8s/1.14/api/autoscaling/v2beta1/external_metric_source.k index 23887048..b1ff85f3 100644 --- a/k8s/1.14/api/autoscaling/v2beta1/external_metric_source.k +++ b/k8s/1.14/api/autoscaling/v2beta1/external_metric_source.k @@ -3,7 +3,7 @@ This is the external_metric_source module in k8s.api.autoscaling.v2beta1 package This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ExternalMetricSource: @@ -14,7 +14,7 @@ schema ExternalMetricSource: ---------- metricName : str, default is Undefined, required metricName is the name of the metric in question. - metricSelector : v1.LabelSelector, default is Undefined, optional + metricSelector : metav1.LabelSelector, default is Undefined, optional metricSelector is used to identify a specific time series within a given metric. targetAverageValue : str, default is Undefined, optional targetAverageValue is the target per-pod value of global metric (as a quantity). Mutually exclusive with TargetValue. @@ -25,7 +25,7 @@ schema ExternalMetricSource: metricName: str - metricSelector?: v1.LabelSelector + metricSelector?: metav1.LabelSelector targetAverageValue?: str diff --git a/k8s/1.14/api/autoscaling/v2beta1/external_metric_status.k b/k8s/1.14/api/autoscaling/v2beta1/external_metric_status.k index 507ffd14..39a87bad 100644 --- a/k8s/1.14/api/autoscaling/v2beta1/external_metric_status.k +++ b/k8s/1.14/api/autoscaling/v2beta1/external_metric_status.k @@ -3,7 +3,7 @@ This is the external_metric_status module in k8s.api.autoscaling.v2beta1 package This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ExternalMetricStatus: @@ -18,7 +18,7 @@ schema ExternalMetricStatus: currentValue is the current value of the metric (as a quantity) metricName : str, default is Undefined, required metricName is the name of a metric used for autoscaling in metric system. - metricSelector : v1.LabelSelector, default is Undefined, optional + metricSelector : metav1.LabelSelector, default is Undefined, optional metricSelector is used to identify a specific time series within a given metric. """ @@ -29,6 +29,6 @@ schema ExternalMetricStatus: metricName: str - metricSelector?: v1.LabelSelector + metricSelector?: metav1.LabelSelector diff --git a/k8s/1.14/api/autoscaling/v2beta1/horizontal_pod_autoscaler.k b/k8s/1.14/api/autoscaling/v2beta1/horizontal_pod_autoscaler.k index 62f7fd38..02c812e1 100644 --- a/k8s/1.14/api/autoscaling/v2beta1/horizontal_pod_autoscaler.k +++ b/k8s/1.14/api/autoscaling/v2beta1/horizontal_pod_autoscaler.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler module in k8s.api.autoscaling.v2beta1 pack This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscaler: @@ -16,7 +16,7 @@ schema HorizontalPodAutoscaler: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "HorizontalPodAutoscaler", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata spec : HorizontalPodAutoscalerSpec, default is Undefined, optional spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema HorizontalPodAutoscaler: kind: "HorizontalPodAutoscaler" = "HorizontalPodAutoscaler" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: HorizontalPodAutoscalerSpec diff --git a/k8s/1.14/api/autoscaling/v2beta1/horizontal_pod_autoscaler_list.k b/k8s/1.14/api/autoscaling/v2beta1/horizontal_pod_autoscaler_list.k index c7b66700..e5bd2886 100644 --- a/k8s/1.14/api/autoscaling/v2beta1/horizontal_pod_autoscaler_list.k +++ b/k8s/1.14/api/autoscaling/v2beta1/horizontal_pod_autoscaler_list.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler_list module in k8s.api.autoscaling.v2beta1 This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscalerList: @@ -18,7 +18,7 @@ schema HorizontalPodAutoscalerList: items is the list of horizontal pod autoscaler objects. kind : str, default is "HorizontalPodAutoscalerList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata is the standard list metadata. """ @@ -29,6 +29,6 @@ schema HorizontalPodAutoscalerList: kind: "HorizontalPodAutoscalerList" = "HorizontalPodAutoscalerList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.14/api/autoscaling/v2beta1/object_metric_source.k b/k8s/1.14/api/autoscaling/v2beta1/object_metric_source.k index a8ff4213..af8d307f 100644 --- a/k8s/1.14/api/autoscaling/v2beta1/object_metric_source.k +++ b/k8s/1.14/api/autoscaling/v2beta1/object_metric_source.k @@ -3,7 +3,7 @@ This is the object_metric_source module in k8s.api.autoscaling.v2beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ObjectMetricSource: @@ -16,7 +16,7 @@ schema ObjectMetricSource: averageValue is the target value of the average of the metric across all relevant pods (as a quantity) metricName : str, default is Undefined, required metricName is the name of the metric in question. - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics. target : CrossVersionObjectReference, default is Undefined, required target is the described Kubernetes object. @@ -29,7 +29,7 @@ schema ObjectMetricSource: metricName: str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector target: CrossVersionObjectReference diff --git a/k8s/1.14/api/autoscaling/v2beta1/object_metric_status.k b/k8s/1.14/api/autoscaling/v2beta1/object_metric_status.k index 39aeb9de..b7054bd5 100644 --- a/k8s/1.14/api/autoscaling/v2beta1/object_metric_status.k +++ b/k8s/1.14/api/autoscaling/v2beta1/object_metric_status.k @@ -3,7 +3,7 @@ This is the object_metric_status module in k8s.api.autoscaling.v2beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ObjectMetricStatus: @@ -18,7 +18,7 @@ schema ObjectMetricStatus: currentValue is the current value of the metric (as a quantity). metricName : str, default is Undefined, required metricName is the name of the metric in question. - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the ObjectMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics. target : CrossVersionObjectReference, default is Undefined, required target is the described Kubernetes object. @@ -31,7 +31,7 @@ schema ObjectMetricStatus: metricName: str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector target: CrossVersionObjectReference diff --git a/k8s/1.14/api/autoscaling/v2beta1/pods_metric_source.k b/k8s/1.14/api/autoscaling/v2beta1/pods_metric_source.k index ee0111ef..850fcd7b 100644 --- a/k8s/1.14/api/autoscaling/v2beta1/pods_metric_source.k +++ b/k8s/1.14/api/autoscaling/v2beta1/pods_metric_source.k @@ -3,7 +3,7 @@ This is the pods_metric_source module in k8s.api.autoscaling.v2beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodsMetricSource: @@ -14,7 +14,7 @@ schema PodsMetricSource: ---------- metricName : str, default is Undefined, required metricName is the name of the metric in question - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics. targetAverageValue : str, default is Undefined, required targetAverageValue is the target value of the average of the metric across all relevant pods (as a quantity) @@ -23,7 +23,7 @@ schema PodsMetricSource: metricName: str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector targetAverageValue: str diff --git a/k8s/1.14/api/autoscaling/v2beta1/pods_metric_status.k b/k8s/1.14/api/autoscaling/v2beta1/pods_metric_status.k index 2d8c30c0..0792b4d4 100644 --- a/k8s/1.14/api/autoscaling/v2beta1/pods_metric_status.k +++ b/k8s/1.14/api/autoscaling/v2beta1/pods_metric_status.k @@ -3,7 +3,7 @@ This is the pods_metric_status module in k8s.api.autoscaling.v2beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodsMetricStatus: @@ -16,7 +16,7 @@ schema PodsMetricStatus: currentAverageValue is the current value of the average of the metric across all relevant pods (as a quantity) metricName : str, default is Undefined, required metricName is the name of the metric in question - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the PodsMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics. """ @@ -25,6 +25,6 @@ schema PodsMetricStatus: metricName: str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector diff --git a/k8s/1.14/api/autoscaling/v2beta2/horizontal_pod_autoscaler.k b/k8s/1.14/api/autoscaling/v2beta2/horizontal_pod_autoscaler.k index 9bb452ac..870a8d06 100644 --- a/k8s/1.14/api/autoscaling/v2beta2/horizontal_pod_autoscaler.k +++ b/k8s/1.14/api/autoscaling/v2beta2/horizontal_pod_autoscaler.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler module in k8s.api.autoscaling.v2beta2 pack This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscaler: @@ -16,7 +16,7 @@ schema HorizontalPodAutoscaler: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "HorizontalPodAutoscaler", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata spec : HorizontalPodAutoscalerSpec, default is Undefined, optional spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema HorizontalPodAutoscaler: kind: "HorizontalPodAutoscaler" = "HorizontalPodAutoscaler" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: HorizontalPodAutoscalerSpec diff --git a/k8s/1.14/api/autoscaling/v2beta2/horizontal_pod_autoscaler_list.k b/k8s/1.14/api/autoscaling/v2beta2/horizontal_pod_autoscaler_list.k index 25e53d08..ebfc3591 100644 --- a/k8s/1.14/api/autoscaling/v2beta2/horizontal_pod_autoscaler_list.k +++ b/k8s/1.14/api/autoscaling/v2beta2/horizontal_pod_autoscaler_list.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler_list module in k8s.api.autoscaling.v2beta2 This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscalerList: @@ -18,7 +18,7 @@ schema HorizontalPodAutoscalerList: items is the list of horizontal pod autoscaler objects. kind : str, default is "HorizontalPodAutoscalerList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata is the standard list metadata. """ @@ -29,6 +29,6 @@ schema HorizontalPodAutoscalerList: kind: "HorizontalPodAutoscalerList" = "HorizontalPodAutoscalerList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.14/api/autoscaling/v2beta2/metric_identifier.k b/k8s/1.14/api/autoscaling/v2beta2/metric_identifier.k index 18d313d2..06be0dff 100644 --- a/k8s/1.14/api/autoscaling/v2beta2/metric_identifier.k +++ b/k8s/1.14/api/autoscaling/v2beta2/metric_identifier.k @@ -3,7 +3,7 @@ This is the metric_identifier module in k8s.api.autoscaling.v2beta2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MetricIdentifier: @@ -14,13 +14,13 @@ schema MetricIdentifier: ---------- name : str, default is Undefined, required name is the name of the given metric - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics. """ name: str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector diff --git a/k8s/1.14/api/batch/v1/job.k b/k8s/1.14/api/batch/v1/job.k index 9fd989d3..9cac6bb4 100644 --- a/k8s/1.14/api/batch/v1/job.k +++ b/k8s/1.14/api/batch/v1/job.k @@ -3,7 +3,7 @@ This is the job module in k8s.api.batch.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Job: @@ -16,7 +16,7 @@ schema Job: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "Job", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata spec : JobSpec, default is Undefined, optional Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Job: kind: "Job" = "Job" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: JobSpec diff --git a/k8s/1.14/api/batch/v1/job_list.k b/k8s/1.14/api/batch/v1/job_list.k index b11caf19..a067570e 100644 --- a/k8s/1.14/api/batch/v1/job_list.k +++ b/k8s/1.14/api/batch/v1/job_list.k @@ -3,7 +3,7 @@ This is the job_list module in k8s.api.batch.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema JobList: @@ -18,7 +18,7 @@ schema JobList: items is the list of Jobs. kind : str, default is "JobList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema JobList: kind: "JobList" = "JobList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.14/api/batch/v1/job_spec.k b/k8s/1.14/api/batch/v1/job_spec.k index 085f981e..732d97f5 100644 --- a/k8s/1.14/api/batch/v1/job_spec.k +++ b/k8s/1.14/api/batch/v1/job_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema JobSpec: @@ -23,7 +23,7 @@ schema JobSpec: manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector parallelism : int, default is Undefined, optional Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional A label query over pods that should match the pod count. Normally, the system sets this field for you. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors template : corev1.PodTemplateSpec, default is Undefined, required Describes the pod that will be created when executing a job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ @@ -42,7 +42,7 @@ schema JobSpec: parallelism?: int - selector?: v1.LabelSelector + selector?: metav1.LabelSelector template: corev1.PodTemplateSpec diff --git a/k8s/1.14/api/batch/v1beta1/cron_job.k b/k8s/1.14/api/batch/v1beta1/cron_job.k index 890a5061..62105012 100644 --- a/k8s/1.14/api/batch/v1beta1/cron_job.k +++ b/k8s/1.14/api/batch/v1beta1/cron_job.k @@ -3,7 +3,7 @@ This is the cron_job module in k8s.api.batch.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CronJob: @@ -16,7 +16,7 @@ schema CronJob: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "CronJob", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata spec : CronJobSpec, default is Undefined, optional Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema CronJob: kind: "CronJob" = "CronJob" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: CronJobSpec diff --git a/k8s/1.14/api/batch/v1beta1/cron_job_list.k b/k8s/1.14/api/batch/v1beta1/cron_job_list.k index ecc4e095..0dd015d2 100644 --- a/k8s/1.14/api/batch/v1beta1/cron_job_list.k +++ b/k8s/1.14/api/batch/v1beta1/cron_job_list.k @@ -3,7 +3,7 @@ This is the cron_job_list module in k8s.api.batch.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CronJobList: @@ -18,7 +18,7 @@ schema CronJobList: items is the list of CronJobs. kind : str, default is "CronJobList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CronJobList: kind: "CronJobList" = "CronJobList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.14/api/batch/v1beta1/job_template_spec.k b/k8s/1.14/api/batch/v1beta1/job_template_spec.k index 6d8768cb..ee99e9aa 100644 --- a/k8s/1.14/api/batch/v1beta1/job_template_spec.k +++ b/k8s/1.14/api/batch/v1beta1/job_template_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.batch.v1 as batchV1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema JobTemplateSpec: @@ -13,14 +13,14 @@ schema JobTemplateSpec: Attributes ---------- - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata spec : batchV1.JobSpec, default is Undefined, optional Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status """ - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: batchV1.JobSpec diff --git a/k8s/1.14/api/batch/v2alpha1/cron_job.k b/k8s/1.14/api/batch/v2alpha1/cron_job.k index 65b62a8c..d58ff79c 100644 --- a/k8s/1.14/api/batch/v2alpha1/cron_job.k +++ b/k8s/1.14/api/batch/v2alpha1/cron_job.k @@ -3,7 +3,7 @@ This is the cron_job module in k8s.api.batch.v2alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CronJob: @@ -16,7 +16,7 @@ schema CronJob: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "CronJob", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata spec : CronJobSpec, default is Undefined, optional Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema CronJob: kind: "CronJob" = "CronJob" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: CronJobSpec diff --git a/k8s/1.14/api/batch/v2alpha1/cron_job_list.k b/k8s/1.14/api/batch/v2alpha1/cron_job_list.k index 6ec7b90c..d789f7b7 100644 --- a/k8s/1.14/api/batch/v2alpha1/cron_job_list.k +++ b/k8s/1.14/api/batch/v2alpha1/cron_job_list.k @@ -3,7 +3,7 @@ This is the cron_job_list module in k8s.api.batch.v2alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CronJobList: @@ -18,7 +18,7 @@ schema CronJobList: items is the list of CronJobs. kind : str, default is "CronJobList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CronJobList: kind: "CronJobList" = "CronJobList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.14/api/batch/v2alpha1/job_template_spec.k b/k8s/1.14/api/batch/v2alpha1/job_template_spec.k index 95871c85..70f15e24 100644 --- a/k8s/1.14/api/batch/v2alpha1/job_template_spec.k +++ b/k8s/1.14/api/batch/v2alpha1/job_template_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.batch.v1 as batchV1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema JobTemplateSpec: @@ -13,14 +13,14 @@ schema JobTemplateSpec: Attributes ---------- - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata spec : batchV1.JobSpec, default is Undefined, optional Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status """ - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: batchV1.JobSpec diff --git a/k8s/1.14/api/certificates/v1beta1/certificate_signing_request.k b/k8s/1.14/api/certificates/v1beta1/certificate_signing_request.k index 91944b4b..5235f179 100644 --- a/k8s/1.14/api/certificates/v1beta1/certificate_signing_request.k +++ b/k8s/1.14/api/certificates/v1beta1/certificate_signing_request.k @@ -3,7 +3,7 @@ This is the certificate_signing_request module in k8s.api.certificates.v1beta1 p This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CertificateSigningRequest: @@ -16,7 +16,7 @@ schema CertificateSigningRequest: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "CertificateSigningRequest", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : CertificateSigningRequestSpec, default is Undefined, optional The certificate request itself and any additional information. @@ -27,7 +27,7 @@ schema CertificateSigningRequest: kind: "CertificateSigningRequest" = "CertificateSigningRequest" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: CertificateSigningRequestSpec diff --git a/k8s/1.14/api/certificates/v1beta1/certificate_signing_request_list.k b/k8s/1.14/api/certificates/v1beta1/certificate_signing_request_list.k index 41185458..35522367 100644 --- a/k8s/1.14/api/certificates/v1beta1/certificate_signing_request_list.k +++ b/k8s/1.14/api/certificates/v1beta1/certificate_signing_request_list.k @@ -3,7 +3,7 @@ This is the certificate_signing_request_list module in k8s.api.certificates.v1be This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CertificateSigningRequestList: @@ -18,7 +18,7 @@ schema CertificateSigningRequestList: items kind : str, default is "CertificateSigningRequestList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema CertificateSigningRequestList: kind: "CertificateSigningRequestList" = "CertificateSigningRequestList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.14/api/coordination/v1/lease.k b/k8s/1.14/api/coordination/v1/lease.k index e1fc886b..c9e4c1a2 100644 --- a/k8s/1.14/api/coordination/v1/lease.k +++ b/k8s/1.14/api/coordination/v1/lease.k @@ -3,7 +3,7 @@ This is the lease module in k8s.api.coordination.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Lease: @@ -16,7 +16,7 @@ schema Lease: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "Lease", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata spec : LeaseSpec, default is Undefined, optional Specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Lease: kind: "Lease" = "Lease" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: LeaseSpec diff --git a/k8s/1.14/api/coordination/v1/lease_list.k b/k8s/1.14/api/coordination/v1/lease_list.k index bf3ade50..9da499ad 100644 --- a/k8s/1.14/api/coordination/v1/lease_list.k +++ b/k8s/1.14/api/coordination/v1/lease_list.k @@ -3,7 +3,7 @@ This is the lease_list module in k8s.api.coordination.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LeaseList: @@ -18,7 +18,7 @@ schema LeaseList: Items is a list of schema objects. kind : str, default is "LeaseList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema LeaseList: kind: "LeaseList" = "LeaseList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.14/api/coordination/v1beta1/lease.k b/k8s/1.14/api/coordination/v1beta1/lease.k index bf7ab0ad..f65f7c90 100644 --- a/k8s/1.14/api/coordination/v1beta1/lease.k +++ b/k8s/1.14/api/coordination/v1beta1/lease.k @@ -3,7 +3,7 @@ This is the lease module in k8s.api.coordination.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Lease: @@ -16,7 +16,7 @@ schema Lease: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "Lease", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata spec : LeaseSpec, default is Undefined, optional Specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Lease: kind: "Lease" = "Lease" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: LeaseSpec diff --git a/k8s/1.14/api/coordination/v1beta1/lease_list.k b/k8s/1.14/api/coordination/v1beta1/lease_list.k index f7a3d4f9..63658520 100644 --- a/k8s/1.14/api/coordination/v1beta1/lease_list.k +++ b/k8s/1.14/api/coordination/v1beta1/lease_list.k @@ -3,7 +3,7 @@ This is the lease_list module in k8s.api.coordination.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LeaseList: @@ -18,7 +18,7 @@ schema LeaseList: Items is a list of schema objects. kind : str, default is "LeaseList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema LeaseList: kind: "LeaseList" = "LeaseList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.14/api/core/v1/binding.k b/k8s/1.14/api/core/v1/binding.k index 29f4017f..9848c222 100644 --- a/k8s/1.14/api/core/v1/binding.k +++ b/k8s/1.14/api/core/v1/binding.k @@ -3,7 +3,7 @@ This is the binding module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Binding: @@ -16,7 +16,7 @@ schema Binding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "Binding", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata target : ObjectReference, default is Undefined, required The target object that you want to bind to the standard object. @@ -27,7 +27,7 @@ schema Binding: kind: "Binding" = "Binding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta target: ObjectReference diff --git a/k8s/1.14/api/core/v1/component_status.k b/k8s/1.14/api/core/v1/component_status.k index 0aa0a973..063f6332 100644 --- a/k8s/1.14/api/core/v1/component_status.k +++ b/k8s/1.14/api/core/v1/component_status.k @@ -3,7 +3,7 @@ This is the component_status module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ComponentStatus: @@ -18,7 +18,7 @@ schema ComponentStatus: List of component conditions observed kind : str, default is "ComponentStatus", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema ComponentStatus: kind: "ComponentStatus" = "ComponentStatus" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta diff --git a/k8s/1.14/api/core/v1/component_status_list.k b/k8s/1.14/api/core/v1/component_status_list.k index 9695a5c8..9065ea5c 100644 --- a/k8s/1.14/api/core/v1/component_status_list.k +++ b/k8s/1.14/api/core/v1/component_status_list.k @@ -3,7 +3,7 @@ This is the component_status_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ComponentStatusList: @@ -18,7 +18,7 @@ schema ComponentStatusList: List of ComponentStatus objects. kind : str, default is "ComponentStatusList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ComponentStatusList: kind: "ComponentStatusList" = "ComponentStatusList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.14/api/core/v1/config_map.k b/k8s/1.14/api/core/v1/config_map.k index 429db440..4eb238d2 100644 --- a/k8s/1.14/api/core/v1/config_map.k +++ b/k8s/1.14/api/core/v1/config_map.k @@ -3,7 +3,7 @@ This is the config_map module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ConfigMap: @@ -20,7 +20,7 @@ schema ConfigMap: Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process. kind : str, default is "ConfigMap", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata """ @@ -33,6 +33,6 @@ schema ConfigMap: kind: "ConfigMap" = "ConfigMap" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta diff --git a/k8s/1.14/api/core/v1/config_map_list.k b/k8s/1.14/api/core/v1/config_map_list.k index a942bc10..c3e3520a 100644 --- a/k8s/1.14/api/core/v1/config_map_list.k +++ b/k8s/1.14/api/core/v1/config_map_list.k @@ -3,7 +3,7 @@ This is the config_map_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ConfigMapList: @@ -18,7 +18,7 @@ schema ConfigMapList: Items is the list of ConfigMaps. kind : str, default is "ConfigMapList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema ConfigMapList: kind: "ConfigMapList" = "ConfigMapList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.14/api/core/v1/endpoints.k b/k8s/1.14/api/core/v1/endpoints.k index 98b8cff3..38d094af 100644 --- a/k8s/1.14/api/core/v1/endpoints.k +++ b/k8s/1.14/api/core/v1/endpoints.k @@ -3,7 +3,7 @@ This is the endpoints module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Endpoints: @@ -27,7 +27,7 @@ schema Endpoints: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "Endpoints", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata subsets : [EndpointSubset], default is Undefined, optional The set of all endpoints is the union of all subsets. Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service. @@ -38,7 +38,7 @@ schema Endpoints: kind: "Endpoints" = "Endpoints" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta subsets?: [EndpointSubset] diff --git a/k8s/1.14/api/core/v1/endpoints_list.k b/k8s/1.14/api/core/v1/endpoints_list.k index 78656fd0..c15013ad 100644 --- a/k8s/1.14/api/core/v1/endpoints_list.k +++ b/k8s/1.14/api/core/v1/endpoints_list.k @@ -3,7 +3,7 @@ This is the endpoints_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EndpointsList: @@ -18,7 +18,7 @@ schema EndpointsList: List of endpoints. kind : str, default is "EndpointsList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema EndpointsList: kind: "EndpointsList" = "EndpointsList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.14/api/core/v1/event.k b/k8s/1.14/api/core/v1/event.k index 9c165215..4e5c2da3 100644 --- a/k8s/1.14/api/core/v1/event.k +++ b/k8s/1.14/api/core/v1/event.k @@ -3,7 +3,7 @@ This is the event module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Event: @@ -30,7 +30,7 @@ schema Event: The time at which the most recent occurrence of this event was recorded. message : str, default is Undefined, optional A human-readable description of the status of this operation. - metadata : v1.ObjectMeta, default is Undefined, required + metadata : metav1.ObjectMeta, default is Undefined, required Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata reason : str, default is Undefined, optional This should be a short, machine understandable string that gives the reason for the transition into the object's current status. @@ -67,7 +67,7 @@ schema Event: message?: str - metadata: v1.ObjectMeta + metadata: metav1.ObjectMeta reason?: str diff --git a/k8s/1.14/api/core/v1/event_list.k b/k8s/1.14/api/core/v1/event_list.k index d4a2e0db..4b9578bf 100644 --- a/k8s/1.14/api/core/v1/event_list.k +++ b/k8s/1.14/api/core/v1/event_list.k @@ -3,7 +3,7 @@ This is the event_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EventList: @@ -18,7 +18,7 @@ schema EventList: List of events kind : str, default is "EventList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema EventList: kind: "EventList" = "EventList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.14/api/core/v1/limit_range.k b/k8s/1.14/api/core/v1/limit_range.k index 370e2909..81359ae1 100644 --- a/k8s/1.14/api/core/v1/limit_range.k +++ b/k8s/1.14/api/core/v1/limit_range.k @@ -3,7 +3,7 @@ This is the limit_range module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LimitRange: @@ -16,7 +16,7 @@ schema LimitRange: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "LimitRange", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata spec : LimitRangeSpec, default is Undefined, optional Spec defines the limits enforced. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema LimitRange: kind: "LimitRange" = "LimitRange" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: LimitRangeSpec diff --git a/k8s/1.14/api/core/v1/limit_range_list.k b/k8s/1.14/api/core/v1/limit_range_list.k index 33e3d6cb..8c222355 100644 --- a/k8s/1.14/api/core/v1/limit_range_list.k +++ b/k8s/1.14/api/core/v1/limit_range_list.k @@ -3,7 +3,7 @@ This is the limit_range_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LimitRangeList: @@ -18,7 +18,7 @@ schema LimitRangeList: Items is a list of LimitRange objects. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ kind : str, default is "LimitRangeList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema LimitRangeList: kind: "LimitRangeList" = "LimitRangeList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.14/api/core/v1/namespace.k b/k8s/1.14/api/core/v1/namespace.k index d5cb63dc..cd142461 100644 --- a/k8s/1.14/api/core/v1/namespace.k +++ b/k8s/1.14/api/core/v1/namespace.k @@ -3,7 +3,7 @@ This is the namespace module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Namespace: @@ -16,7 +16,7 @@ schema Namespace: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "Namespace", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata spec : NamespaceSpec, default is Undefined, optional Spec defines the behavior of the Namespace. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Namespace: kind: "Namespace" = "Namespace" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: NamespaceSpec diff --git a/k8s/1.14/api/core/v1/namespace_list.k b/k8s/1.14/api/core/v1/namespace_list.k index f8af6bb8..f8125dbc 100644 --- a/k8s/1.14/api/core/v1/namespace_list.k +++ b/k8s/1.14/api/core/v1/namespace_list.k @@ -3,7 +3,7 @@ This is the namespace_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NamespaceList: @@ -18,7 +18,7 @@ schema NamespaceList: Items is the list of Namespace objects in the list. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ kind : str, default is "NamespaceList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema NamespaceList: kind: "NamespaceList" = "NamespaceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.14/api/core/v1/node.k b/k8s/1.14/api/core/v1/node.k index c21aef91..38a31bd0 100644 --- a/k8s/1.14/api/core/v1/node.k +++ b/k8s/1.14/api/core/v1/node.k @@ -3,7 +3,7 @@ This is the node module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Node: @@ -16,7 +16,7 @@ schema Node: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "Node", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata spec : NodeSpec, default is Undefined, optional Spec defines the behavior of a node. https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Node: kind: "Node" = "Node" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: NodeSpec diff --git a/k8s/1.14/api/core/v1/node_list.k b/k8s/1.14/api/core/v1/node_list.k index 16ed9bd5..bf3bcf8e 100644 --- a/k8s/1.14/api/core/v1/node_list.k +++ b/k8s/1.14/api/core/v1/node_list.k @@ -3,7 +3,7 @@ This is the node_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NodeList: @@ -18,7 +18,7 @@ schema NodeList: List of nodes kind : str, default is "NodeList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema NodeList: kind: "NodeList" = "NodeList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.14/api/core/v1/persistent_volume.k b/k8s/1.14/api/core/v1/persistent_volume.k index 5a6e80f9..c753021e 100644 --- a/k8s/1.14/api/core/v1/persistent_volume.k +++ b/k8s/1.14/api/core/v1/persistent_volume.k @@ -3,7 +3,7 @@ This is the persistent_volume module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolume: @@ -16,7 +16,7 @@ schema PersistentVolume: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "PersistentVolume", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata spec : PersistentVolumeSpec, default is Undefined, optional Spec defines a specification of a persistent volume owned by the cluster. Provisioned by an administrator. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes @@ -27,7 +27,7 @@ schema PersistentVolume: kind: "PersistentVolume" = "PersistentVolume" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PersistentVolumeSpec diff --git a/k8s/1.14/api/core/v1/persistent_volume_claim.k b/k8s/1.14/api/core/v1/persistent_volume_claim.k index 842b91cd..a1550581 100644 --- a/k8s/1.14/api/core/v1/persistent_volume_claim.k +++ b/k8s/1.14/api/core/v1/persistent_volume_claim.k @@ -3,7 +3,7 @@ This is the persistent_volume_claim module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeClaim: @@ -16,7 +16,7 @@ schema PersistentVolumeClaim: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "PersistentVolumeClaim", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata spec : PersistentVolumeClaimSpec, default is Undefined, optional Spec defines the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims @@ -27,7 +27,7 @@ schema PersistentVolumeClaim: kind: "PersistentVolumeClaim" = "PersistentVolumeClaim" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PersistentVolumeClaimSpec diff --git a/k8s/1.14/api/core/v1/persistent_volume_claim_list.k b/k8s/1.14/api/core/v1/persistent_volume_claim_list.k index 22ae4f05..b830d270 100644 --- a/k8s/1.14/api/core/v1/persistent_volume_claim_list.k +++ b/k8s/1.14/api/core/v1/persistent_volume_claim_list.k @@ -3,7 +3,7 @@ This is the persistent_volume_claim_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeClaimList: @@ -18,7 +18,7 @@ schema PersistentVolumeClaimList: A list of persistent volume claims. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims kind : str, default is "PersistentVolumeClaimList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema PersistentVolumeClaimList: kind: "PersistentVolumeClaimList" = "PersistentVolumeClaimList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.14/api/core/v1/persistent_volume_claim_spec.k b/k8s/1.14/api/core/v1/persistent_volume_claim_spec.k index 84fa2f96..dda42b7c 100644 --- a/k8s/1.14/api/core/v1/persistent_volume_claim_spec.k +++ b/k8s/1.14/api/core/v1/persistent_volume_claim_spec.k @@ -3,7 +3,7 @@ This is the persistent_volume_claim_spec module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeClaimSpec: @@ -18,7 +18,7 @@ schema PersistentVolumeClaimSpec: This field requires the VolumeSnapshotDataSource alpha feature gate to be enabled and currently VolumeSnapshot is the only supported data source. If the provisioner can support VolumeSnapshot data source, it will create a new volume and data will be restored to the volume at the same time. If the provisioner does not support VolumeSnapshot data source, volume will not be created and the failure will be reported as an event. In the future, we plan to support more data source types and the behavior of the provisioner may change. resources : ResourceRequirements, default is Undefined, optional Resources represents the minimum resources the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional A label query over volumes to consider for binding. storageClassName : str, default is Undefined, optional Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1 @@ -35,7 +35,7 @@ schema PersistentVolumeClaimSpec: resources?: ResourceRequirements - selector?: v1.LabelSelector + selector?: metav1.LabelSelector storageClassName?: str diff --git a/k8s/1.14/api/core/v1/persistent_volume_list.k b/k8s/1.14/api/core/v1/persistent_volume_list.k index 1af138ab..1da99be3 100644 --- a/k8s/1.14/api/core/v1/persistent_volume_list.k +++ b/k8s/1.14/api/core/v1/persistent_volume_list.k @@ -3,7 +3,7 @@ This is the persistent_volume_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeList: @@ -18,7 +18,7 @@ schema PersistentVolumeList: List of persistent volumes. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes kind : str, default is "PersistentVolumeList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema PersistentVolumeList: kind: "PersistentVolumeList" = "PersistentVolumeList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.14/api/core/v1/pod.k b/k8s/1.14/api/core/v1/pod.k index cab74fb3..c8c0f953 100644 --- a/k8s/1.14/api/core/v1/pod.k +++ b/k8s/1.14/api/core/v1/pod.k @@ -3,7 +3,7 @@ This is the pod module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Pod: @@ -16,7 +16,7 @@ schema Pod: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "Pod", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata spec : PodSpec, default is Undefined, optional Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Pod: kind: "Pod" = "Pod" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PodSpec diff --git a/k8s/1.14/api/core/v1/pod_affinity_term.k b/k8s/1.14/api/core/v1/pod_affinity_term.k index dccd6ef9..0cbd595d 100644 --- a/k8s/1.14/api/core/v1/pod_affinity_term.k +++ b/k8s/1.14/api/core/v1/pod_affinity_term.k @@ -3,7 +3,7 @@ This is the pod_affinity_term module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodAffinityTerm: @@ -12,7 +12,7 @@ schema PodAffinityTerm: Attributes ---------- - labelSelector : v1.LabelSelector, default is Undefined, optional + labelSelector : metav1.LabelSelector, default is Undefined, optional A label query over a set of resources, in this case pods. namespaces : [str], default is Undefined, optional namespaces specifies which namespaces the labelSelector applies to (matches against); null or empty list means "this pod's namespace" @@ -21,7 +21,7 @@ schema PodAffinityTerm: """ - labelSelector?: v1.LabelSelector + labelSelector?: metav1.LabelSelector namespaces?: [str] diff --git a/k8s/1.14/api/core/v1/pod_list.k b/k8s/1.14/api/core/v1/pod_list.k index eaf05cba..7ae68580 100644 --- a/k8s/1.14/api/core/v1/pod_list.k +++ b/k8s/1.14/api/core/v1/pod_list.k @@ -3,7 +3,7 @@ This is the pod_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodList: @@ -18,7 +18,7 @@ schema PodList: List of pods. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md kind : str, default is "PodList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema PodList: kind: "PodList" = "PodList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.14/api/core/v1/pod_template.k b/k8s/1.14/api/core/v1/pod_template.k index efec9e75..fa6272d1 100644 --- a/k8s/1.14/api/core/v1/pod_template.k +++ b/k8s/1.14/api/core/v1/pod_template.k @@ -3,7 +3,7 @@ This is the pod_template module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodTemplate: @@ -16,7 +16,7 @@ schema PodTemplate: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "PodTemplate", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata template : PodTemplateSpec, default is Undefined, optional Template defines the pods that will be created from this pod template. https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema PodTemplate: kind: "PodTemplate" = "PodTemplate" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta template?: PodTemplateSpec diff --git a/k8s/1.14/api/core/v1/pod_template_list.k b/k8s/1.14/api/core/v1/pod_template_list.k index d6e1dd5d..4ddf2533 100644 --- a/k8s/1.14/api/core/v1/pod_template_list.k +++ b/k8s/1.14/api/core/v1/pod_template_list.k @@ -3,7 +3,7 @@ This is the pod_template_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodTemplateList: @@ -18,7 +18,7 @@ schema PodTemplateList: List of pod templates kind : str, default is "PodTemplateList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema PodTemplateList: kind: "PodTemplateList" = "PodTemplateList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.14/api/core/v1/pod_template_spec.k b/k8s/1.14/api/core/v1/pod_template_spec.k index d31816fd..b1ab6345 100644 --- a/k8s/1.14/api/core/v1/pod_template_spec.k +++ b/k8s/1.14/api/core/v1/pod_template_spec.k @@ -3,7 +3,7 @@ This is the pod_template_spec module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodTemplateSpec: @@ -12,14 +12,14 @@ schema PodTemplateSpec: Attributes ---------- - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata spec : PodSpec, default is Undefined, optional Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status """ - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PodSpec diff --git a/k8s/1.14/api/core/v1/replication_controller.k b/k8s/1.14/api/core/v1/replication_controller.k index 0898199d..11eab227 100644 --- a/k8s/1.14/api/core/v1/replication_controller.k +++ b/k8s/1.14/api/core/v1/replication_controller.k @@ -3,7 +3,7 @@ This is the replication_controller module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicationController: @@ -16,7 +16,7 @@ schema ReplicationController: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "ReplicationController", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional If the Labels of a ReplicationController are empty, they are defaulted to be the same as the Pod(s) that the replication controller manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata spec : ReplicationControllerSpec, default is Undefined, optional Spec defines the specification of the desired behavior of the replication controller. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema ReplicationController: kind: "ReplicationController" = "ReplicationController" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ReplicationControllerSpec diff --git a/k8s/1.14/api/core/v1/replication_controller_list.k b/k8s/1.14/api/core/v1/replication_controller_list.k index 3d53c175..6bdb3689 100644 --- a/k8s/1.14/api/core/v1/replication_controller_list.k +++ b/k8s/1.14/api/core/v1/replication_controller_list.k @@ -3,7 +3,7 @@ This is the replication_controller_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicationControllerList: @@ -18,7 +18,7 @@ schema ReplicationControllerList: List of replication controllers. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller kind : str, default is "ReplicationControllerList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ReplicationControllerList: kind: "ReplicationControllerList" = "ReplicationControllerList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.14/api/core/v1/resource_quota.k b/k8s/1.14/api/core/v1/resource_quota.k index 9c165e08..8b03a700 100644 --- a/k8s/1.14/api/core/v1/resource_quota.k +++ b/k8s/1.14/api/core/v1/resource_quota.k @@ -3,7 +3,7 @@ This is the resource_quota module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceQuota: @@ -16,7 +16,7 @@ schema ResourceQuota: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "ResourceQuota", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata spec : ResourceQuotaSpec, default is Undefined, optional Spec defines the desired quota. https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema ResourceQuota: kind: "ResourceQuota" = "ResourceQuota" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ResourceQuotaSpec diff --git a/k8s/1.14/api/core/v1/resource_quota_list.k b/k8s/1.14/api/core/v1/resource_quota_list.k index c446c9a7..ee4d5bbe 100644 --- a/k8s/1.14/api/core/v1/resource_quota_list.k +++ b/k8s/1.14/api/core/v1/resource_quota_list.k @@ -3,7 +3,7 @@ This is the resource_quota_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceQuotaList: @@ -18,7 +18,7 @@ schema ResourceQuotaList: Items is a list of ResourceQuota objects. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/ kind : str, default is "ResourceQuotaList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ResourceQuotaList: kind: "ResourceQuotaList" = "ResourceQuotaList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.14/api/core/v1/secret.k b/k8s/1.14/api/core/v1/secret.k index df129553..114ea20f 100644 --- a/k8s/1.14/api/core/v1/secret.k +++ b/k8s/1.14/api/core/v1/secret.k @@ -3,7 +3,7 @@ This is the secret module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Secret: @@ -18,7 +18,7 @@ schema Secret: Data contains the secret data. Each key must consist of alphanumeric characters, '-', '_' or '.'. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4 kind : str, default is "Secret", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata stringData : {str:str}, default is Undefined, optional stringData allows specifying non-binary secret data in string form. It is provided as a write-only convenience method. All keys and values are merged into the data field on write, overwriting any existing values. It is never output when reading from the API. @@ -33,7 +33,7 @@ schema Secret: kind: "Secret" = "Secret" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta stringData?: {str:str} diff --git a/k8s/1.14/api/core/v1/secret_list.k b/k8s/1.14/api/core/v1/secret_list.k index 34a09142..7a43d2e8 100644 --- a/k8s/1.14/api/core/v1/secret_list.k +++ b/k8s/1.14/api/core/v1/secret_list.k @@ -3,7 +3,7 @@ This is the secret_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SecretList: @@ -18,7 +18,7 @@ schema SecretList: Items is a list of secret objects. More info: https://kubernetes.io/docs/concepts/configuration/secret kind : str, default is "SecretList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema SecretList: kind: "SecretList" = "SecretList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.14/api/core/v1/service.k b/k8s/1.14/api/core/v1/service.k index 8417d160..f5a65e8b 100644 --- a/k8s/1.14/api/core/v1/service.k +++ b/k8s/1.14/api/core/v1/service.k @@ -3,7 +3,7 @@ This is the service module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Service: @@ -16,7 +16,7 @@ schema Service: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "Service", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata spec : ServiceSpec, default is Undefined, optional Spec defines the behavior of a service. https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Service: kind: "Service" = "Service" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ServiceSpec diff --git a/k8s/1.14/api/core/v1/service_account.k b/k8s/1.14/api/core/v1/service_account.k index 861b4721..65b2d394 100644 --- a/k8s/1.14/api/core/v1/service_account.k +++ b/k8s/1.14/api/core/v1/service_account.k @@ -3,7 +3,7 @@ This is the service_account module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ServiceAccount: @@ -20,7 +20,7 @@ schema ServiceAccount: ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod kind : str, default is "ServiceAccount", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata secrets : [ObjectReference], default is Undefined, optional Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount. More info: https://kubernetes.io/docs/concepts/configuration/secret @@ -35,7 +35,7 @@ schema ServiceAccount: kind: "ServiceAccount" = "ServiceAccount" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta secrets?: [ObjectReference] diff --git a/k8s/1.14/api/core/v1/service_account_list.k b/k8s/1.14/api/core/v1/service_account_list.k index ba3e08cf..f4c8effb 100644 --- a/k8s/1.14/api/core/v1/service_account_list.k +++ b/k8s/1.14/api/core/v1/service_account_list.k @@ -3,7 +3,7 @@ This is the service_account_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ServiceAccountList: @@ -18,7 +18,7 @@ schema ServiceAccountList: List of ServiceAccounts. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ kind : str, default is "ServiceAccountList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ServiceAccountList: kind: "ServiceAccountList" = "ServiceAccountList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.14/api/core/v1/service_list.k b/k8s/1.14/api/core/v1/service_list.k index b42928c0..3c6ab10d 100644 --- a/k8s/1.14/api/core/v1/service_list.k +++ b/k8s/1.14/api/core/v1/service_list.k @@ -3,7 +3,7 @@ This is the service_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ServiceList: @@ -18,7 +18,7 @@ schema ServiceList: List of services kind : str, default is "ServiceList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ServiceList: kind: "ServiceList" = "ServiceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.14/api/events/v1beta1/event_list.k b/k8s/1.14/api/events/v1beta1/event_list.k index 62ef7788..67bcf903 100644 --- a/k8s/1.14/api/events/v1beta1/event_list.k +++ b/k8s/1.14/api/events/v1beta1/event_list.k @@ -3,7 +3,7 @@ This is the event_list module in k8s.api.events.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EventList: @@ -18,7 +18,7 @@ schema EventList: Items is a list of schema objects. kind : str, default is "EventList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema EventList: kind: "EventList" = "EventList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.14/api/extensions/v1beta1/daemon_set.k b/k8s/1.14/api/extensions/v1beta1/daemon_set.k index f56a48ea..5b0d3d5f 100644 --- a/k8s/1.14/api/extensions/v1beta1/daemon_set.k +++ b/k8s/1.14/api/extensions/v1beta1/daemon_set.k @@ -3,7 +3,7 @@ This is the daemon_set module in k8s.api.extensions.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DaemonSet: @@ -16,7 +16,7 @@ schema DaemonSet: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "DaemonSet", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : DaemonSetSpec, default is Undefined, optional The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema DaemonSet: kind: "DaemonSet" = "DaemonSet" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: DaemonSetSpec diff --git a/k8s/1.14/api/extensions/v1beta1/daemon_set_list.k b/k8s/1.14/api/extensions/v1beta1/daemon_set_list.k index 462e7e51..0b534432 100644 --- a/k8s/1.14/api/extensions/v1beta1/daemon_set_list.k +++ b/k8s/1.14/api/extensions/v1beta1/daemon_set_list.k @@ -3,7 +3,7 @@ This is the daemon_set_list module in k8s.api.extensions.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DaemonSetList: @@ -18,7 +18,7 @@ schema DaemonSetList: A list of daemon sets. kind : str, default is "DaemonSetList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema DaemonSetList: kind: "DaemonSetList" = "DaemonSetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.14/api/extensions/v1beta1/daemon_set_spec.k b/k8s/1.14/api/extensions/v1beta1/daemon_set_spec.k index 5deae760..d535be44 100644 --- a/k8s/1.14/api/extensions/v1beta1/daemon_set_spec.k +++ b/k8s/1.14/api/extensions/v1beta1/daemon_set_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DaemonSetSpec: @@ -17,7 +17,7 @@ schema DaemonSetSpec: The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready). revisionHistoryLimit : int, default is Undefined, optional The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional A label query over pods that are managed by the daemon set. Must match in order to be controlled. If empty, defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors template : corev1.PodTemplateSpec, default is Undefined, required An object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template @@ -32,7 +32,7 @@ schema DaemonSetSpec: revisionHistoryLimit?: int - selector?: v1.LabelSelector + selector?: metav1.LabelSelector template: corev1.PodTemplateSpec diff --git a/k8s/1.14/api/extensions/v1beta1/deployment.k b/k8s/1.14/api/extensions/v1beta1/deployment.k index a6b0d5b4..cf6ea8f5 100644 --- a/k8s/1.14/api/extensions/v1beta1/deployment.k +++ b/k8s/1.14/api/extensions/v1beta1/deployment.k @@ -3,7 +3,7 @@ This is the deployment module in k8s.api.extensions.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Deployment: @@ -16,7 +16,7 @@ schema Deployment: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "Deployment", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. spec : DeploymentSpec, default is Undefined, optional Specification of the desired behavior of the Deployment. @@ -27,7 +27,7 @@ schema Deployment: kind: "Deployment" = "Deployment" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: DeploymentSpec diff --git a/k8s/1.14/api/extensions/v1beta1/deployment_list.k b/k8s/1.14/api/extensions/v1beta1/deployment_list.k index 01e9d647..86f6bdda 100644 --- a/k8s/1.14/api/extensions/v1beta1/deployment_list.k +++ b/k8s/1.14/api/extensions/v1beta1/deployment_list.k @@ -3,7 +3,7 @@ This is the deployment_list module in k8s.api.extensions.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DeploymentList: @@ -18,7 +18,7 @@ schema DeploymentList: Items is the list of Deployments. kind : str, default is "DeploymentList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema DeploymentList: kind: "DeploymentList" = "DeploymentList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.14/api/extensions/v1beta1/deployment_spec.k b/k8s/1.14/api/extensions/v1beta1/deployment_spec.k index b6c56ad6..0d2bf737 100644 --- a/k8s/1.14/api/extensions/v1beta1/deployment_spec.k +++ b/k8s/1.14/api/extensions/v1beta1/deployment_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DeploymentSpec: @@ -25,7 +25,7 @@ schema DeploymentSpec: The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. This is set to the max value of int32 (i.e. 2147483647) by default, which means "retaining all old RelicaSets". rollbackTo : RollbackConfig, default is Undefined, optional DEPRECATED. The config this deployment is rolling back to. Will be cleared after rollback is done. - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. strategy : DeploymentStrategy, default is Undefined, optional The deployment strategy to use to replace existing pods with new ones. @@ -46,7 +46,7 @@ schema DeploymentSpec: rollbackTo?: RollbackConfig - selector?: v1.LabelSelector + selector?: metav1.LabelSelector strategy?: DeploymentStrategy diff --git a/k8s/1.14/api/extensions/v1beta1/ingress.k b/k8s/1.14/api/extensions/v1beta1/ingress.k index 12051fd5..ef081c49 100644 --- a/k8s/1.14/api/extensions/v1beta1/ingress.k +++ b/k8s/1.14/api/extensions/v1beta1/ingress.k @@ -3,7 +3,7 @@ This is the ingress module in k8s.api.extensions.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Ingress: @@ -16,7 +16,7 @@ schema Ingress: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "Ingress", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : IngressSpec, default is Undefined, optional Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Ingress: kind: "Ingress" = "Ingress" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: IngressSpec diff --git a/k8s/1.14/api/extensions/v1beta1/ingress_list.k b/k8s/1.14/api/extensions/v1beta1/ingress_list.k index 335cdbb5..9bb5765a 100644 --- a/k8s/1.14/api/extensions/v1beta1/ingress_list.k +++ b/k8s/1.14/api/extensions/v1beta1/ingress_list.k @@ -3,7 +3,7 @@ This is the ingress_list module in k8s.api.extensions.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema IngressList: @@ -18,7 +18,7 @@ schema IngressList: Items is the list of Ingress. kind : str, default is "IngressList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema IngressList: kind: "IngressList" = "IngressList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.14/api/extensions/v1beta1/network_policy.k b/k8s/1.14/api/extensions/v1beta1/network_policy.k index 404952df..11cec39d 100644 --- a/k8s/1.14/api/extensions/v1beta1/network_policy.k +++ b/k8s/1.14/api/extensions/v1beta1/network_policy.k @@ -3,7 +3,7 @@ This is the network_policy module in k8s.api.extensions.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicy: @@ -16,7 +16,7 @@ schema NetworkPolicy: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "NetworkPolicy", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : NetworkPolicySpec, default is Undefined, optional Specification of the desired behavior for this NetworkPolicy. @@ -27,7 +27,7 @@ schema NetworkPolicy: kind: "NetworkPolicy" = "NetworkPolicy" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: NetworkPolicySpec diff --git a/k8s/1.14/api/extensions/v1beta1/network_policy_list.k b/k8s/1.14/api/extensions/v1beta1/network_policy_list.k index 24b58b8e..f1b98ffa 100644 --- a/k8s/1.14/api/extensions/v1beta1/network_policy_list.k +++ b/k8s/1.14/api/extensions/v1beta1/network_policy_list.k @@ -3,7 +3,7 @@ This is the network_policy_list module in k8s.api.extensions.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicyList: @@ -18,7 +18,7 @@ schema NetworkPolicyList: Items is a list of schema objects. kind : str, default is "NetworkPolicyList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema NetworkPolicyList: kind: "NetworkPolicyList" = "NetworkPolicyList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.14/api/extensions/v1beta1/network_policy_peer.k b/k8s/1.14/api/extensions/v1beta1/network_policy_peer.k index 073bd5ec..5d09be52 100644 --- a/k8s/1.14/api/extensions/v1beta1/network_policy_peer.k +++ b/k8s/1.14/api/extensions/v1beta1/network_policy_peer.k @@ -3,7 +3,7 @@ This is the network_policy_peer module in k8s.api.extensions.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicyPeer: @@ -14,11 +14,11 @@ schema NetworkPolicyPeer: ---------- ipBlock : IPBlock, default is Undefined, optional IPBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional Selects Namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces. If PodSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects all Pods in the Namespaces selected by NamespaceSelector. - podSelector : v1.LabelSelector, default is Undefined, optional + podSelector : metav1.LabelSelector, default is Undefined, optional This is a label selector which selects Pods. This field follows standard label selector semantics; if present but empty, it selects all pods. If NamespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the Pods matching PodSelector in the policy's own Namespace. @@ -27,8 +27,8 @@ schema NetworkPolicyPeer: ipBlock?: IPBlock - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector - podSelector?: v1.LabelSelector + podSelector?: metav1.LabelSelector diff --git a/k8s/1.14/api/extensions/v1beta1/network_policy_spec.k b/k8s/1.14/api/extensions/v1beta1/network_policy_spec.k index ecb6da25..de38d78d 100644 --- a/k8s/1.14/api/extensions/v1beta1/network_policy_spec.k +++ b/k8s/1.14/api/extensions/v1beta1/network_policy_spec.k @@ -3,7 +3,7 @@ This is the network_policy_spec module in k8s.api.extensions.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicySpec: @@ -16,7 +16,7 @@ schema NetworkPolicySpec: List of egress rules to be applied to the selected pods. Outgoing traffic is allowed if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic matches at least one egress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy limits all outgoing traffic (and serves solely to ensure that the pods it selects are isolated by default). This field is beta-level in 1.8 ingress : [NetworkPolicyIngressRule], default is Undefined, optional List of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if there are no NetworkPolicies selecting the pod OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not allow any traffic (and serves solely to ensure that the pods it selects are isolated by default). - podSelector : v1.LabelSelector, default is Undefined, required + podSelector : metav1.LabelSelector, default is Undefined, required Selects the pods to which this NetworkPolicy object applies. The array of ingress rules is applied to any pods selected by this field. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is NOT optional and follows standard label selector semantics. An empty podSelector matches all pods in this namespace. policyTypes : [str], default is Undefined, optional List of rule types that the NetworkPolicy relates to. Valid options are "Ingress", "Egress", or "Ingress,Egress". If this field is not specified, it will default based on the existence of Ingress or Egress rules; policies that contain an Egress section are assumed to affect Egress, and all policies (whether or not they contain an Ingress section) are assumed to affect Ingress. If you want to write an egress-only policy, you must explicitly specify policyTypes [ "Egress" ]. Likewise, if you want to write a policy that specifies that no egress is allowed, you must specify a policyTypes value that include "Egress" (since such a policy would not include an Egress section and would otherwise default to just [ "Ingress" ]). This field is beta-level in 1.8 @@ -27,7 +27,7 @@ schema NetworkPolicySpec: ingress?: [NetworkPolicyIngressRule] - podSelector: v1.LabelSelector + podSelector: metav1.LabelSelector policyTypes?: [str] diff --git a/k8s/1.14/api/extensions/v1beta1/pod_security_policy.k b/k8s/1.14/api/extensions/v1beta1/pod_security_policy.k index 31ca0e79..a61017f3 100644 --- a/k8s/1.14/api/extensions/v1beta1/pod_security_policy.k +++ b/k8s/1.14/api/extensions/v1beta1/pod_security_policy.k @@ -3,7 +3,7 @@ This is the pod_security_policy module in k8s.api.extensions.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodSecurityPolicy: @@ -16,7 +16,7 @@ schema PodSecurityPolicy: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "PodSecurityPolicy", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PodSecurityPolicySpec, default is Undefined, optional spec defines the policy enforced. @@ -27,7 +27,7 @@ schema PodSecurityPolicy: kind: "PodSecurityPolicy" = "PodSecurityPolicy" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PodSecurityPolicySpec diff --git a/k8s/1.14/api/extensions/v1beta1/pod_security_policy_list.k b/k8s/1.14/api/extensions/v1beta1/pod_security_policy_list.k index 6fbf1b1d..c9732acd 100644 --- a/k8s/1.14/api/extensions/v1beta1/pod_security_policy_list.k +++ b/k8s/1.14/api/extensions/v1beta1/pod_security_policy_list.k @@ -3,7 +3,7 @@ This is the pod_security_policy_list module in k8s.api.extensions.v1beta1 packag This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodSecurityPolicyList: @@ -18,7 +18,7 @@ schema PodSecurityPolicyList: items is a list of schema objects. kind : str, default is "PodSecurityPolicyList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PodSecurityPolicyList: kind: "PodSecurityPolicyList" = "PodSecurityPolicyList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.14/api/extensions/v1beta1/replica_set.k b/k8s/1.14/api/extensions/v1beta1/replica_set.k index 8785f8de..796e4821 100644 --- a/k8s/1.14/api/extensions/v1beta1/replica_set.k +++ b/k8s/1.14/api/extensions/v1beta1/replica_set.k @@ -3,7 +3,7 @@ This is the replica_set module in k8s.api.extensions.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicaSet: @@ -16,7 +16,7 @@ schema ReplicaSet: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "ReplicaSet", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : ReplicaSetSpec, default is Undefined, optional Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema ReplicaSet: kind: "ReplicaSet" = "ReplicaSet" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ReplicaSetSpec diff --git a/k8s/1.14/api/extensions/v1beta1/replica_set_list.k b/k8s/1.14/api/extensions/v1beta1/replica_set_list.k index eee1f712..23f23bf8 100644 --- a/k8s/1.14/api/extensions/v1beta1/replica_set_list.k +++ b/k8s/1.14/api/extensions/v1beta1/replica_set_list.k @@ -3,7 +3,7 @@ This is the replica_set_list module in k8s.api.extensions.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicaSetList: @@ -18,7 +18,7 @@ schema ReplicaSetList: List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller kind : str, default is "ReplicaSetList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ReplicaSetList: kind: "ReplicaSetList" = "ReplicaSetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.14/api/extensions/v1beta1/replica_set_spec.k b/k8s/1.14/api/extensions/v1beta1/replica_set_spec.k index 9907b96b..f0285e09 100644 --- a/k8s/1.14/api/extensions/v1beta1/replica_set_spec.k +++ b/k8s/1.14/api/extensions/v1beta1/replica_set_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicaSetSpec: @@ -17,7 +17,7 @@ schema ReplicaSetSpec: Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) replicas : int, default is Undefined, optional Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional Selector is a label query over pods that should match the replica count. If the selector is empty, it is defaulted to the labels present on the pod template. Label keys and values that must match in order to be controlled by this replica set. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors template : corev1.PodTemplateSpec, default is Undefined, optional Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template @@ -28,7 +28,7 @@ schema ReplicaSetSpec: replicas?: int - selector?: v1.LabelSelector + selector?: metav1.LabelSelector template?: corev1.PodTemplateSpec diff --git a/k8s/1.14/api/extensions/v1beta1/scale.k b/k8s/1.14/api/extensions/v1beta1/scale.k index a4d8a712..69cc93eb 100644 --- a/k8s/1.14/api/extensions/v1beta1/scale.k +++ b/k8s/1.14/api/extensions/v1beta1/scale.k @@ -3,7 +3,7 @@ This is the scale module in k8s.api.extensions.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Scale: @@ -16,7 +16,7 @@ schema Scale: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "Scale", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. spec : ScaleSpec, default is Undefined, optional defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema Scale: kind: "Scale" = "Scale" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ScaleSpec diff --git a/k8s/1.14/api/networking/v1/network_policy.k b/k8s/1.14/api/networking/v1/network_policy.k index 78e92b23..b6f35296 100644 --- a/k8s/1.14/api/networking/v1/network_policy.k +++ b/k8s/1.14/api/networking/v1/network_policy.k @@ -3,7 +3,7 @@ This is the network_policy module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicy: @@ -16,7 +16,7 @@ schema NetworkPolicy: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "NetworkPolicy", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : NetworkPolicySpec, default is Undefined, optional Specification of the desired behavior for this NetworkPolicy. @@ -27,7 +27,7 @@ schema NetworkPolicy: kind: "NetworkPolicy" = "NetworkPolicy" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: NetworkPolicySpec diff --git a/k8s/1.14/api/networking/v1/network_policy_list.k b/k8s/1.14/api/networking/v1/network_policy_list.k index af2b61f4..281dc596 100644 --- a/k8s/1.14/api/networking/v1/network_policy_list.k +++ b/k8s/1.14/api/networking/v1/network_policy_list.k @@ -3,7 +3,7 @@ This is the network_policy_list module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicyList: @@ -18,7 +18,7 @@ schema NetworkPolicyList: Items is a list of schema objects. kind : str, default is "NetworkPolicyList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema NetworkPolicyList: kind: "NetworkPolicyList" = "NetworkPolicyList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.14/api/networking/v1/network_policy_peer.k b/k8s/1.14/api/networking/v1/network_policy_peer.k index 14b072d4..ebe8bf73 100644 --- a/k8s/1.14/api/networking/v1/network_policy_peer.k +++ b/k8s/1.14/api/networking/v1/network_policy_peer.k @@ -3,7 +3,7 @@ This is the network_policy_peer module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicyPeer: @@ -14,11 +14,11 @@ schema NetworkPolicyPeer: ---------- ipBlock : IPBlock, default is Undefined, optional IPBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional Selects Namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces. If PodSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects all Pods in the Namespaces selected by NamespaceSelector. - podSelector : v1.LabelSelector, default is Undefined, optional + podSelector : metav1.LabelSelector, default is Undefined, optional This is a label selector which selects Pods. This field follows standard label selector semantics; if present but empty, it selects all pods. If NamespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the Pods matching PodSelector in the policy's own Namespace. @@ -27,8 +27,8 @@ schema NetworkPolicyPeer: ipBlock?: IPBlock - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector - podSelector?: v1.LabelSelector + podSelector?: metav1.LabelSelector diff --git a/k8s/1.14/api/networking/v1/network_policy_spec.k b/k8s/1.14/api/networking/v1/network_policy_spec.k index d730dee3..5a848ef9 100644 --- a/k8s/1.14/api/networking/v1/network_policy_spec.k +++ b/k8s/1.14/api/networking/v1/network_policy_spec.k @@ -3,7 +3,7 @@ This is the network_policy_spec module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicySpec: @@ -16,7 +16,7 @@ schema NetworkPolicySpec: List of egress rules to be applied to the selected pods. Outgoing traffic is allowed if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic matches at least one egress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy limits all outgoing traffic (and serves solely to ensure that the pods it selects are isolated by default). This field is beta-level in 1.8 ingress : [NetworkPolicyIngressRule], default is Undefined, optional List of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not allow any traffic (and serves solely to ensure that the pods it selects are isolated by default) - podSelector : v1.LabelSelector, default is Undefined, required + podSelector : metav1.LabelSelector, default is Undefined, required Selects the pods to which this NetworkPolicy object applies. The array of ingress rules is applied to any pods selected by this field. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is NOT optional and follows standard label selector semantics. An empty podSelector matches all pods in this namespace. policyTypes : [str], default is Undefined, optional List of rule types that the NetworkPolicy relates to. Valid options are "Ingress", "Egress", or "Ingress,Egress". If this field is not specified, it will default based on the existence of Ingress or Egress rules; policies that contain an Egress section are assumed to affect Egress, and all policies (whether or not they contain an Ingress section) are assumed to affect Ingress. If you want to write an egress-only policy, you must explicitly specify policyTypes [ "Egress" ]. Likewise, if you want to write a policy that specifies that no egress is allowed, you must specify a policyTypes value that include "Egress" (since such a policy would not include an Egress section and would otherwise default to just [ "Ingress" ]). This field is beta-level in 1.8 @@ -27,7 +27,7 @@ schema NetworkPolicySpec: ingress?: [NetworkPolicyIngressRule] - podSelector: v1.LabelSelector + podSelector: metav1.LabelSelector policyTypes?: [str] diff --git a/k8s/1.14/api/networking/v1beta1/ingress.k b/k8s/1.14/api/networking/v1beta1/ingress.k index 351ec1b4..03dc4432 100644 --- a/k8s/1.14/api/networking/v1beta1/ingress.k +++ b/k8s/1.14/api/networking/v1beta1/ingress.k @@ -3,7 +3,7 @@ This is the ingress module in k8s.api.networking.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Ingress: @@ -16,7 +16,7 @@ schema Ingress: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "Ingress", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata spec : IngressSpec, default is Undefined, optional Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Ingress: kind: "Ingress" = "Ingress" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: IngressSpec diff --git a/k8s/1.14/api/networking/v1beta1/ingress_list.k b/k8s/1.14/api/networking/v1beta1/ingress_list.k index 1f8b046d..2532d31c 100644 --- a/k8s/1.14/api/networking/v1beta1/ingress_list.k +++ b/k8s/1.14/api/networking/v1beta1/ingress_list.k @@ -3,7 +3,7 @@ This is the ingress_list module in k8s.api.networking.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema IngressList: @@ -18,7 +18,7 @@ schema IngressList: Items is the list of Ingress. kind : str, default is "IngressList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema IngressList: kind: "IngressList" = "IngressList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.14/api/node/v1alpha1/runtime_class.k b/k8s/1.14/api/node/v1alpha1/runtime_class.k index fad6b376..7c96fd38 100644 --- a/k8s/1.14/api/node/v1alpha1/runtime_class.k +++ b/k8s/1.14/api/node/v1alpha1/runtime_class.k @@ -3,7 +3,7 @@ This is the runtime_class module in k8s.api.node.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RuntimeClass: @@ -16,7 +16,7 @@ schema RuntimeClass: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "RuntimeClass", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata spec : RuntimeClassSpec, default is Undefined, required Specification of the RuntimeClass More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema RuntimeClass: kind: "RuntimeClass" = "RuntimeClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: RuntimeClassSpec diff --git a/k8s/1.14/api/node/v1alpha1/runtime_class_list.k b/k8s/1.14/api/node/v1alpha1/runtime_class_list.k index 4ec2d2b1..34a8f144 100644 --- a/k8s/1.14/api/node/v1alpha1/runtime_class_list.k +++ b/k8s/1.14/api/node/v1alpha1/runtime_class_list.k @@ -3,7 +3,7 @@ This is the runtime_class_list module in k8s.api.node.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RuntimeClassList: @@ -18,7 +18,7 @@ schema RuntimeClassList: Items is a list of schema objects. kind : str, default is "RuntimeClassList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema RuntimeClassList: kind: "RuntimeClassList" = "RuntimeClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.14/api/node/v1beta1/runtime_class.k b/k8s/1.14/api/node/v1beta1/runtime_class.k index ec7a45cf..3b31db6e 100644 --- a/k8s/1.14/api/node/v1beta1/runtime_class.k +++ b/k8s/1.14/api/node/v1beta1/runtime_class.k @@ -3,7 +3,7 @@ This is the runtime_class module in k8s.api.node.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RuntimeClass: @@ -18,7 +18,7 @@ schema RuntimeClass: Handler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration. It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called "runc" might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The Handler must conform to the DNS Label (RFC 1123) requirements, and is immutable. kind : str, default is "RuntimeClass", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema RuntimeClass: kind: "RuntimeClass" = "RuntimeClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta diff --git a/k8s/1.14/api/node/v1beta1/runtime_class_list.k b/k8s/1.14/api/node/v1beta1/runtime_class_list.k index f1c2994b..d201536e 100644 --- a/k8s/1.14/api/node/v1beta1/runtime_class_list.k +++ b/k8s/1.14/api/node/v1beta1/runtime_class_list.k @@ -3,7 +3,7 @@ This is the runtime_class_list module in k8s.api.node.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RuntimeClassList: @@ -18,7 +18,7 @@ schema RuntimeClassList: Items is a list of schema objects. kind : str, default is "RuntimeClassList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema RuntimeClassList: kind: "RuntimeClassList" = "RuntimeClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.14/api/policy/v1beta1/eviction.k b/k8s/1.14/api/policy/v1beta1/eviction.k index b0b37e00..90c8739f 100644 --- a/k8s/1.14/api/policy/v1beta1/eviction.k +++ b/k8s/1.14/api/policy/v1beta1/eviction.k @@ -3,7 +3,7 @@ This is the eviction module in k8s.api.policy.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Eviction: @@ -14,21 +14,21 @@ schema Eviction: ---------- apiVersion : str, default is "policy/v1beta1", required APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources - deleteOptions : v1.DeleteOptions, default is Undefined, optional + deleteOptions : metav1.DeleteOptions, default is Undefined, optional DeleteOptions may be provided kind : str, default is "Eviction", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional ObjectMeta describes the pod that is being evicted. """ apiVersion: "policy/v1beta1" = "policy/v1beta1" - deleteOptions?: v1.DeleteOptions + deleteOptions?: metav1.DeleteOptions kind: "Eviction" = "Eviction" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta diff --git a/k8s/1.14/api/policy/v1beta1/pod_disruption_budget.k b/k8s/1.14/api/policy/v1beta1/pod_disruption_budget.k index db3ff574..64e41b80 100644 --- a/k8s/1.14/api/policy/v1beta1/pod_disruption_budget.k +++ b/k8s/1.14/api/policy/v1beta1/pod_disruption_budget.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget module in k8s.api.policy.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudget: @@ -16,7 +16,7 @@ schema PodDisruptionBudget: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "PodDisruptionBudget", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : PodDisruptionBudgetSpec, default is Undefined, optional Specification of the desired behavior of the PodDisruptionBudget. @@ -27,7 +27,7 @@ schema PodDisruptionBudget: kind: "PodDisruptionBudget" = "PodDisruptionBudget" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PodDisruptionBudgetSpec diff --git a/k8s/1.14/api/policy/v1beta1/pod_disruption_budget_list.k b/k8s/1.14/api/policy/v1beta1/pod_disruption_budget_list.k index 6464c3f1..3043cc37 100644 --- a/k8s/1.14/api/policy/v1beta1/pod_disruption_budget_list.k +++ b/k8s/1.14/api/policy/v1beta1/pod_disruption_budget_list.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget_list module in k8s.api.policy.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudgetList: @@ -18,7 +18,7 @@ schema PodDisruptionBudgetList: items kind : str, default is "PodDisruptionBudgetList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema PodDisruptionBudgetList: kind: "PodDisruptionBudgetList" = "PodDisruptionBudgetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.14/api/policy/v1beta1/pod_disruption_budget_spec.k b/k8s/1.14/api/policy/v1beta1/pod_disruption_budget_spec.k index 59207d7d..f58a030c 100644 --- a/k8s/1.14/api/policy/v1beta1/pod_disruption_budget_spec.k +++ b/k8s/1.14/api/policy/v1beta1/pod_disruption_budget_spec.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget_spec module in k8s.api.policy.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudgetSpec: @@ -16,7 +16,7 @@ schema PodDisruptionBudgetSpec: An eviction is allowed if at most "maxUnavailable" pods selected by "selector" are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with "minAvailable". minAvailable : int | str, default is Undefined, optional An eviction is allowed if at least "minAvailable" pods selected by "selector" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying "100%". - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional Label query over pods whose evictions are managed by the disruption budget. """ @@ -25,6 +25,6 @@ schema PodDisruptionBudgetSpec: minAvailable?: int | str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector diff --git a/k8s/1.14/api/policy/v1beta1/pod_security_policy.k b/k8s/1.14/api/policy/v1beta1/pod_security_policy.k index 9cf40c23..d775c156 100644 --- a/k8s/1.14/api/policy/v1beta1/pod_security_policy.k +++ b/k8s/1.14/api/policy/v1beta1/pod_security_policy.k @@ -3,7 +3,7 @@ This is the pod_security_policy module in k8s.api.policy.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodSecurityPolicy: @@ -16,7 +16,7 @@ schema PodSecurityPolicy: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "PodSecurityPolicy", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata spec : PodSecurityPolicySpec, default is Undefined, optional spec defines the policy enforced. @@ -27,7 +27,7 @@ schema PodSecurityPolicy: kind: "PodSecurityPolicy" = "PodSecurityPolicy" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PodSecurityPolicySpec diff --git a/k8s/1.14/api/policy/v1beta1/pod_security_policy_list.k b/k8s/1.14/api/policy/v1beta1/pod_security_policy_list.k index 8e7ba415..3e00cb01 100644 --- a/k8s/1.14/api/policy/v1beta1/pod_security_policy_list.k +++ b/k8s/1.14/api/policy/v1beta1/pod_security_policy_list.k @@ -3,7 +3,7 @@ This is the pod_security_policy_list module in k8s.api.policy.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodSecurityPolicyList: @@ -18,7 +18,7 @@ schema PodSecurityPolicyList: items is a list of schema objects. kind : str, default is "PodSecurityPolicyList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PodSecurityPolicyList: kind: "PodSecurityPolicyList" = "PodSecurityPolicyList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.14/api/rbac/v1/aggregation_rule.k b/k8s/1.14/api/rbac/v1/aggregation_rule.k index c7969ee4..b6898869 100644 --- a/k8s/1.14/api/rbac/v1/aggregation_rule.k +++ b/k8s/1.14/api/rbac/v1/aggregation_rule.k @@ -3,7 +3,7 @@ This is the aggregation_rule module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema AggregationRule: @@ -12,11 +12,11 @@ schema AggregationRule: Attributes ---------- - clusterRoleSelectors : [v1.LabelSelector], default is Undefined, optional + clusterRoleSelectors : [metav1.LabelSelector], default is Undefined, optional ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added """ - clusterRoleSelectors?: [v1.LabelSelector] + clusterRoleSelectors?: [metav1.LabelSelector] diff --git a/k8s/1.14/api/rbac/v1/cluster_role.k b/k8s/1.14/api/rbac/v1/cluster_role.k index 89848937..11d7fd1b 100644 --- a/k8s/1.14/api/rbac/v1/cluster_role.k +++ b/k8s/1.14/api/rbac/v1/cluster_role.k @@ -3,7 +3,7 @@ This is the cluster_role module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRole: @@ -18,7 +18,7 @@ schema ClusterRole: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "ClusterRole", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. rules : [PolicyRule], default is Undefined, optional Rules holds all the PolicyRules for this ClusterRole @@ -31,7 +31,7 @@ schema ClusterRole: kind: "ClusterRole" = "ClusterRole" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta rules?: [PolicyRule] diff --git a/k8s/1.14/api/rbac/v1/cluster_role_binding.k b/k8s/1.14/api/rbac/v1/cluster_role_binding.k index 96ea0d8d..57c369c3 100644 --- a/k8s/1.14/api/rbac/v1/cluster_role_binding.k +++ b/k8s/1.14/api/rbac/v1/cluster_role_binding.k @@ -3,7 +3,7 @@ This is the cluster_role_binding module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleBinding: @@ -16,7 +16,7 @@ schema ClusterRoleBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "ClusterRoleBinding", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. roleRef : RoleRef, default is Undefined, required RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. @@ -29,7 +29,7 @@ schema ClusterRoleBinding: kind: "ClusterRoleBinding" = "ClusterRoleBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta roleRef: RoleRef diff --git a/k8s/1.14/api/rbac/v1/cluster_role_binding_list.k b/k8s/1.14/api/rbac/v1/cluster_role_binding_list.k index 1a8e8ea0..a23e239b 100644 --- a/k8s/1.14/api/rbac/v1/cluster_role_binding_list.k +++ b/k8s/1.14/api/rbac/v1/cluster_role_binding_list.k @@ -3,7 +3,7 @@ This is the cluster_role_binding_list module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleBindingList: @@ -18,7 +18,7 @@ schema ClusterRoleBindingList: Items is a list of ClusterRoleBindings kind : str, default is "ClusterRoleBindingList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema ClusterRoleBindingList: kind: "ClusterRoleBindingList" = "ClusterRoleBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.14/api/rbac/v1/cluster_role_list.k b/k8s/1.14/api/rbac/v1/cluster_role_list.k index d1c3d244..aa58a860 100644 --- a/k8s/1.14/api/rbac/v1/cluster_role_list.k +++ b/k8s/1.14/api/rbac/v1/cluster_role_list.k @@ -3,7 +3,7 @@ This is the cluster_role_list module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleList: @@ -18,7 +18,7 @@ schema ClusterRoleList: Items is a list of ClusterRoles kind : str, default is "ClusterRoleList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema ClusterRoleList: kind: "ClusterRoleList" = "ClusterRoleList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.14/api/rbac/v1/role.k b/k8s/1.14/api/rbac/v1/role.k index 4bf73b78..f39167a8 100644 --- a/k8s/1.14/api/rbac/v1/role.k +++ b/k8s/1.14/api/rbac/v1/role.k @@ -3,7 +3,7 @@ This is the role module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Role: @@ -16,7 +16,7 @@ schema Role: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "Role", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. rules : [PolicyRule], default is Undefined, optional Rules holds all the PolicyRules for this Role @@ -27,7 +27,7 @@ schema Role: kind: "Role" = "Role" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta rules?: [PolicyRule] diff --git a/k8s/1.14/api/rbac/v1/role_binding.k b/k8s/1.14/api/rbac/v1/role_binding.k index 6e975e03..d2191df4 100644 --- a/k8s/1.14/api/rbac/v1/role_binding.k +++ b/k8s/1.14/api/rbac/v1/role_binding.k @@ -3,7 +3,7 @@ This is the role_binding module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleBinding: @@ -16,7 +16,7 @@ schema RoleBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "RoleBinding", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. roleRef : RoleRef, default is Undefined, required RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. @@ -29,7 +29,7 @@ schema RoleBinding: kind: "RoleBinding" = "RoleBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta roleRef: RoleRef diff --git a/k8s/1.14/api/rbac/v1/role_binding_list.k b/k8s/1.14/api/rbac/v1/role_binding_list.k index 42b35ac9..a9b45908 100644 --- a/k8s/1.14/api/rbac/v1/role_binding_list.k +++ b/k8s/1.14/api/rbac/v1/role_binding_list.k @@ -3,7 +3,7 @@ This is the role_binding_list module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleBindingList: @@ -18,7 +18,7 @@ schema RoleBindingList: Items is a list of RoleBindings kind : str, default is "RoleBindingList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema RoleBindingList: kind: "RoleBindingList" = "RoleBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.14/api/rbac/v1/role_list.k b/k8s/1.14/api/rbac/v1/role_list.k index 360ee5a0..61446725 100644 --- a/k8s/1.14/api/rbac/v1/role_list.k +++ b/k8s/1.14/api/rbac/v1/role_list.k @@ -3,7 +3,7 @@ This is the role_list module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleList: @@ -18,7 +18,7 @@ schema RoleList: Items is a list of Roles kind : str, default is "RoleList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema RoleList: kind: "RoleList" = "RoleList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.14/api/rbac/v1alpha1/aggregation_rule.k b/k8s/1.14/api/rbac/v1alpha1/aggregation_rule.k index 528fe561..c9b2af20 100644 --- a/k8s/1.14/api/rbac/v1alpha1/aggregation_rule.k +++ b/k8s/1.14/api/rbac/v1alpha1/aggregation_rule.k @@ -3,7 +3,7 @@ This is the aggregation_rule module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema AggregationRule: @@ -12,11 +12,11 @@ schema AggregationRule: Attributes ---------- - clusterRoleSelectors : [v1.LabelSelector], default is Undefined, optional + clusterRoleSelectors : [metav1.LabelSelector], default is Undefined, optional ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added """ - clusterRoleSelectors?: [v1.LabelSelector] + clusterRoleSelectors?: [metav1.LabelSelector] diff --git a/k8s/1.14/api/rbac/v1alpha1/cluster_role.k b/k8s/1.14/api/rbac/v1alpha1/cluster_role.k index 50585ae9..a3ab089b 100644 --- a/k8s/1.14/api/rbac/v1alpha1/cluster_role.k +++ b/k8s/1.14/api/rbac/v1alpha1/cluster_role.k @@ -3,7 +3,7 @@ This is the cluster_role module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRole: @@ -18,7 +18,7 @@ schema ClusterRole: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "ClusterRole", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. rules : [PolicyRule], default is Undefined, optional Rules holds all the PolicyRules for this ClusterRole @@ -31,7 +31,7 @@ schema ClusterRole: kind: "ClusterRole" = "ClusterRole" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta rules?: [PolicyRule] diff --git a/k8s/1.14/api/rbac/v1alpha1/cluster_role_binding.k b/k8s/1.14/api/rbac/v1alpha1/cluster_role_binding.k index fc6e3833..41c44b01 100644 --- a/k8s/1.14/api/rbac/v1alpha1/cluster_role_binding.k +++ b/k8s/1.14/api/rbac/v1alpha1/cluster_role_binding.k @@ -3,7 +3,7 @@ This is the cluster_role_binding module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleBinding: @@ -16,7 +16,7 @@ schema ClusterRoleBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "ClusterRoleBinding", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. roleRef : RoleRef, default is Undefined, required RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. @@ -29,7 +29,7 @@ schema ClusterRoleBinding: kind: "ClusterRoleBinding" = "ClusterRoleBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta roleRef: RoleRef diff --git a/k8s/1.14/api/rbac/v1alpha1/cluster_role_binding_list.k b/k8s/1.14/api/rbac/v1alpha1/cluster_role_binding_list.k index 72487bde..65d740c3 100644 --- a/k8s/1.14/api/rbac/v1alpha1/cluster_role_binding_list.k +++ b/k8s/1.14/api/rbac/v1alpha1/cluster_role_binding_list.k @@ -3,7 +3,7 @@ This is the cluster_role_binding_list module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleBindingList: @@ -18,7 +18,7 @@ schema ClusterRoleBindingList: Items is a list of ClusterRoleBindings kind : str, default is "ClusterRoleBindingList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema ClusterRoleBindingList: kind: "ClusterRoleBindingList" = "ClusterRoleBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.14/api/rbac/v1alpha1/cluster_role_list.k b/k8s/1.14/api/rbac/v1alpha1/cluster_role_list.k index dd547dba..d357c25e 100644 --- a/k8s/1.14/api/rbac/v1alpha1/cluster_role_list.k +++ b/k8s/1.14/api/rbac/v1alpha1/cluster_role_list.k @@ -3,7 +3,7 @@ This is the cluster_role_list module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleList: @@ -18,7 +18,7 @@ schema ClusterRoleList: Items is a list of ClusterRoles kind : str, default is "ClusterRoleList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema ClusterRoleList: kind: "ClusterRoleList" = "ClusterRoleList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.14/api/rbac/v1alpha1/role.k b/k8s/1.14/api/rbac/v1alpha1/role.k index 49653b8b..3d3915d4 100644 --- a/k8s/1.14/api/rbac/v1alpha1/role.k +++ b/k8s/1.14/api/rbac/v1alpha1/role.k @@ -3,7 +3,7 @@ This is the role module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Role: @@ -16,7 +16,7 @@ schema Role: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "Role", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. rules : [PolicyRule], default is Undefined, optional Rules holds all the PolicyRules for this Role @@ -27,7 +27,7 @@ schema Role: kind: "Role" = "Role" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta rules?: [PolicyRule] diff --git a/k8s/1.14/api/rbac/v1alpha1/role_binding.k b/k8s/1.14/api/rbac/v1alpha1/role_binding.k index 0da7183b..601f1562 100644 --- a/k8s/1.14/api/rbac/v1alpha1/role_binding.k +++ b/k8s/1.14/api/rbac/v1alpha1/role_binding.k @@ -3,7 +3,7 @@ This is the role_binding module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleBinding: @@ -16,7 +16,7 @@ schema RoleBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "RoleBinding", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. roleRef : RoleRef, default is Undefined, required RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. @@ -29,7 +29,7 @@ schema RoleBinding: kind: "RoleBinding" = "RoleBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta roleRef: RoleRef diff --git a/k8s/1.14/api/rbac/v1alpha1/role_binding_list.k b/k8s/1.14/api/rbac/v1alpha1/role_binding_list.k index 3ee68bbf..2b8ee5ed 100644 --- a/k8s/1.14/api/rbac/v1alpha1/role_binding_list.k +++ b/k8s/1.14/api/rbac/v1alpha1/role_binding_list.k @@ -3,7 +3,7 @@ This is the role_binding_list module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleBindingList: @@ -18,7 +18,7 @@ schema RoleBindingList: Items is a list of RoleBindings kind : str, default is "RoleBindingList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema RoleBindingList: kind: "RoleBindingList" = "RoleBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.14/api/rbac/v1alpha1/role_list.k b/k8s/1.14/api/rbac/v1alpha1/role_list.k index 4c15b9ef..323b0191 100644 --- a/k8s/1.14/api/rbac/v1alpha1/role_list.k +++ b/k8s/1.14/api/rbac/v1alpha1/role_list.k @@ -3,7 +3,7 @@ This is the role_list module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleList: @@ -18,7 +18,7 @@ schema RoleList: Items is a list of Roles kind : str, default is "RoleList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema RoleList: kind: "RoleList" = "RoleList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.14/api/rbac/v1beta1/aggregation_rule.k b/k8s/1.14/api/rbac/v1beta1/aggregation_rule.k index cd7ef918..41e15e52 100644 --- a/k8s/1.14/api/rbac/v1beta1/aggregation_rule.k +++ b/k8s/1.14/api/rbac/v1beta1/aggregation_rule.k @@ -3,7 +3,7 @@ This is the aggregation_rule module in k8s.api.rbac.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema AggregationRule: @@ -12,11 +12,11 @@ schema AggregationRule: Attributes ---------- - clusterRoleSelectors : [v1.LabelSelector], default is Undefined, optional + clusterRoleSelectors : [metav1.LabelSelector], default is Undefined, optional ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added """ - clusterRoleSelectors?: [v1.LabelSelector] + clusterRoleSelectors?: [metav1.LabelSelector] diff --git a/k8s/1.14/api/rbac/v1beta1/cluster_role.k b/k8s/1.14/api/rbac/v1beta1/cluster_role.k index 3dc1ab29..4f23d32d 100644 --- a/k8s/1.14/api/rbac/v1beta1/cluster_role.k +++ b/k8s/1.14/api/rbac/v1beta1/cluster_role.k @@ -3,7 +3,7 @@ This is the cluster_role module in k8s.api.rbac.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRole: @@ -18,7 +18,7 @@ schema ClusterRole: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "ClusterRole", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. rules : [PolicyRule], default is Undefined, optional Rules holds all the PolicyRules for this ClusterRole @@ -31,7 +31,7 @@ schema ClusterRole: kind: "ClusterRole" = "ClusterRole" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta rules?: [PolicyRule] diff --git a/k8s/1.14/api/rbac/v1beta1/cluster_role_binding.k b/k8s/1.14/api/rbac/v1beta1/cluster_role_binding.k index 7b7895bc..75ccf209 100644 --- a/k8s/1.14/api/rbac/v1beta1/cluster_role_binding.k +++ b/k8s/1.14/api/rbac/v1beta1/cluster_role_binding.k @@ -3,7 +3,7 @@ This is the cluster_role_binding module in k8s.api.rbac.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleBinding: @@ -16,7 +16,7 @@ schema ClusterRoleBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "ClusterRoleBinding", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. roleRef : RoleRef, default is Undefined, required RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. @@ -29,7 +29,7 @@ schema ClusterRoleBinding: kind: "ClusterRoleBinding" = "ClusterRoleBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta roleRef: RoleRef diff --git a/k8s/1.14/api/rbac/v1beta1/cluster_role_binding_list.k b/k8s/1.14/api/rbac/v1beta1/cluster_role_binding_list.k index 0e10d081..12f8d82a 100644 --- a/k8s/1.14/api/rbac/v1beta1/cluster_role_binding_list.k +++ b/k8s/1.14/api/rbac/v1beta1/cluster_role_binding_list.k @@ -3,7 +3,7 @@ This is the cluster_role_binding_list module in k8s.api.rbac.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleBindingList: @@ -18,7 +18,7 @@ schema ClusterRoleBindingList: Items is a list of ClusterRoleBindings kind : str, default is "ClusterRoleBindingList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema ClusterRoleBindingList: kind: "ClusterRoleBindingList" = "ClusterRoleBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.14/api/rbac/v1beta1/cluster_role_list.k b/k8s/1.14/api/rbac/v1beta1/cluster_role_list.k index c42dbf9e..76149abb 100644 --- a/k8s/1.14/api/rbac/v1beta1/cluster_role_list.k +++ b/k8s/1.14/api/rbac/v1beta1/cluster_role_list.k @@ -3,7 +3,7 @@ This is the cluster_role_list module in k8s.api.rbac.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleList: @@ -18,7 +18,7 @@ schema ClusterRoleList: Items is a list of ClusterRoles kind : str, default is "ClusterRoleList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema ClusterRoleList: kind: "ClusterRoleList" = "ClusterRoleList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.14/api/rbac/v1beta1/role.k b/k8s/1.14/api/rbac/v1beta1/role.k index d05216e8..a6289e66 100644 --- a/k8s/1.14/api/rbac/v1beta1/role.k +++ b/k8s/1.14/api/rbac/v1beta1/role.k @@ -3,7 +3,7 @@ This is the role module in k8s.api.rbac.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Role: @@ -16,7 +16,7 @@ schema Role: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "Role", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. rules : [PolicyRule], default is Undefined, optional Rules holds all the PolicyRules for this Role @@ -27,7 +27,7 @@ schema Role: kind: "Role" = "Role" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta rules?: [PolicyRule] diff --git a/k8s/1.14/api/rbac/v1beta1/role_binding.k b/k8s/1.14/api/rbac/v1beta1/role_binding.k index 35857586..2dd007b4 100644 --- a/k8s/1.14/api/rbac/v1beta1/role_binding.k +++ b/k8s/1.14/api/rbac/v1beta1/role_binding.k @@ -3,7 +3,7 @@ This is the role_binding module in k8s.api.rbac.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleBinding: @@ -16,7 +16,7 @@ schema RoleBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "RoleBinding", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. roleRef : RoleRef, default is Undefined, required RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. @@ -29,7 +29,7 @@ schema RoleBinding: kind: "RoleBinding" = "RoleBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta roleRef: RoleRef diff --git a/k8s/1.14/api/rbac/v1beta1/role_binding_list.k b/k8s/1.14/api/rbac/v1beta1/role_binding_list.k index eaa82b92..491d1b20 100644 --- a/k8s/1.14/api/rbac/v1beta1/role_binding_list.k +++ b/k8s/1.14/api/rbac/v1beta1/role_binding_list.k @@ -3,7 +3,7 @@ This is the role_binding_list module in k8s.api.rbac.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleBindingList: @@ -18,7 +18,7 @@ schema RoleBindingList: Items is a list of RoleBindings kind : str, default is "RoleBindingList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema RoleBindingList: kind: "RoleBindingList" = "RoleBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.14/api/rbac/v1beta1/role_list.k b/k8s/1.14/api/rbac/v1beta1/role_list.k index 51810a25..d0a9a1f7 100644 --- a/k8s/1.14/api/rbac/v1beta1/role_list.k +++ b/k8s/1.14/api/rbac/v1beta1/role_list.k @@ -3,7 +3,7 @@ This is the role_list module in k8s.api.rbac.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleList: @@ -18,7 +18,7 @@ schema RoleList: Items is a list of Roles kind : str, default is "RoleList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema RoleList: kind: "RoleList" = "RoleList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.14/api/scheduling/v1/priority_class.k b/k8s/1.14/api/scheduling/v1/priority_class.k index 27e1336f..bfdefebc 100644 --- a/k8s/1.14/api/scheduling/v1/priority_class.k +++ b/k8s/1.14/api/scheduling/v1/priority_class.k @@ -3,7 +3,7 @@ This is the priority_class module in k8s.api.scheduling.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityClass: @@ -20,7 +20,7 @@ schema PriorityClass: globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority. kind : str, default is "PriorityClass", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata value : int, default is Undefined, required The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec. @@ -35,7 +35,7 @@ schema PriorityClass: kind: "PriorityClass" = "PriorityClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta value: int diff --git a/k8s/1.14/api/scheduling/v1/priority_class_list.k b/k8s/1.14/api/scheduling/v1/priority_class_list.k index 9e1e59cf..ee377d26 100644 --- a/k8s/1.14/api/scheduling/v1/priority_class_list.k +++ b/k8s/1.14/api/scheduling/v1/priority_class_list.k @@ -3,7 +3,7 @@ This is the priority_class_list module in k8s.api.scheduling.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityClassList: @@ -18,7 +18,7 @@ schema PriorityClassList: items is the list of PriorityClasses kind : str, default is "PriorityClassList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PriorityClassList: kind: "PriorityClassList" = "PriorityClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.14/api/scheduling/v1alpha1/priority_class.k b/k8s/1.14/api/scheduling/v1alpha1/priority_class.k index 86610735..4fcbe547 100644 --- a/k8s/1.14/api/scheduling/v1alpha1/priority_class.k +++ b/k8s/1.14/api/scheduling/v1alpha1/priority_class.k @@ -3,7 +3,7 @@ This is the priority_class module in k8s.api.scheduling.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityClass: @@ -20,7 +20,7 @@ schema PriorityClass: globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority. kind : str, default is "PriorityClass", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata value : int, default is Undefined, required The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec. @@ -35,7 +35,7 @@ schema PriorityClass: kind: "PriorityClass" = "PriorityClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta value: int diff --git a/k8s/1.14/api/scheduling/v1alpha1/priority_class_list.k b/k8s/1.14/api/scheduling/v1alpha1/priority_class_list.k index 4448caef..ee904a46 100644 --- a/k8s/1.14/api/scheduling/v1alpha1/priority_class_list.k +++ b/k8s/1.14/api/scheduling/v1alpha1/priority_class_list.k @@ -3,7 +3,7 @@ This is the priority_class_list module in k8s.api.scheduling.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityClassList: @@ -18,7 +18,7 @@ schema PriorityClassList: items is the list of PriorityClasses kind : str, default is "PriorityClassList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PriorityClassList: kind: "PriorityClassList" = "PriorityClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.14/api/scheduling/v1beta1/priority_class.k b/k8s/1.14/api/scheduling/v1beta1/priority_class.k index 3e38a4b9..4b621bc8 100644 --- a/k8s/1.14/api/scheduling/v1beta1/priority_class.k +++ b/k8s/1.14/api/scheduling/v1beta1/priority_class.k @@ -3,7 +3,7 @@ This is the priority_class module in k8s.api.scheduling.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityClass: @@ -20,7 +20,7 @@ schema PriorityClass: globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority. kind : str, default is "PriorityClass", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata value : int, default is Undefined, required The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec. @@ -35,7 +35,7 @@ schema PriorityClass: kind: "PriorityClass" = "PriorityClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta value: int diff --git a/k8s/1.14/api/scheduling/v1beta1/priority_class_list.k b/k8s/1.14/api/scheduling/v1beta1/priority_class_list.k index f6ebe082..b0e6b6bc 100644 --- a/k8s/1.14/api/scheduling/v1beta1/priority_class_list.k +++ b/k8s/1.14/api/scheduling/v1beta1/priority_class_list.k @@ -3,7 +3,7 @@ This is the priority_class_list module in k8s.api.scheduling.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityClassList: @@ -18,7 +18,7 @@ schema PriorityClassList: items is the list of PriorityClasses kind : str, default is "PriorityClassList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PriorityClassList: kind: "PriorityClassList" = "PriorityClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.14/api/settings/v1alpha1/pod_preset.k b/k8s/1.14/api/settings/v1alpha1/pod_preset.k index b7d3c411..c520d334 100644 --- a/k8s/1.14/api/settings/v1alpha1/pod_preset.k +++ b/k8s/1.14/api/settings/v1alpha1/pod_preset.k @@ -3,7 +3,7 @@ This is the pod_preset module in k8s.api.settings.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodPreset: @@ -16,7 +16,7 @@ schema PodPreset: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "PodPreset", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : PodPresetSpec, default is Undefined, optional spec @@ -27,7 +27,7 @@ schema PodPreset: kind: "PodPreset" = "PodPreset" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PodPresetSpec diff --git a/k8s/1.14/api/settings/v1alpha1/pod_preset_list.k b/k8s/1.14/api/settings/v1alpha1/pod_preset_list.k index 98304ee0..81f00d09 100644 --- a/k8s/1.14/api/settings/v1alpha1/pod_preset_list.k +++ b/k8s/1.14/api/settings/v1alpha1/pod_preset_list.k @@ -3,7 +3,7 @@ This is the pod_preset_list module in k8s.api.settings.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodPresetList: @@ -18,7 +18,7 @@ schema PodPresetList: Items is a list of schema objects. kind : str, default is "PodPresetList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PodPresetList: kind: "PodPresetList" = "PodPresetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.14/api/storage/v1/storage_class_list.k b/k8s/1.14/api/storage/v1/storage_class_list.k index db4e012f..576171d1 100644 --- a/k8s/1.14/api/storage/v1/storage_class_list.k +++ b/k8s/1.14/api/storage/v1/storage_class_list.k @@ -3,7 +3,7 @@ This is the storage_class_list module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StorageClassList: @@ -18,7 +18,7 @@ schema StorageClassList: Items is the list of StorageClasses kind : str, default is "StorageClassList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema StorageClassList: kind: "StorageClassList" = "StorageClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.14/api/storage/v1/volume_attachment.k b/k8s/1.14/api/storage/v1/volume_attachment.k index 8dcaa184..9580c313 100644 --- a/k8s/1.14/api/storage/v1/volume_attachment.k +++ b/k8s/1.14/api/storage/v1/volume_attachment.k @@ -3,7 +3,7 @@ This is the volume_attachment module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema VolumeAttachment: @@ -18,7 +18,7 @@ schema VolumeAttachment: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "VolumeAttachment", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata spec : VolumeAttachmentSpec, default is Undefined, required Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system. @@ -29,7 +29,7 @@ schema VolumeAttachment: kind: "VolumeAttachment" = "VolumeAttachment" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: VolumeAttachmentSpec diff --git a/k8s/1.14/api/storage/v1/volume_attachment_list.k b/k8s/1.14/api/storage/v1/volume_attachment_list.k index 99b4610a..48b66f57 100644 --- a/k8s/1.14/api/storage/v1/volume_attachment_list.k +++ b/k8s/1.14/api/storage/v1/volume_attachment_list.k @@ -3,7 +3,7 @@ This is the volume_attachment_list module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema VolumeAttachmentList: @@ -18,7 +18,7 @@ schema VolumeAttachmentList: Items is the list of VolumeAttachments kind : str, default is "VolumeAttachmentList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema VolumeAttachmentList: kind: "VolumeAttachmentList" = "VolumeAttachmentList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.14/api/storage/v1alpha1/volume_attachment.k b/k8s/1.14/api/storage/v1alpha1/volume_attachment.k index eb72b734..cb877b18 100644 --- a/k8s/1.14/api/storage/v1alpha1/volume_attachment.k +++ b/k8s/1.14/api/storage/v1alpha1/volume_attachment.k @@ -3,7 +3,7 @@ This is the volume_attachment module in k8s.api.storage.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema VolumeAttachment: @@ -18,7 +18,7 @@ schema VolumeAttachment: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "VolumeAttachment", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata spec : VolumeAttachmentSpec, default is Undefined, required Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system. @@ -29,7 +29,7 @@ schema VolumeAttachment: kind: "VolumeAttachment" = "VolumeAttachment" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: VolumeAttachmentSpec diff --git a/k8s/1.14/api/storage/v1alpha1/volume_attachment_list.k b/k8s/1.14/api/storage/v1alpha1/volume_attachment_list.k index 95faf5f1..aeff271b 100644 --- a/k8s/1.14/api/storage/v1alpha1/volume_attachment_list.k +++ b/k8s/1.14/api/storage/v1alpha1/volume_attachment_list.k @@ -3,7 +3,7 @@ This is the volume_attachment_list module in k8s.api.storage.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema VolumeAttachmentList: @@ -18,7 +18,7 @@ schema VolumeAttachmentList: Items is the list of VolumeAttachments kind : str, default is "VolumeAttachmentList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema VolumeAttachmentList: kind: "VolumeAttachmentList" = "VolumeAttachmentList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.14/api/storage/v1beta1/csi_driver.k b/k8s/1.14/api/storage/v1beta1/csi_driver.k index f7543739..572c8e03 100644 --- a/k8s/1.14/api/storage/v1beta1/csi_driver.k +++ b/k8s/1.14/api/storage/v1beta1/csi_driver.k @@ -3,7 +3,7 @@ This is the csi_driver module in k8s.api.storage.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSIDriver: @@ -16,7 +16,7 @@ schema CSIDriver: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "CSIDriver", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. metadata.Name indicates the name of the CSI driver that this object refers to; it MUST be the same name returned by the CSI GetPluginName() call for that driver. The driver name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and alphanumerics between. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata spec : CSIDriverSpec, default is Undefined, required Specification of the CSI Driver. @@ -27,7 +27,7 @@ schema CSIDriver: kind: "CSIDriver" = "CSIDriver" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CSIDriverSpec diff --git a/k8s/1.14/api/storage/v1beta1/csi_driver_list.k b/k8s/1.14/api/storage/v1beta1/csi_driver_list.k index 595233bc..8365765a 100644 --- a/k8s/1.14/api/storage/v1beta1/csi_driver_list.k +++ b/k8s/1.14/api/storage/v1beta1/csi_driver_list.k @@ -3,7 +3,7 @@ This is the csi_driver_list module in k8s.api.storage.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSIDriverList: @@ -18,7 +18,7 @@ schema CSIDriverList: items is the list of CSIDriver kind : str, default is "CSIDriverList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CSIDriverList: kind: "CSIDriverList" = "CSIDriverList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.14/api/storage/v1beta1/csi_node.k b/k8s/1.14/api/storage/v1beta1/csi_node.k index 3e56a606..cba3f507 100644 --- a/k8s/1.14/api/storage/v1beta1/csi_node.k +++ b/k8s/1.14/api/storage/v1beta1/csi_node.k @@ -3,7 +3,7 @@ This is the csi_node module in k8s.api.storage.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSINode: @@ -16,7 +16,7 @@ schema CSINode: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "CSINode", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata.name must be the Kubernetes node name. spec : CSINodeSpec, default is Undefined, required spec is the specification of CSINode @@ -27,7 +27,7 @@ schema CSINode: kind: "CSINode" = "CSINode" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CSINodeSpec diff --git a/k8s/1.14/api/storage/v1beta1/csi_node_list.k b/k8s/1.14/api/storage/v1beta1/csi_node_list.k index 6bd543e9..c77c0105 100644 --- a/k8s/1.14/api/storage/v1beta1/csi_node_list.k +++ b/k8s/1.14/api/storage/v1beta1/csi_node_list.k @@ -3,7 +3,7 @@ This is the csi_node_list module in k8s.api.storage.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSINodeList: @@ -18,7 +18,7 @@ schema CSINodeList: items is the list of CSINode kind : str, default is "CSINodeList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CSINodeList: kind: "CSINodeList" = "CSINodeList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.14/api/storage/v1beta1/storage_class_list.k b/k8s/1.14/api/storage/v1beta1/storage_class_list.k index 82323795..58691bd7 100644 --- a/k8s/1.14/api/storage/v1beta1/storage_class_list.k +++ b/k8s/1.14/api/storage/v1beta1/storage_class_list.k @@ -3,7 +3,7 @@ This is the storage_class_list module in k8s.api.storage.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StorageClassList: @@ -18,7 +18,7 @@ schema StorageClassList: Items is the list of StorageClasses kind : str, default is "StorageClassList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema StorageClassList: kind: "StorageClassList" = "StorageClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.14/api/storage/v1beta1/volume_attachment.k b/k8s/1.14/api/storage/v1beta1/volume_attachment.k index ec5c081a..5f444c3d 100644 --- a/k8s/1.14/api/storage/v1beta1/volume_attachment.k +++ b/k8s/1.14/api/storage/v1beta1/volume_attachment.k @@ -3,7 +3,7 @@ This is the volume_attachment module in k8s.api.storage.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema VolumeAttachment: @@ -18,7 +18,7 @@ schema VolumeAttachment: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "VolumeAttachment", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata spec : VolumeAttachmentSpec, default is Undefined, required Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system. @@ -29,7 +29,7 @@ schema VolumeAttachment: kind: "VolumeAttachment" = "VolumeAttachment" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: VolumeAttachmentSpec diff --git a/k8s/1.14/api/storage/v1beta1/volume_attachment_list.k b/k8s/1.14/api/storage/v1beta1/volume_attachment_list.k index c3f5047a..aecbb6cf 100644 --- a/k8s/1.14/api/storage/v1beta1/volume_attachment_list.k +++ b/k8s/1.14/api/storage/v1beta1/volume_attachment_list.k @@ -3,7 +3,7 @@ This is the volume_attachment_list module in k8s.api.storage.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema VolumeAttachmentList: @@ -18,7 +18,7 @@ schema VolumeAttachmentList: Items is the list of VolumeAttachments kind : str, default is "VolumeAttachmentList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema VolumeAttachmentList: kind: "VolumeAttachmentList" = "VolumeAttachmentList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.14/apiextensions_apiserver/pkg/apis/apiextensions/v1beta1/custom_resource_definition.k b/k8s/1.14/apiextensions_apiserver/pkg/apis/apiextensions/v1beta1/custom_resource_definition.k index 20693023..4c4b0832 100644 --- a/k8s/1.14/apiextensions_apiserver/pkg/apis/apiextensions/v1beta1/custom_resource_definition.k +++ b/k8s/1.14/apiextensions_apiserver/pkg/apis/apiextensions/v1beta1/custom_resource_definition.k @@ -3,7 +3,7 @@ This is the custom_resource_definition module in k8s.apiextensions_apiserver.pkg This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CustomResourceDefinition: @@ -16,7 +16,7 @@ schema CustomResourceDefinition: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "CustomResourceDefinition", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : CustomResourceDefinitionSpec, default is Undefined, required Spec describes how the user wants the resources to appear @@ -27,7 +27,7 @@ schema CustomResourceDefinition: kind: "CustomResourceDefinition" = "CustomResourceDefinition" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CustomResourceDefinitionSpec diff --git a/k8s/1.14/apiextensions_apiserver/pkg/apis/apiextensions/v1beta1/custom_resource_definition_list.k b/k8s/1.14/apiextensions_apiserver/pkg/apis/apiextensions/v1beta1/custom_resource_definition_list.k index 80ed2537..c4ced879 100644 --- a/k8s/1.14/apiextensions_apiserver/pkg/apis/apiextensions/v1beta1/custom_resource_definition_list.k +++ b/k8s/1.14/apiextensions_apiserver/pkg/apis/apiextensions/v1beta1/custom_resource_definition_list.k @@ -3,7 +3,7 @@ This is the custom_resource_definition_list module in k8s.apiextensions_apiserve This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CustomResourceDefinitionList: @@ -18,7 +18,7 @@ schema CustomResourceDefinitionList: Items individual CustomResourceDefinitions kind : str, default is "CustomResourceDefinitionList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema CustomResourceDefinitionList: kind: "CustomResourceDefinitionList" = "CustomResourceDefinitionList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.14/kcl.mod b/k8s/1.14/kcl.mod index 167c9da3..9e960b14 100644 --- a/k8s/1.14/kcl.mod +++ b/k8s/1.14/kcl.mod @@ -1,5 +1,5 @@ [package] name = "k8s" edition = "*" -version = "1.14.1" +version = "1.14.2" description = "`k8s` is a KCL module contains all the built-in Kubernetes resource models (the CRDs are not included here)." diff --git a/k8s/1.14/kube_aggregator/pkg/apis/apiregistration/v1/api_service.k b/k8s/1.14/kube_aggregator/pkg/apis/apiregistration/v1/api_service.k index ebbae2e2..ddee6568 100644 --- a/k8s/1.14/kube_aggregator/pkg/apis/apiregistration/v1/api_service.k +++ b/k8s/1.14/kube_aggregator/pkg/apis/apiregistration/v1/api_service.k @@ -3,7 +3,7 @@ This is the api_service module in k8s.kube_aggregator.pkg.apis.apiregistration.v This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema APIService: @@ -16,7 +16,7 @@ schema APIService: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "APIService", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : APIServiceSpec, default is Undefined, optional Spec contains information for locating and communicating with a server @@ -27,7 +27,7 @@ schema APIService: kind: "APIService" = "APIService" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: APIServiceSpec diff --git a/k8s/1.14/kube_aggregator/pkg/apis/apiregistration/v1/api_service_list.k b/k8s/1.14/kube_aggregator/pkg/apis/apiregistration/v1/api_service_list.k index 8345e9b6..6dcd90ea 100644 --- a/k8s/1.14/kube_aggregator/pkg/apis/apiregistration/v1/api_service_list.k +++ b/k8s/1.14/kube_aggregator/pkg/apis/apiregistration/v1/api_service_list.k @@ -3,7 +3,7 @@ This is the api_service_list module in k8s.kube_aggregator.pkg.apis.apiregistrat This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema APIServiceList: @@ -18,7 +18,7 @@ schema APIServiceList: items kind : str, default is "APIServiceList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema APIServiceList: kind: "APIServiceList" = "APIServiceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.14/kube_aggregator/pkg/apis/apiregistration/v1beta1/api_service.k b/k8s/1.14/kube_aggregator/pkg/apis/apiregistration/v1beta1/api_service.k index c849a694..823436d0 100644 --- a/k8s/1.14/kube_aggregator/pkg/apis/apiregistration/v1beta1/api_service.k +++ b/k8s/1.14/kube_aggregator/pkg/apis/apiregistration/v1beta1/api_service.k @@ -3,7 +3,7 @@ This is the api_service module in k8s.kube_aggregator.pkg.apis.apiregistration.v This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema APIService: @@ -16,7 +16,7 @@ schema APIService: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "APIService", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : APIServiceSpec, default is Undefined, optional Spec contains information for locating and communicating with a server @@ -27,7 +27,7 @@ schema APIService: kind: "APIService" = "APIService" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: APIServiceSpec diff --git a/k8s/1.14/kube_aggregator/pkg/apis/apiregistration/v1beta1/api_service_list.k b/k8s/1.14/kube_aggregator/pkg/apis/apiregistration/v1beta1/api_service_list.k index c64e3dfc..206ba83f 100644 --- a/k8s/1.14/kube_aggregator/pkg/apis/apiregistration/v1beta1/api_service_list.k +++ b/k8s/1.14/kube_aggregator/pkg/apis/apiregistration/v1beta1/api_service_list.k @@ -3,7 +3,7 @@ This is the api_service_list module in k8s.kube_aggregator.pkg.apis.apiregistrat This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema APIServiceList: @@ -18,7 +18,7 @@ schema APIServiceList: items kind : str, default is "APIServiceList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema APIServiceList: kind: "APIServiceList" = "APIServiceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/api/admissionregistration/v1beta1/mutating_webhook.k b/k8s/1.15/api/admissionregistration/v1beta1/mutating_webhook.k index 6572b65a..5d0ce31f 100644 --- a/k8s/1.15/api/admissionregistration/v1beta1/mutating_webhook.k +++ b/k8s/1.15/api/admissionregistration/v1beta1/mutating_webhook.k @@ -3,7 +3,7 @@ This is the mutating_webhook module in k8s.api.admissionregistration.v1beta1 pac This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MutatingWebhook: @@ -28,7 +28,7 @@ schema MutatingWebhook: Defaults to "Exact" name : str, default is Undefined, required The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook. For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1"; you will set the selector as follows: "namespaceSelector": { @@ -60,7 +60,7 @@ schema MutatingWebhook: See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors. Default to the empty LabelSelector, which matches everything. - objectSelector : v1.LabelSelector, default is Undefined, optional + objectSelector : metav1.LabelSelector, default is Undefined, optional ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything. reinvocationPolicy : str, default is Undefined, optional reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded". @@ -89,9 +89,9 @@ schema MutatingWebhook: name: str - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector - objectSelector?: v1.LabelSelector + objectSelector?: metav1.LabelSelector reinvocationPolicy?: str diff --git a/k8s/1.15/api/admissionregistration/v1beta1/mutating_webhook_configuration.k b/k8s/1.15/api/admissionregistration/v1beta1/mutating_webhook_configuration.k index cc8a3171..c3f34252 100644 --- a/k8s/1.15/api/admissionregistration/v1beta1/mutating_webhook_configuration.k +++ b/k8s/1.15/api/admissionregistration/v1beta1/mutating_webhook_configuration.k @@ -3,7 +3,7 @@ This is the mutating_webhook_configuration module in k8s.api.admissionregistrati This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MutatingWebhookConfiguration: @@ -16,7 +16,7 @@ schema MutatingWebhookConfiguration: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "MutatingWebhookConfiguration", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata. webhooks : [MutatingWebhook], default is Undefined, optional Webhooks is a list of webhooks and the affected resources and operations. @@ -27,7 +27,7 @@ schema MutatingWebhookConfiguration: kind: "MutatingWebhookConfiguration" = "MutatingWebhookConfiguration" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta webhooks?: [MutatingWebhook] diff --git a/k8s/1.15/api/admissionregistration/v1beta1/mutating_webhook_configuration_list.k b/k8s/1.15/api/admissionregistration/v1beta1/mutating_webhook_configuration_list.k index 86eabe64..f04e0f0a 100644 --- a/k8s/1.15/api/admissionregistration/v1beta1/mutating_webhook_configuration_list.k +++ b/k8s/1.15/api/admissionregistration/v1beta1/mutating_webhook_configuration_list.k @@ -3,7 +3,7 @@ This is the mutating_webhook_configuration_list module in k8s.api.admissionregis This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MutatingWebhookConfigurationList: @@ -18,7 +18,7 @@ schema MutatingWebhookConfigurationList: List of MutatingWebhookConfiguration. kind : str, default is "MutatingWebhookConfigurationList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema MutatingWebhookConfigurationList: kind: "MutatingWebhookConfigurationList" = "MutatingWebhookConfigurationList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/api/admissionregistration/v1beta1/validating_webhook.k b/k8s/1.15/api/admissionregistration/v1beta1/validating_webhook.k index 4f3c384a..bdac3bf1 100644 --- a/k8s/1.15/api/admissionregistration/v1beta1/validating_webhook.k +++ b/k8s/1.15/api/admissionregistration/v1beta1/validating_webhook.k @@ -3,7 +3,7 @@ This is the validating_webhook module in k8s.api.admissionregistration.v1beta1 p This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingWebhook: @@ -28,7 +28,7 @@ schema ValidatingWebhook: Defaults to "Exact" name : str, default is Undefined, required The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook. For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1"; you will set the selector as follows: "namespaceSelector": { @@ -60,7 +60,7 @@ schema ValidatingWebhook: See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels for more examples of label selectors. Default to the empty LabelSelector, which matches everything. - objectSelector : v1.LabelSelector, default is Undefined, optional + objectSelector : metav1.LabelSelector, default is Undefined, optional ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything. rules : [RuleWithOperations], default is Undefined, optional Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects. @@ -81,9 +81,9 @@ schema ValidatingWebhook: name: str - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector - objectSelector?: v1.LabelSelector + objectSelector?: metav1.LabelSelector rules?: [RuleWithOperations] diff --git a/k8s/1.15/api/admissionregistration/v1beta1/validating_webhook_configuration.k b/k8s/1.15/api/admissionregistration/v1beta1/validating_webhook_configuration.k index 7bf7547c..fc811778 100644 --- a/k8s/1.15/api/admissionregistration/v1beta1/validating_webhook_configuration.k +++ b/k8s/1.15/api/admissionregistration/v1beta1/validating_webhook_configuration.k @@ -3,7 +3,7 @@ This is the validating_webhook_configuration module in k8s.api.admissionregistra This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingWebhookConfiguration: @@ -16,7 +16,7 @@ schema ValidatingWebhookConfiguration: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "ValidatingWebhookConfiguration", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata. webhooks : [ValidatingWebhook], default is Undefined, optional Webhooks is a list of webhooks and the affected resources and operations. @@ -27,7 +27,7 @@ schema ValidatingWebhookConfiguration: kind: "ValidatingWebhookConfiguration" = "ValidatingWebhookConfiguration" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta webhooks?: [ValidatingWebhook] diff --git a/k8s/1.15/api/admissionregistration/v1beta1/validating_webhook_configuration_list.k b/k8s/1.15/api/admissionregistration/v1beta1/validating_webhook_configuration_list.k index d6d6ba8b..ecc97e64 100644 --- a/k8s/1.15/api/admissionregistration/v1beta1/validating_webhook_configuration_list.k +++ b/k8s/1.15/api/admissionregistration/v1beta1/validating_webhook_configuration_list.k @@ -3,7 +3,7 @@ This is the validating_webhook_configuration_list module in k8s.api.admissionreg This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingWebhookConfigurationList: @@ -18,7 +18,7 @@ schema ValidatingWebhookConfigurationList: List of ValidatingWebhookConfiguration. kind : str, default is "ValidatingWebhookConfigurationList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ValidatingWebhookConfigurationList: kind: "ValidatingWebhookConfigurationList" = "ValidatingWebhookConfigurationList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/api/admissionregistration/v1beta1/webhook.k b/k8s/1.15/api/admissionregistration/v1beta1/webhook.k index 3aef360f..5e8dac3b 100644 --- a/k8s/1.15/api/admissionregistration/v1beta1/webhook.k +++ b/k8s/1.15/api/admissionregistration/v1beta1/webhook.k @@ -3,7 +3,7 @@ This is the webhook module in k8s.api.admissionregistration.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Webhook: @@ -20,7 +20,7 @@ schema Webhook: FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore. name : str, default is Undefined, required The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook. For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1"; you will set the selector as follows: "namespaceSelector": { @@ -69,7 +69,7 @@ schema Webhook: name: str - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector rules?: [RuleWithOperations] diff --git a/k8s/1.15/api/apps/v1/controller_revision.k b/k8s/1.15/api/apps/v1/controller_revision.k index a15da61a..6cdeb2b3 100644 --- a/k8s/1.15/api/apps/v1/controller_revision.k +++ b/k8s/1.15/api/apps/v1/controller_revision.k @@ -3,7 +3,7 @@ This is the controller_revision module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 import apimachinery.pkg.runtime @@ -19,7 +19,7 @@ schema ControllerRevision: Data is the serialized representation of the state. kind : str, default is "ControllerRevision", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata revision : int, default is Undefined, required Revision indicates the revision of the state represented by Data. @@ -32,7 +32,7 @@ schema ControllerRevision: kind: "ControllerRevision" = "ControllerRevision" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta revision: int diff --git a/k8s/1.15/api/apps/v1/controller_revision_list.k b/k8s/1.15/api/apps/v1/controller_revision_list.k index dda0efa5..f71ebc8f 100644 --- a/k8s/1.15/api/apps/v1/controller_revision_list.k +++ b/k8s/1.15/api/apps/v1/controller_revision_list.k @@ -3,7 +3,7 @@ This is the controller_revision_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ControllerRevisionList: @@ -18,7 +18,7 @@ schema ControllerRevisionList: Items is the list of ControllerRevisions kind : str, default is "ControllerRevisionList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema ControllerRevisionList: kind: "ControllerRevisionList" = "ControllerRevisionList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/api/apps/v1/daemon_set.k b/k8s/1.15/api/apps/v1/daemon_set.k index 9f0bdc99..21db81e9 100644 --- a/k8s/1.15/api/apps/v1/daemon_set.k +++ b/k8s/1.15/api/apps/v1/daemon_set.k @@ -3,7 +3,7 @@ This is the daemon_set module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DaemonSet: @@ -16,7 +16,7 @@ schema DaemonSet: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "DaemonSet", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata spec : DaemonSetSpec, default is Undefined, optional The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema DaemonSet: kind: "DaemonSet" = "DaemonSet" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: DaemonSetSpec diff --git a/k8s/1.15/api/apps/v1/daemon_set_list.k b/k8s/1.15/api/apps/v1/daemon_set_list.k index 42d49cc4..0439f03f 100644 --- a/k8s/1.15/api/apps/v1/daemon_set_list.k +++ b/k8s/1.15/api/apps/v1/daemon_set_list.k @@ -3,7 +3,7 @@ This is the daemon_set_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DaemonSetList: @@ -18,7 +18,7 @@ schema DaemonSetList: A list of daemon sets. kind : str, default is "DaemonSetList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema DaemonSetList: kind: "DaemonSetList" = "DaemonSetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/api/apps/v1/daemon_set_spec.k b/k8s/1.15/api/apps/v1/daemon_set_spec.k index caf3faf8..352f849c 100644 --- a/k8s/1.15/api/apps/v1/daemon_set_spec.k +++ b/k8s/1.15/api/apps/v1/daemon_set_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DaemonSetSpec: @@ -17,7 +17,7 @@ schema DaemonSetSpec: The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready). revisionHistoryLimit : int, default is Undefined, optional The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required A label query over pods that are managed by the daemon set. Must match in order to be controlled. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors template : corev1.PodTemplateSpec, default is Undefined, required An object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template @@ -30,7 +30,7 @@ schema DaemonSetSpec: revisionHistoryLimit?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector template: corev1.PodTemplateSpec diff --git a/k8s/1.15/api/apps/v1/deployment.k b/k8s/1.15/api/apps/v1/deployment.k index 2cb44b6e..382f5dc1 100644 --- a/k8s/1.15/api/apps/v1/deployment.k +++ b/k8s/1.15/api/apps/v1/deployment.k @@ -3,7 +3,7 @@ This is the deployment module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Deployment: @@ -16,7 +16,7 @@ schema Deployment: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "Deployment", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. spec : DeploymentSpec, default is Undefined, optional Specification of the desired behavior of the Deployment. @@ -27,7 +27,7 @@ schema Deployment: kind: "Deployment" = "Deployment" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: DeploymentSpec diff --git a/k8s/1.15/api/apps/v1/deployment_list.k b/k8s/1.15/api/apps/v1/deployment_list.k index 104bc7d0..eb758afa 100644 --- a/k8s/1.15/api/apps/v1/deployment_list.k +++ b/k8s/1.15/api/apps/v1/deployment_list.k @@ -3,7 +3,7 @@ This is the deployment_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DeploymentList: @@ -18,7 +18,7 @@ schema DeploymentList: Items is the list of Deployments. kind : str, default is "DeploymentList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema DeploymentList: kind: "DeploymentList" = "DeploymentList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/api/apps/v1/deployment_spec.k b/k8s/1.15/api/apps/v1/deployment_spec.k index b8591d9a..c0f14ef0 100644 --- a/k8s/1.15/api/apps/v1/deployment_spec.k +++ b/k8s/1.15/api/apps/v1/deployment_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DeploymentSpec: @@ -23,7 +23,7 @@ schema DeploymentSpec: Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1. revisionHistoryLimit : int, default is Undefined, optional The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. It must match the pod template's labels. strategy : DeploymentStrategy, default is Undefined, optional The deployment strategy to use to replace existing pods with new ones. @@ -42,7 +42,7 @@ schema DeploymentSpec: revisionHistoryLimit?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector strategy?: DeploymentStrategy diff --git a/k8s/1.15/api/apps/v1/replica_set.k b/k8s/1.15/api/apps/v1/replica_set.k index e1972b6e..643909aa 100644 --- a/k8s/1.15/api/apps/v1/replica_set.k +++ b/k8s/1.15/api/apps/v1/replica_set.k @@ -3,7 +3,7 @@ This is the replica_set module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicaSet: @@ -16,7 +16,7 @@ schema ReplicaSet: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "ReplicaSet", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata spec : ReplicaSetSpec, default is Undefined, optional Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema ReplicaSet: kind: "ReplicaSet" = "ReplicaSet" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ReplicaSetSpec diff --git a/k8s/1.15/api/apps/v1/replica_set_list.k b/k8s/1.15/api/apps/v1/replica_set_list.k index bf253ad3..dedd0ca3 100644 --- a/k8s/1.15/api/apps/v1/replica_set_list.k +++ b/k8s/1.15/api/apps/v1/replica_set_list.k @@ -3,7 +3,7 @@ This is the replica_set_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicaSetList: @@ -18,7 +18,7 @@ schema ReplicaSetList: List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller kind : str, default is "ReplicaSetList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ReplicaSetList: kind: "ReplicaSetList" = "ReplicaSetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/api/apps/v1/replica_set_spec.k b/k8s/1.15/api/apps/v1/replica_set_spec.k index 700810d3..53ae3f6f 100644 --- a/k8s/1.15/api/apps/v1/replica_set_spec.k +++ b/k8s/1.15/api/apps/v1/replica_set_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicaSetSpec: @@ -17,7 +17,7 @@ schema ReplicaSetSpec: Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) replicas : int, default is Undefined, optional Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required Selector is a label query over pods that should match the replica count. Label keys and values that must match in order to be controlled by this replica set. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors template : corev1.PodTemplateSpec, default is Undefined, optional Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template @@ -28,7 +28,7 @@ schema ReplicaSetSpec: replicas?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector template?: corev1.PodTemplateSpec diff --git a/k8s/1.15/api/apps/v1/stateful_set.k b/k8s/1.15/api/apps/v1/stateful_set.k index 82a33407..cd77fd2e 100644 --- a/k8s/1.15/api/apps/v1/stateful_set.k +++ b/k8s/1.15/api/apps/v1/stateful_set.k @@ -3,7 +3,7 @@ This is the stateful_set module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StatefulSet: @@ -19,7 +19,7 @@ schema StatefulSet: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "StatefulSet", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : StatefulSetSpec, default is Undefined, optional Spec defines the desired identities of pods in this set. @@ -30,7 +30,7 @@ schema StatefulSet: kind: "StatefulSet" = "StatefulSet" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: StatefulSetSpec diff --git a/k8s/1.15/api/apps/v1/stateful_set_list.k b/k8s/1.15/api/apps/v1/stateful_set_list.k index aa71da7f..5906b05b 100644 --- a/k8s/1.15/api/apps/v1/stateful_set_list.k +++ b/k8s/1.15/api/apps/v1/stateful_set_list.k @@ -3,7 +3,7 @@ This is the stateful_set_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StatefulSetList: @@ -18,7 +18,7 @@ schema StatefulSetList: items kind : str, default is "StatefulSetList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema StatefulSetList: kind: "StatefulSetList" = "StatefulSetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/api/apps/v1/stateful_set_spec.k b/k8s/1.15/api/apps/v1/stateful_set_spec.k index 4deeb5ed..14e6e0ee 100644 --- a/k8s/1.15/api/apps/v1/stateful_set_spec.k +++ b/k8s/1.15/api/apps/v1/stateful_set_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StatefulSetSpec: @@ -19,7 +19,7 @@ schema StatefulSetSpec: replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1. revisionHistoryLimit : int, default is Undefined, optional revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10. - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required selector is a label query over pods that should match the replica count. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors serviceName : str, default is Undefined, required serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where "pod-specific-string" is managed by the StatefulSet controller. @@ -38,7 +38,7 @@ schema StatefulSetSpec: revisionHistoryLimit?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector serviceName: str diff --git a/k8s/1.15/api/apps/v1beta1/controller_revision.k b/k8s/1.15/api/apps/v1beta1/controller_revision.k index d2000796..946c8332 100644 --- a/k8s/1.15/api/apps/v1beta1/controller_revision.k +++ b/k8s/1.15/api/apps/v1beta1/controller_revision.k @@ -3,7 +3,7 @@ This is the controller_revision module in k8s.api.apps.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 import apimachinery.pkg.runtime @@ -19,7 +19,7 @@ schema ControllerRevision: Data is the serialized representation of the state. kind : str, default is "ControllerRevision", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata revision : int, default is Undefined, required Revision indicates the revision of the state represented by Data. @@ -32,7 +32,7 @@ schema ControllerRevision: kind: "ControllerRevision" = "ControllerRevision" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta revision: int diff --git a/k8s/1.15/api/apps/v1beta1/controller_revision_list.k b/k8s/1.15/api/apps/v1beta1/controller_revision_list.k index 15470065..c1cb3f82 100644 --- a/k8s/1.15/api/apps/v1beta1/controller_revision_list.k +++ b/k8s/1.15/api/apps/v1beta1/controller_revision_list.k @@ -3,7 +3,7 @@ This is the controller_revision_list module in k8s.api.apps.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ControllerRevisionList: @@ -18,7 +18,7 @@ schema ControllerRevisionList: Items is the list of ControllerRevisions kind : str, default is "ControllerRevisionList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema ControllerRevisionList: kind: "ControllerRevisionList" = "ControllerRevisionList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/api/apps/v1beta1/deployment.k b/k8s/1.15/api/apps/v1beta1/deployment.k index 3fc0a5bf..0ddbcc68 100644 --- a/k8s/1.15/api/apps/v1beta1/deployment.k +++ b/k8s/1.15/api/apps/v1beta1/deployment.k @@ -3,7 +3,7 @@ This is the deployment module in k8s.api.apps.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Deployment: @@ -16,7 +16,7 @@ schema Deployment: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "Deployment", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. spec : DeploymentSpec, default is Undefined, optional Specification of the desired behavior of the Deployment. @@ -27,7 +27,7 @@ schema Deployment: kind: "Deployment" = "Deployment" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: DeploymentSpec diff --git a/k8s/1.15/api/apps/v1beta1/deployment_list.k b/k8s/1.15/api/apps/v1beta1/deployment_list.k index a2a37c40..8094a2da 100644 --- a/k8s/1.15/api/apps/v1beta1/deployment_list.k +++ b/k8s/1.15/api/apps/v1beta1/deployment_list.k @@ -3,7 +3,7 @@ This is the deployment_list module in k8s.api.apps.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DeploymentList: @@ -18,7 +18,7 @@ schema DeploymentList: Items is the list of Deployments. kind : str, default is "DeploymentList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema DeploymentList: kind: "DeploymentList" = "DeploymentList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/api/apps/v1beta1/deployment_spec.k b/k8s/1.15/api/apps/v1beta1/deployment_spec.k index 89bb0162..163c47e6 100644 --- a/k8s/1.15/api/apps/v1beta1/deployment_spec.k +++ b/k8s/1.15/api/apps/v1beta1/deployment_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DeploymentSpec: @@ -25,7 +25,7 @@ schema DeploymentSpec: The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 2. rollbackTo : RollbackConfig, default is Undefined, optional DEPRECATED. The config this deployment is rolling back to. Will be cleared after rollback is done. - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. strategy : DeploymentStrategy, default is Undefined, optional The deployment strategy to use to replace existing pods with new ones. @@ -46,7 +46,7 @@ schema DeploymentSpec: rollbackTo?: RollbackConfig - selector?: v1.LabelSelector + selector?: metav1.LabelSelector strategy?: DeploymentStrategy diff --git a/k8s/1.15/api/apps/v1beta1/scale.k b/k8s/1.15/api/apps/v1beta1/scale.k index a0ce63d8..3260f4a9 100644 --- a/k8s/1.15/api/apps/v1beta1/scale.k +++ b/k8s/1.15/api/apps/v1beta1/scale.k @@ -3,7 +3,7 @@ This is the scale module in k8s.api.apps.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Scale: @@ -16,7 +16,7 @@ schema Scale: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "Scale", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata. spec : ScaleSpec, default is Undefined, optional defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema Scale: kind: "Scale" = "Scale" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ScaleSpec diff --git a/k8s/1.15/api/apps/v1beta1/stateful_set.k b/k8s/1.15/api/apps/v1beta1/stateful_set.k index 386df5aa..5110d56c 100644 --- a/k8s/1.15/api/apps/v1beta1/stateful_set.k +++ b/k8s/1.15/api/apps/v1beta1/stateful_set.k @@ -3,7 +3,7 @@ This is the stateful_set module in k8s.api.apps.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StatefulSet: @@ -19,7 +19,7 @@ schema StatefulSet: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "StatefulSet", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : StatefulSetSpec, default is Undefined, optional Spec defines the desired identities of pods in this set. @@ -30,7 +30,7 @@ schema StatefulSet: kind: "StatefulSet" = "StatefulSet" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: StatefulSetSpec diff --git a/k8s/1.15/api/apps/v1beta1/stateful_set_list.k b/k8s/1.15/api/apps/v1beta1/stateful_set_list.k index e8d49ae9..fc29ac4f 100644 --- a/k8s/1.15/api/apps/v1beta1/stateful_set_list.k +++ b/k8s/1.15/api/apps/v1beta1/stateful_set_list.k @@ -3,7 +3,7 @@ This is the stateful_set_list module in k8s.api.apps.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StatefulSetList: @@ -18,7 +18,7 @@ schema StatefulSetList: items kind : str, default is "StatefulSetList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema StatefulSetList: kind: "StatefulSetList" = "StatefulSetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/api/apps/v1beta1/stateful_set_spec.k b/k8s/1.15/api/apps/v1beta1/stateful_set_spec.k index cc43f136..f208c3e2 100644 --- a/k8s/1.15/api/apps/v1beta1/stateful_set_spec.k +++ b/k8s/1.15/api/apps/v1beta1/stateful_set_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StatefulSetSpec: @@ -19,7 +19,7 @@ schema StatefulSetSpec: replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1. revisionHistoryLimit : int, default is Undefined, optional revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10. - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector is a label query over pods that should match the replica count. If empty, defaulted to labels on the pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors serviceName : str, default is Undefined, required serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where "pod-specific-string" is managed by the StatefulSet controller. @@ -38,7 +38,7 @@ schema StatefulSetSpec: revisionHistoryLimit?: int - selector?: v1.LabelSelector + selector?: metav1.LabelSelector serviceName: str diff --git a/k8s/1.15/api/apps/v1beta2/controller_revision.k b/k8s/1.15/api/apps/v1beta2/controller_revision.k index 4b6f2e4c..9e81f669 100644 --- a/k8s/1.15/api/apps/v1beta2/controller_revision.k +++ b/k8s/1.15/api/apps/v1beta2/controller_revision.k @@ -3,7 +3,7 @@ This is the controller_revision module in k8s.api.apps.v1beta2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 import apimachinery.pkg.runtime @@ -19,7 +19,7 @@ schema ControllerRevision: Data is the serialized representation of the state. kind : str, default is "ControllerRevision", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata revision : int, default is Undefined, required Revision indicates the revision of the state represented by Data. @@ -32,7 +32,7 @@ schema ControllerRevision: kind: "ControllerRevision" = "ControllerRevision" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta revision: int diff --git a/k8s/1.15/api/apps/v1beta2/controller_revision_list.k b/k8s/1.15/api/apps/v1beta2/controller_revision_list.k index ba1a0ee0..c4073723 100644 --- a/k8s/1.15/api/apps/v1beta2/controller_revision_list.k +++ b/k8s/1.15/api/apps/v1beta2/controller_revision_list.k @@ -3,7 +3,7 @@ This is the controller_revision_list module in k8s.api.apps.v1beta2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ControllerRevisionList: @@ -18,7 +18,7 @@ schema ControllerRevisionList: Items is the list of ControllerRevisions kind : str, default is "ControllerRevisionList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema ControllerRevisionList: kind: "ControllerRevisionList" = "ControllerRevisionList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/api/apps/v1beta2/daemon_set.k b/k8s/1.15/api/apps/v1beta2/daemon_set.k index 8063416b..e67f11b2 100644 --- a/k8s/1.15/api/apps/v1beta2/daemon_set.k +++ b/k8s/1.15/api/apps/v1beta2/daemon_set.k @@ -3,7 +3,7 @@ This is the daemon_set module in k8s.api.apps.v1beta2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DaemonSet: @@ -16,7 +16,7 @@ schema DaemonSet: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "DaemonSet", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : DaemonSetSpec, default is Undefined, optional The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema DaemonSet: kind: "DaemonSet" = "DaemonSet" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: DaemonSetSpec diff --git a/k8s/1.15/api/apps/v1beta2/daemon_set_list.k b/k8s/1.15/api/apps/v1beta2/daemon_set_list.k index c753b37b..7130477a 100644 --- a/k8s/1.15/api/apps/v1beta2/daemon_set_list.k +++ b/k8s/1.15/api/apps/v1beta2/daemon_set_list.k @@ -3,7 +3,7 @@ This is the daemon_set_list module in k8s.api.apps.v1beta2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DaemonSetList: @@ -18,7 +18,7 @@ schema DaemonSetList: A list of daemon sets. kind : str, default is "DaemonSetList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema DaemonSetList: kind: "DaemonSetList" = "DaemonSetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/api/apps/v1beta2/daemon_set_spec.k b/k8s/1.15/api/apps/v1beta2/daemon_set_spec.k index 7cd0be12..5c58389f 100644 --- a/k8s/1.15/api/apps/v1beta2/daemon_set_spec.k +++ b/k8s/1.15/api/apps/v1beta2/daemon_set_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DaemonSetSpec: @@ -17,7 +17,7 @@ schema DaemonSetSpec: The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready). revisionHistoryLimit : int, default is Undefined, optional The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required A label query over pods that are managed by the daemon set. Must match in order to be controlled. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors template : corev1.PodTemplateSpec, default is Undefined, required An object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template @@ -30,7 +30,7 @@ schema DaemonSetSpec: revisionHistoryLimit?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector template: corev1.PodTemplateSpec diff --git a/k8s/1.15/api/apps/v1beta2/deployment.k b/k8s/1.15/api/apps/v1beta2/deployment.k index 07c8695f..5117c06a 100644 --- a/k8s/1.15/api/apps/v1beta2/deployment.k +++ b/k8s/1.15/api/apps/v1beta2/deployment.k @@ -3,7 +3,7 @@ This is the deployment module in k8s.api.apps.v1beta2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Deployment: @@ -16,7 +16,7 @@ schema Deployment: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "Deployment", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. spec : DeploymentSpec, default is Undefined, optional Specification of the desired behavior of the Deployment. @@ -27,7 +27,7 @@ schema Deployment: kind: "Deployment" = "Deployment" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: DeploymentSpec diff --git a/k8s/1.15/api/apps/v1beta2/deployment_list.k b/k8s/1.15/api/apps/v1beta2/deployment_list.k index 0e265a53..8cd6f4b0 100644 --- a/k8s/1.15/api/apps/v1beta2/deployment_list.k +++ b/k8s/1.15/api/apps/v1beta2/deployment_list.k @@ -3,7 +3,7 @@ This is the deployment_list module in k8s.api.apps.v1beta2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DeploymentList: @@ -18,7 +18,7 @@ schema DeploymentList: Items is the list of Deployments. kind : str, default is "DeploymentList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema DeploymentList: kind: "DeploymentList" = "DeploymentList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/api/apps/v1beta2/deployment_spec.k b/k8s/1.15/api/apps/v1beta2/deployment_spec.k index 6564c983..51a19e84 100644 --- a/k8s/1.15/api/apps/v1beta2/deployment_spec.k +++ b/k8s/1.15/api/apps/v1beta2/deployment_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DeploymentSpec: @@ -23,7 +23,7 @@ schema DeploymentSpec: Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1. revisionHistoryLimit : int, default is Undefined, optional The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. It must match the pod template's labels. strategy : DeploymentStrategy, default is Undefined, optional The deployment strategy to use to replace existing pods with new ones. @@ -42,7 +42,7 @@ schema DeploymentSpec: revisionHistoryLimit?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector strategy?: DeploymentStrategy diff --git a/k8s/1.15/api/apps/v1beta2/replica_set.k b/k8s/1.15/api/apps/v1beta2/replica_set.k index fe193dbd..a0048649 100644 --- a/k8s/1.15/api/apps/v1beta2/replica_set.k +++ b/k8s/1.15/api/apps/v1beta2/replica_set.k @@ -3,7 +3,7 @@ This is the replica_set module in k8s.api.apps.v1beta2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicaSet: @@ -16,7 +16,7 @@ schema ReplicaSet: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "ReplicaSet", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : ReplicaSetSpec, default is Undefined, optional Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema ReplicaSet: kind: "ReplicaSet" = "ReplicaSet" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ReplicaSetSpec diff --git a/k8s/1.15/api/apps/v1beta2/replica_set_list.k b/k8s/1.15/api/apps/v1beta2/replica_set_list.k index ac5d1241..c8dc21fb 100644 --- a/k8s/1.15/api/apps/v1beta2/replica_set_list.k +++ b/k8s/1.15/api/apps/v1beta2/replica_set_list.k @@ -3,7 +3,7 @@ This is the replica_set_list module in k8s.api.apps.v1beta2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicaSetList: @@ -18,7 +18,7 @@ schema ReplicaSetList: List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller kind : str, default is "ReplicaSetList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ReplicaSetList: kind: "ReplicaSetList" = "ReplicaSetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/api/apps/v1beta2/replica_set_spec.k b/k8s/1.15/api/apps/v1beta2/replica_set_spec.k index c9451b61..776dc44d 100644 --- a/k8s/1.15/api/apps/v1beta2/replica_set_spec.k +++ b/k8s/1.15/api/apps/v1beta2/replica_set_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicaSetSpec: @@ -17,7 +17,7 @@ schema ReplicaSetSpec: Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) replicas : int, default is Undefined, optional Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required Selector is a label query over pods that should match the replica count. Label keys and values that must match in order to be controlled by this replica set. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors template : corev1.PodTemplateSpec, default is Undefined, optional Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template @@ -28,7 +28,7 @@ schema ReplicaSetSpec: replicas?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector template?: corev1.PodTemplateSpec diff --git a/k8s/1.15/api/apps/v1beta2/scale.k b/k8s/1.15/api/apps/v1beta2/scale.k index 5fd7c556..affb5237 100644 --- a/k8s/1.15/api/apps/v1beta2/scale.k +++ b/k8s/1.15/api/apps/v1beta2/scale.k @@ -3,7 +3,7 @@ This is the scale module in k8s.api.apps.v1beta2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Scale: @@ -16,7 +16,7 @@ schema Scale: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "Scale", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. spec : ScaleSpec, default is Undefined, optional defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema Scale: kind: "Scale" = "Scale" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ScaleSpec diff --git a/k8s/1.15/api/apps/v1beta2/stateful_set.k b/k8s/1.15/api/apps/v1beta2/stateful_set.k index 7fcf5291..097555ad 100644 --- a/k8s/1.15/api/apps/v1beta2/stateful_set.k +++ b/k8s/1.15/api/apps/v1beta2/stateful_set.k @@ -3,7 +3,7 @@ This is the stateful_set module in k8s.api.apps.v1beta2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StatefulSet: @@ -19,7 +19,7 @@ schema StatefulSet: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "StatefulSet", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : StatefulSetSpec, default is Undefined, optional Spec defines the desired identities of pods in this set. @@ -30,7 +30,7 @@ schema StatefulSet: kind: "StatefulSet" = "StatefulSet" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: StatefulSetSpec diff --git a/k8s/1.15/api/apps/v1beta2/stateful_set_list.k b/k8s/1.15/api/apps/v1beta2/stateful_set_list.k index 120eb050..5bf995a2 100644 --- a/k8s/1.15/api/apps/v1beta2/stateful_set_list.k +++ b/k8s/1.15/api/apps/v1beta2/stateful_set_list.k @@ -3,7 +3,7 @@ This is the stateful_set_list module in k8s.api.apps.v1beta2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StatefulSetList: @@ -18,7 +18,7 @@ schema StatefulSetList: items kind : str, default is "StatefulSetList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema StatefulSetList: kind: "StatefulSetList" = "StatefulSetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/api/apps/v1beta2/stateful_set_spec.k b/k8s/1.15/api/apps/v1beta2/stateful_set_spec.k index 52e2b106..09b1564b 100644 --- a/k8s/1.15/api/apps/v1beta2/stateful_set_spec.k +++ b/k8s/1.15/api/apps/v1beta2/stateful_set_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StatefulSetSpec: @@ -19,7 +19,7 @@ schema StatefulSetSpec: replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1. revisionHistoryLimit : int, default is Undefined, optional revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10. - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required selector is a label query over pods that should match the replica count. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors serviceName : str, default is Undefined, required serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where "pod-specific-string" is managed by the StatefulSet controller. @@ -38,7 +38,7 @@ schema StatefulSetSpec: revisionHistoryLimit?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector serviceName: str diff --git a/k8s/1.15/api/auditregistration/v1alpha1/audit_sink.k b/k8s/1.15/api/auditregistration/v1alpha1/audit_sink.k index 9d9872a6..dc4598e0 100644 --- a/k8s/1.15/api/auditregistration/v1alpha1/audit_sink.k +++ b/k8s/1.15/api/auditregistration/v1alpha1/audit_sink.k @@ -3,7 +3,7 @@ This is the audit_sink module in k8s.api.auditregistration.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema AuditSink: @@ -16,7 +16,7 @@ schema AuditSink: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "AuditSink", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : AuditSinkSpec, default is Undefined, optional Spec defines the audit configuration spec @@ -27,7 +27,7 @@ schema AuditSink: kind: "AuditSink" = "AuditSink" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: AuditSinkSpec diff --git a/k8s/1.15/api/auditregistration/v1alpha1/audit_sink_list.k b/k8s/1.15/api/auditregistration/v1alpha1/audit_sink_list.k index d7228277..1e0ebb31 100644 --- a/k8s/1.15/api/auditregistration/v1alpha1/audit_sink_list.k +++ b/k8s/1.15/api/auditregistration/v1alpha1/audit_sink_list.k @@ -3,7 +3,7 @@ This is the audit_sink_list module in k8s.api.auditregistration.v1alpha1 package This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema AuditSinkList: @@ -18,7 +18,7 @@ schema AuditSinkList: List of audit configurations. kind : str, default is "AuditSinkList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema AuditSinkList: kind: "AuditSinkList" = "AuditSinkList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/api/authentication/v1/token_review.k b/k8s/1.15/api/authentication/v1/token_review.k index 74ea1a57..0c66f25f 100644 --- a/k8s/1.15/api/authentication/v1/token_review.k +++ b/k8s/1.15/api/authentication/v1/token_review.k @@ -3,7 +3,7 @@ This is the token_review module in k8s.api.authentication.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema TokenReview: @@ -16,7 +16,7 @@ schema TokenReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "TokenReview", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : TokenReviewSpec, default is Undefined, required Spec holds information about the request being evaluated @@ -27,7 +27,7 @@ schema TokenReview: kind: "TokenReview" = "TokenReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: TokenReviewSpec diff --git a/k8s/1.15/api/authentication/v1beta1/token_review.k b/k8s/1.15/api/authentication/v1beta1/token_review.k index 6d4b23f6..3a6c6c14 100644 --- a/k8s/1.15/api/authentication/v1beta1/token_review.k +++ b/k8s/1.15/api/authentication/v1beta1/token_review.k @@ -3,7 +3,7 @@ This is the token_review module in k8s.api.authentication.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema TokenReview: @@ -16,7 +16,7 @@ schema TokenReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "TokenReview", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : TokenReviewSpec, default is Undefined, required Spec holds information about the request being evaluated @@ -27,7 +27,7 @@ schema TokenReview: kind: "TokenReview" = "TokenReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: TokenReviewSpec diff --git a/k8s/1.15/api/authorization/v1/local_subject_access_review.k b/k8s/1.15/api/authorization/v1/local_subject_access_review.k index bf2594a6..36da3e52 100644 --- a/k8s/1.15/api/authorization/v1/local_subject_access_review.k +++ b/k8s/1.15/api/authorization/v1/local_subject_access_review.k @@ -3,7 +3,7 @@ This is the local_subject_access_review module in k8s.api.authorization.v1 packa This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LocalSubjectAccessReview: @@ -16,7 +16,7 @@ schema LocalSubjectAccessReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "LocalSubjectAccessReview", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : SubjectAccessReviewSpec, default is Undefined, required Spec holds information about the request being evaluated. spec.namespace must be equal to the namespace you made the request against. If empty, it is defaulted. @@ -27,7 +27,7 @@ schema LocalSubjectAccessReview: kind: "LocalSubjectAccessReview" = "LocalSubjectAccessReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SubjectAccessReviewSpec diff --git a/k8s/1.15/api/authorization/v1/self_subject_access_review.k b/k8s/1.15/api/authorization/v1/self_subject_access_review.k index 63f78b80..8e7b2d72 100644 --- a/k8s/1.15/api/authorization/v1/self_subject_access_review.k +++ b/k8s/1.15/api/authorization/v1/self_subject_access_review.k @@ -3,7 +3,7 @@ This is the self_subject_access_review module in k8s.api.authorization.v1 packag This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SelfSubjectAccessReview: @@ -16,7 +16,7 @@ schema SelfSubjectAccessReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "SelfSubjectAccessReview", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : SelfSubjectAccessReviewSpec, default is Undefined, required Spec holds information about the request being evaluated. user and groups must be empty @@ -27,7 +27,7 @@ schema SelfSubjectAccessReview: kind: "SelfSubjectAccessReview" = "SelfSubjectAccessReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SelfSubjectAccessReviewSpec diff --git a/k8s/1.15/api/authorization/v1/self_subject_rules_review.k b/k8s/1.15/api/authorization/v1/self_subject_rules_review.k index 7e96f456..2015d0cf 100644 --- a/k8s/1.15/api/authorization/v1/self_subject_rules_review.k +++ b/k8s/1.15/api/authorization/v1/self_subject_rules_review.k @@ -3,7 +3,7 @@ This is the self_subject_rules_review module in k8s.api.authorization.v1 package This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SelfSubjectRulesReview: @@ -16,7 +16,7 @@ schema SelfSubjectRulesReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "SelfSubjectRulesReview", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : SelfSubjectRulesReviewSpec, default is Undefined, required Spec holds information about the request being evaluated. @@ -27,7 +27,7 @@ schema SelfSubjectRulesReview: kind: "SelfSubjectRulesReview" = "SelfSubjectRulesReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SelfSubjectRulesReviewSpec diff --git a/k8s/1.15/api/authorization/v1/subject_access_review.k b/k8s/1.15/api/authorization/v1/subject_access_review.k index b45b50a2..b603cb7c 100644 --- a/k8s/1.15/api/authorization/v1/subject_access_review.k +++ b/k8s/1.15/api/authorization/v1/subject_access_review.k @@ -3,7 +3,7 @@ This is the subject_access_review module in k8s.api.authorization.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SubjectAccessReview: @@ -16,7 +16,7 @@ schema SubjectAccessReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "SubjectAccessReview", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : SubjectAccessReviewSpec, default is Undefined, required Spec holds information about the request being evaluated @@ -27,7 +27,7 @@ schema SubjectAccessReview: kind: "SubjectAccessReview" = "SubjectAccessReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SubjectAccessReviewSpec diff --git a/k8s/1.15/api/authorization/v1beta1/local_subject_access_review.k b/k8s/1.15/api/authorization/v1beta1/local_subject_access_review.k index eabe7efd..60a10963 100644 --- a/k8s/1.15/api/authorization/v1beta1/local_subject_access_review.k +++ b/k8s/1.15/api/authorization/v1beta1/local_subject_access_review.k @@ -3,7 +3,7 @@ This is the local_subject_access_review module in k8s.api.authorization.v1beta1 This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LocalSubjectAccessReview: @@ -16,7 +16,7 @@ schema LocalSubjectAccessReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "LocalSubjectAccessReview", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : SubjectAccessReviewSpec, default is Undefined, required Spec holds information about the request being evaluated. spec.namespace must be equal to the namespace you made the request against. If empty, it is defaulted. @@ -27,7 +27,7 @@ schema LocalSubjectAccessReview: kind: "LocalSubjectAccessReview" = "LocalSubjectAccessReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SubjectAccessReviewSpec diff --git a/k8s/1.15/api/authorization/v1beta1/self_subject_access_review.k b/k8s/1.15/api/authorization/v1beta1/self_subject_access_review.k index 1dd41ec6..93c1a760 100644 --- a/k8s/1.15/api/authorization/v1beta1/self_subject_access_review.k +++ b/k8s/1.15/api/authorization/v1beta1/self_subject_access_review.k @@ -3,7 +3,7 @@ This is the self_subject_access_review module in k8s.api.authorization.v1beta1 p This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SelfSubjectAccessReview: @@ -16,7 +16,7 @@ schema SelfSubjectAccessReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "SelfSubjectAccessReview", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : SelfSubjectAccessReviewSpec, default is Undefined, required Spec holds information about the request being evaluated. user and groups must be empty @@ -27,7 +27,7 @@ schema SelfSubjectAccessReview: kind: "SelfSubjectAccessReview" = "SelfSubjectAccessReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SelfSubjectAccessReviewSpec diff --git a/k8s/1.15/api/authorization/v1beta1/self_subject_rules_review.k b/k8s/1.15/api/authorization/v1beta1/self_subject_rules_review.k index 716d1684..883a219c 100644 --- a/k8s/1.15/api/authorization/v1beta1/self_subject_rules_review.k +++ b/k8s/1.15/api/authorization/v1beta1/self_subject_rules_review.k @@ -3,7 +3,7 @@ This is the self_subject_rules_review module in k8s.api.authorization.v1beta1 pa This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SelfSubjectRulesReview: @@ -16,7 +16,7 @@ schema SelfSubjectRulesReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "SelfSubjectRulesReview", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : SelfSubjectRulesReviewSpec, default is Undefined, required Spec holds information about the request being evaluated. @@ -27,7 +27,7 @@ schema SelfSubjectRulesReview: kind: "SelfSubjectRulesReview" = "SelfSubjectRulesReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SelfSubjectRulesReviewSpec diff --git a/k8s/1.15/api/authorization/v1beta1/subject_access_review.k b/k8s/1.15/api/authorization/v1beta1/subject_access_review.k index 5edd78bb..01240f2c 100644 --- a/k8s/1.15/api/authorization/v1beta1/subject_access_review.k +++ b/k8s/1.15/api/authorization/v1beta1/subject_access_review.k @@ -3,7 +3,7 @@ This is the subject_access_review module in k8s.api.authorization.v1beta1 packag This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SubjectAccessReview: @@ -16,7 +16,7 @@ schema SubjectAccessReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "SubjectAccessReview", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : SubjectAccessReviewSpec, default is Undefined, required Spec holds information about the request being evaluated @@ -27,7 +27,7 @@ schema SubjectAccessReview: kind: "SubjectAccessReview" = "SubjectAccessReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SubjectAccessReviewSpec diff --git a/k8s/1.15/api/autoscaling/v1/horizontal_pod_autoscaler.k b/k8s/1.15/api/autoscaling/v1/horizontal_pod_autoscaler.k index 525b0ac5..bb0c3c88 100644 --- a/k8s/1.15/api/autoscaling/v1/horizontal_pod_autoscaler.k +++ b/k8s/1.15/api/autoscaling/v1/horizontal_pod_autoscaler.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler module in k8s.api.autoscaling.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscaler: @@ -16,7 +16,7 @@ schema HorizontalPodAutoscaler: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "HorizontalPodAutoscaler", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata spec : HorizontalPodAutoscalerSpec, default is Undefined, optional behaviour of autoscaler. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema HorizontalPodAutoscaler: kind: "HorizontalPodAutoscaler" = "HorizontalPodAutoscaler" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: HorizontalPodAutoscalerSpec diff --git a/k8s/1.15/api/autoscaling/v1/horizontal_pod_autoscaler_list.k b/k8s/1.15/api/autoscaling/v1/horizontal_pod_autoscaler_list.k index b8a7d70a..b4a2a69b 100644 --- a/k8s/1.15/api/autoscaling/v1/horizontal_pod_autoscaler_list.k +++ b/k8s/1.15/api/autoscaling/v1/horizontal_pod_autoscaler_list.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler_list module in k8s.api.autoscaling.v1 pack This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscalerList: @@ -18,7 +18,7 @@ schema HorizontalPodAutoscalerList: list of horizontal pod autoscaler objects. kind : str, default is "HorizontalPodAutoscalerList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema HorizontalPodAutoscalerList: kind: "HorizontalPodAutoscalerList" = "HorizontalPodAutoscalerList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/api/autoscaling/v1/scale.k b/k8s/1.15/api/autoscaling/v1/scale.k index 057fcaf0..ab7f8116 100644 --- a/k8s/1.15/api/autoscaling/v1/scale.k +++ b/k8s/1.15/api/autoscaling/v1/scale.k @@ -3,7 +3,7 @@ This is the scale module in k8s.api.autoscaling.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Scale: @@ -16,7 +16,7 @@ schema Scale: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "Scale", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata. spec : ScaleSpec, default is Undefined, optional defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema Scale: kind: "Scale" = "Scale" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ScaleSpec diff --git a/k8s/1.15/api/autoscaling/v2beta1/external_metric_source.k b/k8s/1.15/api/autoscaling/v2beta1/external_metric_source.k index 23887048..b1ff85f3 100644 --- a/k8s/1.15/api/autoscaling/v2beta1/external_metric_source.k +++ b/k8s/1.15/api/autoscaling/v2beta1/external_metric_source.k @@ -3,7 +3,7 @@ This is the external_metric_source module in k8s.api.autoscaling.v2beta1 package This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ExternalMetricSource: @@ -14,7 +14,7 @@ schema ExternalMetricSource: ---------- metricName : str, default is Undefined, required metricName is the name of the metric in question. - metricSelector : v1.LabelSelector, default is Undefined, optional + metricSelector : metav1.LabelSelector, default is Undefined, optional metricSelector is used to identify a specific time series within a given metric. targetAverageValue : str, default is Undefined, optional targetAverageValue is the target per-pod value of global metric (as a quantity). Mutually exclusive with TargetValue. @@ -25,7 +25,7 @@ schema ExternalMetricSource: metricName: str - metricSelector?: v1.LabelSelector + metricSelector?: metav1.LabelSelector targetAverageValue?: str diff --git a/k8s/1.15/api/autoscaling/v2beta1/external_metric_status.k b/k8s/1.15/api/autoscaling/v2beta1/external_metric_status.k index 507ffd14..39a87bad 100644 --- a/k8s/1.15/api/autoscaling/v2beta1/external_metric_status.k +++ b/k8s/1.15/api/autoscaling/v2beta1/external_metric_status.k @@ -3,7 +3,7 @@ This is the external_metric_status module in k8s.api.autoscaling.v2beta1 package This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ExternalMetricStatus: @@ -18,7 +18,7 @@ schema ExternalMetricStatus: currentValue is the current value of the metric (as a quantity) metricName : str, default is Undefined, required metricName is the name of a metric used for autoscaling in metric system. - metricSelector : v1.LabelSelector, default is Undefined, optional + metricSelector : metav1.LabelSelector, default is Undefined, optional metricSelector is used to identify a specific time series within a given metric. """ @@ -29,6 +29,6 @@ schema ExternalMetricStatus: metricName: str - metricSelector?: v1.LabelSelector + metricSelector?: metav1.LabelSelector diff --git a/k8s/1.15/api/autoscaling/v2beta1/horizontal_pod_autoscaler.k b/k8s/1.15/api/autoscaling/v2beta1/horizontal_pod_autoscaler.k index 62f7fd38..02c812e1 100644 --- a/k8s/1.15/api/autoscaling/v2beta1/horizontal_pod_autoscaler.k +++ b/k8s/1.15/api/autoscaling/v2beta1/horizontal_pod_autoscaler.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler module in k8s.api.autoscaling.v2beta1 pack This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscaler: @@ -16,7 +16,7 @@ schema HorizontalPodAutoscaler: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "HorizontalPodAutoscaler", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata spec : HorizontalPodAutoscalerSpec, default is Undefined, optional spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema HorizontalPodAutoscaler: kind: "HorizontalPodAutoscaler" = "HorizontalPodAutoscaler" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: HorizontalPodAutoscalerSpec diff --git a/k8s/1.15/api/autoscaling/v2beta1/horizontal_pod_autoscaler_list.k b/k8s/1.15/api/autoscaling/v2beta1/horizontal_pod_autoscaler_list.k index c7b66700..e5bd2886 100644 --- a/k8s/1.15/api/autoscaling/v2beta1/horizontal_pod_autoscaler_list.k +++ b/k8s/1.15/api/autoscaling/v2beta1/horizontal_pod_autoscaler_list.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler_list module in k8s.api.autoscaling.v2beta1 This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscalerList: @@ -18,7 +18,7 @@ schema HorizontalPodAutoscalerList: items is the list of horizontal pod autoscaler objects. kind : str, default is "HorizontalPodAutoscalerList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata is the standard list metadata. """ @@ -29,6 +29,6 @@ schema HorizontalPodAutoscalerList: kind: "HorizontalPodAutoscalerList" = "HorizontalPodAutoscalerList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/api/autoscaling/v2beta1/object_metric_source.k b/k8s/1.15/api/autoscaling/v2beta1/object_metric_source.k index a8ff4213..af8d307f 100644 --- a/k8s/1.15/api/autoscaling/v2beta1/object_metric_source.k +++ b/k8s/1.15/api/autoscaling/v2beta1/object_metric_source.k @@ -3,7 +3,7 @@ This is the object_metric_source module in k8s.api.autoscaling.v2beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ObjectMetricSource: @@ -16,7 +16,7 @@ schema ObjectMetricSource: averageValue is the target value of the average of the metric across all relevant pods (as a quantity) metricName : str, default is Undefined, required metricName is the name of the metric in question. - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics. target : CrossVersionObjectReference, default is Undefined, required target is the described Kubernetes object. @@ -29,7 +29,7 @@ schema ObjectMetricSource: metricName: str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector target: CrossVersionObjectReference diff --git a/k8s/1.15/api/autoscaling/v2beta1/object_metric_status.k b/k8s/1.15/api/autoscaling/v2beta1/object_metric_status.k index 39aeb9de..b7054bd5 100644 --- a/k8s/1.15/api/autoscaling/v2beta1/object_metric_status.k +++ b/k8s/1.15/api/autoscaling/v2beta1/object_metric_status.k @@ -3,7 +3,7 @@ This is the object_metric_status module in k8s.api.autoscaling.v2beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ObjectMetricStatus: @@ -18,7 +18,7 @@ schema ObjectMetricStatus: currentValue is the current value of the metric (as a quantity). metricName : str, default is Undefined, required metricName is the name of the metric in question. - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the ObjectMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics. target : CrossVersionObjectReference, default is Undefined, required target is the described Kubernetes object. @@ -31,7 +31,7 @@ schema ObjectMetricStatus: metricName: str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector target: CrossVersionObjectReference diff --git a/k8s/1.15/api/autoscaling/v2beta1/pods_metric_source.k b/k8s/1.15/api/autoscaling/v2beta1/pods_metric_source.k index ee0111ef..850fcd7b 100644 --- a/k8s/1.15/api/autoscaling/v2beta1/pods_metric_source.k +++ b/k8s/1.15/api/autoscaling/v2beta1/pods_metric_source.k @@ -3,7 +3,7 @@ This is the pods_metric_source module in k8s.api.autoscaling.v2beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodsMetricSource: @@ -14,7 +14,7 @@ schema PodsMetricSource: ---------- metricName : str, default is Undefined, required metricName is the name of the metric in question - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics. targetAverageValue : str, default is Undefined, required targetAverageValue is the target value of the average of the metric across all relevant pods (as a quantity) @@ -23,7 +23,7 @@ schema PodsMetricSource: metricName: str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector targetAverageValue: str diff --git a/k8s/1.15/api/autoscaling/v2beta1/pods_metric_status.k b/k8s/1.15/api/autoscaling/v2beta1/pods_metric_status.k index 2d8c30c0..0792b4d4 100644 --- a/k8s/1.15/api/autoscaling/v2beta1/pods_metric_status.k +++ b/k8s/1.15/api/autoscaling/v2beta1/pods_metric_status.k @@ -3,7 +3,7 @@ This is the pods_metric_status module in k8s.api.autoscaling.v2beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodsMetricStatus: @@ -16,7 +16,7 @@ schema PodsMetricStatus: currentAverageValue is the current value of the average of the metric across all relevant pods (as a quantity) metricName : str, default is Undefined, required metricName is the name of the metric in question - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the PodsMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics. """ @@ -25,6 +25,6 @@ schema PodsMetricStatus: metricName: str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector diff --git a/k8s/1.15/api/autoscaling/v2beta2/horizontal_pod_autoscaler.k b/k8s/1.15/api/autoscaling/v2beta2/horizontal_pod_autoscaler.k index 9bb452ac..870a8d06 100644 --- a/k8s/1.15/api/autoscaling/v2beta2/horizontal_pod_autoscaler.k +++ b/k8s/1.15/api/autoscaling/v2beta2/horizontal_pod_autoscaler.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler module in k8s.api.autoscaling.v2beta2 pack This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscaler: @@ -16,7 +16,7 @@ schema HorizontalPodAutoscaler: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "HorizontalPodAutoscaler", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata spec : HorizontalPodAutoscalerSpec, default is Undefined, optional spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema HorizontalPodAutoscaler: kind: "HorizontalPodAutoscaler" = "HorizontalPodAutoscaler" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: HorizontalPodAutoscalerSpec diff --git a/k8s/1.15/api/autoscaling/v2beta2/horizontal_pod_autoscaler_list.k b/k8s/1.15/api/autoscaling/v2beta2/horizontal_pod_autoscaler_list.k index 25e53d08..ebfc3591 100644 --- a/k8s/1.15/api/autoscaling/v2beta2/horizontal_pod_autoscaler_list.k +++ b/k8s/1.15/api/autoscaling/v2beta2/horizontal_pod_autoscaler_list.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler_list module in k8s.api.autoscaling.v2beta2 This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscalerList: @@ -18,7 +18,7 @@ schema HorizontalPodAutoscalerList: items is the list of horizontal pod autoscaler objects. kind : str, default is "HorizontalPodAutoscalerList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata is the standard list metadata. """ @@ -29,6 +29,6 @@ schema HorizontalPodAutoscalerList: kind: "HorizontalPodAutoscalerList" = "HorizontalPodAutoscalerList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/api/autoscaling/v2beta2/metric_identifier.k b/k8s/1.15/api/autoscaling/v2beta2/metric_identifier.k index 18d313d2..06be0dff 100644 --- a/k8s/1.15/api/autoscaling/v2beta2/metric_identifier.k +++ b/k8s/1.15/api/autoscaling/v2beta2/metric_identifier.k @@ -3,7 +3,7 @@ This is the metric_identifier module in k8s.api.autoscaling.v2beta2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MetricIdentifier: @@ -14,13 +14,13 @@ schema MetricIdentifier: ---------- name : str, default is Undefined, required name is the name of the given metric - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics. """ name: str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector diff --git a/k8s/1.15/api/batch/v1/job.k b/k8s/1.15/api/batch/v1/job.k index 9fd989d3..9cac6bb4 100644 --- a/k8s/1.15/api/batch/v1/job.k +++ b/k8s/1.15/api/batch/v1/job.k @@ -3,7 +3,7 @@ This is the job module in k8s.api.batch.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Job: @@ -16,7 +16,7 @@ schema Job: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "Job", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata spec : JobSpec, default is Undefined, optional Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Job: kind: "Job" = "Job" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: JobSpec diff --git a/k8s/1.15/api/batch/v1/job_list.k b/k8s/1.15/api/batch/v1/job_list.k index b11caf19..a067570e 100644 --- a/k8s/1.15/api/batch/v1/job_list.k +++ b/k8s/1.15/api/batch/v1/job_list.k @@ -3,7 +3,7 @@ This is the job_list module in k8s.api.batch.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema JobList: @@ -18,7 +18,7 @@ schema JobList: items is the list of Jobs. kind : str, default is "JobList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema JobList: kind: "JobList" = "JobList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/api/batch/v1/job_spec.k b/k8s/1.15/api/batch/v1/job_spec.k index 085f981e..732d97f5 100644 --- a/k8s/1.15/api/batch/v1/job_spec.k +++ b/k8s/1.15/api/batch/v1/job_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema JobSpec: @@ -23,7 +23,7 @@ schema JobSpec: manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector parallelism : int, default is Undefined, optional Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional A label query over pods that should match the pod count. Normally, the system sets this field for you. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors template : corev1.PodTemplateSpec, default is Undefined, required Describes the pod that will be created when executing a job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ @@ -42,7 +42,7 @@ schema JobSpec: parallelism?: int - selector?: v1.LabelSelector + selector?: metav1.LabelSelector template: corev1.PodTemplateSpec diff --git a/k8s/1.15/api/batch/v1beta1/cron_job.k b/k8s/1.15/api/batch/v1beta1/cron_job.k index 890a5061..62105012 100644 --- a/k8s/1.15/api/batch/v1beta1/cron_job.k +++ b/k8s/1.15/api/batch/v1beta1/cron_job.k @@ -3,7 +3,7 @@ This is the cron_job module in k8s.api.batch.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CronJob: @@ -16,7 +16,7 @@ schema CronJob: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "CronJob", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata spec : CronJobSpec, default is Undefined, optional Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema CronJob: kind: "CronJob" = "CronJob" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: CronJobSpec diff --git a/k8s/1.15/api/batch/v1beta1/cron_job_list.k b/k8s/1.15/api/batch/v1beta1/cron_job_list.k index ecc4e095..0dd015d2 100644 --- a/k8s/1.15/api/batch/v1beta1/cron_job_list.k +++ b/k8s/1.15/api/batch/v1beta1/cron_job_list.k @@ -3,7 +3,7 @@ This is the cron_job_list module in k8s.api.batch.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CronJobList: @@ -18,7 +18,7 @@ schema CronJobList: items is the list of CronJobs. kind : str, default is "CronJobList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CronJobList: kind: "CronJobList" = "CronJobList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/api/batch/v1beta1/job_template_spec.k b/k8s/1.15/api/batch/v1beta1/job_template_spec.k index 6d8768cb..ee99e9aa 100644 --- a/k8s/1.15/api/batch/v1beta1/job_template_spec.k +++ b/k8s/1.15/api/batch/v1beta1/job_template_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.batch.v1 as batchV1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema JobTemplateSpec: @@ -13,14 +13,14 @@ schema JobTemplateSpec: Attributes ---------- - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata spec : batchV1.JobSpec, default is Undefined, optional Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status """ - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: batchV1.JobSpec diff --git a/k8s/1.15/api/batch/v2alpha1/cron_job.k b/k8s/1.15/api/batch/v2alpha1/cron_job.k index 65b62a8c..d58ff79c 100644 --- a/k8s/1.15/api/batch/v2alpha1/cron_job.k +++ b/k8s/1.15/api/batch/v2alpha1/cron_job.k @@ -3,7 +3,7 @@ This is the cron_job module in k8s.api.batch.v2alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CronJob: @@ -16,7 +16,7 @@ schema CronJob: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "CronJob", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata spec : CronJobSpec, default is Undefined, optional Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema CronJob: kind: "CronJob" = "CronJob" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: CronJobSpec diff --git a/k8s/1.15/api/batch/v2alpha1/cron_job_list.k b/k8s/1.15/api/batch/v2alpha1/cron_job_list.k index 6ec7b90c..d789f7b7 100644 --- a/k8s/1.15/api/batch/v2alpha1/cron_job_list.k +++ b/k8s/1.15/api/batch/v2alpha1/cron_job_list.k @@ -3,7 +3,7 @@ This is the cron_job_list module in k8s.api.batch.v2alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CronJobList: @@ -18,7 +18,7 @@ schema CronJobList: items is the list of CronJobs. kind : str, default is "CronJobList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CronJobList: kind: "CronJobList" = "CronJobList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/api/batch/v2alpha1/job_template_spec.k b/k8s/1.15/api/batch/v2alpha1/job_template_spec.k index 95871c85..70f15e24 100644 --- a/k8s/1.15/api/batch/v2alpha1/job_template_spec.k +++ b/k8s/1.15/api/batch/v2alpha1/job_template_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.batch.v1 as batchV1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema JobTemplateSpec: @@ -13,14 +13,14 @@ schema JobTemplateSpec: Attributes ---------- - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata spec : batchV1.JobSpec, default is Undefined, optional Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status """ - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: batchV1.JobSpec diff --git a/k8s/1.15/api/certificates/v1beta1/certificate_signing_request.k b/k8s/1.15/api/certificates/v1beta1/certificate_signing_request.k index 91944b4b..5235f179 100644 --- a/k8s/1.15/api/certificates/v1beta1/certificate_signing_request.k +++ b/k8s/1.15/api/certificates/v1beta1/certificate_signing_request.k @@ -3,7 +3,7 @@ This is the certificate_signing_request module in k8s.api.certificates.v1beta1 p This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CertificateSigningRequest: @@ -16,7 +16,7 @@ schema CertificateSigningRequest: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "CertificateSigningRequest", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : CertificateSigningRequestSpec, default is Undefined, optional The certificate request itself and any additional information. @@ -27,7 +27,7 @@ schema CertificateSigningRequest: kind: "CertificateSigningRequest" = "CertificateSigningRequest" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: CertificateSigningRequestSpec diff --git a/k8s/1.15/api/certificates/v1beta1/certificate_signing_request_list.k b/k8s/1.15/api/certificates/v1beta1/certificate_signing_request_list.k index 41185458..35522367 100644 --- a/k8s/1.15/api/certificates/v1beta1/certificate_signing_request_list.k +++ b/k8s/1.15/api/certificates/v1beta1/certificate_signing_request_list.k @@ -3,7 +3,7 @@ This is the certificate_signing_request_list module in k8s.api.certificates.v1be This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CertificateSigningRequestList: @@ -18,7 +18,7 @@ schema CertificateSigningRequestList: items kind : str, default is "CertificateSigningRequestList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema CertificateSigningRequestList: kind: "CertificateSigningRequestList" = "CertificateSigningRequestList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/api/coordination/v1/lease.k b/k8s/1.15/api/coordination/v1/lease.k index e1fc886b..c9e4c1a2 100644 --- a/k8s/1.15/api/coordination/v1/lease.k +++ b/k8s/1.15/api/coordination/v1/lease.k @@ -3,7 +3,7 @@ This is the lease module in k8s.api.coordination.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Lease: @@ -16,7 +16,7 @@ schema Lease: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "Lease", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata spec : LeaseSpec, default is Undefined, optional Specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Lease: kind: "Lease" = "Lease" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: LeaseSpec diff --git a/k8s/1.15/api/coordination/v1/lease_list.k b/k8s/1.15/api/coordination/v1/lease_list.k index bf3ade50..9da499ad 100644 --- a/k8s/1.15/api/coordination/v1/lease_list.k +++ b/k8s/1.15/api/coordination/v1/lease_list.k @@ -3,7 +3,7 @@ This is the lease_list module in k8s.api.coordination.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LeaseList: @@ -18,7 +18,7 @@ schema LeaseList: Items is a list of schema objects. kind : str, default is "LeaseList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema LeaseList: kind: "LeaseList" = "LeaseList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/api/coordination/v1beta1/lease.k b/k8s/1.15/api/coordination/v1beta1/lease.k index bf7ab0ad..f65f7c90 100644 --- a/k8s/1.15/api/coordination/v1beta1/lease.k +++ b/k8s/1.15/api/coordination/v1beta1/lease.k @@ -3,7 +3,7 @@ This is the lease module in k8s.api.coordination.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Lease: @@ -16,7 +16,7 @@ schema Lease: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "Lease", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata spec : LeaseSpec, default is Undefined, optional Specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Lease: kind: "Lease" = "Lease" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: LeaseSpec diff --git a/k8s/1.15/api/coordination/v1beta1/lease_list.k b/k8s/1.15/api/coordination/v1beta1/lease_list.k index f7a3d4f9..63658520 100644 --- a/k8s/1.15/api/coordination/v1beta1/lease_list.k +++ b/k8s/1.15/api/coordination/v1beta1/lease_list.k @@ -3,7 +3,7 @@ This is the lease_list module in k8s.api.coordination.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LeaseList: @@ -18,7 +18,7 @@ schema LeaseList: Items is a list of schema objects. kind : str, default is "LeaseList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema LeaseList: kind: "LeaseList" = "LeaseList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/api/core/v1/binding.k b/k8s/1.15/api/core/v1/binding.k index 29f4017f..9848c222 100644 --- a/k8s/1.15/api/core/v1/binding.k +++ b/k8s/1.15/api/core/v1/binding.k @@ -3,7 +3,7 @@ This is the binding module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Binding: @@ -16,7 +16,7 @@ schema Binding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "Binding", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata target : ObjectReference, default is Undefined, required The target object that you want to bind to the standard object. @@ -27,7 +27,7 @@ schema Binding: kind: "Binding" = "Binding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta target: ObjectReference diff --git a/k8s/1.15/api/core/v1/component_status.k b/k8s/1.15/api/core/v1/component_status.k index 0aa0a973..063f6332 100644 --- a/k8s/1.15/api/core/v1/component_status.k +++ b/k8s/1.15/api/core/v1/component_status.k @@ -3,7 +3,7 @@ This is the component_status module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ComponentStatus: @@ -18,7 +18,7 @@ schema ComponentStatus: List of component conditions observed kind : str, default is "ComponentStatus", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema ComponentStatus: kind: "ComponentStatus" = "ComponentStatus" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta diff --git a/k8s/1.15/api/core/v1/component_status_list.k b/k8s/1.15/api/core/v1/component_status_list.k index 9695a5c8..9065ea5c 100644 --- a/k8s/1.15/api/core/v1/component_status_list.k +++ b/k8s/1.15/api/core/v1/component_status_list.k @@ -3,7 +3,7 @@ This is the component_status_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ComponentStatusList: @@ -18,7 +18,7 @@ schema ComponentStatusList: List of ComponentStatus objects. kind : str, default is "ComponentStatusList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ComponentStatusList: kind: "ComponentStatusList" = "ComponentStatusList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/api/core/v1/config_map.k b/k8s/1.15/api/core/v1/config_map.k index 429db440..4eb238d2 100644 --- a/k8s/1.15/api/core/v1/config_map.k +++ b/k8s/1.15/api/core/v1/config_map.k @@ -3,7 +3,7 @@ This is the config_map module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ConfigMap: @@ -20,7 +20,7 @@ schema ConfigMap: Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process. kind : str, default is "ConfigMap", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata """ @@ -33,6 +33,6 @@ schema ConfigMap: kind: "ConfigMap" = "ConfigMap" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta diff --git a/k8s/1.15/api/core/v1/config_map_list.k b/k8s/1.15/api/core/v1/config_map_list.k index a942bc10..c3e3520a 100644 --- a/k8s/1.15/api/core/v1/config_map_list.k +++ b/k8s/1.15/api/core/v1/config_map_list.k @@ -3,7 +3,7 @@ This is the config_map_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ConfigMapList: @@ -18,7 +18,7 @@ schema ConfigMapList: Items is the list of ConfigMaps. kind : str, default is "ConfigMapList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema ConfigMapList: kind: "ConfigMapList" = "ConfigMapList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/api/core/v1/endpoints.k b/k8s/1.15/api/core/v1/endpoints.k index 98b8cff3..38d094af 100644 --- a/k8s/1.15/api/core/v1/endpoints.k +++ b/k8s/1.15/api/core/v1/endpoints.k @@ -3,7 +3,7 @@ This is the endpoints module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Endpoints: @@ -27,7 +27,7 @@ schema Endpoints: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "Endpoints", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata subsets : [EndpointSubset], default is Undefined, optional The set of all endpoints is the union of all subsets. Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service. @@ -38,7 +38,7 @@ schema Endpoints: kind: "Endpoints" = "Endpoints" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta subsets?: [EndpointSubset] diff --git a/k8s/1.15/api/core/v1/endpoints_list.k b/k8s/1.15/api/core/v1/endpoints_list.k index 78656fd0..c15013ad 100644 --- a/k8s/1.15/api/core/v1/endpoints_list.k +++ b/k8s/1.15/api/core/v1/endpoints_list.k @@ -3,7 +3,7 @@ This is the endpoints_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EndpointsList: @@ -18,7 +18,7 @@ schema EndpointsList: List of endpoints. kind : str, default is "EndpointsList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema EndpointsList: kind: "EndpointsList" = "EndpointsList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/api/core/v1/event.k b/k8s/1.15/api/core/v1/event.k index 9c165215..4e5c2da3 100644 --- a/k8s/1.15/api/core/v1/event.k +++ b/k8s/1.15/api/core/v1/event.k @@ -3,7 +3,7 @@ This is the event module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Event: @@ -30,7 +30,7 @@ schema Event: The time at which the most recent occurrence of this event was recorded. message : str, default is Undefined, optional A human-readable description of the status of this operation. - metadata : v1.ObjectMeta, default is Undefined, required + metadata : metav1.ObjectMeta, default is Undefined, required Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata reason : str, default is Undefined, optional This should be a short, machine understandable string that gives the reason for the transition into the object's current status. @@ -67,7 +67,7 @@ schema Event: message?: str - metadata: v1.ObjectMeta + metadata: metav1.ObjectMeta reason?: str diff --git a/k8s/1.15/api/core/v1/event_list.k b/k8s/1.15/api/core/v1/event_list.k index d4a2e0db..4b9578bf 100644 --- a/k8s/1.15/api/core/v1/event_list.k +++ b/k8s/1.15/api/core/v1/event_list.k @@ -3,7 +3,7 @@ This is the event_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EventList: @@ -18,7 +18,7 @@ schema EventList: List of events kind : str, default is "EventList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema EventList: kind: "EventList" = "EventList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/api/core/v1/limit_range.k b/k8s/1.15/api/core/v1/limit_range.k index 370e2909..81359ae1 100644 --- a/k8s/1.15/api/core/v1/limit_range.k +++ b/k8s/1.15/api/core/v1/limit_range.k @@ -3,7 +3,7 @@ This is the limit_range module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LimitRange: @@ -16,7 +16,7 @@ schema LimitRange: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "LimitRange", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata spec : LimitRangeSpec, default is Undefined, optional Spec defines the limits enforced. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema LimitRange: kind: "LimitRange" = "LimitRange" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: LimitRangeSpec diff --git a/k8s/1.15/api/core/v1/limit_range_list.k b/k8s/1.15/api/core/v1/limit_range_list.k index 33e3d6cb..8c222355 100644 --- a/k8s/1.15/api/core/v1/limit_range_list.k +++ b/k8s/1.15/api/core/v1/limit_range_list.k @@ -3,7 +3,7 @@ This is the limit_range_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LimitRangeList: @@ -18,7 +18,7 @@ schema LimitRangeList: Items is a list of LimitRange objects. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ kind : str, default is "LimitRangeList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema LimitRangeList: kind: "LimitRangeList" = "LimitRangeList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/api/core/v1/namespace.k b/k8s/1.15/api/core/v1/namespace.k index d5cb63dc..cd142461 100644 --- a/k8s/1.15/api/core/v1/namespace.k +++ b/k8s/1.15/api/core/v1/namespace.k @@ -3,7 +3,7 @@ This is the namespace module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Namespace: @@ -16,7 +16,7 @@ schema Namespace: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "Namespace", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata spec : NamespaceSpec, default is Undefined, optional Spec defines the behavior of the Namespace. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Namespace: kind: "Namespace" = "Namespace" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: NamespaceSpec diff --git a/k8s/1.15/api/core/v1/namespace_list.k b/k8s/1.15/api/core/v1/namespace_list.k index f8af6bb8..f8125dbc 100644 --- a/k8s/1.15/api/core/v1/namespace_list.k +++ b/k8s/1.15/api/core/v1/namespace_list.k @@ -3,7 +3,7 @@ This is the namespace_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NamespaceList: @@ -18,7 +18,7 @@ schema NamespaceList: Items is the list of Namespace objects in the list. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ kind : str, default is "NamespaceList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema NamespaceList: kind: "NamespaceList" = "NamespaceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/api/core/v1/node.k b/k8s/1.15/api/core/v1/node.k index c21aef91..38a31bd0 100644 --- a/k8s/1.15/api/core/v1/node.k +++ b/k8s/1.15/api/core/v1/node.k @@ -3,7 +3,7 @@ This is the node module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Node: @@ -16,7 +16,7 @@ schema Node: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "Node", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata spec : NodeSpec, default is Undefined, optional Spec defines the behavior of a node. https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Node: kind: "Node" = "Node" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: NodeSpec diff --git a/k8s/1.15/api/core/v1/node_list.k b/k8s/1.15/api/core/v1/node_list.k index 16ed9bd5..bf3bcf8e 100644 --- a/k8s/1.15/api/core/v1/node_list.k +++ b/k8s/1.15/api/core/v1/node_list.k @@ -3,7 +3,7 @@ This is the node_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NodeList: @@ -18,7 +18,7 @@ schema NodeList: List of nodes kind : str, default is "NodeList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema NodeList: kind: "NodeList" = "NodeList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/api/core/v1/persistent_volume.k b/k8s/1.15/api/core/v1/persistent_volume.k index 5a6e80f9..c753021e 100644 --- a/k8s/1.15/api/core/v1/persistent_volume.k +++ b/k8s/1.15/api/core/v1/persistent_volume.k @@ -3,7 +3,7 @@ This is the persistent_volume module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolume: @@ -16,7 +16,7 @@ schema PersistentVolume: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "PersistentVolume", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata spec : PersistentVolumeSpec, default is Undefined, optional Spec defines a specification of a persistent volume owned by the cluster. Provisioned by an administrator. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes @@ -27,7 +27,7 @@ schema PersistentVolume: kind: "PersistentVolume" = "PersistentVolume" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PersistentVolumeSpec diff --git a/k8s/1.15/api/core/v1/persistent_volume_claim.k b/k8s/1.15/api/core/v1/persistent_volume_claim.k index 842b91cd..a1550581 100644 --- a/k8s/1.15/api/core/v1/persistent_volume_claim.k +++ b/k8s/1.15/api/core/v1/persistent_volume_claim.k @@ -3,7 +3,7 @@ This is the persistent_volume_claim module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeClaim: @@ -16,7 +16,7 @@ schema PersistentVolumeClaim: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "PersistentVolumeClaim", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata spec : PersistentVolumeClaimSpec, default is Undefined, optional Spec defines the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims @@ -27,7 +27,7 @@ schema PersistentVolumeClaim: kind: "PersistentVolumeClaim" = "PersistentVolumeClaim" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PersistentVolumeClaimSpec diff --git a/k8s/1.15/api/core/v1/persistent_volume_claim_list.k b/k8s/1.15/api/core/v1/persistent_volume_claim_list.k index 22ae4f05..b830d270 100644 --- a/k8s/1.15/api/core/v1/persistent_volume_claim_list.k +++ b/k8s/1.15/api/core/v1/persistent_volume_claim_list.k @@ -3,7 +3,7 @@ This is the persistent_volume_claim_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeClaimList: @@ -18,7 +18,7 @@ schema PersistentVolumeClaimList: A list of persistent volume claims. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims kind : str, default is "PersistentVolumeClaimList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema PersistentVolumeClaimList: kind: "PersistentVolumeClaimList" = "PersistentVolumeClaimList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/api/core/v1/persistent_volume_claim_spec.k b/k8s/1.15/api/core/v1/persistent_volume_claim_spec.k index 84fa2f96..dda42b7c 100644 --- a/k8s/1.15/api/core/v1/persistent_volume_claim_spec.k +++ b/k8s/1.15/api/core/v1/persistent_volume_claim_spec.k @@ -3,7 +3,7 @@ This is the persistent_volume_claim_spec module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeClaimSpec: @@ -18,7 +18,7 @@ schema PersistentVolumeClaimSpec: This field requires the VolumeSnapshotDataSource alpha feature gate to be enabled and currently VolumeSnapshot is the only supported data source. If the provisioner can support VolumeSnapshot data source, it will create a new volume and data will be restored to the volume at the same time. If the provisioner does not support VolumeSnapshot data source, volume will not be created and the failure will be reported as an event. In the future, we plan to support more data source types and the behavior of the provisioner may change. resources : ResourceRequirements, default is Undefined, optional Resources represents the minimum resources the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional A label query over volumes to consider for binding. storageClassName : str, default is Undefined, optional Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1 @@ -35,7 +35,7 @@ schema PersistentVolumeClaimSpec: resources?: ResourceRequirements - selector?: v1.LabelSelector + selector?: metav1.LabelSelector storageClassName?: str diff --git a/k8s/1.15/api/core/v1/persistent_volume_list.k b/k8s/1.15/api/core/v1/persistent_volume_list.k index 1af138ab..1da99be3 100644 --- a/k8s/1.15/api/core/v1/persistent_volume_list.k +++ b/k8s/1.15/api/core/v1/persistent_volume_list.k @@ -3,7 +3,7 @@ This is the persistent_volume_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeList: @@ -18,7 +18,7 @@ schema PersistentVolumeList: List of persistent volumes. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes kind : str, default is "PersistentVolumeList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema PersistentVolumeList: kind: "PersistentVolumeList" = "PersistentVolumeList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/api/core/v1/pod.k b/k8s/1.15/api/core/v1/pod.k index cab74fb3..c8c0f953 100644 --- a/k8s/1.15/api/core/v1/pod.k +++ b/k8s/1.15/api/core/v1/pod.k @@ -3,7 +3,7 @@ This is the pod module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Pod: @@ -16,7 +16,7 @@ schema Pod: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "Pod", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata spec : PodSpec, default is Undefined, optional Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Pod: kind: "Pod" = "Pod" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PodSpec diff --git a/k8s/1.15/api/core/v1/pod_affinity_term.k b/k8s/1.15/api/core/v1/pod_affinity_term.k index dccd6ef9..0cbd595d 100644 --- a/k8s/1.15/api/core/v1/pod_affinity_term.k +++ b/k8s/1.15/api/core/v1/pod_affinity_term.k @@ -3,7 +3,7 @@ This is the pod_affinity_term module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodAffinityTerm: @@ -12,7 +12,7 @@ schema PodAffinityTerm: Attributes ---------- - labelSelector : v1.LabelSelector, default is Undefined, optional + labelSelector : metav1.LabelSelector, default is Undefined, optional A label query over a set of resources, in this case pods. namespaces : [str], default is Undefined, optional namespaces specifies which namespaces the labelSelector applies to (matches against); null or empty list means "this pod's namespace" @@ -21,7 +21,7 @@ schema PodAffinityTerm: """ - labelSelector?: v1.LabelSelector + labelSelector?: metav1.LabelSelector namespaces?: [str] diff --git a/k8s/1.15/api/core/v1/pod_list.k b/k8s/1.15/api/core/v1/pod_list.k index eaf05cba..7ae68580 100644 --- a/k8s/1.15/api/core/v1/pod_list.k +++ b/k8s/1.15/api/core/v1/pod_list.k @@ -3,7 +3,7 @@ This is the pod_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodList: @@ -18,7 +18,7 @@ schema PodList: List of pods. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md kind : str, default is "PodList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema PodList: kind: "PodList" = "PodList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/api/core/v1/pod_template.k b/k8s/1.15/api/core/v1/pod_template.k index efec9e75..fa6272d1 100644 --- a/k8s/1.15/api/core/v1/pod_template.k +++ b/k8s/1.15/api/core/v1/pod_template.k @@ -3,7 +3,7 @@ This is the pod_template module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodTemplate: @@ -16,7 +16,7 @@ schema PodTemplate: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "PodTemplate", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata template : PodTemplateSpec, default is Undefined, optional Template defines the pods that will be created from this pod template. https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema PodTemplate: kind: "PodTemplate" = "PodTemplate" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta template?: PodTemplateSpec diff --git a/k8s/1.15/api/core/v1/pod_template_list.k b/k8s/1.15/api/core/v1/pod_template_list.k index d6e1dd5d..4ddf2533 100644 --- a/k8s/1.15/api/core/v1/pod_template_list.k +++ b/k8s/1.15/api/core/v1/pod_template_list.k @@ -3,7 +3,7 @@ This is the pod_template_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodTemplateList: @@ -18,7 +18,7 @@ schema PodTemplateList: List of pod templates kind : str, default is "PodTemplateList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema PodTemplateList: kind: "PodTemplateList" = "PodTemplateList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/api/core/v1/pod_template_spec.k b/k8s/1.15/api/core/v1/pod_template_spec.k index d31816fd..b1ab6345 100644 --- a/k8s/1.15/api/core/v1/pod_template_spec.k +++ b/k8s/1.15/api/core/v1/pod_template_spec.k @@ -3,7 +3,7 @@ This is the pod_template_spec module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodTemplateSpec: @@ -12,14 +12,14 @@ schema PodTemplateSpec: Attributes ---------- - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata spec : PodSpec, default is Undefined, optional Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status """ - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PodSpec diff --git a/k8s/1.15/api/core/v1/replication_controller.k b/k8s/1.15/api/core/v1/replication_controller.k index 0898199d..11eab227 100644 --- a/k8s/1.15/api/core/v1/replication_controller.k +++ b/k8s/1.15/api/core/v1/replication_controller.k @@ -3,7 +3,7 @@ This is the replication_controller module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicationController: @@ -16,7 +16,7 @@ schema ReplicationController: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "ReplicationController", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional If the Labels of a ReplicationController are empty, they are defaulted to be the same as the Pod(s) that the replication controller manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata spec : ReplicationControllerSpec, default is Undefined, optional Spec defines the specification of the desired behavior of the replication controller. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema ReplicationController: kind: "ReplicationController" = "ReplicationController" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ReplicationControllerSpec diff --git a/k8s/1.15/api/core/v1/replication_controller_list.k b/k8s/1.15/api/core/v1/replication_controller_list.k index 3d53c175..6bdb3689 100644 --- a/k8s/1.15/api/core/v1/replication_controller_list.k +++ b/k8s/1.15/api/core/v1/replication_controller_list.k @@ -3,7 +3,7 @@ This is the replication_controller_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicationControllerList: @@ -18,7 +18,7 @@ schema ReplicationControllerList: List of replication controllers. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller kind : str, default is "ReplicationControllerList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ReplicationControllerList: kind: "ReplicationControllerList" = "ReplicationControllerList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/api/core/v1/resource_quota.k b/k8s/1.15/api/core/v1/resource_quota.k index 9c165e08..8b03a700 100644 --- a/k8s/1.15/api/core/v1/resource_quota.k +++ b/k8s/1.15/api/core/v1/resource_quota.k @@ -3,7 +3,7 @@ This is the resource_quota module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceQuota: @@ -16,7 +16,7 @@ schema ResourceQuota: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "ResourceQuota", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata spec : ResourceQuotaSpec, default is Undefined, optional Spec defines the desired quota. https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema ResourceQuota: kind: "ResourceQuota" = "ResourceQuota" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ResourceQuotaSpec diff --git a/k8s/1.15/api/core/v1/resource_quota_list.k b/k8s/1.15/api/core/v1/resource_quota_list.k index c446c9a7..ee4d5bbe 100644 --- a/k8s/1.15/api/core/v1/resource_quota_list.k +++ b/k8s/1.15/api/core/v1/resource_quota_list.k @@ -3,7 +3,7 @@ This is the resource_quota_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceQuotaList: @@ -18,7 +18,7 @@ schema ResourceQuotaList: Items is a list of ResourceQuota objects. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/ kind : str, default is "ResourceQuotaList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ResourceQuotaList: kind: "ResourceQuotaList" = "ResourceQuotaList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/api/core/v1/secret.k b/k8s/1.15/api/core/v1/secret.k index df129553..114ea20f 100644 --- a/k8s/1.15/api/core/v1/secret.k +++ b/k8s/1.15/api/core/v1/secret.k @@ -3,7 +3,7 @@ This is the secret module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Secret: @@ -18,7 +18,7 @@ schema Secret: Data contains the secret data. Each key must consist of alphanumeric characters, '-', '_' or '.'. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4 kind : str, default is "Secret", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata stringData : {str:str}, default is Undefined, optional stringData allows specifying non-binary secret data in string form. It is provided as a write-only convenience method. All keys and values are merged into the data field on write, overwriting any existing values. It is never output when reading from the API. @@ -33,7 +33,7 @@ schema Secret: kind: "Secret" = "Secret" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta stringData?: {str:str} diff --git a/k8s/1.15/api/core/v1/secret_list.k b/k8s/1.15/api/core/v1/secret_list.k index 34a09142..7a43d2e8 100644 --- a/k8s/1.15/api/core/v1/secret_list.k +++ b/k8s/1.15/api/core/v1/secret_list.k @@ -3,7 +3,7 @@ This is the secret_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SecretList: @@ -18,7 +18,7 @@ schema SecretList: Items is a list of secret objects. More info: https://kubernetes.io/docs/concepts/configuration/secret kind : str, default is "SecretList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema SecretList: kind: "SecretList" = "SecretList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/api/core/v1/service.k b/k8s/1.15/api/core/v1/service.k index 8417d160..f5a65e8b 100644 --- a/k8s/1.15/api/core/v1/service.k +++ b/k8s/1.15/api/core/v1/service.k @@ -3,7 +3,7 @@ This is the service module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Service: @@ -16,7 +16,7 @@ schema Service: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "Service", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata spec : ServiceSpec, default is Undefined, optional Spec defines the behavior of a service. https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Service: kind: "Service" = "Service" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ServiceSpec diff --git a/k8s/1.15/api/core/v1/service_account.k b/k8s/1.15/api/core/v1/service_account.k index 861b4721..65b2d394 100644 --- a/k8s/1.15/api/core/v1/service_account.k +++ b/k8s/1.15/api/core/v1/service_account.k @@ -3,7 +3,7 @@ This is the service_account module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ServiceAccount: @@ -20,7 +20,7 @@ schema ServiceAccount: ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod kind : str, default is "ServiceAccount", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata secrets : [ObjectReference], default is Undefined, optional Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount. More info: https://kubernetes.io/docs/concepts/configuration/secret @@ -35,7 +35,7 @@ schema ServiceAccount: kind: "ServiceAccount" = "ServiceAccount" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta secrets?: [ObjectReference] diff --git a/k8s/1.15/api/core/v1/service_account_list.k b/k8s/1.15/api/core/v1/service_account_list.k index ba3e08cf..f4c8effb 100644 --- a/k8s/1.15/api/core/v1/service_account_list.k +++ b/k8s/1.15/api/core/v1/service_account_list.k @@ -3,7 +3,7 @@ This is the service_account_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ServiceAccountList: @@ -18,7 +18,7 @@ schema ServiceAccountList: List of ServiceAccounts. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ kind : str, default is "ServiceAccountList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ServiceAccountList: kind: "ServiceAccountList" = "ServiceAccountList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/api/core/v1/service_list.k b/k8s/1.15/api/core/v1/service_list.k index b42928c0..3c6ab10d 100644 --- a/k8s/1.15/api/core/v1/service_list.k +++ b/k8s/1.15/api/core/v1/service_list.k @@ -3,7 +3,7 @@ This is the service_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ServiceList: @@ -18,7 +18,7 @@ schema ServiceList: List of services kind : str, default is "ServiceList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ServiceList: kind: "ServiceList" = "ServiceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/api/events/v1beta1/event_list.k b/k8s/1.15/api/events/v1beta1/event_list.k index 62ef7788..67bcf903 100644 --- a/k8s/1.15/api/events/v1beta1/event_list.k +++ b/k8s/1.15/api/events/v1beta1/event_list.k @@ -3,7 +3,7 @@ This is the event_list module in k8s.api.events.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EventList: @@ -18,7 +18,7 @@ schema EventList: Items is a list of schema objects. kind : str, default is "EventList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema EventList: kind: "EventList" = "EventList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/api/extensions/v1beta1/daemon_set.k b/k8s/1.15/api/extensions/v1beta1/daemon_set.k index f56a48ea..5b0d3d5f 100644 --- a/k8s/1.15/api/extensions/v1beta1/daemon_set.k +++ b/k8s/1.15/api/extensions/v1beta1/daemon_set.k @@ -3,7 +3,7 @@ This is the daemon_set module in k8s.api.extensions.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DaemonSet: @@ -16,7 +16,7 @@ schema DaemonSet: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "DaemonSet", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : DaemonSetSpec, default is Undefined, optional The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema DaemonSet: kind: "DaemonSet" = "DaemonSet" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: DaemonSetSpec diff --git a/k8s/1.15/api/extensions/v1beta1/daemon_set_list.k b/k8s/1.15/api/extensions/v1beta1/daemon_set_list.k index 462e7e51..0b534432 100644 --- a/k8s/1.15/api/extensions/v1beta1/daemon_set_list.k +++ b/k8s/1.15/api/extensions/v1beta1/daemon_set_list.k @@ -3,7 +3,7 @@ This is the daemon_set_list module in k8s.api.extensions.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DaemonSetList: @@ -18,7 +18,7 @@ schema DaemonSetList: A list of daemon sets. kind : str, default is "DaemonSetList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema DaemonSetList: kind: "DaemonSetList" = "DaemonSetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/api/extensions/v1beta1/daemon_set_spec.k b/k8s/1.15/api/extensions/v1beta1/daemon_set_spec.k index 5deae760..d535be44 100644 --- a/k8s/1.15/api/extensions/v1beta1/daemon_set_spec.k +++ b/k8s/1.15/api/extensions/v1beta1/daemon_set_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DaemonSetSpec: @@ -17,7 +17,7 @@ schema DaemonSetSpec: The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready). revisionHistoryLimit : int, default is Undefined, optional The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional A label query over pods that are managed by the daemon set. Must match in order to be controlled. If empty, defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors template : corev1.PodTemplateSpec, default is Undefined, required An object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template @@ -32,7 +32,7 @@ schema DaemonSetSpec: revisionHistoryLimit?: int - selector?: v1.LabelSelector + selector?: metav1.LabelSelector template: corev1.PodTemplateSpec diff --git a/k8s/1.15/api/extensions/v1beta1/deployment.k b/k8s/1.15/api/extensions/v1beta1/deployment.k index a6b0d5b4..cf6ea8f5 100644 --- a/k8s/1.15/api/extensions/v1beta1/deployment.k +++ b/k8s/1.15/api/extensions/v1beta1/deployment.k @@ -3,7 +3,7 @@ This is the deployment module in k8s.api.extensions.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Deployment: @@ -16,7 +16,7 @@ schema Deployment: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "Deployment", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. spec : DeploymentSpec, default is Undefined, optional Specification of the desired behavior of the Deployment. @@ -27,7 +27,7 @@ schema Deployment: kind: "Deployment" = "Deployment" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: DeploymentSpec diff --git a/k8s/1.15/api/extensions/v1beta1/deployment_list.k b/k8s/1.15/api/extensions/v1beta1/deployment_list.k index 01e9d647..86f6bdda 100644 --- a/k8s/1.15/api/extensions/v1beta1/deployment_list.k +++ b/k8s/1.15/api/extensions/v1beta1/deployment_list.k @@ -3,7 +3,7 @@ This is the deployment_list module in k8s.api.extensions.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DeploymentList: @@ -18,7 +18,7 @@ schema DeploymentList: Items is the list of Deployments. kind : str, default is "DeploymentList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema DeploymentList: kind: "DeploymentList" = "DeploymentList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/api/extensions/v1beta1/deployment_spec.k b/k8s/1.15/api/extensions/v1beta1/deployment_spec.k index b6c56ad6..0d2bf737 100644 --- a/k8s/1.15/api/extensions/v1beta1/deployment_spec.k +++ b/k8s/1.15/api/extensions/v1beta1/deployment_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DeploymentSpec: @@ -25,7 +25,7 @@ schema DeploymentSpec: The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. This is set to the max value of int32 (i.e. 2147483647) by default, which means "retaining all old RelicaSets". rollbackTo : RollbackConfig, default is Undefined, optional DEPRECATED. The config this deployment is rolling back to. Will be cleared after rollback is done. - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. strategy : DeploymentStrategy, default is Undefined, optional The deployment strategy to use to replace existing pods with new ones. @@ -46,7 +46,7 @@ schema DeploymentSpec: rollbackTo?: RollbackConfig - selector?: v1.LabelSelector + selector?: metav1.LabelSelector strategy?: DeploymentStrategy diff --git a/k8s/1.15/api/extensions/v1beta1/ingress.k b/k8s/1.15/api/extensions/v1beta1/ingress.k index 12051fd5..ef081c49 100644 --- a/k8s/1.15/api/extensions/v1beta1/ingress.k +++ b/k8s/1.15/api/extensions/v1beta1/ingress.k @@ -3,7 +3,7 @@ This is the ingress module in k8s.api.extensions.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Ingress: @@ -16,7 +16,7 @@ schema Ingress: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "Ingress", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : IngressSpec, default is Undefined, optional Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Ingress: kind: "Ingress" = "Ingress" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: IngressSpec diff --git a/k8s/1.15/api/extensions/v1beta1/ingress_list.k b/k8s/1.15/api/extensions/v1beta1/ingress_list.k index 335cdbb5..9bb5765a 100644 --- a/k8s/1.15/api/extensions/v1beta1/ingress_list.k +++ b/k8s/1.15/api/extensions/v1beta1/ingress_list.k @@ -3,7 +3,7 @@ This is the ingress_list module in k8s.api.extensions.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema IngressList: @@ -18,7 +18,7 @@ schema IngressList: Items is the list of Ingress. kind : str, default is "IngressList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema IngressList: kind: "IngressList" = "IngressList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/api/extensions/v1beta1/network_policy.k b/k8s/1.15/api/extensions/v1beta1/network_policy.k index 404952df..11cec39d 100644 --- a/k8s/1.15/api/extensions/v1beta1/network_policy.k +++ b/k8s/1.15/api/extensions/v1beta1/network_policy.k @@ -3,7 +3,7 @@ This is the network_policy module in k8s.api.extensions.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicy: @@ -16,7 +16,7 @@ schema NetworkPolicy: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "NetworkPolicy", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : NetworkPolicySpec, default is Undefined, optional Specification of the desired behavior for this NetworkPolicy. @@ -27,7 +27,7 @@ schema NetworkPolicy: kind: "NetworkPolicy" = "NetworkPolicy" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: NetworkPolicySpec diff --git a/k8s/1.15/api/extensions/v1beta1/network_policy_list.k b/k8s/1.15/api/extensions/v1beta1/network_policy_list.k index 24b58b8e..f1b98ffa 100644 --- a/k8s/1.15/api/extensions/v1beta1/network_policy_list.k +++ b/k8s/1.15/api/extensions/v1beta1/network_policy_list.k @@ -3,7 +3,7 @@ This is the network_policy_list module in k8s.api.extensions.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicyList: @@ -18,7 +18,7 @@ schema NetworkPolicyList: Items is a list of schema objects. kind : str, default is "NetworkPolicyList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema NetworkPolicyList: kind: "NetworkPolicyList" = "NetworkPolicyList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/api/extensions/v1beta1/network_policy_peer.k b/k8s/1.15/api/extensions/v1beta1/network_policy_peer.k index 073bd5ec..5d09be52 100644 --- a/k8s/1.15/api/extensions/v1beta1/network_policy_peer.k +++ b/k8s/1.15/api/extensions/v1beta1/network_policy_peer.k @@ -3,7 +3,7 @@ This is the network_policy_peer module in k8s.api.extensions.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicyPeer: @@ -14,11 +14,11 @@ schema NetworkPolicyPeer: ---------- ipBlock : IPBlock, default is Undefined, optional IPBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional Selects Namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces. If PodSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects all Pods in the Namespaces selected by NamespaceSelector. - podSelector : v1.LabelSelector, default is Undefined, optional + podSelector : metav1.LabelSelector, default is Undefined, optional This is a label selector which selects Pods. This field follows standard label selector semantics; if present but empty, it selects all pods. If NamespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the Pods matching PodSelector in the policy's own Namespace. @@ -27,8 +27,8 @@ schema NetworkPolicyPeer: ipBlock?: IPBlock - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector - podSelector?: v1.LabelSelector + podSelector?: metav1.LabelSelector diff --git a/k8s/1.15/api/extensions/v1beta1/network_policy_spec.k b/k8s/1.15/api/extensions/v1beta1/network_policy_spec.k index ecb6da25..de38d78d 100644 --- a/k8s/1.15/api/extensions/v1beta1/network_policy_spec.k +++ b/k8s/1.15/api/extensions/v1beta1/network_policy_spec.k @@ -3,7 +3,7 @@ This is the network_policy_spec module in k8s.api.extensions.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicySpec: @@ -16,7 +16,7 @@ schema NetworkPolicySpec: List of egress rules to be applied to the selected pods. Outgoing traffic is allowed if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic matches at least one egress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy limits all outgoing traffic (and serves solely to ensure that the pods it selects are isolated by default). This field is beta-level in 1.8 ingress : [NetworkPolicyIngressRule], default is Undefined, optional List of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if there are no NetworkPolicies selecting the pod OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not allow any traffic (and serves solely to ensure that the pods it selects are isolated by default). - podSelector : v1.LabelSelector, default is Undefined, required + podSelector : metav1.LabelSelector, default is Undefined, required Selects the pods to which this NetworkPolicy object applies. The array of ingress rules is applied to any pods selected by this field. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is NOT optional and follows standard label selector semantics. An empty podSelector matches all pods in this namespace. policyTypes : [str], default is Undefined, optional List of rule types that the NetworkPolicy relates to. Valid options are "Ingress", "Egress", or "Ingress,Egress". If this field is not specified, it will default based on the existence of Ingress or Egress rules; policies that contain an Egress section are assumed to affect Egress, and all policies (whether or not they contain an Ingress section) are assumed to affect Ingress. If you want to write an egress-only policy, you must explicitly specify policyTypes [ "Egress" ]. Likewise, if you want to write a policy that specifies that no egress is allowed, you must specify a policyTypes value that include "Egress" (since such a policy would not include an Egress section and would otherwise default to just [ "Ingress" ]). This field is beta-level in 1.8 @@ -27,7 +27,7 @@ schema NetworkPolicySpec: ingress?: [NetworkPolicyIngressRule] - podSelector: v1.LabelSelector + podSelector: metav1.LabelSelector policyTypes?: [str] diff --git a/k8s/1.15/api/extensions/v1beta1/pod_security_policy.k b/k8s/1.15/api/extensions/v1beta1/pod_security_policy.k index 31ca0e79..a61017f3 100644 --- a/k8s/1.15/api/extensions/v1beta1/pod_security_policy.k +++ b/k8s/1.15/api/extensions/v1beta1/pod_security_policy.k @@ -3,7 +3,7 @@ This is the pod_security_policy module in k8s.api.extensions.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodSecurityPolicy: @@ -16,7 +16,7 @@ schema PodSecurityPolicy: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "PodSecurityPolicy", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PodSecurityPolicySpec, default is Undefined, optional spec defines the policy enforced. @@ -27,7 +27,7 @@ schema PodSecurityPolicy: kind: "PodSecurityPolicy" = "PodSecurityPolicy" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PodSecurityPolicySpec diff --git a/k8s/1.15/api/extensions/v1beta1/pod_security_policy_list.k b/k8s/1.15/api/extensions/v1beta1/pod_security_policy_list.k index 6fbf1b1d..c9732acd 100644 --- a/k8s/1.15/api/extensions/v1beta1/pod_security_policy_list.k +++ b/k8s/1.15/api/extensions/v1beta1/pod_security_policy_list.k @@ -3,7 +3,7 @@ This is the pod_security_policy_list module in k8s.api.extensions.v1beta1 packag This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodSecurityPolicyList: @@ -18,7 +18,7 @@ schema PodSecurityPolicyList: items is a list of schema objects. kind : str, default is "PodSecurityPolicyList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PodSecurityPolicyList: kind: "PodSecurityPolicyList" = "PodSecurityPolicyList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/api/extensions/v1beta1/replica_set.k b/k8s/1.15/api/extensions/v1beta1/replica_set.k index 8785f8de..796e4821 100644 --- a/k8s/1.15/api/extensions/v1beta1/replica_set.k +++ b/k8s/1.15/api/extensions/v1beta1/replica_set.k @@ -3,7 +3,7 @@ This is the replica_set module in k8s.api.extensions.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicaSet: @@ -16,7 +16,7 @@ schema ReplicaSet: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "ReplicaSet", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : ReplicaSetSpec, default is Undefined, optional Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema ReplicaSet: kind: "ReplicaSet" = "ReplicaSet" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ReplicaSetSpec diff --git a/k8s/1.15/api/extensions/v1beta1/replica_set_list.k b/k8s/1.15/api/extensions/v1beta1/replica_set_list.k index eee1f712..23f23bf8 100644 --- a/k8s/1.15/api/extensions/v1beta1/replica_set_list.k +++ b/k8s/1.15/api/extensions/v1beta1/replica_set_list.k @@ -3,7 +3,7 @@ This is the replica_set_list module in k8s.api.extensions.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicaSetList: @@ -18,7 +18,7 @@ schema ReplicaSetList: List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller kind : str, default is "ReplicaSetList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ReplicaSetList: kind: "ReplicaSetList" = "ReplicaSetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/api/extensions/v1beta1/replica_set_spec.k b/k8s/1.15/api/extensions/v1beta1/replica_set_spec.k index 9907b96b..f0285e09 100644 --- a/k8s/1.15/api/extensions/v1beta1/replica_set_spec.k +++ b/k8s/1.15/api/extensions/v1beta1/replica_set_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicaSetSpec: @@ -17,7 +17,7 @@ schema ReplicaSetSpec: Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) replicas : int, default is Undefined, optional Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional Selector is a label query over pods that should match the replica count. If the selector is empty, it is defaulted to the labels present on the pod template. Label keys and values that must match in order to be controlled by this replica set. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors template : corev1.PodTemplateSpec, default is Undefined, optional Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template @@ -28,7 +28,7 @@ schema ReplicaSetSpec: replicas?: int - selector?: v1.LabelSelector + selector?: metav1.LabelSelector template?: corev1.PodTemplateSpec diff --git a/k8s/1.15/api/extensions/v1beta1/scale.k b/k8s/1.15/api/extensions/v1beta1/scale.k index a4d8a712..69cc93eb 100644 --- a/k8s/1.15/api/extensions/v1beta1/scale.k +++ b/k8s/1.15/api/extensions/v1beta1/scale.k @@ -3,7 +3,7 @@ This is the scale module in k8s.api.extensions.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Scale: @@ -16,7 +16,7 @@ schema Scale: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "Scale", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. spec : ScaleSpec, default is Undefined, optional defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema Scale: kind: "Scale" = "Scale" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ScaleSpec diff --git a/k8s/1.15/api/networking/v1/network_policy.k b/k8s/1.15/api/networking/v1/network_policy.k index 78e92b23..b6f35296 100644 --- a/k8s/1.15/api/networking/v1/network_policy.k +++ b/k8s/1.15/api/networking/v1/network_policy.k @@ -3,7 +3,7 @@ This is the network_policy module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicy: @@ -16,7 +16,7 @@ schema NetworkPolicy: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "NetworkPolicy", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : NetworkPolicySpec, default is Undefined, optional Specification of the desired behavior for this NetworkPolicy. @@ -27,7 +27,7 @@ schema NetworkPolicy: kind: "NetworkPolicy" = "NetworkPolicy" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: NetworkPolicySpec diff --git a/k8s/1.15/api/networking/v1/network_policy_list.k b/k8s/1.15/api/networking/v1/network_policy_list.k index af2b61f4..281dc596 100644 --- a/k8s/1.15/api/networking/v1/network_policy_list.k +++ b/k8s/1.15/api/networking/v1/network_policy_list.k @@ -3,7 +3,7 @@ This is the network_policy_list module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicyList: @@ -18,7 +18,7 @@ schema NetworkPolicyList: Items is a list of schema objects. kind : str, default is "NetworkPolicyList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema NetworkPolicyList: kind: "NetworkPolicyList" = "NetworkPolicyList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/api/networking/v1/network_policy_peer.k b/k8s/1.15/api/networking/v1/network_policy_peer.k index 14b072d4..ebe8bf73 100644 --- a/k8s/1.15/api/networking/v1/network_policy_peer.k +++ b/k8s/1.15/api/networking/v1/network_policy_peer.k @@ -3,7 +3,7 @@ This is the network_policy_peer module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicyPeer: @@ -14,11 +14,11 @@ schema NetworkPolicyPeer: ---------- ipBlock : IPBlock, default is Undefined, optional IPBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional Selects Namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces. If PodSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects all Pods in the Namespaces selected by NamespaceSelector. - podSelector : v1.LabelSelector, default is Undefined, optional + podSelector : metav1.LabelSelector, default is Undefined, optional This is a label selector which selects Pods. This field follows standard label selector semantics; if present but empty, it selects all pods. If NamespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the Pods matching PodSelector in the policy's own Namespace. @@ -27,8 +27,8 @@ schema NetworkPolicyPeer: ipBlock?: IPBlock - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector - podSelector?: v1.LabelSelector + podSelector?: metav1.LabelSelector diff --git a/k8s/1.15/api/networking/v1/network_policy_spec.k b/k8s/1.15/api/networking/v1/network_policy_spec.k index d730dee3..5a848ef9 100644 --- a/k8s/1.15/api/networking/v1/network_policy_spec.k +++ b/k8s/1.15/api/networking/v1/network_policy_spec.k @@ -3,7 +3,7 @@ This is the network_policy_spec module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicySpec: @@ -16,7 +16,7 @@ schema NetworkPolicySpec: List of egress rules to be applied to the selected pods. Outgoing traffic is allowed if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic matches at least one egress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy limits all outgoing traffic (and serves solely to ensure that the pods it selects are isolated by default). This field is beta-level in 1.8 ingress : [NetworkPolicyIngressRule], default is Undefined, optional List of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not allow any traffic (and serves solely to ensure that the pods it selects are isolated by default) - podSelector : v1.LabelSelector, default is Undefined, required + podSelector : metav1.LabelSelector, default is Undefined, required Selects the pods to which this NetworkPolicy object applies. The array of ingress rules is applied to any pods selected by this field. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is NOT optional and follows standard label selector semantics. An empty podSelector matches all pods in this namespace. policyTypes : [str], default is Undefined, optional List of rule types that the NetworkPolicy relates to. Valid options are "Ingress", "Egress", or "Ingress,Egress". If this field is not specified, it will default based on the existence of Ingress or Egress rules; policies that contain an Egress section are assumed to affect Egress, and all policies (whether or not they contain an Ingress section) are assumed to affect Ingress. If you want to write an egress-only policy, you must explicitly specify policyTypes [ "Egress" ]. Likewise, if you want to write a policy that specifies that no egress is allowed, you must specify a policyTypes value that include "Egress" (since such a policy would not include an Egress section and would otherwise default to just [ "Ingress" ]). This field is beta-level in 1.8 @@ -27,7 +27,7 @@ schema NetworkPolicySpec: ingress?: [NetworkPolicyIngressRule] - podSelector: v1.LabelSelector + podSelector: metav1.LabelSelector policyTypes?: [str] diff --git a/k8s/1.15/api/networking/v1beta1/ingress.k b/k8s/1.15/api/networking/v1beta1/ingress.k index 351ec1b4..03dc4432 100644 --- a/k8s/1.15/api/networking/v1beta1/ingress.k +++ b/k8s/1.15/api/networking/v1beta1/ingress.k @@ -3,7 +3,7 @@ This is the ingress module in k8s.api.networking.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Ingress: @@ -16,7 +16,7 @@ schema Ingress: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "Ingress", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata spec : IngressSpec, default is Undefined, optional Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Ingress: kind: "Ingress" = "Ingress" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: IngressSpec diff --git a/k8s/1.15/api/networking/v1beta1/ingress_list.k b/k8s/1.15/api/networking/v1beta1/ingress_list.k index 1f8b046d..2532d31c 100644 --- a/k8s/1.15/api/networking/v1beta1/ingress_list.k +++ b/k8s/1.15/api/networking/v1beta1/ingress_list.k @@ -3,7 +3,7 @@ This is the ingress_list module in k8s.api.networking.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema IngressList: @@ -18,7 +18,7 @@ schema IngressList: Items is the list of Ingress. kind : str, default is "IngressList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema IngressList: kind: "IngressList" = "IngressList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/api/node/v1alpha1/runtime_class.k b/k8s/1.15/api/node/v1alpha1/runtime_class.k index fad6b376..7c96fd38 100644 --- a/k8s/1.15/api/node/v1alpha1/runtime_class.k +++ b/k8s/1.15/api/node/v1alpha1/runtime_class.k @@ -3,7 +3,7 @@ This is the runtime_class module in k8s.api.node.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RuntimeClass: @@ -16,7 +16,7 @@ schema RuntimeClass: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "RuntimeClass", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata spec : RuntimeClassSpec, default is Undefined, required Specification of the RuntimeClass More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema RuntimeClass: kind: "RuntimeClass" = "RuntimeClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: RuntimeClassSpec diff --git a/k8s/1.15/api/node/v1alpha1/runtime_class_list.k b/k8s/1.15/api/node/v1alpha1/runtime_class_list.k index 4ec2d2b1..34a8f144 100644 --- a/k8s/1.15/api/node/v1alpha1/runtime_class_list.k +++ b/k8s/1.15/api/node/v1alpha1/runtime_class_list.k @@ -3,7 +3,7 @@ This is the runtime_class_list module in k8s.api.node.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RuntimeClassList: @@ -18,7 +18,7 @@ schema RuntimeClassList: Items is a list of schema objects. kind : str, default is "RuntimeClassList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema RuntimeClassList: kind: "RuntimeClassList" = "RuntimeClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/api/node/v1beta1/runtime_class.k b/k8s/1.15/api/node/v1beta1/runtime_class.k index ec7a45cf..3b31db6e 100644 --- a/k8s/1.15/api/node/v1beta1/runtime_class.k +++ b/k8s/1.15/api/node/v1beta1/runtime_class.k @@ -3,7 +3,7 @@ This is the runtime_class module in k8s.api.node.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RuntimeClass: @@ -18,7 +18,7 @@ schema RuntimeClass: Handler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration. It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called "runc" might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The Handler must conform to the DNS Label (RFC 1123) requirements, and is immutable. kind : str, default is "RuntimeClass", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema RuntimeClass: kind: "RuntimeClass" = "RuntimeClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta diff --git a/k8s/1.15/api/node/v1beta1/runtime_class_list.k b/k8s/1.15/api/node/v1beta1/runtime_class_list.k index f1c2994b..d201536e 100644 --- a/k8s/1.15/api/node/v1beta1/runtime_class_list.k +++ b/k8s/1.15/api/node/v1beta1/runtime_class_list.k @@ -3,7 +3,7 @@ This is the runtime_class_list module in k8s.api.node.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RuntimeClassList: @@ -18,7 +18,7 @@ schema RuntimeClassList: Items is a list of schema objects. kind : str, default is "RuntimeClassList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema RuntimeClassList: kind: "RuntimeClassList" = "RuntimeClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/api/policy/v1beta1/eviction.k b/k8s/1.15/api/policy/v1beta1/eviction.k index b0b37e00..90c8739f 100644 --- a/k8s/1.15/api/policy/v1beta1/eviction.k +++ b/k8s/1.15/api/policy/v1beta1/eviction.k @@ -3,7 +3,7 @@ This is the eviction module in k8s.api.policy.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Eviction: @@ -14,21 +14,21 @@ schema Eviction: ---------- apiVersion : str, default is "policy/v1beta1", required APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources - deleteOptions : v1.DeleteOptions, default is Undefined, optional + deleteOptions : metav1.DeleteOptions, default is Undefined, optional DeleteOptions may be provided kind : str, default is "Eviction", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional ObjectMeta describes the pod that is being evicted. """ apiVersion: "policy/v1beta1" = "policy/v1beta1" - deleteOptions?: v1.DeleteOptions + deleteOptions?: metav1.DeleteOptions kind: "Eviction" = "Eviction" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta diff --git a/k8s/1.15/api/policy/v1beta1/pod_disruption_budget.k b/k8s/1.15/api/policy/v1beta1/pod_disruption_budget.k index db3ff574..64e41b80 100644 --- a/k8s/1.15/api/policy/v1beta1/pod_disruption_budget.k +++ b/k8s/1.15/api/policy/v1beta1/pod_disruption_budget.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget module in k8s.api.policy.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudget: @@ -16,7 +16,7 @@ schema PodDisruptionBudget: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "PodDisruptionBudget", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : PodDisruptionBudgetSpec, default is Undefined, optional Specification of the desired behavior of the PodDisruptionBudget. @@ -27,7 +27,7 @@ schema PodDisruptionBudget: kind: "PodDisruptionBudget" = "PodDisruptionBudget" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PodDisruptionBudgetSpec diff --git a/k8s/1.15/api/policy/v1beta1/pod_disruption_budget_list.k b/k8s/1.15/api/policy/v1beta1/pod_disruption_budget_list.k index 6464c3f1..3043cc37 100644 --- a/k8s/1.15/api/policy/v1beta1/pod_disruption_budget_list.k +++ b/k8s/1.15/api/policy/v1beta1/pod_disruption_budget_list.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget_list module in k8s.api.policy.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudgetList: @@ -18,7 +18,7 @@ schema PodDisruptionBudgetList: items kind : str, default is "PodDisruptionBudgetList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema PodDisruptionBudgetList: kind: "PodDisruptionBudgetList" = "PodDisruptionBudgetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/api/policy/v1beta1/pod_disruption_budget_spec.k b/k8s/1.15/api/policy/v1beta1/pod_disruption_budget_spec.k index 59207d7d..f58a030c 100644 --- a/k8s/1.15/api/policy/v1beta1/pod_disruption_budget_spec.k +++ b/k8s/1.15/api/policy/v1beta1/pod_disruption_budget_spec.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget_spec module in k8s.api.policy.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudgetSpec: @@ -16,7 +16,7 @@ schema PodDisruptionBudgetSpec: An eviction is allowed if at most "maxUnavailable" pods selected by "selector" are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with "minAvailable". minAvailable : int | str, default is Undefined, optional An eviction is allowed if at least "minAvailable" pods selected by "selector" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying "100%". - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional Label query over pods whose evictions are managed by the disruption budget. """ @@ -25,6 +25,6 @@ schema PodDisruptionBudgetSpec: minAvailable?: int | str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector diff --git a/k8s/1.15/api/policy/v1beta1/pod_security_policy.k b/k8s/1.15/api/policy/v1beta1/pod_security_policy.k index 9cf40c23..d775c156 100644 --- a/k8s/1.15/api/policy/v1beta1/pod_security_policy.k +++ b/k8s/1.15/api/policy/v1beta1/pod_security_policy.k @@ -3,7 +3,7 @@ This is the pod_security_policy module in k8s.api.policy.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodSecurityPolicy: @@ -16,7 +16,7 @@ schema PodSecurityPolicy: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "PodSecurityPolicy", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata spec : PodSecurityPolicySpec, default is Undefined, optional spec defines the policy enforced. @@ -27,7 +27,7 @@ schema PodSecurityPolicy: kind: "PodSecurityPolicy" = "PodSecurityPolicy" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PodSecurityPolicySpec diff --git a/k8s/1.15/api/policy/v1beta1/pod_security_policy_list.k b/k8s/1.15/api/policy/v1beta1/pod_security_policy_list.k index 8e7ba415..3e00cb01 100644 --- a/k8s/1.15/api/policy/v1beta1/pod_security_policy_list.k +++ b/k8s/1.15/api/policy/v1beta1/pod_security_policy_list.k @@ -3,7 +3,7 @@ This is the pod_security_policy_list module in k8s.api.policy.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodSecurityPolicyList: @@ -18,7 +18,7 @@ schema PodSecurityPolicyList: items is a list of schema objects. kind : str, default is "PodSecurityPolicyList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PodSecurityPolicyList: kind: "PodSecurityPolicyList" = "PodSecurityPolicyList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/api/rbac/v1/aggregation_rule.k b/k8s/1.15/api/rbac/v1/aggregation_rule.k index c7969ee4..b6898869 100644 --- a/k8s/1.15/api/rbac/v1/aggregation_rule.k +++ b/k8s/1.15/api/rbac/v1/aggregation_rule.k @@ -3,7 +3,7 @@ This is the aggregation_rule module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema AggregationRule: @@ -12,11 +12,11 @@ schema AggregationRule: Attributes ---------- - clusterRoleSelectors : [v1.LabelSelector], default is Undefined, optional + clusterRoleSelectors : [metav1.LabelSelector], default is Undefined, optional ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added """ - clusterRoleSelectors?: [v1.LabelSelector] + clusterRoleSelectors?: [metav1.LabelSelector] diff --git a/k8s/1.15/api/rbac/v1/cluster_role.k b/k8s/1.15/api/rbac/v1/cluster_role.k index 89848937..11d7fd1b 100644 --- a/k8s/1.15/api/rbac/v1/cluster_role.k +++ b/k8s/1.15/api/rbac/v1/cluster_role.k @@ -3,7 +3,7 @@ This is the cluster_role module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRole: @@ -18,7 +18,7 @@ schema ClusterRole: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "ClusterRole", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. rules : [PolicyRule], default is Undefined, optional Rules holds all the PolicyRules for this ClusterRole @@ -31,7 +31,7 @@ schema ClusterRole: kind: "ClusterRole" = "ClusterRole" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta rules?: [PolicyRule] diff --git a/k8s/1.15/api/rbac/v1/cluster_role_binding.k b/k8s/1.15/api/rbac/v1/cluster_role_binding.k index 96ea0d8d..57c369c3 100644 --- a/k8s/1.15/api/rbac/v1/cluster_role_binding.k +++ b/k8s/1.15/api/rbac/v1/cluster_role_binding.k @@ -3,7 +3,7 @@ This is the cluster_role_binding module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleBinding: @@ -16,7 +16,7 @@ schema ClusterRoleBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "ClusterRoleBinding", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. roleRef : RoleRef, default is Undefined, required RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. @@ -29,7 +29,7 @@ schema ClusterRoleBinding: kind: "ClusterRoleBinding" = "ClusterRoleBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta roleRef: RoleRef diff --git a/k8s/1.15/api/rbac/v1/cluster_role_binding_list.k b/k8s/1.15/api/rbac/v1/cluster_role_binding_list.k index 1a8e8ea0..a23e239b 100644 --- a/k8s/1.15/api/rbac/v1/cluster_role_binding_list.k +++ b/k8s/1.15/api/rbac/v1/cluster_role_binding_list.k @@ -3,7 +3,7 @@ This is the cluster_role_binding_list module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleBindingList: @@ -18,7 +18,7 @@ schema ClusterRoleBindingList: Items is a list of ClusterRoleBindings kind : str, default is "ClusterRoleBindingList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema ClusterRoleBindingList: kind: "ClusterRoleBindingList" = "ClusterRoleBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/api/rbac/v1/cluster_role_list.k b/k8s/1.15/api/rbac/v1/cluster_role_list.k index d1c3d244..aa58a860 100644 --- a/k8s/1.15/api/rbac/v1/cluster_role_list.k +++ b/k8s/1.15/api/rbac/v1/cluster_role_list.k @@ -3,7 +3,7 @@ This is the cluster_role_list module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleList: @@ -18,7 +18,7 @@ schema ClusterRoleList: Items is a list of ClusterRoles kind : str, default is "ClusterRoleList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema ClusterRoleList: kind: "ClusterRoleList" = "ClusterRoleList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/api/rbac/v1/role.k b/k8s/1.15/api/rbac/v1/role.k index 4bf73b78..f39167a8 100644 --- a/k8s/1.15/api/rbac/v1/role.k +++ b/k8s/1.15/api/rbac/v1/role.k @@ -3,7 +3,7 @@ This is the role module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Role: @@ -16,7 +16,7 @@ schema Role: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "Role", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. rules : [PolicyRule], default is Undefined, optional Rules holds all the PolicyRules for this Role @@ -27,7 +27,7 @@ schema Role: kind: "Role" = "Role" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta rules?: [PolicyRule] diff --git a/k8s/1.15/api/rbac/v1/role_binding.k b/k8s/1.15/api/rbac/v1/role_binding.k index 6e975e03..d2191df4 100644 --- a/k8s/1.15/api/rbac/v1/role_binding.k +++ b/k8s/1.15/api/rbac/v1/role_binding.k @@ -3,7 +3,7 @@ This is the role_binding module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleBinding: @@ -16,7 +16,7 @@ schema RoleBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "RoleBinding", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. roleRef : RoleRef, default is Undefined, required RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. @@ -29,7 +29,7 @@ schema RoleBinding: kind: "RoleBinding" = "RoleBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta roleRef: RoleRef diff --git a/k8s/1.15/api/rbac/v1/role_binding_list.k b/k8s/1.15/api/rbac/v1/role_binding_list.k index 42b35ac9..a9b45908 100644 --- a/k8s/1.15/api/rbac/v1/role_binding_list.k +++ b/k8s/1.15/api/rbac/v1/role_binding_list.k @@ -3,7 +3,7 @@ This is the role_binding_list module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleBindingList: @@ -18,7 +18,7 @@ schema RoleBindingList: Items is a list of RoleBindings kind : str, default is "RoleBindingList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema RoleBindingList: kind: "RoleBindingList" = "RoleBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/api/rbac/v1/role_list.k b/k8s/1.15/api/rbac/v1/role_list.k index 360ee5a0..61446725 100644 --- a/k8s/1.15/api/rbac/v1/role_list.k +++ b/k8s/1.15/api/rbac/v1/role_list.k @@ -3,7 +3,7 @@ This is the role_list module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleList: @@ -18,7 +18,7 @@ schema RoleList: Items is a list of Roles kind : str, default is "RoleList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema RoleList: kind: "RoleList" = "RoleList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/api/rbac/v1alpha1/aggregation_rule.k b/k8s/1.15/api/rbac/v1alpha1/aggregation_rule.k index 528fe561..c9b2af20 100644 --- a/k8s/1.15/api/rbac/v1alpha1/aggregation_rule.k +++ b/k8s/1.15/api/rbac/v1alpha1/aggregation_rule.k @@ -3,7 +3,7 @@ This is the aggregation_rule module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema AggregationRule: @@ -12,11 +12,11 @@ schema AggregationRule: Attributes ---------- - clusterRoleSelectors : [v1.LabelSelector], default is Undefined, optional + clusterRoleSelectors : [metav1.LabelSelector], default is Undefined, optional ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added """ - clusterRoleSelectors?: [v1.LabelSelector] + clusterRoleSelectors?: [metav1.LabelSelector] diff --git a/k8s/1.15/api/rbac/v1alpha1/cluster_role.k b/k8s/1.15/api/rbac/v1alpha1/cluster_role.k index 50585ae9..a3ab089b 100644 --- a/k8s/1.15/api/rbac/v1alpha1/cluster_role.k +++ b/k8s/1.15/api/rbac/v1alpha1/cluster_role.k @@ -3,7 +3,7 @@ This is the cluster_role module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRole: @@ -18,7 +18,7 @@ schema ClusterRole: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "ClusterRole", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. rules : [PolicyRule], default is Undefined, optional Rules holds all the PolicyRules for this ClusterRole @@ -31,7 +31,7 @@ schema ClusterRole: kind: "ClusterRole" = "ClusterRole" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta rules?: [PolicyRule] diff --git a/k8s/1.15/api/rbac/v1alpha1/cluster_role_binding.k b/k8s/1.15/api/rbac/v1alpha1/cluster_role_binding.k index fc6e3833..41c44b01 100644 --- a/k8s/1.15/api/rbac/v1alpha1/cluster_role_binding.k +++ b/k8s/1.15/api/rbac/v1alpha1/cluster_role_binding.k @@ -3,7 +3,7 @@ This is the cluster_role_binding module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleBinding: @@ -16,7 +16,7 @@ schema ClusterRoleBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "ClusterRoleBinding", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. roleRef : RoleRef, default is Undefined, required RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. @@ -29,7 +29,7 @@ schema ClusterRoleBinding: kind: "ClusterRoleBinding" = "ClusterRoleBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta roleRef: RoleRef diff --git a/k8s/1.15/api/rbac/v1alpha1/cluster_role_binding_list.k b/k8s/1.15/api/rbac/v1alpha1/cluster_role_binding_list.k index 72487bde..65d740c3 100644 --- a/k8s/1.15/api/rbac/v1alpha1/cluster_role_binding_list.k +++ b/k8s/1.15/api/rbac/v1alpha1/cluster_role_binding_list.k @@ -3,7 +3,7 @@ This is the cluster_role_binding_list module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleBindingList: @@ -18,7 +18,7 @@ schema ClusterRoleBindingList: Items is a list of ClusterRoleBindings kind : str, default is "ClusterRoleBindingList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema ClusterRoleBindingList: kind: "ClusterRoleBindingList" = "ClusterRoleBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/api/rbac/v1alpha1/cluster_role_list.k b/k8s/1.15/api/rbac/v1alpha1/cluster_role_list.k index dd547dba..d357c25e 100644 --- a/k8s/1.15/api/rbac/v1alpha1/cluster_role_list.k +++ b/k8s/1.15/api/rbac/v1alpha1/cluster_role_list.k @@ -3,7 +3,7 @@ This is the cluster_role_list module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleList: @@ -18,7 +18,7 @@ schema ClusterRoleList: Items is a list of ClusterRoles kind : str, default is "ClusterRoleList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema ClusterRoleList: kind: "ClusterRoleList" = "ClusterRoleList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/api/rbac/v1alpha1/role.k b/k8s/1.15/api/rbac/v1alpha1/role.k index 49653b8b..3d3915d4 100644 --- a/k8s/1.15/api/rbac/v1alpha1/role.k +++ b/k8s/1.15/api/rbac/v1alpha1/role.k @@ -3,7 +3,7 @@ This is the role module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Role: @@ -16,7 +16,7 @@ schema Role: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "Role", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. rules : [PolicyRule], default is Undefined, optional Rules holds all the PolicyRules for this Role @@ -27,7 +27,7 @@ schema Role: kind: "Role" = "Role" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta rules?: [PolicyRule] diff --git a/k8s/1.15/api/rbac/v1alpha1/role_binding.k b/k8s/1.15/api/rbac/v1alpha1/role_binding.k index 0da7183b..601f1562 100644 --- a/k8s/1.15/api/rbac/v1alpha1/role_binding.k +++ b/k8s/1.15/api/rbac/v1alpha1/role_binding.k @@ -3,7 +3,7 @@ This is the role_binding module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleBinding: @@ -16,7 +16,7 @@ schema RoleBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "RoleBinding", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. roleRef : RoleRef, default is Undefined, required RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. @@ -29,7 +29,7 @@ schema RoleBinding: kind: "RoleBinding" = "RoleBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta roleRef: RoleRef diff --git a/k8s/1.15/api/rbac/v1alpha1/role_binding_list.k b/k8s/1.15/api/rbac/v1alpha1/role_binding_list.k index 3ee68bbf..2b8ee5ed 100644 --- a/k8s/1.15/api/rbac/v1alpha1/role_binding_list.k +++ b/k8s/1.15/api/rbac/v1alpha1/role_binding_list.k @@ -3,7 +3,7 @@ This is the role_binding_list module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleBindingList: @@ -18,7 +18,7 @@ schema RoleBindingList: Items is a list of RoleBindings kind : str, default is "RoleBindingList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema RoleBindingList: kind: "RoleBindingList" = "RoleBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/api/rbac/v1alpha1/role_list.k b/k8s/1.15/api/rbac/v1alpha1/role_list.k index 4c15b9ef..323b0191 100644 --- a/k8s/1.15/api/rbac/v1alpha1/role_list.k +++ b/k8s/1.15/api/rbac/v1alpha1/role_list.k @@ -3,7 +3,7 @@ This is the role_list module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleList: @@ -18,7 +18,7 @@ schema RoleList: Items is a list of Roles kind : str, default is "RoleList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema RoleList: kind: "RoleList" = "RoleList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/api/rbac/v1beta1/aggregation_rule.k b/k8s/1.15/api/rbac/v1beta1/aggregation_rule.k index cd7ef918..41e15e52 100644 --- a/k8s/1.15/api/rbac/v1beta1/aggregation_rule.k +++ b/k8s/1.15/api/rbac/v1beta1/aggregation_rule.k @@ -3,7 +3,7 @@ This is the aggregation_rule module in k8s.api.rbac.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema AggregationRule: @@ -12,11 +12,11 @@ schema AggregationRule: Attributes ---------- - clusterRoleSelectors : [v1.LabelSelector], default is Undefined, optional + clusterRoleSelectors : [metav1.LabelSelector], default is Undefined, optional ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added """ - clusterRoleSelectors?: [v1.LabelSelector] + clusterRoleSelectors?: [metav1.LabelSelector] diff --git a/k8s/1.15/api/rbac/v1beta1/cluster_role.k b/k8s/1.15/api/rbac/v1beta1/cluster_role.k index 3dc1ab29..4f23d32d 100644 --- a/k8s/1.15/api/rbac/v1beta1/cluster_role.k +++ b/k8s/1.15/api/rbac/v1beta1/cluster_role.k @@ -3,7 +3,7 @@ This is the cluster_role module in k8s.api.rbac.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRole: @@ -18,7 +18,7 @@ schema ClusterRole: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "ClusterRole", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. rules : [PolicyRule], default is Undefined, optional Rules holds all the PolicyRules for this ClusterRole @@ -31,7 +31,7 @@ schema ClusterRole: kind: "ClusterRole" = "ClusterRole" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta rules?: [PolicyRule] diff --git a/k8s/1.15/api/rbac/v1beta1/cluster_role_binding.k b/k8s/1.15/api/rbac/v1beta1/cluster_role_binding.k index 7b7895bc..75ccf209 100644 --- a/k8s/1.15/api/rbac/v1beta1/cluster_role_binding.k +++ b/k8s/1.15/api/rbac/v1beta1/cluster_role_binding.k @@ -3,7 +3,7 @@ This is the cluster_role_binding module in k8s.api.rbac.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleBinding: @@ -16,7 +16,7 @@ schema ClusterRoleBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "ClusterRoleBinding", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. roleRef : RoleRef, default is Undefined, required RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. @@ -29,7 +29,7 @@ schema ClusterRoleBinding: kind: "ClusterRoleBinding" = "ClusterRoleBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta roleRef: RoleRef diff --git a/k8s/1.15/api/rbac/v1beta1/cluster_role_binding_list.k b/k8s/1.15/api/rbac/v1beta1/cluster_role_binding_list.k index 0e10d081..12f8d82a 100644 --- a/k8s/1.15/api/rbac/v1beta1/cluster_role_binding_list.k +++ b/k8s/1.15/api/rbac/v1beta1/cluster_role_binding_list.k @@ -3,7 +3,7 @@ This is the cluster_role_binding_list module in k8s.api.rbac.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleBindingList: @@ -18,7 +18,7 @@ schema ClusterRoleBindingList: Items is a list of ClusterRoleBindings kind : str, default is "ClusterRoleBindingList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema ClusterRoleBindingList: kind: "ClusterRoleBindingList" = "ClusterRoleBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/api/rbac/v1beta1/cluster_role_list.k b/k8s/1.15/api/rbac/v1beta1/cluster_role_list.k index c42dbf9e..76149abb 100644 --- a/k8s/1.15/api/rbac/v1beta1/cluster_role_list.k +++ b/k8s/1.15/api/rbac/v1beta1/cluster_role_list.k @@ -3,7 +3,7 @@ This is the cluster_role_list module in k8s.api.rbac.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleList: @@ -18,7 +18,7 @@ schema ClusterRoleList: Items is a list of ClusterRoles kind : str, default is "ClusterRoleList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema ClusterRoleList: kind: "ClusterRoleList" = "ClusterRoleList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/api/rbac/v1beta1/role.k b/k8s/1.15/api/rbac/v1beta1/role.k index d05216e8..a6289e66 100644 --- a/k8s/1.15/api/rbac/v1beta1/role.k +++ b/k8s/1.15/api/rbac/v1beta1/role.k @@ -3,7 +3,7 @@ This is the role module in k8s.api.rbac.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Role: @@ -16,7 +16,7 @@ schema Role: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "Role", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. rules : [PolicyRule], default is Undefined, optional Rules holds all the PolicyRules for this Role @@ -27,7 +27,7 @@ schema Role: kind: "Role" = "Role" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta rules?: [PolicyRule] diff --git a/k8s/1.15/api/rbac/v1beta1/role_binding.k b/k8s/1.15/api/rbac/v1beta1/role_binding.k index 35857586..2dd007b4 100644 --- a/k8s/1.15/api/rbac/v1beta1/role_binding.k +++ b/k8s/1.15/api/rbac/v1beta1/role_binding.k @@ -3,7 +3,7 @@ This is the role_binding module in k8s.api.rbac.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleBinding: @@ -16,7 +16,7 @@ schema RoleBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "RoleBinding", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. roleRef : RoleRef, default is Undefined, required RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. @@ -29,7 +29,7 @@ schema RoleBinding: kind: "RoleBinding" = "RoleBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta roleRef: RoleRef diff --git a/k8s/1.15/api/rbac/v1beta1/role_binding_list.k b/k8s/1.15/api/rbac/v1beta1/role_binding_list.k index eaa82b92..491d1b20 100644 --- a/k8s/1.15/api/rbac/v1beta1/role_binding_list.k +++ b/k8s/1.15/api/rbac/v1beta1/role_binding_list.k @@ -3,7 +3,7 @@ This is the role_binding_list module in k8s.api.rbac.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleBindingList: @@ -18,7 +18,7 @@ schema RoleBindingList: Items is a list of RoleBindings kind : str, default is "RoleBindingList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema RoleBindingList: kind: "RoleBindingList" = "RoleBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/api/rbac/v1beta1/role_list.k b/k8s/1.15/api/rbac/v1beta1/role_list.k index 51810a25..d0a9a1f7 100644 --- a/k8s/1.15/api/rbac/v1beta1/role_list.k +++ b/k8s/1.15/api/rbac/v1beta1/role_list.k @@ -3,7 +3,7 @@ This is the role_list module in k8s.api.rbac.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleList: @@ -18,7 +18,7 @@ schema RoleList: Items is a list of Roles kind : str, default is "RoleList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema RoleList: kind: "RoleList" = "RoleList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/api/scheduling/v1/priority_class.k b/k8s/1.15/api/scheduling/v1/priority_class.k index ebf9346d..b7ffff10 100644 --- a/k8s/1.15/api/scheduling/v1/priority_class.k +++ b/k8s/1.15/api/scheduling/v1/priority_class.k @@ -3,7 +3,7 @@ This is the priority_class module in k8s.api.scheduling.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityClass: @@ -20,7 +20,7 @@ schema PriorityClass: globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority. kind : str, default is "PriorityClass", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata preemptionPolicy : str, default is Undefined, optional PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is alpha-level and is only honored by servers that enable the NonPreemptingPriority feature. @@ -37,7 +37,7 @@ schema PriorityClass: kind: "PriorityClass" = "PriorityClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta preemptionPolicy?: str diff --git a/k8s/1.15/api/scheduling/v1/priority_class_list.k b/k8s/1.15/api/scheduling/v1/priority_class_list.k index 9e1e59cf..ee377d26 100644 --- a/k8s/1.15/api/scheduling/v1/priority_class_list.k +++ b/k8s/1.15/api/scheduling/v1/priority_class_list.k @@ -3,7 +3,7 @@ This is the priority_class_list module in k8s.api.scheduling.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityClassList: @@ -18,7 +18,7 @@ schema PriorityClassList: items is the list of PriorityClasses kind : str, default is "PriorityClassList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PriorityClassList: kind: "PriorityClassList" = "PriorityClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/api/scheduling/v1alpha1/priority_class.k b/k8s/1.15/api/scheduling/v1alpha1/priority_class.k index 69965db3..0890b0bb 100644 --- a/k8s/1.15/api/scheduling/v1alpha1/priority_class.k +++ b/k8s/1.15/api/scheduling/v1alpha1/priority_class.k @@ -3,7 +3,7 @@ This is the priority_class module in k8s.api.scheduling.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityClass: @@ -20,7 +20,7 @@ schema PriorityClass: globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority. kind : str, default is "PriorityClass", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata preemptionPolicy : str, default is Undefined, optional PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is alpha-level and is only honored by servers that enable the NonPreemptingPriority feature. @@ -37,7 +37,7 @@ schema PriorityClass: kind: "PriorityClass" = "PriorityClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta preemptionPolicy?: str diff --git a/k8s/1.15/api/scheduling/v1alpha1/priority_class_list.k b/k8s/1.15/api/scheduling/v1alpha1/priority_class_list.k index 4448caef..ee904a46 100644 --- a/k8s/1.15/api/scheduling/v1alpha1/priority_class_list.k +++ b/k8s/1.15/api/scheduling/v1alpha1/priority_class_list.k @@ -3,7 +3,7 @@ This is the priority_class_list module in k8s.api.scheduling.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityClassList: @@ -18,7 +18,7 @@ schema PriorityClassList: items is the list of PriorityClasses kind : str, default is "PriorityClassList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PriorityClassList: kind: "PriorityClassList" = "PriorityClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/api/scheduling/v1beta1/priority_class.k b/k8s/1.15/api/scheduling/v1beta1/priority_class.k index f430fe91..9f242264 100644 --- a/k8s/1.15/api/scheduling/v1beta1/priority_class.k +++ b/k8s/1.15/api/scheduling/v1beta1/priority_class.k @@ -3,7 +3,7 @@ This is the priority_class module in k8s.api.scheduling.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityClass: @@ -20,7 +20,7 @@ schema PriorityClass: globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority. kind : str, default is "PriorityClass", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata preemptionPolicy : str, default is Undefined, optional PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is alpha-level and is only honored by servers that enable the NonPreemptingPriority feature. @@ -37,7 +37,7 @@ schema PriorityClass: kind: "PriorityClass" = "PriorityClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta preemptionPolicy?: str diff --git a/k8s/1.15/api/scheduling/v1beta1/priority_class_list.k b/k8s/1.15/api/scheduling/v1beta1/priority_class_list.k index f6ebe082..b0e6b6bc 100644 --- a/k8s/1.15/api/scheduling/v1beta1/priority_class_list.k +++ b/k8s/1.15/api/scheduling/v1beta1/priority_class_list.k @@ -3,7 +3,7 @@ This is the priority_class_list module in k8s.api.scheduling.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityClassList: @@ -18,7 +18,7 @@ schema PriorityClassList: items is the list of PriorityClasses kind : str, default is "PriorityClassList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PriorityClassList: kind: "PriorityClassList" = "PriorityClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/api/settings/v1alpha1/pod_preset.k b/k8s/1.15/api/settings/v1alpha1/pod_preset.k index b7d3c411..c520d334 100644 --- a/k8s/1.15/api/settings/v1alpha1/pod_preset.k +++ b/k8s/1.15/api/settings/v1alpha1/pod_preset.k @@ -3,7 +3,7 @@ This is the pod_preset module in k8s.api.settings.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodPreset: @@ -16,7 +16,7 @@ schema PodPreset: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "PodPreset", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : PodPresetSpec, default is Undefined, optional spec @@ -27,7 +27,7 @@ schema PodPreset: kind: "PodPreset" = "PodPreset" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PodPresetSpec diff --git a/k8s/1.15/api/settings/v1alpha1/pod_preset_list.k b/k8s/1.15/api/settings/v1alpha1/pod_preset_list.k index 98304ee0..81f00d09 100644 --- a/k8s/1.15/api/settings/v1alpha1/pod_preset_list.k +++ b/k8s/1.15/api/settings/v1alpha1/pod_preset_list.k @@ -3,7 +3,7 @@ This is the pod_preset_list module in k8s.api.settings.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodPresetList: @@ -18,7 +18,7 @@ schema PodPresetList: Items is a list of schema objects. kind : str, default is "PodPresetList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PodPresetList: kind: "PodPresetList" = "PodPresetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/api/storage/v1/storage_class_list.k b/k8s/1.15/api/storage/v1/storage_class_list.k index db4e012f..576171d1 100644 --- a/k8s/1.15/api/storage/v1/storage_class_list.k +++ b/k8s/1.15/api/storage/v1/storage_class_list.k @@ -3,7 +3,7 @@ This is the storage_class_list module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StorageClassList: @@ -18,7 +18,7 @@ schema StorageClassList: Items is the list of StorageClasses kind : str, default is "StorageClassList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema StorageClassList: kind: "StorageClassList" = "StorageClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/api/storage/v1/volume_attachment.k b/k8s/1.15/api/storage/v1/volume_attachment.k index 8dcaa184..9580c313 100644 --- a/k8s/1.15/api/storage/v1/volume_attachment.k +++ b/k8s/1.15/api/storage/v1/volume_attachment.k @@ -3,7 +3,7 @@ This is the volume_attachment module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema VolumeAttachment: @@ -18,7 +18,7 @@ schema VolumeAttachment: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "VolumeAttachment", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata spec : VolumeAttachmentSpec, default is Undefined, required Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system. @@ -29,7 +29,7 @@ schema VolumeAttachment: kind: "VolumeAttachment" = "VolumeAttachment" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: VolumeAttachmentSpec diff --git a/k8s/1.15/api/storage/v1/volume_attachment_list.k b/k8s/1.15/api/storage/v1/volume_attachment_list.k index 99b4610a..48b66f57 100644 --- a/k8s/1.15/api/storage/v1/volume_attachment_list.k +++ b/k8s/1.15/api/storage/v1/volume_attachment_list.k @@ -3,7 +3,7 @@ This is the volume_attachment_list module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema VolumeAttachmentList: @@ -18,7 +18,7 @@ schema VolumeAttachmentList: Items is the list of VolumeAttachments kind : str, default is "VolumeAttachmentList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema VolumeAttachmentList: kind: "VolumeAttachmentList" = "VolumeAttachmentList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/api/storage/v1alpha1/volume_attachment.k b/k8s/1.15/api/storage/v1alpha1/volume_attachment.k index eb72b734..cb877b18 100644 --- a/k8s/1.15/api/storage/v1alpha1/volume_attachment.k +++ b/k8s/1.15/api/storage/v1alpha1/volume_attachment.k @@ -3,7 +3,7 @@ This is the volume_attachment module in k8s.api.storage.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema VolumeAttachment: @@ -18,7 +18,7 @@ schema VolumeAttachment: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "VolumeAttachment", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata spec : VolumeAttachmentSpec, default is Undefined, required Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system. @@ -29,7 +29,7 @@ schema VolumeAttachment: kind: "VolumeAttachment" = "VolumeAttachment" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: VolumeAttachmentSpec diff --git a/k8s/1.15/api/storage/v1alpha1/volume_attachment_list.k b/k8s/1.15/api/storage/v1alpha1/volume_attachment_list.k index 95faf5f1..aeff271b 100644 --- a/k8s/1.15/api/storage/v1alpha1/volume_attachment_list.k +++ b/k8s/1.15/api/storage/v1alpha1/volume_attachment_list.k @@ -3,7 +3,7 @@ This is the volume_attachment_list module in k8s.api.storage.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema VolumeAttachmentList: @@ -18,7 +18,7 @@ schema VolumeAttachmentList: Items is the list of VolumeAttachments kind : str, default is "VolumeAttachmentList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema VolumeAttachmentList: kind: "VolumeAttachmentList" = "VolumeAttachmentList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/api/storage/v1beta1/csi_driver.k b/k8s/1.15/api/storage/v1beta1/csi_driver.k index f7543739..572c8e03 100644 --- a/k8s/1.15/api/storage/v1beta1/csi_driver.k +++ b/k8s/1.15/api/storage/v1beta1/csi_driver.k @@ -3,7 +3,7 @@ This is the csi_driver module in k8s.api.storage.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSIDriver: @@ -16,7 +16,7 @@ schema CSIDriver: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "CSIDriver", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. metadata.Name indicates the name of the CSI driver that this object refers to; it MUST be the same name returned by the CSI GetPluginName() call for that driver. The driver name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and alphanumerics between. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata spec : CSIDriverSpec, default is Undefined, required Specification of the CSI Driver. @@ -27,7 +27,7 @@ schema CSIDriver: kind: "CSIDriver" = "CSIDriver" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CSIDriverSpec diff --git a/k8s/1.15/api/storage/v1beta1/csi_driver_list.k b/k8s/1.15/api/storage/v1beta1/csi_driver_list.k index 595233bc..8365765a 100644 --- a/k8s/1.15/api/storage/v1beta1/csi_driver_list.k +++ b/k8s/1.15/api/storage/v1beta1/csi_driver_list.k @@ -3,7 +3,7 @@ This is the csi_driver_list module in k8s.api.storage.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSIDriverList: @@ -18,7 +18,7 @@ schema CSIDriverList: items is the list of CSIDriver kind : str, default is "CSIDriverList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CSIDriverList: kind: "CSIDriverList" = "CSIDriverList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/api/storage/v1beta1/csi_node.k b/k8s/1.15/api/storage/v1beta1/csi_node.k index 3e56a606..cba3f507 100644 --- a/k8s/1.15/api/storage/v1beta1/csi_node.k +++ b/k8s/1.15/api/storage/v1beta1/csi_node.k @@ -3,7 +3,7 @@ This is the csi_node module in k8s.api.storage.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSINode: @@ -16,7 +16,7 @@ schema CSINode: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "CSINode", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata.name must be the Kubernetes node name. spec : CSINodeSpec, default is Undefined, required spec is the specification of CSINode @@ -27,7 +27,7 @@ schema CSINode: kind: "CSINode" = "CSINode" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CSINodeSpec diff --git a/k8s/1.15/api/storage/v1beta1/csi_node_list.k b/k8s/1.15/api/storage/v1beta1/csi_node_list.k index 6bd543e9..c77c0105 100644 --- a/k8s/1.15/api/storage/v1beta1/csi_node_list.k +++ b/k8s/1.15/api/storage/v1beta1/csi_node_list.k @@ -3,7 +3,7 @@ This is the csi_node_list module in k8s.api.storage.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSINodeList: @@ -18,7 +18,7 @@ schema CSINodeList: items is the list of CSINode kind : str, default is "CSINodeList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CSINodeList: kind: "CSINodeList" = "CSINodeList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/api/storage/v1beta1/storage_class_list.k b/k8s/1.15/api/storage/v1beta1/storage_class_list.k index 82323795..58691bd7 100644 --- a/k8s/1.15/api/storage/v1beta1/storage_class_list.k +++ b/k8s/1.15/api/storage/v1beta1/storage_class_list.k @@ -3,7 +3,7 @@ This is the storage_class_list module in k8s.api.storage.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StorageClassList: @@ -18,7 +18,7 @@ schema StorageClassList: Items is the list of StorageClasses kind : str, default is "StorageClassList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema StorageClassList: kind: "StorageClassList" = "StorageClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/api/storage/v1beta1/volume_attachment.k b/k8s/1.15/api/storage/v1beta1/volume_attachment.k index ec5c081a..5f444c3d 100644 --- a/k8s/1.15/api/storage/v1beta1/volume_attachment.k +++ b/k8s/1.15/api/storage/v1beta1/volume_attachment.k @@ -3,7 +3,7 @@ This is the volume_attachment module in k8s.api.storage.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema VolumeAttachment: @@ -18,7 +18,7 @@ schema VolumeAttachment: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "VolumeAttachment", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata spec : VolumeAttachmentSpec, default is Undefined, required Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system. @@ -29,7 +29,7 @@ schema VolumeAttachment: kind: "VolumeAttachment" = "VolumeAttachment" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: VolumeAttachmentSpec diff --git a/k8s/1.15/api/storage/v1beta1/volume_attachment_list.k b/k8s/1.15/api/storage/v1beta1/volume_attachment_list.k index c3f5047a..aecbb6cf 100644 --- a/k8s/1.15/api/storage/v1beta1/volume_attachment_list.k +++ b/k8s/1.15/api/storage/v1beta1/volume_attachment_list.k @@ -3,7 +3,7 @@ This is the volume_attachment_list module in k8s.api.storage.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema VolumeAttachmentList: @@ -18,7 +18,7 @@ schema VolumeAttachmentList: Items is the list of VolumeAttachments kind : str, default is "VolumeAttachmentList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema VolumeAttachmentList: kind: "VolumeAttachmentList" = "VolumeAttachmentList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/apiextensions_apiserver/pkg/apis/apiextensions/v1beta1/custom_resource_definition.k b/k8s/1.15/apiextensions_apiserver/pkg/apis/apiextensions/v1beta1/custom_resource_definition.k index 20693023..4c4b0832 100644 --- a/k8s/1.15/apiextensions_apiserver/pkg/apis/apiextensions/v1beta1/custom_resource_definition.k +++ b/k8s/1.15/apiextensions_apiserver/pkg/apis/apiextensions/v1beta1/custom_resource_definition.k @@ -3,7 +3,7 @@ This is the custom_resource_definition module in k8s.apiextensions_apiserver.pkg This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CustomResourceDefinition: @@ -16,7 +16,7 @@ schema CustomResourceDefinition: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "CustomResourceDefinition", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : CustomResourceDefinitionSpec, default is Undefined, required Spec describes how the user wants the resources to appear @@ -27,7 +27,7 @@ schema CustomResourceDefinition: kind: "CustomResourceDefinition" = "CustomResourceDefinition" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CustomResourceDefinitionSpec diff --git a/k8s/1.15/apiextensions_apiserver/pkg/apis/apiextensions/v1beta1/custom_resource_definition_list.k b/k8s/1.15/apiextensions_apiserver/pkg/apis/apiextensions/v1beta1/custom_resource_definition_list.k index 80ed2537..c4ced879 100644 --- a/k8s/1.15/apiextensions_apiserver/pkg/apis/apiextensions/v1beta1/custom_resource_definition_list.k +++ b/k8s/1.15/apiextensions_apiserver/pkg/apis/apiextensions/v1beta1/custom_resource_definition_list.k @@ -3,7 +3,7 @@ This is the custom_resource_definition_list module in k8s.apiextensions_apiserve This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CustomResourceDefinitionList: @@ -18,7 +18,7 @@ schema CustomResourceDefinitionList: Items individual CustomResourceDefinitions kind : str, default is "CustomResourceDefinitionList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema CustomResourceDefinitionList: kind: "CustomResourceDefinitionList" = "CustomResourceDefinitionList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/kcl.mod b/k8s/1.15/kcl.mod index 56e73ae3..e2eafbde 100644 --- a/k8s/1.15/kcl.mod +++ b/k8s/1.15/kcl.mod @@ -1,5 +1,5 @@ [package] name = "k8s" edition = "*" -version = "1.15.1" +version = "1.15.2" description = "`k8s` is a KCL module contains all the built-in Kubernetes resource models (the CRDs are not included here)." diff --git a/k8s/1.15/kube_aggregator/pkg/apis/apiregistration/v1/api_service.k b/k8s/1.15/kube_aggregator/pkg/apis/apiregistration/v1/api_service.k index ebbae2e2..ddee6568 100644 --- a/k8s/1.15/kube_aggregator/pkg/apis/apiregistration/v1/api_service.k +++ b/k8s/1.15/kube_aggregator/pkg/apis/apiregistration/v1/api_service.k @@ -3,7 +3,7 @@ This is the api_service module in k8s.kube_aggregator.pkg.apis.apiregistration.v This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema APIService: @@ -16,7 +16,7 @@ schema APIService: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "APIService", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : APIServiceSpec, default is Undefined, optional Spec contains information for locating and communicating with a server @@ -27,7 +27,7 @@ schema APIService: kind: "APIService" = "APIService" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: APIServiceSpec diff --git a/k8s/1.15/kube_aggregator/pkg/apis/apiregistration/v1/api_service_list.k b/k8s/1.15/kube_aggregator/pkg/apis/apiregistration/v1/api_service_list.k index 8345e9b6..6dcd90ea 100644 --- a/k8s/1.15/kube_aggregator/pkg/apis/apiregistration/v1/api_service_list.k +++ b/k8s/1.15/kube_aggregator/pkg/apis/apiregistration/v1/api_service_list.k @@ -3,7 +3,7 @@ This is the api_service_list module in k8s.kube_aggregator.pkg.apis.apiregistrat This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema APIServiceList: @@ -18,7 +18,7 @@ schema APIServiceList: items kind : str, default is "APIServiceList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema APIServiceList: kind: "APIServiceList" = "APIServiceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.15/kube_aggregator/pkg/apis/apiregistration/v1beta1/api_service.k b/k8s/1.15/kube_aggregator/pkg/apis/apiregistration/v1beta1/api_service.k index c849a694..823436d0 100644 --- a/k8s/1.15/kube_aggregator/pkg/apis/apiregistration/v1beta1/api_service.k +++ b/k8s/1.15/kube_aggregator/pkg/apis/apiregistration/v1beta1/api_service.k @@ -3,7 +3,7 @@ This is the api_service module in k8s.kube_aggregator.pkg.apis.apiregistration.v This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema APIService: @@ -16,7 +16,7 @@ schema APIService: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources kind : str, default is "APIService", required 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/api-conventions.md#types-kinds - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : APIServiceSpec, default is Undefined, optional Spec contains information for locating and communicating with a server @@ -27,7 +27,7 @@ schema APIService: kind: "APIService" = "APIService" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: APIServiceSpec diff --git a/k8s/1.15/kube_aggregator/pkg/apis/apiregistration/v1beta1/api_service_list.k b/k8s/1.15/kube_aggregator/pkg/apis/apiregistration/v1beta1/api_service_list.k index c64e3dfc..206ba83f 100644 --- a/k8s/1.15/kube_aggregator/pkg/apis/apiregistration/v1beta1/api_service_list.k +++ b/k8s/1.15/kube_aggregator/pkg/apis/apiregistration/v1beta1/api_service_list.k @@ -3,7 +3,7 @@ This is the api_service_list module in k8s.kube_aggregator.pkg.apis.apiregistrat This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema APIServiceList: @@ -18,7 +18,7 @@ schema APIServiceList: items kind : str, default is "APIServiceList", required 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/api-conventions.md#types-kinds - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema APIServiceList: kind: "APIServiceList" = "APIServiceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/admissionregistration/v1/mutating_webhook.k b/k8s/1.16/api/admissionregistration/v1/mutating_webhook.k index dad9a26f..14dff1c3 100644 --- a/k8s/1.16/api/admissionregistration/v1/mutating_webhook.k +++ b/k8s/1.16/api/admissionregistration/v1/mutating_webhook.k @@ -3,7 +3,7 @@ This is the mutating_webhook module in k8s.api.admissionregistration.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MutatingWebhook: @@ -28,7 +28,7 @@ schema MutatingWebhook: Defaults to "Equivalent" name : str, default is Undefined, required The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook. For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1"; you will set the selector as follows: "namespaceSelector": { @@ -60,7 +60,7 @@ schema MutatingWebhook: See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors. Default to the empty LabelSelector, which matches everything. - objectSelector : v1.LabelSelector, default is Undefined, optional + objectSelector : metav1.LabelSelector, default is Undefined, optional ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything. reinvocationPolicy : str, default is Undefined, optional reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded". @@ -89,9 +89,9 @@ schema MutatingWebhook: name: str - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector - objectSelector?: v1.LabelSelector + objectSelector?: metav1.LabelSelector reinvocationPolicy?: str diff --git a/k8s/1.16/api/admissionregistration/v1/mutating_webhook_configuration.k b/k8s/1.16/api/admissionregistration/v1/mutating_webhook_configuration.k index a9864b32..0c970740 100644 --- a/k8s/1.16/api/admissionregistration/v1/mutating_webhook_configuration.k +++ b/k8s/1.16/api/admissionregistration/v1/mutating_webhook_configuration.k @@ -3,7 +3,7 @@ This is the mutating_webhook_configuration module in k8s.api.admissionregistrati This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MutatingWebhookConfiguration: @@ -16,7 +16,7 @@ schema MutatingWebhookConfiguration: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "MutatingWebhookConfiguration", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. webhooks : [MutatingWebhook], default is Undefined, optional Webhooks is a list of webhooks and the affected resources and operations. @@ -27,7 +27,7 @@ schema MutatingWebhookConfiguration: kind: "MutatingWebhookConfiguration" = "MutatingWebhookConfiguration" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta webhooks?: [MutatingWebhook] diff --git a/k8s/1.16/api/admissionregistration/v1/mutating_webhook_configuration_list.k b/k8s/1.16/api/admissionregistration/v1/mutating_webhook_configuration_list.k index d4e15e81..b6fd6022 100644 --- a/k8s/1.16/api/admissionregistration/v1/mutating_webhook_configuration_list.k +++ b/k8s/1.16/api/admissionregistration/v1/mutating_webhook_configuration_list.k @@ -3,7 +3,7 @@ This is the mutating_webhook_configuration_list module in k8s.api.admissionregis This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MutatingWebhookConfigurationList: @@ -18,7 +18,7 @@ schema MutatingWebhookConfigurationList: List of MutatingWebhookConfiguration. kind : str, default is "MutatingWebhookConfigurationList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema MutatingWebhookConfigurationList: kind: "MutatingWebhookConfigurationList" = "MutatingWebhookConfigurationList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/admissionregistration/v1/validating_webhook.k b/k8s/1.16/api/admissionregistration/v1/validating_webhook.k index 112ca984..dc45ba72 100644 --- a/k8s/1.16/api/admissionregistration/v1/validating_webhook.k +++ b/k8s/1.16/api/admissionregistration/v1/validating_webhook.k @@ -3,7 +3,7 @@ This is the validating_webhook module in k8s.api.admissionregistration.v1 packag This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingWebhook: @@ -28,7 +28,7 @@ schema ValidatingWebhook: Defaults to "Equivalent" name : str, default is Undefined, required The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook. For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1"; you will set the selector as follows: "namespaceSelector": { @@ -60,7 +60,7 @@ schema ValidatingWebhook: See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels for more examples of label selectors. Default to the empty LabelSelector, which matches everything. - objectSelector : v1.LabelSelector, default is Undefined, optional + objectSelector : metav1.LabelSelector, default is Undefined, optional ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything. rules : [RuleWithOperations], default is Undefined, optional Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects. @@ -81,9 +81,9 @@ schema ValidatingWebhook: name: str - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector - objectSelector?: v1.LabelSelector + objectSelector?: metav1.LabelSelector rules?: [RuleWithOperations] diff --git a/k8s/1.16/api/admissionregistration/v1/validating_webhook_configuration.k b/k8s/1.16/api/admissionregistration/v1/validating_webhook_configuration.k index 2b45293a..e35bb335 100644 --- a/k8s/1.16/api/admissionregistration/v1/validating_webhook_configuration.k +++ b/k8s/1.16/api/admissionregistration/v1/validating_webhook_configuration.k @@ -3,7 +3,7 @@ This is the validating_webhook_configuration module in k8s.api.admissionregistra This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingWebhookConfiguration: @@ -16,7 +16,7 @@ schema ValidatingWebhookConfiguration: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ValidatingWebhookConfiguration", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. webhooks : [ValidatingWebhook], default is Undefined, optional Webhooks is a list of webhooks and the affected resources and operations. @@ -27,7 +27,7 @@ schema ValidatingWebhookConfiguration: kind: "ValidatingWebhookConfiguration" = "ValidatingWebhookConfiguration" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta webhooks?: [ValidatingWebhook] diff --git a/k8s/1.16/api/admissionregistration/v1/validating_webhook_configuration_list.k b/k8s/1.16/api/admissionregistration/v1/validating_webhook_configuration_list.k index 0515b188..2691da1c 100644 --- a/k8s/1.16/api/admissionregistration/v1/validating_webhook_configuration_list.k +++ b/k8s/1.16/api/admissionregistration/v1/validating_webhook_configuration_list.k @@ -3,7 +3,7 @@ This is the validating_webhook_configuration_list module in k8s.api.admissionreg This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingWebhookConfigurationList: @@ -18,7 +18,7 @@ schema ValidatingWebhookConfigurationList: List of ValidatingWebhookConfiguration. kind : str, default is "ValidatingWebhookConfigurationList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ValidatingWebhookConfigurationList: kind: "ValidatingWebhookConfigurationList" = "ValidatingWebhookConfigurationList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/admissionregistration/v1beta1/mutating_webhook.k b/k8s/1.16/api/admissionregistration/v1beta1/mutating_webhook.k index 6572b65a..5d0ce31f 100644 --- a/k8s/1.16/api/admissionregistration/v1beta1/mutating_webhook.k +++ b/k8s/1.16/api/admissionregistration/v1beta1/mutating_webhook.k @@ -3,7 +3,7 @@ This is the mutating_webhook module in k8s.api.admissionregistration.v1beta1 pac This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MutatingWebhook: @@ -28,7 +28,7 @@ schema MutatingWebhook: Defaults to "Exact" name : str, default is Undefined, required The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook. For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1"; you will set the selector as follows: "namespaceSelector": { @@ -60,7 +60,7 @@ schema MutatingWebhook: See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors. Default to the empty LabelSelector, which matches everything. - objectSelector : v1.LabelSelector, default is Undefined, optional + objectSelector : metav1.LabelSelector, default is Undefined, optional ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything. reinvocationPolicy : str, default is Undefined, optional reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded". @@ -89,9 +89,9 @@ schema MutatingWebhook: name: str - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector - objectSelector?: v1.LabelSelector + objectSelector?: metav1.LabelSelector reinvocationPolicy?: str diff --git a/k8s/1.16/api/admissionregistration/v1beta1/mutating_webhook_configuration.k b/k8s/1.16/api/admissionregistration/v1beta1/mutating_webhook_configuration.k index 6393b519..25598a7d 100644 --- a/k8s/1.16/api/admissionregistration/v1beta1/mutating_webhook_configuration.k +++ b/k8s/1.16/api/admissionregistration/v1beta1/mutating_webhook_configuration.k @@ -3,7 +3,7 @@ This is the mutating_webhook_configuration module in k8s.api.admissionregistrati This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MutatingWebhookConfiguration: @@ -16,7 +16,7 @@ schema MutatingWebhookConfiguration: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "MutatingWebhookConfiguration", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. webhooks : [MutatingWebhook], default is Undefined, optional Webhooks is a list of webhooks and the affected resources and operations. @@ -27,7 +27,7 @@ schema MutatingWebhookConfiguration: kind: "MutatingWebhookConfiguration" = "MutatingWebhookConfiguration" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta webhooks?: [MutatingWebhook] diff --git a/k8s/1.16/api/admissionregistration/v1beta1/mutating_webhook_configuration_list.k b/k8s/1.16/api/admissionregistration/v1beta1/mutating_webhook_configuration_list.k index 12c40d69..a56f0976 100644 --- a/k8s/1.16/api/admissionregistration/v1beta1/mutating_webhook_configuration_list.k +++ b/k8s/1.16/api/admissionregistration/v1beta1/mutating_webhook_configuration_list.k @@ -3,7 +3,7 @@ This is the mutating_webhook_configuration_list module in k8s.api.admissionregis This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MutatingWebhookConfigurationList: @@ -18,7 +18,7 @@ schema MutatingWebhookConfigurationList: List of MutatingWebhookConfiguration. kind : str, default is "MutatingWebhookConfigurationList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema MutatingWebhookConfigurationList: kind: "MutatingWebhookConfigurationList" = "MutatingWebhookConfigurationList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/admissionregistration/v1beta1/validating_webhook.k b/k8s/1.16/api/admissionregistration/v1beta1/validating_webhook.k index 4f3c384a..bdac3bf1 100644 --- a/k8s/1.16/api/admissionregistration/v1beta1/validating_webhook.k +++ b/k8s/1.16/api/admissionregistration/v1beta1/validating_webhook.k @@ -3,7 +3,7 @@ This is the validating_webhook module in k8s.api.admissionregistration.v1beta1 p This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingWebhook: @@ -28,7 +28,7 @@ schema ValidatingWebhook: Defaults to "Exact" name : str, default is Undefined, required The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook. For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1"; you will set the selector as follows: "namespaceSelector": { @@ -60,7 +60,7 @@ schema ValidatingWebhook: See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels for more examples of label selectors. Default to the empty LabelSelector, which matches everything. - objectSelector : v1.LabelSelector, default is Undefined, optional + objectSelector : metav1.LabelSelector, default is Undefined, optional ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything. rules : [RuleWithOperations], default is Undefined, optional Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects. @@ -81,9 +81,9 @@ schema ValidatingWebhook: name: str - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector - objectSelector?: v1.LabelSelector + objectSelector?: metav1.LabelSelector rules?: [RuleWithOperations] diff --git a/k8s/1.16/api/admissionregistration/v1beta1/validating_webhook_configuration.k b/k8s/1.16/api/admissionregistration/v1beta1/validating_webhook_configuration.k index 9aff9003..9d848985 100644 --- a/k8s/1.16/api/admissionregistration/v1beta1/validating_webhook_configuration.k +++ b/k8s/1.16/api/admissionregistration/v1beta1/validating_webhook_configuration.k @@ -3,7 +3,7 @@ This is the validating_webhook_configuration module in k8s.api.admissionregistra This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingWebhookConfiguration: @@ -16,7 +16,7 @@ schema ValidatingWebhookConfiguration: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ValidatingWebhookConfiguration", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. webhooks : [ValidatingWebhook], default is Undefined, optional Webhooks is a list of webhooks and the affected resources and operations. @@ -27,7 +27,7 @@ schema ValidatingWebhookConfiguration: kind: "ValidatingWebhookConfiguration" = "ValidatingWebhookConfiguration" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta webhooks?: [ValidatingWebhook] diff --git a/k8s/1.16/api/admissionregistration/v1beta1/validating_webhook_configuration_list.k b/k8s/1.16/api/admissionregistration/v1beta1/validating_webhook_configuration_list.k index 53370083..64780e0f 100644 --- a/k8s/1.16/api/admissionregistration/v1beta1/validating_webhook_configuration_list.k +++ b/k8s/1.16/api/admissionregistration/v1beta1/validating_webhook_configuration_list.k @@ -3,7 +3,7 @@ This is the validating_webhook_configuration_list module in k8s.api.admissionreg This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingWebhookConfigurationList: @@ -18,7 +18,7 @@ schema ValidatingWebhookConfigurationList: List of ValidatingWebhookConfiguration. kind : str, default is "ValidatingWebhookConfigurationList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ValidatingWebhookConfigurationList: kind: "ValidatingWebhookConfigurationList" = "ValidatingWebhookConfigurationList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/apps/v1/controller_revision.k b/k8s/1.16/api/apps/v1/controller_revision.k index dbb3d441..56163182 100644 --- a/k8s/1.16/api/apps/v1/controller_revision.k +++ b/k8s/1.16/api/apps/v1/controller_revision.k @@ -3,7 +3,7 @@ This is the controller_revision module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ControllerRevision: @@ -18,7 +18,7 @@ schema ControllerRevision: Data is the serialized representation of the state. kind : str, default is "ControllerRevision", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata revision : int, default is Undefined, required Revision indicates the revision of the state represented by Data. @@ -31,7 +31,7 @@ schema ControllerRevision: kind: "ControllerRevision" = "ControllerRevision" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta revision: int diff --git a/k8s/1.16/api/apps/v1/controller_revision_list.k b/k8s/1.16/api/apps/v1/controller_revision_list.k index e145fcff..bb64d1fe 100644 --- a/k8s/1.16/api/apps/v1/controller_revision_list.k +++ b/k8s/1.16/api/apps/v1/controller_revision_list.k @@ -3,7 +3,7 @@ This is the controller_revision_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ControllerRevisionList: @@ -18,7 +18,7 @@ schema ControllerRevisionList: Items is the list of ControllerRevisions kind : str, default is "ControllerRevisionList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema ControllerRevisionList: kind: "ControllerRevisionList" = "ControllerRevisionList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/apps/v1/daemon_set.k b/k8s/1.16/api/apps/v1/daemon_set.k index 33e7b68b..fd1c7c20 100644 --- a/k8s/1.16/api/apps/v1/daemon_set.k +++ b/k8s/1.16/api/apps/v1/daemon_set.k @@ -3,7 +3,7 @@ This is the daemon_set module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DaemonSet: @@ -16,7 +16,7 @@ schema DaemonSet: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "DaemonSet", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : DaemonSetSpec, default is Undefined, optional The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema DaemonSet: kind: "DaemonSet" = "DaemonSet" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: DaemonSetSpec diff --git a/k8s/1.16/api/apps/v1/daemon_set_list.k b/k8s/1.16/api/apps/v1/daemon_set_list.k index 3515d999..795c26f8 100644 --- a/k8s/1.16/api/apps/v1/daemon_set_list.k +++ b/k8s/1.16/api/apps/v1/daemon_set_list.k @@ -3,7 +3,7 @@ This is the daemon_set_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DaemonSetList: @@ -18,7 +18,7 @@ schema DaemonSetList: A list of daemon sets. kind : str, default is "DaemonSetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema DaemonSetList: kind: "DaemonSetList" = "DaemonSetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/apps/v1/daemon_set_spec.k b/k8s/1.16/api/apps/v1/daemon_set_spec.k index caf3faf8..352f849c 100644 --- a/k8s/1.16/api/apps/v1/daemon_set_spec.k +++ b/k8s/1.16/api/apps/v1/daemon_set_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DaemonSetSpec: @@ -17,7 +17,7 @@ schema DaemonSetSpec: The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready). revisionHistoryLimit : int, default is Undefined, optional The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required A label query over pods that are managed by the daemon set. Must match in order to be controlled. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors template : corev1.PodTemplateSpec, default is Undefined, required An object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template @@ -30,7 +30,7 @@ schema DaemonSetSpec: revisionHistoryLimit?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector template: corev1.PodTemplateSpec diff --git a/k8s/1.16/api/apps/v1/deployment.k b/k8s/1.16/api/apps/v1/deployment.k index 9b4af78c..6572679c 100644 --- a/k8s/1.16/api/apps/v1/deployment.k +++ b/k8s/1.16/api/apps/v1/deployment.k @@ -3,7 +3,7 @@ This is the deployment module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Deployment: @@ -16,7 +16,7 @@ schema Deployment: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Deployment", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. spec : DeploymentSpec, default is Undefined, optional Specification of the desired behavior of the Deployment. @@ -27,7 +27,7 @@ schema Deployment: kind: "Deployment" = "Deployment" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: DeploymentSpec diff --git a/k8s/1.16/api/apps/v1/deployment_list.k b/k8s/1.16/api/apps/v1/deployment_list.k index a83ce0d5..8fa44e9b 100644 --- a/k8s/1.16/api/apps/v1/deployment_list.k +++ b/k8s/1.16/api/apps/v1/deployment_list.k @@ -3,7 +3,7 @@ This is the deployment_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DeploymentList: @@ -18,7 +18,7 @@ schema DeploymentList: Items is the list of Deployments. kind : str, default is "DeploymentList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema DeploymentList: kind: "DeploymentList" = "DeploymentList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/apps/v1/deployment_spec.k b/k8s/1.16/api/apps/v1/deployment_spec.k index b8591d9a..c0f14ef0 100644 --- a/k8s/1.16/api/apps/v1/deployment_spec.k +++ b/k8s/1.16/api/apps/v1/deployment_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DeploymentSpec: @@ -23,7 +23,7 @@ schema DeploymentSpec: Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1. revisionHistoryLimit : int, default is Undefined, optional The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. It must match the pod template's labels. strategy : DeploymentStrategy, default is Undefined, optional The deployment strategy to use to replace existing pods with new ones. @@ -42,7 +42,7 @@ schema DeploymentSpec: revisionHistoryLimit?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector strategy?: DeploymentStrategy diff --git a/k8s/1.16/api/apps/v1/replica_set.k b/k8s/1.16/api/apps/v1/replica_set.k index 0497ff66..79552175 100644 --- a/k8s/1.16/api/apps/v1/replica_set.k +++ b/k8s/1.16/api/apps/v1/replica_set.k @@ -3,7 +3,7 @@ This is the replica_set module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicaSet: @@ -16,7 +16,7 @@ schema ReplicaSet: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ReplicaSet", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : ReplicaSetSpec, default is Undefined, optional Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema ReplicaSet: kind: "ReplicaSet" = "ReplicaSet" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ReplicaSetSpec diff --git a/k8s/1.16/api/apps/v1/replica_set_list.k b/k8s/1.16/api/apps/v1/replica_set_list.k index 0e25bef7..689ca9bb 100644 --- a/k8s/1.16/api/apps/v1/replica_set_list.k +++ b/k8s/1.16/api/apps/v1/replica_set_list.k @@ -3,7 +3,7 @@ This is the replica_set_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicaSetList: @@ -18,7 +18,7 @@ schema ReplicaSetList: List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller kind : str, default is "ReplicaSetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ReplicaSetList: kind: "ReplicaSetList" = "ReplicaSetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/apps/v1/replica_set_spec.k b/k8s/1.16/api/apps/v1/replica_set_spec.k index 700810d3..53ae3f6f 100644 --- a/k8s/1.16/api/apps/v1/replica_set_spec.k +++ b/k8s/1.16/api/apps/v1/replica_set_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicaSetSpec: @@ -17,7 +17,7 @@ schema ReplicaSetSpec: Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) replicas : int, default is Undefined, optional Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required Selector is a label query over pods that should match the replica count. Label keys and values that must match in order to be controlled by this replica set. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors template : corev1.PodTemplateSpec, default is Undefined, optional Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template @@ -28,7 +28,7 @@ schema ReplicaSetSpec: replicas?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector template?: corev1.PodTemplateSpec diff --git a/k8s/1.16/api/apps/v1/stateful_set.k b/k8s/1.16/api/apps/v1/stateful_set.k index d069bd3c..1ae50fc7 100644 --- a/k8s/1.16/api/apps/v1/stateful_set.k +++ b/k8s/1.16/api/apps/v1/stateful_set.k @@ -3,7 +3,7 @@ This is the stateful_set module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StatefulSet: @@ -19,7 +19,7 @@ schema StatefulSet: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "StatefulSet", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : StatefulSetSpec, default is Undefined, optional Spec defines the desired identities of pods in this set. @@ -30,7 +30,7 @@ schema StatefulSet: kind: "StatefulSet" = "StatefulSet" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: StatefulSetSpec diff --git a/k8s/1.16/api/apps/v1/stateful_set_list.k b/k8s/1.16/api/apps/v1/stateful_set_list.k index cb8e7543..96301762 100644 --- a/k8s/1.16/api/apps/v1/stateful_set_list.k +++ b/k8s/1.16/api/apps/v1/stateful_set_list.k @@ -3,7 +3,7 @@ This is the stateful_set_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StatefulSetList: @@ -18,7 +18,7 @@ schema StatefulSetList: items kind : str, default is "StatefulSetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema StatefulSetList: kind: "StatefulSetList" = "StatefulSetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/apps/v1/stateful_set_spec.k b/k8s/1.16/api/apps/v1/stateful_set_spec.k index 4deeb5ed..14e6e0ee 100644 --- a/k8s/1.16/api/apps/v1/stateful_set_spec.k +++ b/k8s/1.16/api/apps/v1/stateful_set_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StatefulSetSpec: @@ -19,7 +19,7 @@ schema StatefulSetSpec: replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1. revisionHistoryLimit : int, default is Undefined, optional revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10. - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required selector is a label query over pods that should match the replica count. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors serviceName : str, default is Undefined, required serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where "pod-specific-string" is managed by the StatefulSet controller. @@ -38,7 +38,7 @@ schema StatefulSetSpec: revisionHistoryLimit?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector serviceName: str diff --git a/k8s/1.16/api/apps/v1beta1/controller_revision.k b/k8s/1.16/api/apps/v1beta1/controller_revision.k index 1ba35e30..12f21196 100644 --- a/k8s/1.16/api/apps/v1beta1/controller_revision.k +++ b/k8s/1.16/api/apps/v1beta1/controller_revision.k @@ -3,7 +3,7 @@ This is the controller_revision module in k8s.api.apps.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ControllerRevision: @@ -18,7 +18,7 @@ schema ControllerRevision: Data is the serialized representation of the state. kind : str, default is "ControllerRevision", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata revision : int, default is Undefined, required Revision indicates the revision of the state represented by Data. @@ -31,7 +31,7 @@ schema ControllerRevision: kind: "ControllerRevision" = "ControllerRevision" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta revision: int diff --git a/k8s/1.16/api/apps/v1beta1/controller_revision_list.k b/k8s/1.16/api/apps/v1beta1/controller_revision_list.k index 4cdbb900..93263f98 100644 --- a/k8s/1.16/api/apps/v1beta1/controller_revision_list.k +++ b/k8s/1.16/api/apps/v1beta1/controller_revision_list.k @@ -3,7 +3,7 @@ This is the controller_revision_list module in k8s.api.apps.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ControllerRevisionList: @@ -18,7 +18,7 @@ schema ControllerRevisionList: Items is the list of ControllerRevisions kind : str, default is "ControllerRevisionList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema ControllerRevisionList: kind: "ControllerRevisionList" = "ControllerRevisionList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/apps/v1beta1/deployment.k b/k8s/1.16/api/apps/v1beta1/deployment.k index 8c7c9462..2679d2f1 100644 --- a/k8s/1.16/api/apps/v1beta1/deployment.k +++ b/k8s/1.16/api/apps/v1beta1/deployment.k @@ -3,7 +3,7 @@ This is the deployment module in k8s.api.apps.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Deployment: @@ -16,7 +16,7 @@ schema Deployment: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Deployment", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. spec : DeploymentSpec, default is Undefined, optional Specification of the desired behavior of the Deployment. @@ -27,7 +27,7 @@ schema Deployment: kind: "Deployment" = "Deployment" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: DeploymentSpec diff --git a/k8s/1.16/api/apps/v1beta1/deployment_list.k b/k8s/1.16/api/apps/v1beta1/deployment_list.k index 9e5405b6..82716481 100644 --- a/k8s/1.16/api/apps/v1beta1/deployment_list.k +++ b/k8s/1.16/api/apps/v1beta1/deployment_list.k @@ -3,7 +3,7 @@ This is the deployment_list module in k8s.api.apps.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DeploymentList: @@ -18,7 +18,7 @@ schema DeploymentList: Items is the list of Deployments. kind : str, default is "DeploymentList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema DeploymentList: kind: "DeploymentList" = "DeploymentList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/apps/v1beta1/deployment_spec.k b/k8s/1.16/api/apps/v1beta1/deployment_spec.k index 89bb0162..163c47e6 100644 --- a/k8s/1.16/api/apps/v1beta1/deployment_spec.k +++ b/k8s/1.16/api/apps/v1beta1/deployment_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DeploymentSpec: @@ -25,7 +25,7 @@ schema DeploymentSpec: The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 2. rollbackTo : RollbackConfig, default is Undefined, optional DEPRECATED. The config this deployment is rolling back to. Will be cleared after rollback is done. - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. strategy : DeploymentStrategy, default is Undefined, optional The deployment strategy to use to replace existing pods with new ones. @@ -46,7 +46,7 @@ schema DeploymentSpec: rollbackTo?: RollbackConfig - selector?: v1.LabelSelector + selector?: metav1.LabelSelector strategy?: DeploymentStrategy diff --git a/k8s/1.16/api/apps/v1beta1/scale.k b/k8s/1.16/api/apps/v1beta1/scale.k index cd7fcee9..db090a11 100644 --- a/k8s/1.16/api/apps/v1beta1/scale.k +++ b/k8s/1.16/api/apps/v1beta1/scale.k @@ -3,7 +3,7 @@ This is the scale module in k8s.api.apps.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Scale: @@ -16,7 +16,7 @@ schema Scale: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Scale", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. spec : ScaleSpec, default is Undefined, optional defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema Scale: kind: "Scale" = "Scale" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ScaleSpec diff --git a/k8s/1.16/api/apps/v1beta1/stateful_set.k b/k8s/1.16/api/apps/v1beta1/stateful_set.k index a3efbc1c..90d63d95 100644 --- a/k8s/1.16/api/apps/v1beta1/stateful_set.k +++ b/k8s/1.16/api/apps/v1beta1/stateful_set.k @@ -3,7 +3,7 @@ This is the stateful_set module in k8s.api.apps.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StatefulSet: @@ -19,7 +19,7 @@ schema StatefulSet: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "StatefulSet", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : StatefulSetSpec, default is Undefined, optional Spec defines the desired identities of pods in this set. @@ -30,7 +30,7 @@ schema StatefulSet: kind: "StatefulSet" = "StatefulSet" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: StatefulSetSpec diff --git a/k8s/1.16/api/apps/v1beta1/stateful_set_list.k b/k8s/1.16/api/apps/v1beta1/stateful_set_list.k index 44e44539..38503244 100644 --- a/k8s/1.16/api/apps/v1beta1/stateful_set_list.k +++ b/k8s/1.16/api/apps/v1beta1/stateful_set_list.k @@ -3,7 +3,7 @@ This is the stateful_set_list module in k8s.api.apps.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StatefulSetList: @@ -18,7 +18,7 @@ schema StatefulSetList: items kind : str, default is "StatefulSetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema StatefulSetList: kind: "StatefulSetList" = "StatefulSetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/apps/v1beta1/stateful_set_spec.k b/k8s/1.16/api/apps/v1beta1/stateful_set_spec.k index cc43f136..f208c3e2 100644 --- a/k8s/1.16/api/apps/v1beta1/stateful_set_spec.k +++ b/k8s/1.16/api/apps/v1beta1/stateful_set_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StatefulSetSpec: @@ -19,7 +19,7 @@ schema StatefulSetSpec: replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1. revisionHistoryLimit : int, default is Undefined, optional revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10. - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector is a label query over pods that should match the replica count. If empty, defaulted to labels on the pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors serviceName : str, default is Undefined, required serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where "pod-specific-string" is managed by the StatefulSet controller. @@ -38,7 +38,7 @@ schema StatefulSetSpec: revisionHistoryLimit?: int - selector?: v1.LabelSelector + selector?: metav1.LabelSelector serviceName: str diff --git a/k8s/1.16/api/apps/v1beta2/controller_revision.k b/k8s/1.16/api/apps/v1beta2/controller_revision.k index 70e67a34..8463aa7f 100644 --- a/k8s/1.16/api/apps/v1beta2/controller_revision.k +++ b/k8s/1.16/api/apps/v1beta2/controller_revision.k @@ -3,7 +3,7 @@ This is the controller_revision module in k8s.api.apps.v1beta2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ControllerRevision: @@ -18,7 +18,7 @@ schema ControllerRevision: Data is the serialized representation of the state. kind : str, default is "ControllerRevision", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata revision : int, default is Undefined, required Revision indicates the revision of the state represented by Data. @@ -31,7 +31,7 @@ schema ControllerRevision: kind: "ControllerRevision" = "ControllerRevision" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta revision: int diff --git a/k8s/1.16/api/apps/v1beta2/controller_revision_list.k b/k8s/1.16/api/apps/v1beta2/controller_revision_list.k index 7b5131d3..0e661f6a 100644 --- a/k8s/1.16/api/apps/v1beta2/controller_revision_list.k +++ b/k8s/1.16/api/apps/v1beta2/controller_revision_list.k @@ -3,7 +3,7 @@ This is the controller_revision_list module in k8s.api.apps.v1beta2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ControllerRevisionList: @@ -18,7 +18,7 @@ schema ControllerRevisionList: Items is the list of ControllerRevisions kind : str, default is "ControllerRevisionList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema ControllerRevisionList: kind: "ControllerRevisionList" = "ControllerRevisionList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/apps/v1beta2/daemon_set.k b/k8s/1.16/api/apps/v1beta2/daemon_set.k index 3a2e2cd2..d862a749 100644 --- a/k8s/1.16/api/apps/v1beta2/daemon_set.k +++ b/k8s/1.16/api/apps/v1beta2/daemon_set.k @@ -3,7 +3,7 @@ This is the daemon_set module in k8s.api.apps.v1beta2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DaemonSet: @@ -16,7 +16,7 @@ schema DaemonSet: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "DaemonSet", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : DaemonSetSpec, default is Undefined, optional The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema DaemonSet: kind: "DaemonSet" = "DaemonSet" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: DaemonSetSpec diff --git a/k8s/1.16/api/apps/v1beta2/daemon_set_list.k b/k8s/1.16/api/apps/v1beta2/daemon_set_list.k index 4839a404..96feba93 100644 --- a/k8s/1.16/api/apps/v1beta2/daemon_set_list.k +++ b/k8s/1.16/api/apps/v1beta2/daemon_set_list.k @@ -3,7 +3,7 @@ This is the daemon_set_list module in k8s.api.apps.v1beta2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DaemonSetList: @@ -18,7 +18,7 @@ schema DaemonSetList: A list of daemon sets. kind : str, default is "DaemonSetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema DaemonSetList: kind: "DaemonSetList" = "DaemonSetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/apps/v1beta2/daemon_set_spec.k b/k8s/1.16/api/apps/v1beta2/daemon_set_spec.k index 7cd0be12..5c58389f 100644 --- a/k8s/1.16/api/apps/v1beta2/daemon_set_spec.k +++ b/k8s/1.16/api/apps/v1beta2/daemon_set_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DaemonSetSpec: @@ -17,7 +17,7 @@ schema DaemonSetSpec: The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready). revisionHistoryLimit : int, default is Undefined, optional The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required A label query over pods that are managed by the daemon set. Must match in order to be controlled. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors template : corev1.PodTemplateSpec, default is Undefined, required An object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template @@ -30,7 +30,7 @@ schema DaemonSetSpec: revisionHistoryLimit?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector template: corev1.PodTemplateSpec diff --git a/k8s/1.16/api/apps/v1beta2/deployment.k b/k8s/1.16/api/apps/v1beta2/deployment.k index 6ed15583..4262f869 100644 --- a/k8s/1.16/api/apps/v1beta2/deployment.k +++ b/k8s/1.16/api/apps/v1beta2/deployment.k @@ -3,7 +3,7 @@ This is the deployment module in k8s.api.apps.v1beta2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Deployment: @@ -16,7 +16,7 @@ schema Deployment: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Deployment", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. spec : DeploymentSpec, default is Undefined, optional Specification of the desired behavior of the Deployment. @@ -27,7 +27,7 @@ schema Deployment: kind: "Deployment" = "Deployment" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: DeploymentSpec diff --git a/k8s/1.16/api/apps/v1beta2/deployment_list.k b/k8s/1.16/api/apps/v1beta2/deployment_list.k index 324848f0..422a2367 100644 --- a/k8s/1.16/api/apps/v1beta2/deployment_list.k +++ b/k8s/1.16/api/apps/v1beta2/deployment_list.k @@ -3,7 +3,7 @@ This is the deployment_list module in k8s.api.apps.v1beta2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DeploymentList: @@ -18,7 +18,7 @@ schema DeploymentList: Items is the list of Deployments. kind : str, default is "DeploymentList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema DeploymentList: kind: "DeploymentList" = "DeploymentList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/apps/v1beta2/deployment_spec.k b/k8s/1.16/api/apps/v1beta2/deployment_spec.k index 6564c983..51a19e84 100644 --- a/k8s/1.16/api/apps/v1beta2/deployment_spec.k +++ b/k8s/1.16/api/apps/v1beta2/deployment_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DeploymentSpec: @@ -23,7 +23,7 @@ schema DeploymentSpec: Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1. revisionHistoryLimit : int, default is Undefined, optional The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. It must match the pod template's labels. strategy : DeploymentStrategy, default is Undefined, optional The deployment strategy to use to replace existing pods with new ones. @@ -42,7 +42,7 @@ schema DeploymentSpec: revisionHistoryLimit?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector strategy?: DeploymentStrategy diff --git a/k8s/1.16/api/apps/v1beta2/replica_set.k b/k8s/1.16/api/apps/v1beta2/replica_set.k index 5449fbb3..e4676512 100644 --- a/k8s/1.16/api/apps/v1beta2/replica_set.k +++ b/k8s/1.16/api/apps/v1beta2/replica_set.k @@ -3,7 +3,7 @@ This is the replica_set module in k8s.api.apps.v1beta2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicaSet: @@ -16,7 +16,7 @@ schema ReplicaSet: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ReplicaSet", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : ReplicaSetSpec, default is Undefined, optional Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema ReplicaSet: kind: "ReplicaSet" = "ReplicaSet" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ReplicaSetSpec diff --git a/k8s/1.16/api/apps/v1beta2/replica_set_list.k b/k8s/1.16/api/apps/v1beta2/replica_set_list.k index 799c5a09..efe8a095 100644 --- a/k8s/1.16/api/apps/v1beta2/replica_set_list.k +++ b/k8s/1.16/api/apps/v1beta2/replica_set_list.k @@ -3,7 +3,7 @@ This is the replica_set_list module in k8s.api.apps.v1beta2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicaSetList: @@ -18,7 +18,7 @@ schema ReplicaSetList: List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller kind : str, default is "ReplicaSetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ReplicaSetList: kind: "ReplicaSetList" = "ReplicaSetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/apps/v1beta2/replica_set_spec.k b/k8s/1.16/api/apps/v1beta2/replica_set_spec.k index c9451b61..776dc44d 100644 --- a/k8s/1.16/api/apps/v1beta2/replica_set_spec.k +++ b/k8s/1.16/api/apps/v1beta2/replica_set_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicaSetSpec: @@ -17,7 +17,7 @@ schema ReplicaSetSpec: Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) replicas : int, default is Undefined, optional Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required Selector is a label query over pods that should match the replica count. Label keys and values that must match in order to be controlled by this replica set. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors template : corev1.PodTemplateSpec, default is Undefined, optional Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template @@ -28,7 +28,7 @@ schema ReplicaSetSpec: replicas?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector template?: corev1.PodTemplateSpec diff --git a/k8s/1.16/api/apps/v1beta2/scale.k b/k8s/1.16/api/apps/v1beta2/scale.k index 0e89c404..3a09519b 100644 --- a/k8s/1.16/api/apps/v1beta2/scale.k +++ b/k8s/1.16/api/apps/v1beta2/scale.k @@ -3,7 +3,7 @@ This is the scale module in k8s.api.apps.v1beta2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Scale: @@ -16,7 +16,7 @@ schema Scale: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Scale", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. spec : ScaleSpec, default is Undefined, optional defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema Scale: kind: "Scale" = "Scale" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ScaleSpec diff --git a/k8s/1.16/api/apps/v1beta2/stateful_set.k b/k8s/1.16/api/apps/v1beta2/stateful_set.k index a774f802..6937d6ca 100644 --- a/k8s/1.16/api/apps/v1beta2/stateful_set.k +++ b/k8s/1.16/api/apps/v1beta2/stateful_set.k @@ -3,7 +3,7 @@ This is the stateful_set module in k8s.api.apps.v1beta2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StatefulSet: @@ -19,7 +19,7 @@ schema StatefulSet: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "StatefulSet", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : StatefulSetSpec, default is Undefined, optional Spec defines the desired identities of pods in this set. @@ -30,7 +30,7 @@ schema StatefulSet: kind: "StatefulSet" = "StatefulSet" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: StatefulSetSpec diff --git a/k8s/1.16/api/apps/v1beta2/stateful_set_list.k b/k8s/1.16/api/apps/v1beta2/stateful_set_list.k index bf89b75e..a854e2c9 100644 --- a/k8s/1.16/api/apps/v1beta2/stateful_set_list.k +++ b/k8s/1.16/api/apps/v1beta2/stateful_set_list.k @@ -3,7 +3,7 @@ This is the stateful_set_list module in k8s.api.apps.v1beta2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StatefulSetList: @@ -18,7 +18,7 @@ schema StatefulSetList: items kind : str, default is "StatefulSetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema StatefulSetList: kind: "StatefulSetList" = "StatefulSetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/apps/v1beta2/stateful_set_spec.k b/k8s/1.16/api/apps/v1beta2/stateful_set_spec.k index 52e2b106..09b1564b 100644 --- a/k8s/1.16/api/apps/v1beta2/stateful_set_spec.k +++ b/k8s/1.16/api/apps/v1beta2/stateful_set_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StatefulSetSpec: @@ -19,7 +19,7 @@ schema StatefulSetSpec: replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1. revisionHistoryLimit : int, default is Undefined, optional revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10. - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required selector is a label query over pods that should match the replica count. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors serviceName : str, default is Undefined, required serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where "pod-specific-string" is managed by the StatefulSet controller. @@ -38,7 +38,7 @@ schema StatefulSetSpec: revisionHistoryLimit?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector serviceName: str diff --git a/k8s/1.16/api/auditregistration/v1alpha1/audit_sink.k b/k8s/1.16/api/auditregistration/v1alpha1/audit_sink.k index 6f17515f..a5bbf6eb 100644 --- a/k8s/1.16/api/auditregistration/v1alpha1/audit_sink.k +++ b/k8s/1.16/api/auditregistration/v1alpha1/audit_sink.k @@ -3,7 +3,7 @@ This is the audit_sink module in k8s.api.auditregistration.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema AuditSink: @@ -16,7 +16,7 @@ schema AuditSink: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "AuditSink", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : AuditSinkSpec, default is Undefined, optional Spec defines the audit configuration spec @@ -27,7 +27,7 @@ schema AuditSink: kind: "AuditSink" = "AuditSink" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: AuditSinkSpec diff --git a/k8s/1.16/api/auditregistration/v1alpha1/audit_sink_list.k b/k8s/1.16/api/auditregistration/v1alpha1/audit_sink_list.k index e4a22dc0..028ad173 100644 --- a/k8s/1.16/api/auditregistration/v1alpha1/audit_sink_list.k +++ b/k8s/1.16/api/auditregistration/v1alpha1/audit_sink_list.k @@ -3,7 +3,7 @@ This is the audit_sink_list module in k8s.api.auditregistration.v1alpha1 package This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema AuditSinkList: @@ -18,7 +18,7 @@ schema AuditSinkList: List of audit configurations. kind : str, default is "AuditSinkList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema AuditSinkList: kind: "AuditSinkList" = "AuditSinkList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/authentication/v1/token_request.k b/k8s/1.16/api/authentication/v1/token_request.k index 66d2e5e8..42e94dd8 100644 --- a/k8s/1.16/api/authentication/v1/token_request.k +++ b/k8s/1.16/api/authentication/v1/token_request.k @@ -3,7 +3,7 @@ This is the token_request module in k8s.api.authentication.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema TokenRequest: @@ -16,7 +16,7 @@ schema TokenRequest: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "TokenRequest", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : TokenRequestSpec, default is Undefined, required spec @@ -27,7 +27,7 @@ schema TokenRequest: kind: "TokenRequest" = "TokenRequest" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: TokenRequestSpec diff --git a/k8s/1.16/api/authentication/v1/token_review.k b/k8s/1.16/api/authentication/v1/token_review.k index c125cf34..eccc8ac7 100644 --- a/k8s/1.16/api/authentication/v1/token_review.k +++ b/k8s/1.16/api/authentication/v1/token_review.k @@ -3,7 +3,7 @@ This is the token_review module in k8s.api.authentication.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema TokenReview: @@ -16,7 +16,7 @@ schema TokenReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "TokenReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : TokenReviewSpec, default is Undefined, required Spec holds information about the request being evaluated @@ -27,7 +27,7 @@ schema TokenReview: kind: "TokenReview" = "TokenReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: TokenReviewSpec diff --git a/k8s/1.16/api/authentication/v1beta1/token_review.k b/k8s/1.16/api/authentication/v1beta1/token_review.k index 99abe8f4..b35b35ae 100644 --- a/k8s/1.16/api/authentication/v1beta1/token_review.k +++ b/k8s/1.16/api/authentication/v1beta1/token_review.k @@ -3,7 +3,7 @@ This is the token_review module in k8s.api.authentication.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema TokenReview: @@ -16,7 +16,7 @@ schema TokenReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "TokenReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : TokenReviewSpec, default is Undefined, required Spec holds information about the request being evaluated @@ -27,7 +27,7 @@ schema TokenReview: kind: "TokenReview" = "TokenReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: TokenReviewSpec diff --git a/k8s/1.16/api/authorization/v1/local_subject_access_review.k b/k8s/1.16/api/authorization/v1/local_subject_access_review.k index c9626db7..1c64a48c 100644 --- a/k8s/1.16/api/authorization/v1/local_subject_access_review.k +++ b/k8s/1.16/api/authorization/v1/local_subject_access_review.k @@ -3,7 +3,7 @@ This is the local_subject_access_review module in k8s.api.authorization.v1 packa This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LocalSubjectAccessReview: @@ -16,7 +16,7 @@ schema LocalSubjectAccessReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "LocalSubjectAccessReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : SubjectAccessReviewSpec, default is Undefined, required Spec holds information about the request being evaluated. spec.namespace must be equal to the namespace you made the request against. If empty, it is defaulted. @@ -27,7 +27,7 @@ schema LocalSubjectAccessReview: kind: "LocalSubjectAccessReview" = "LocalSubjectAccessReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SubjectAccessReviewSpec diff --git a/k8s/1.16/api/authorization/v1/self_subject_access_review.k b/k8s/1.16/api/authorization/v1/self_subject_access_review.k index 3de47c38..8ddd2611 100644 --- a/k8s/1.16/api/authorization/v1/self_subject_access_review.k +++ b/k8s/1.16/api/authorization/v1/self_subject_access_review.k @@ -3,7 +3,7 @@ This is the self_subject_access_review module in k8s.api.authorization.v1 packag This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SelfSubjectAccessReview: @@ -16,7 +16,7 @@ schema SelfSubjectAccessReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SelfSubjectAccessReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : SelfSubjectAccessReviewSpec, default is Undefined, required Spec holds information about the request being evaluated. user and groups must be empty @@ -27,7 +27,7 @@ schema SelfSubjectAccessReview: kind: "SelfSubjectAccessReview" = "SelfSubjectAccessReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SelfSubjectAccessReviewSpec diff --git a/k8s/1.16/api/authorization/v1/self_subject_rules_review.k b/k8s/1.16/api/authorization/v1/self_subject_rules_review.k index ad99c589..16ec3f9f 100644 --- a/k8s/1.16/api/authorization/v1/self_subject_rules_review.k +++ b/k8s/1.16/api/authorization/v1/self_subject_rules_review.k @@ -3,7 +3,7 @@ This is the self_subject_rules_review module in k8s.api.authorization.v1 package This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SelfSubjectRulesReview: @@ -16,7 +16,7 @@ schema SelfSubjectRulesReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SelfSubjectRulesReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : SelfSubjectRulesReviewSpec, default is Undefined, required Spec holds information about the request being evaluated. @@ -27,7 +27,7 @@ schema SelfSubjectRulesReview: kind: "SelfSubjectRulesReview" = "SelfSubjectRulesReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SelfSubjectRulesReviewSpec diff --git a/k8s/1.16/api/authorization/v1/subject_access_review.k b/k8s/1.16/api/authorization/v1/subject_access_review.k index 63054bce..92ace799 100644 --- a/k8s/1.16/api/authorization/v1/subject_access_review.k +++ b/k8s/1.16/api/authorization/v1/subject_access_review.k @@ -3,7 +3,7 @@ This is the subject_access_review module in k8s.api.authorization.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SubjectAccessReview: @@ -16,7 +16,7 @@ schema SubjectAccessReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SubjectAccessReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : SubjectAccessReviewSpec, default is Undefined, required Spec holds information about the request being evaluated @@ -27,7 +27,7 @@ schema SubjectAccessReview: kind: "SubjectAccessReview" = "SubjectAccessReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SubjectAccessReviewSpec diff --git a/k8s/1.16/api/authorization/v1beta1/local_subject_access_review.k b/k8s/1.16/api/authorization/v1beta1/local_subject_access_review.k index 687ff5e1..54883a47 100644 --- a/k8s/1.16/api/authorization/v1beta1/local_subject_access_review.k +++ b/k8s/1.16/api/authorization/v1beta1/local_subject_access_review.k @@ -3,7 +3,7 @@ This is the local_subject_access_review module in k8s.api.authorization.v1beta1 This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LocalSubjectAccessReview: @@ -16,7 +16,7 @@ schema LocalSubjectAccessReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "LocalSubjectAccessReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : SubjectAccessReviewSpec, default is Undefined, required Spec holds information about the request being evaluated. spec.namespace must be equal to the namespace you made the request against. If empty, it is defaulted. @@ -27,7 +27,7 @@ schema LocalSubjectAccessReview: kind: "LocalSubjectAccessReview" = "LocalSubjectAccessReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SubjectAccessReviewSpec diff --git a/k8s/1.16/api/authorization/v1beta1/self_subject_access_review.k b/k8s/1.16/api/authorization/v1beta1/self_subject_access_review.k index 05c83084..ee819623 100644 --- a/k8s/1.16/api/authorization/v1beta1/self_subject_access_review.k +++ b/k8s/1.16/api/authorization/v1beta1/self_subject_access_review.k @@ -3,7 +3,7 @@ This is the self_subject_access_review module in k8s.api.authorization.v1beta1 p This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SelfSubjectAccessReview: @@ -16,7 +16,7 @@ schema SelfSubjectAccessReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SelfSubjectAccessReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : SelfSubjectAccessReviewSpec, default is Undefined, required Spec holds information about the request being evaluated. user and groups must be empty @@ -27,7 +27,7 @@ schema SelfSubjectAccessReview: kind: "SelfSubjectAccessReview" = "SelfSubjectAccessReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SelfSubjectAccessReviewSpec diff --git a/k8s/1.16/api/authorization/v1beta1/self_subject_rules_review.k b/k8s/1.16/api/authorization/v1beta1/self_subject_rules_review.k index a71edd4d..51a41f51 100644 --- a/k8s/1.16/api/authorization/v1beta1/self_subject_rules_review.k +++ b/k8s/1.16/api/authorization/v1beta1/self_subject_rules_review.k @@ -3,7 +3,7 @@ This is the self_subject_rules_review module in k8s.api.authorization.v1beta1 pa This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SelfSubjectRulesReview: @@ -16,7 +16,7 @@ schema SelfSubjectRulesReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SelfSubjectRulesReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : SelfSubjectRulesReviewSpec, default is Undefined, required Spec holds information about the request being evaluated. @@ -27,7 +27,7 @@ schema SelfSubjectRulesReview: kind: "SelfSubjectRulesReview" = "SelfSubjectRulesReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SelfSubjectRulesReviewSpec diff --git a/k8s/1.16/api/authorization/v1beta1/subject_access_review.k b/k8s/1.16/api/authorization/v1beta1/subject_access_review.k index e28f6eed..9dcea762 100644 --- a/k8s/1.16/api/authorization/v1beta1/subject_access_review.k +++ b/k8s/1.16/api/authorization/v1beta1/subject_access_review.k @@ -3,7 +3,7 @@ This is the subject_access_review module in k8s.api.authorization.v1beta1 packag This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SubjectAccessReview: @@ -16,7 +16,7 @@ schema SubjectAccessReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SubjectAccessReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : SubjectAccessReviewSpec, default is Undefined, required Spec holds information about the request being evaluated @@ -27,7 +27,7 @@ schema SubjectAccessReview: kind: "SubjectAccessReview" = "SubjectAccessReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SubjectAccessReviewSpec diff --git a/k8s/1.16/api/autoscaling/v1/horizontal_pod_autoscaler.k b/k8s/1.16/api/autoscaling/v1/horizontal_pod_autoscaler.k index eea68027..b81a2839 100644 --- a/k8s/1.16/api/autoscaling/v1/horizontal_pod_autoscaler.k +++ b/k8s/1.16/api/autoscaling/v1/horizontal_pod_autoscaler.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler module in k8s.api.autoscaling.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscaler: @@ -16,7 +16,7 @@ schema HorizontalPodAutoscaler: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "HorizontalPodAutoscaler", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : HorizontalPodAutoscalerSpec, default is Undefined, optional behaviour of autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema HorizontalPodAutoscaler: kind: "HorizontalPodAutoscaler" = "HorizontalPodAutoscaler" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: HorizontalPodAutoscalerSpec diff --git a/k8s/1.16/api/autoscaling/v1/horizontal_pod_autoscaler_list.k b/k8s/1.16/api/autoscaling/v1/horizontal_pod_autoscaler_list.k index 829f7b8b..40a58fe3 100644 --- a/k8s/1.16/api/autoscaling/v1/horizontal_pod_autoscaler_list.k +++ b/k8s/1.16/api/autoscaling/v1/horizontal_pod_autoscaler_list.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler_list module in k8s.api.autoscaling.v1 pack This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscalerList: @@ -18,7 +18,7 @@ schema HorizontalPodAutoscalerList: list of horizontal pod autoscaler objects. kind : str, default is "HorizontalPodAutoscalerList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema HorizontalPodAutoscalerList: kind: "HorizontalPodAutoscalerList" = "HorizontalPodAutoscalerList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/autoscaling/v1/scale.k b/k8s/1.16/api/autoscaling/v1/scale.k index d9bbdae4..1466aa0e 100644 --- a/k8s/1.16/api/autoscaling/v1/scale.k +++ b/k8s/1.16/api/autoscaling/v1/scale.k @@ -3,7 +3,7 @@ This is the scale module in k8s.api.autoscaling.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Scale: @@ -16,7 +16,7 @@ schema Scale: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Scale", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. spec : ScaleSpec, default is Undefined, optional defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema Scale: kind: "Scale" = "Scale" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ScaleSpec diff --git a/k8s/1.16/api/autoscaling/v2beta1/external_metric_source.k b/k8s/1.16/api/autoscaling/v2beta1/external_metric_source.k index 23887048..b1ff85f3 100644 --- a/k8s/1.16/api/autoscaling/v2beta1/external_metric_source.k +++ b/k8s/1.16/api/autoscaling/v2beta1/external_metric_source.k @@ -3,7 +3,7 @@ This is the external_metric_source module in k8s.api.autoscaling.v2beta1 package This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ExternalMetricSource: @@ -14,7 +14,7 @@ schema ExternalMetricSource: ---------- metricName : str, default is Undefined, required metricName is the name of the metric in question. - metricSelector : v1.LabelSelector, default is Undefined, optional + metricSelector : metav1.LabelSelector, default is Undefined, optional metricSelector is used to identify a specific time series within a given metric. targetAverageValue : str, default is Undefined, optional targetAverageValue is the target per-pod value of global metric (as a quantity). Mutually exclusive with TargetValue. @@ -25,7 +25,7 @@ schema ExternalMetricSource: metricName: str - metricSelector?: v1.LabelSelector + metricSelector?: metav1.LabelSelector targetAverageValue?: str diff --git a/k8s/1.16/api/autoscaling/v2beta1/external_metric_status.k b/k8s/1.16/api/autoscaling/v2beta1/external_metric_status.k index 507ffd14..39a87bad 100644 --- a/k8s/1.16/api/autoscaling/v2beta1/external_metric_status.k +++ b/k8s/1.16/api/autoscaling/v2beta1/external_metric_status.k @@ -3,7 +3,7 @@ This is the external_metric_status module in k8s.api.autoscaling.v2beta1 package This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ExternalMetricStatus: @@ -18,7 +18,7 @@ schema ExternalMetricStatus: currentValue is the current value of the metric (as a quantity) metricName : str, default is Undefined, required metricName is the name of a metric used for autoscaling in metric system. - metricSelector : v1.LabelSelector, default is Undefined, optional + metricSelector : metav1.LabelSelector, default is Undefined, optional metricSelector is used to identify a specific time series within a given metric. """ @@ -29,6 +29,6 @@ schema ExternalMetricStatus: metricName: str - metricSelector?: v1.LabelSelector + metricSelector?: metav1.LabelSelector diff --git a/k8s/1.16/api/autoscaling/v2beta1/horizontal_pod_autoscaler.k b/k8s/1.16/api/autoscaling/v2beta1/horizontal_pod_autoscaler.k index 47c8b64c..4ea3ff99 100644 --- a/k8s/1.16/api/autoscaling/v2beta1/horizontal_pod_autoscaler.k +++ b/k8s/1.16/api/autoscaling/v2beta1/horizontal_pod_autoscaler.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler module in k8s.api.autoscaling.v2beta1 pack This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscaler: @@ -16,7 +16,7 @@ schema HorizontalPodAutoscaler: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "HorizontalPodAutoscaler", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : HorizontalPodAutoscalerSpec, default is Undefined, optional spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema HorizontalPodAutoscaler: kind: "HorizontalPodAutoscaler" = "HorizontalPodAutoscaler" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: HorizontalPodAutoscalerSpec diff --git a/k8s/1.16/api/autoscaling/v2beta1/horizontal_pod_autoscaler_list.k b/k8s/1.16/api/autoscaling/v2beta1/horizontal_pod_autoscaler_list.k index 95381428..4629310f 100644 --- a/k8s/1.16/api/autoscaling/v2beta1/horizontal_pod_autoscaler_list.k +++ b/k8s/1.16/api/autoscaling/v2beta1/horizontal_pod_autoscaler_list.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler_list module in k8s.api.autoscaling.v2beta1 This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscalerList: @@ -18,7 +18,7 @@ schema HorizontalPodAutoscalerList: items is the list of horizontal pod autoscaler objects. kind : str, default is "HorizontalPodAutoscalerList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata is the standard list metadata. """ @@ -29,6 +29,6 @@ schema HorizontalPodAutoscalerList: kind: "HorizontalPodAutoscalerList" = "HorizontalPodAutoscalerList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/autoscaling/v2beta1/object_metric_source.k b/k8s/1.16/api/autoscaling/v2beta1/object_metric_source.k index a8ff4213..af8d307f 100644 --- a/k8s/1.16/api/autoscaling/v2beta1/object_metric_source.k +++ b/k8s/1.16/api/autoscaling/v2beta1/object_metric_source.k @@ -3,7 +3,7 @@ This is the object_metric_source module in k8s.api.autoscaling.v2beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ObjectMetricSource: @@ -16,7 +16,7 @@ schema ObjectMetricSource: averageValue is the target value of the average of the metric across all relevant pods (as a quantity) metricName : str, default is Undefined, required metricName is the name of the metric in question. - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics. target : CrossVersionObjectReference, default is Undefined, required target is the described Kubernetes object. @@ -29,7 +29,7 @@ schema ObjectMetricSource: metricName: str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector target: CrossVersionObjectReference diff --git a/k8s/1.16/api/autoscaling/v2beta1/object_metric_status.k b/k8s/1.16/api/autoscaling/v2beta1/object_metric_status.k index 39aeb9de..b7054bd5 100644 --- a/k8s/1.16/api/autoscaling/v2beta1/object_metric_status.k +++ b/k8s/1.16/api/autoscaling/v2beta1/object_metric_status.k @@ -3,7 +3,7 @@ This is the object_metric_status module in k8s.api.autoscaling.v2beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ObjectMetricStatus: @@ -18,7 +18,7 @@ schema ObjectMetricStatus: currentValue is the current value of the metric (as a quantity). metricName : str, default is Undefined, required metricName is the name of the metric in question. - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the ObjectMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics. target : CrossVersionObjectReference, default is Undefined, required target is the described Kubernetes object. @@ -31,7 +31,7 @@ schema ObjectMetricStatus: metricName: str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector target: CrossVersionObjectReference diff --git a/k8s/1.16/api/autoscaling/v2beta1/pods_metric_source.k b/k8s/1.16/api/autoscaling/v2beta1/pods_metric_source.k index ee0111ef..850fcd7b 100644 --- a/k8s/1.16/api/autoscaling/v2beta1/pods_metric_source.k +++ b/k8s/1.16/api/autoscaling/v2beta1/pods_metric_source.k @@ -3,7 +3,7 @@ This is the pods_metric_source module in k8s.api.autoscaling.v2beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodsMetricSource: @@ -14,7 +14,7 @@ schema PodsMetricSource: ---------- metricName : str, default is Undefined, required metricName is the name of the metric in question - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics. targetAverageValue : str, default is Undefined, required targetAverageValue is the target value of the average of the metric across all relevant pods (as a quantity) @@ -23,7 +23,7 @@ schema PodsMetricSource: metricName: str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector targetAverageValue: str diff --git a/k8s/1.16/api/autoscaling/v2beta1/pods_metric_status.k b/k8s/1.16/api/autoscaling/v2beta1/pods_metric_status.k index 2d8c30c0..0792b4d4 100644 --- a/k8s/1.16/api/autoscaling/v2beta1/pods_metric_status.k +++ b/k8s/1.16/api/autoscaling/v2beta1/pods_metric_status.k @@ -3,7 +3,7 @@ This is the pods_metric_status module in k8s.api.autoscaling.v2beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodsMetricStatus: @@ -16,7 +16,7 @@ schema PodsMetricStatus: currentAverageValue is the current value of the average of the metric across all relevant pods (as a quantity) metricName : str, default is Undefined, required metricName is the name of the metric in question - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the PodsMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics. """ @@ -25,6 +25,6 @@ schema PodsMetricStatus: metricName: str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector diff --git a/k8s/1.16/api/autoscaling/v2beta2/horizontal_pod_autoscaler.k b/k8s/1.16/api/autoscaling/v2beta2/horizontal_pod_autoscaler.k index 9ab9ca42..fb10b245 100644 --- a/k8s/1.16/api/autoscaling/v2beta2/horizontal_pod_autoscaler.k +++ b/k8s/1.16/api/autoscaling/v2beta2/horizontal_pod_autoscaler.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler module in k8s.api.autoscaling.v2beta2 pack This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscaler: @@ -16,7 +16,7 @@ schema HorizontalPodAutoscaler: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "HorizontalPodAutoscaler", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : HorizontalPodAutoscalerSpec, default is Undefined, optional spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema HorizontalPodAutoscaler: kind: "HorizontalPodAutoscaler" = "HorizontalPodAutoscaler" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: HorizontalPodAutoscalerSpec diff --git a/k8s/1.16/api/autoscaling/v2beta2/horizontal_pod_autoscaler_list.k b/k8s/1.16/api/autoscaling/v2beta2/horizontal_pod_autoscaler_list.k index ad127934..152be58d 100644 --- a/k8s/1.16/api/autoscaling/v2beta2/horizontal_pod_autoscaler_list.k +++ b/k8s/1.16/api/autoscaling/v2beta2/horizontal_pod_autoscaler_list.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler_list module in k8s.api.autoscaling.v2beta2 This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscalerList: @@ -18,7 +18,7 @@ schema HorizontalPodAutoscalerList: items is the list of horizontal pod autoscaler objects. kind : str, default is "HorizontalPodAutoscalerList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata is the standard list metadata. """ @@ -29,6 +29,6 @@ schema HorizontalPodAutoscalerList: kind: "HorizontalPodAutoscalerList" = "HorizontalPodAutoscalerList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/autoscaling/v2beta2/metric_identifier.k b/k8s/1.16/api/autoscaling/v2beta2/metric_identifier.k index 18d313d2..06be0dff 100644 --- a/k8s/1.16/api/autoscaling/v2beta2/metric_identifier.k +++ b/k8s/1.16/api/autoscaling/v2beta2/metric_identifier.k @@ -3,7 +3,7 @@ This is the metric_identifier module in k8s.api.autoscaling.v2beta2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MetricIdentifier: @@ -14,13 +14,13 @@ schema MetricIdentifier: ---------- name : str, default is Undefined, required name is the name of the given metric - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics. """ name: str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector diff --git a/k8s/1.16/api/batch/v1/job.k b/k8s/1.16/api/batch/v1/job.k index 44fbc917..3e545aac 100644 --- a/k8s/1.16/api/batch/v1/job.k +++ b/k8s/1.16/api/batch/v1/job.k @@ -3,7 +3,7 @@ This is the job module in k8s.api.batch.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Job: @@ -16,7 +16,7 @@ schema Job: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Job", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : JobSpec, default is Undefined, optional Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Job: kind: "Job" = "Job" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: JobSpec diff --git a/k8s/1.16/api/batch/v1/job_list.k b/k8s/1.16/api/batch/v1/job_list.k index 88588804..e2f8aee6 100644 --- a/k8s/1.16/api/batch/v1/job_list.k +++ b/k8s/1.16/api/batch/v1/job_list.k @@ -3,7 +3,7 @@ This is the job_list module in k8s.api.batch.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema JobList: @@ -18,7 +18,7 @@ schema JobList: items is the list of Jobs. kind : str, default is "JobList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema JobList: kind: "JobList" = "JobList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/batch/v1/job_spec.k b/k8s/1.16/api/batch/v1/job_spec.k index 085f981e..732d97f5 100644 --- a/k8s/1.16/api/batch/v1/job_spec.k +++ b/k8s/1.16/api/batch/v1/job_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema JobSpec: @@ -23,7 +23,7 @@ schema JobSpec: manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector parallelism : int, default is Undefined, optional Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional A label query over pods that should match the pod count. Normally, the system sets this field for you. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors template : corev1.PodTemplateSpec, default is Undefined, required Describes the pod that will be created when executing a job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ @@ -42,7 +42,7 @@ schema JobSpec: parallelism?: int - selector?: v1.LabelSelector + selector?: metav1.LabelSelector template: corev1.PodTemplateSpec diff --git a/k8s/1.16/api/batch/v1beta1/cron_job.k b/k8s/1.16/api/batch/v1beta1/cron_job.k index 74c14606..d5d2aa07 100644 --- a/k8s/1.16/api/batch/v1beta1/cron_job.k +++ b/k8s/1.16/api/batch/v1beta1/cron_job.k @@ -3,7 +3,7 @@ This is the cron_job module in k8s.api.batch.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CronJob: @@ -16,7 +16,7 @@ schema CronJob: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CronJob", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : CronJobSpec, default is Undefined, optional Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema CronJob: kind: "CronJob" = "CronJob" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: CronJobSpec diff --git a/k8s/1.16/api/batch/v1beta1/cron_job_list.k b/k8s/1.16/api/batch/v1beta1/cron_job_list.k index cf174c33..4067f805 100644 --- a/k8s/1.16/api/batch/v1beta1/cron_job_list.k +++ b/k8s/1.16/api/batch/v1beta1/cron_job_list.k @@ -3,7 +3,7 @@ This is the cron_job_list module in k8s.api.batch.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CronJobList: @@ -18,7 +18,7 @@ schema CronJobList: items is the list of CronJobs. kind : str, default is "CronJobList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CronJobList: kind: "CronJobList" = "CronJobList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/batch/v1beta1/job_template_spec.k b/k8s/1.16/api/batch/v1beta1/job_template_spec.k index e032a659..733d4410 100644 --- a/k8s/1.16/api/batch/v1beta1/job_template_spec.k +++ b/k8s/1.16/api/batch/v1beta1/job_template_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.batch.v1 as batchV1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema JobTemplateSpec: @@ -13,14 +13,14 @@ schema JobTemplateSpec: Attributes ---------- - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : batchV1.JobSpec, default is Undefined, optional Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status """ - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: batchV1.JobSpec diff --git a/k8s/1.16/api/batch/v2alpha1/cron_job.k b/k8s/1.16/api/batch/v2alpha1/cron_job.k index 8668aa8b..7fb5f4c2 100644 --- a/k8s/1.16/api/batch/v2alpha1/cron_job.k +++ b/k8s/1.16/api/batch/v2alpha1/cron_job.k @@ -3,7 +3,7 @@ This is the cron_job module in k8s.api.batch.v2alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CronJob: @@ -16,7 +16,7 @@ schema CronJob: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CronJob", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : CronJobSpec, default is Undefined, optional Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema CronJob: kind: "CronJob" = "CronJob" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: CronJobSpec diff --git a/k8s/1.16/api/batch/v2alpha1/cron_job_list.k b/k8s/1.16/api/batch/v2alpha1/cron_job_list.k index c8b4031c..c6dbdcb5 100644 --- a/k8s/1.16/api/batch/v2alpha1/cron_job_list.k +++ b/k8s/1.16/api/batch/v2alpha1/cron_job_list.k @@ -3,7 +3,7 @@ This is the cron_job_list module in k8s.api.batch.v2alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CronJobList: @@ -18,7 +18,7 @@ schema CronJobList: items is the list of CronJobs. kind : str, default is "CronJobList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CronJobList: kind: "CronJobList" = "CronJobList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/batch/v2alpha1/job_template_spec.k b/k8s/1.16/api/batch/v2alpha1/job_template_spec.k index cb013cd7..53df89e9 100644 --- a/k8s/1.16/api/batch/v2alpha1/job_template_spec.k +++ b/k8s/1.16/api/batch/v2alpha1/job_template_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.batch.v1 as batchV1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema JobTemplateSpec: @@ -13,14 +13,14 @@ schema JobTemplateSpec: Attributes ---------- - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : batchV1.JobSpec, default is Undefined, optional Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status """ - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: batchV1.JobSpec diff --git a/k8s/1.16/api/certificates/v1beta1/certificate_signing_request.k b/k8s/1.16/api/certificates/v1beta1/certificate_signing_request.k index 2e5b2121..5b363aa8 100644 --- a/k8s/1.16/api/certificates/v1beta1/certificate_signing_request.k +++ b/k8s/1.16/api/certificates/v1beta1/certificate_signing_request.k @@ -3,7 +3,7 @@ This is the certificate_signing_request module in k8s.api.certificates.v1beta1 p This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CertificateSigningRequest: @@ -16,7 +16,7 @@ schema CertificateSigningRequest: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CertificateSigningRequest", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : CertificateSigningRequestSpec, default is Undefined, optional The certificate request itself and any additional information. @@ -27,7 +27,7 @@ schema CertificateSigningRequest: kind: "CertificateSigningRequest" = "CertificateSigningRequest" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: CertificateSigningRequestSpec diff --git a/k8s/1.16/api/certificates/v1beta1/certificate_signing_request_list.k b/k8s/1.16/api/certificates/v1beta1/certificate_signing_request_list.k index cc6c6ea4..80fde64b 100644 --- a/k8s/1.16/api/certificates/v1beta1/certificate_signing_request_list.k +++ b/k8s/1.16/api/certificates/v1beta1/certificate_signing_request_list.k @@ -3,7 +3,7 @@ This is the certificate_signing_request_list module in k8s.api.certificates.v1be This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CertificateSigningRequestList: @@ -18,7 +18,7 @@ schema CertificateSigningRequestList: items kind : str, default is "CertificateSigningRequestList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema CertificateSigningRequestList: kind: "CertificateSigningRequestList" = "CertificateSigningRequestList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/coordination/v1/lease.k b/k8s/1.16/api/coordination/v1/lease.k index f9d243c9..b3722c9a 100644 --- a/k8s/1.16/api/coordination/v1/lease.k +++ b/k8s/1.16/api/coordination/v1/lease.k @@ -3,7 +3,7 @@ This is the lease module in k8s.api.coordination.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Lease: @@ -16,7 +16,7 @@ schema Lease: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Lease", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : LeaseSpec, default is Undefined, optional Specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Lease: kind: "Lease" = "Lease" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: LeaseSpec diff --git a/k8s/1.16/api/coordination/v1/lease_list.k b/k8s/1.16/api/coordination/v1/lease_list.k index 64932a19..93a01ab6 100644 --- a/k8s/1.16/api/coordination/v1/lease_list.k +++ b/k8s/1.16/api/coordination/v1/lease_list.k @@ -3,7 +3,7 @@ This is the lease_list module in k8s.api.coordination.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LeaseList: @@ -18,7 +18,7 @@ schema LeaseList: Items is a list of schema objects. kind : str, default is "LeaseList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema LeaseList: kind: "LeaseList" = "LeaseList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/coordination/v1beta1/lease.k b/k8s/1.16/api/coordination/v1beta1/lease.k index b587d90e..b2095eed 100644 --- a/k8s/1.16/api/coordination/v1beta1/lease.k +++ b/k8s/1.16/api/coordination/v1beta1/lease.k @@ -3,7 +3,7 @@ This is the lease module in k8s.api.coordination.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Lease: @@ -16,7 +16,7 @@ schema Lease: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Lease", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : LeaseSpec, default is Undefined, optional Specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Lease: kind: "Lease" = "Lease" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: LeaseSpec diff --git a/k8s/1.16/api/coordination/v1beta1/lease_list.k b/k8s/1.16/api/coordination/v1beta1/lease_list.k index 2b78fddf..21212cfc 100644 --- a/k8s/1.16/api/coordination/v1beta1/lease_list.k +++ b/k8s/1.16/api/coordination/v1beta1/lease_list.k @@ -3,7 +3,7 @@ This is the lease_list module in k8s.api.coordination.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LeaseList: @@ -18,7 +18,7 @@ schema LeaseList: Items is a list of schema objects. kind : str, default is "LeaseList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema LeaseList: kind: "LeaseList" = "LeaseList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/core/v1/binding.k b/k8s/1.16/api/core/v1/binding.k index e6e478fe..077459fa 100644 --- a/k8s/1.16/api/core/v1/binding.k +++ b/k8s/1.16/api/core/v1/binding.k @@ -3,7 +3,7 @@ This is the binding module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Binding: @@ -16,7 +16,7 @@ schema Binding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Binding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata target : ObjectReference, default is Undefined, required The target object that you want to bind to the standard object. @@ -27,7 +27,7 @@ schema Binding: kind: "Binding" = "Binding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta target: ObjectReference diff --git a/k8s/1.16/api/core/v1/component_status.k b/k8s/1.16/api/core/v1/component_status.k index caa3f234..10c0d81a 100644 --- a/k8s/1.16/api/core/v1/component_status.k +++ b/k8s/1.16/api/core/v1/component_status.k @@ -3,7 +3,7 @@ This is the component_status module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ComponentStatus: @@ -18,7 +18,7 @@ schema ComponentStatus: List of component conditions observed kind : str, default is "ComponentStatus", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema ComponentStatus: kind: "ComponentStatus" = "ComponentStatus" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta diff --git a/k8s/1.16/api/core/v1/component_status_list.k b/k8s/1.16/api/core/v1/component_status_list.k index a2993ad2..5ef4e5d2 100644 --- a/k8s/1.16/api/core/v1/component_status_list.k +++ b/k8s/1.16/api/core/v1/component_status_list.k @@ -3,7 +3,7 @@ This is the component_status_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ComponentStatusList: @@ -18,7 +18,7 @@ schema ComponentStatusList: List of ComponentStatus objects. kind : str, default is "ComponentStatusList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ComponentStatusList: kind: "ComponentStatusList" = "ComponentStatusList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/core/v1/config_map.k b/k8s/1.16/api/core/v1/config_map.k index 817dbe8f..ceb75d7b 100644 --- a/k8s/1.16/api/core/v1/config_map.k +++ b/k8s/1.16/api/core/v1/config_map.k @@ -3,7 +3,7 @@ This is the config_map module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ConfigMap: @@ -20,7 +20,7 @@ schema ConfigMap: Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process. kind : str, default is "ConfigMap", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -33,6 +33,6 @@ schema ConfigMap: kind: "ConfigMap" = "ConfigMap" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta diff --git a/k8s/1.16/api/core/v1/config_map_list.k b/k8s/1.16/api/core/v1/config_map_list.k index 5712f514..35df0e4b 100644 --- a/k8s/1.16/api/core/v1/config_map_list.k +++ b/k8s/1.16/api/core/v1/config_map_list.k @@ -3,7 +3,7 @@ This is the config_map_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ConfigMapList: @@ -18,7 +18,7 @@ schema ConfigMapList: Items is the list of ConfigMaps. kind : str, default is "ConfigMapList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema ConfigMapList: kind: "ConfigMapList" = "ConfigMapList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/core/v1/endpoints.k b/k8s/1.16/api/core/v1/endpoints.k index d123d8d8..3ac0d6cd 100644 --- a/k8s/1.16/api/core/v1/endpoints.k +++ b/k8s/1.16/api/core/v1/endpoints.k @@ -3,7 +3,7 @@ This is the endpoints module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Endpoints: @@ -27,7 +27,7 @@ schema Endpoints: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Endpoints", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata subsets : [EndpointSubset], default is Undefined, optional The set of all endpoints is the union of all subsets. Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service. @@ -38,7 +38,7 @@ schema Endpoints: kind: "Endpoints" = "Endpoints" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta subsets?: [EndpointSubset] diff --git a/k8s/1.16/api/core/v1/endpoints_list.k b/k8s/1.16/api/core/v1/endpoints_list.k index 7ccf6442..f019c842 100644 --- a/k8s/1.16/api/core/v1/endpoints_list.k +++ b/k8s/1.16/api/core/v1/endpoints_list.k @@ -3,7 +3,7 @@ This is the endpoints_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EndpointsList: @@ -18,7 +18,7 @@ schema EndpointsList: List of endpoints. kind : str, default is "EndpointsList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema EndpointsList: kind: "EndpointsList" = "EndpointsList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/core/v1/event.k b/k8s/1.16/api/core/v1/event.k index 41172283..7888457e 100644 --- a/k8s/1.16/api/core/v1/event.k +++ b/k8s/1.16/api/core/v1/event.k @@ -3,7 +3,7 @@ This is the event module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Event: @@ -30,7 +30,7 @@ schema Event: The time at which the most recent occurrence of this event was recorded. message : str, default is Undefined, optional A human-readable description of the status of this operation. - metadata : v1.ObjectMeta, default is Undefined, required + metadata : metav1.ObjectMeta, default is Undefined, required Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata reason : str, default is Undefined, optional This should be a short, machine understandable string that gives the reason for the transition into the object's current status. @@ -67,7 +67,7 @@ schema Event: message?: str - metadata: v1.ObjectMeta + metadata: metav1.ObjectMeta reason?: str diff --git a/k8s/1.16/api/core/v1/event_list.k b/k8s/1.16/api/core/v1/event_list.k index e543b7cf..d4ed6ffa 100644 --- a/k8s/1.16/api/core/v1/event_list.k +++ b/k8s/1.16/api/core/v1/event_list.k @@ -3,7 +3,7 @@ This is the event_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EventList: @@ -18,7 +18,7 @@ schema EventList: List of events kind : str, default is "EventList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema EventList: kind: "EventList" = "EventList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/core/v1/limit_range.k b/k8s/1.16/api/core/v1/limit_range.k index 5de64019..3c476447 100644 --- a/k8s/1.16/api/core/v1/limit_range.k +++ b/k8s/1.16/api/core/v1/limit_range.k @@ -3,7 +3,7 @@ This is the limit_range module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LimitRange: @@ -16,7 +16,7 @@ schema LimitRange: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "LimitRange", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : LimitRangeSpec, default is Undefined, optional Spec defines the limits enforced. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema LimitRange: kind: "LimitRange" = "LimitRange" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: LimitRangeSpec diff --git a/k8s/1.16/api/core/v1/limit_range_list.k b/k8s/1.16/api/core/v1/limit_range_list.k index 93063870..13be4b4b 100644 --- a/k8s/1.16/api/core/v1/limit_range_list.k +++ b/k8s/1.16/api/core/v1/limit_range_list.k @@ -3,7 +3,7 @@ This is the limit_range_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LimitRangeList: @@ -18,7 +18,7 @@ schema LimitRangeList: Items is a list of LimitRange objects. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ kind : str, default is "LimitRangeList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema LimitRangeList: kind: "LimitRangeList" = "LimitRangeList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/core/v1/namespace.k b/k8s/1.16/api/core/v1/namespace.k index 52b6b94f..66125388 100644 --- a/k8s/1.16/api/core/v1/namespace.k +++ b/k8s/1.16/api/core/v1/namespace.k @@ -3,7 +3,7 @@ This is the namespace module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Namespace: @@ -16,7 +16,7 @@ schema Namespace: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Namespace", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : NamespaceSpec, default is Undefined, optional Spec defines the behavior of the Namespace. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Namespace: kind: "Namespace" = "Namespace" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: NamespaceSpec diff --git a/k8s/1.16/api/core/v1/namespace_list.k b/k8s/1.16/api/core/v1/namespace_list.k index 0a362eac..1783b0bc 100644 --- a/k8s/1.16/api/core/v1/namespace_list.k +++ b/k8s/1.16/api/core/v1/namespace_list.k @@ -3,7 +3,7 @@ This is the namespace_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NamespaceList: @@ -18,7 +18,7 @@ schema NamespaceList: Items is the list of Namespace objects in the list. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ kind : str, default is "NamespaceList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema NamespaceList: kind: "NamespaceList" = "NamespaceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/core/v1/node.k b/k8s/1.16/api/core/v1/node.k index 99f9cab9..dcfea158 100644 --- a/k8s/1.16/api/core/v1/node.k +++ b/k8s/1.16/api/core/v1/node.k @@ -3,7 +3,7 @@ This is the node module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Node: @@ -16,7 +16,7 @@ schema Node: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Node", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : NodeSpec, default is Undefined, optional Spec defines the behavior of a node. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Node: kind: "Node" = "Node" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: NodeSpec diff --git a/k8s/1.16/api/core/v1/node_list.k b/k8s/1.16/api/core/v1/node_list.k index 40992f99..26fe9968 100644 --- a/k8s/1.16/api/core/v1/node_list.k +++ b/k8s/1.16/api/core/v1/node_list.k @@ -3,7 +3,7 @@ This is the node_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NodeList: @@ -18,7 +18,7 @@ schema NodeList: List of nodes kind : str, default is "NodeList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema NodeList: kind: "NodeList" = "NodeList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/core/v1/persistent_volume.k b/k8s/1.16/api/core/v1/persistent_volume.k index 259223a6..2c6d5ee6 100644 --- a/k8s/1.16/api/core/v1/persistent_volume.k +++ b/k8s/1.16/api/core/v1/persistent_volume.k @@ -3,7 +3,7 @@ This is the persistent_volume module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolume: @@ -16,7 +16,7 @@ schema PersistentVolume: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PersistentVolume", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PersistentVolumeSpec, default is Undefined, optional Spec defines a specification of a persistent volume owned by the cluster. Provisioned by an administrator. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes @@ -27,7 +27,7 @@ schema PersistentVolume: kind: "PersistentVolume" = "PersistentVolume" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PersistentVolumeSpec diff --git a/k8s/1.16/api/core/v1/persistent_volume_claim.k b/k8s/1.16/api/core/v1/persistent_volume_claim.k index eb057e81..02735f90 100644 --- a/k8s/1.16/api/core/v1/persistent_volume_claim.k +++ b/k8s/1.16/api/core/v1/persistent_volume_claim.k @@ -3,7 +3,7 @@ This is the persistent_volume_claim module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeClaim: @@ -16,7 +16,7 @@ schema PersistentVolumeClaim: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PersistentVolumeClaim", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PersistentVolumeClaimSpec, default is Undefined, optional Spec defines the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims @@ -27,7 +27,7 @@ schema PersistentVolumeClaim: kind: "PersistentVolumeClaim" = "PersistentVolumeClaim" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PersistentVolumeClaimSpec diff --git a/k8s/1.16/api/core/v1/persistent_volume_claim_list.k b/k8s/1.16/api/core/v1/persistent_volume_claim_list.k index 85ccc1ee..96669996 100644 --- a/k8s/1.16/api/core/v1/persistent_volume_claim_list.k +++ b/k8s/1.16/api/core/v1/persistent_volume_claim_list.k @@ -3,7 +3,7 @@ This is the persistent_volume_claim_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeClaimList: @@ -18,7 +18,7 @@ schema PersistentVolumeClaimList: A list of persistent volume claims. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims kind : str, default is "PersistentVolumeClaimList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema PersistentVolumeClaimList: kind: "PersistentVolumeClaimList" = "PersistentVolumeClaimList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/core/v1/persistent_volume_claim_spec.k b/k8s/1.16/api/core/v1/persistent_volume_claim_spec.k index 84fa2f96..dda42b7c 100644 --- a/k8s/1.16/api/core/v1/persistent_volume_claim_spec.k +++ b/k8s/1.16/api/core/v1/persistent_volume_claim_spec.k @@ -3,7 +3,7 @@ This is the persistent_volume_claim_spec module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeClaimSpec: @@ -18,7 +18,7 @@ schema PersistentVolumeClaimSpec: This field requires the VolumeSnapshotDataSource alpha feature gate to be enabled and currently VolumeSnapshot is the only supported data source. If the provisioner can support VolumeSnapshot data source, it will create a new volume and data will be restored to the volume at the same time. If the provisioner does not support VolumeSnapshot data source, volume will not be created and the failure will be reported as an event. In the future, we plan to support more data source types and the behavior of the provisioner may change. resources : ResourceRequirements, default is Undefined, optional Resources represents the minimum resources the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional A label query over volumes to consider for binding. storageClassName : str, default is Undefined, optional Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1 @@ -35,7 +35,7 @@ schema PersistentVolumeClaimSpec: resources?: ResourceRequirements - selector?: v1.LabelSelector + selector?: metav1.LabelSelector storageClassName?: str diff --git a/k8s/1.16/api/core/v1/persistent_volume_list.k b/k8s/1.16/api/core/v1/persistent_volume_list.k index c34d9abb..21a2a32a 100644 --- a/k8s/1.16/api/core/v1/persistent_volume_list.k +++ b/k8s/1.16/api/core/v1/persistent_volume_list.k @@ -3,7 +3,7 @@ This is the persistent_volume_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeList: @@ -18,7 +18,7 @@ schema PersistentVolumeList: List of persistent volumes. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes kind : str, default is "PersistentVolumeList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema PersistentVolumeList: kind: "PersistentVolumeList" = "PersistentVolumeList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/core/v1/pod.k b/k8s/1.16/api/core/v1/pod.k index 659a9e99..66568628 100644 --- a/k8s/1.16/api/core/v1/pod.k +++ b/k8s/1.16/api/core/v1/pod.k @@ -3,7 +3,7 @@ This is the pod module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Pod: @@ -16,7 +16,7 @@ schema Pod: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Pod", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PodSpec, default is Undefined, optional Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Pod: kind: "Pod" = "Pod" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PodSpec diff --git a/k8s/1.16/api/core/v1/pod_affinity_term.k b/k8s/1.16/api/core/v1/pod_affinity_term.k index dccd6ef9..0cbd595d 100644 --- a/k8s/1.16/api/core/v1/pod_affinity_term.k +++ b/k8s/1.16/api/core/v1/pod_affinity_term.k @@ -3,7 +3,7 @@ This is the pod_affinity_term module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodAffinityTerm: @@ -12,7 +12,7 @@ schema PodAffinityTerm: Attributes ---------- - labelSelector : v1.LabelSelector, default is Undefined, optional + labelSelector : metav1.LabelSelector, default is Undefined, optional A label query over a set of resources, in this case pods. namespaces : [str], default is Undefined, optional namespaces specifies which namespaces the labelSelector applies to (matches against); null or empty list means "this pod's namespace" @@ -21,7 +21,7 @@ schema PodAffinityTerm: """ - labelSelector?: v1.LabelSelector + labelSelector?: metav1.LabelSelector namespaces?: [str] diff --git a/k8s/1.16/api/core/v1/pod_list.k b/k8s/1.16/api/core/v1/pod_list.k index 10ad5eb9..4c031d05 100644 --- a/k8s/1.16/api/core/v1/pod_list.k +++ b/k8s/1.16/api/core/v1/pod_list.k @@ -3,7 +3,7 @@ This is the pod_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodList: @@ -18,7 +18,7 @@ schema PodList: List of pods. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md kind : str, default is "PodList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema PodList: kind: "PodList" = "PodList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/core/v1/pod_template.k b/k8s/1.16/api/core/v1/pod_template.k index 98e64f70..6ffbfa64 100644 --- a/k8s/1.16/api/core/v1/pod_template.k +++ b/k8s/1.16/api/core/v1/pod_template.k @@ -3,7 +3,7 @@ This is the pod_template module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodTemplate: @@ -16,7 +16,7 @@ schema PodTemplate: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PodTemplate", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata template : PodTemplateSpec, default is Undefined, optional Template defines the pods that will be created from this pod template. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema PodTemplate: kind: "PodTemplate" = "PodTemplate" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta template?: PodTemplateSpec diff --git a/k8s/1.16/api/core/v1/pod_template_list.k b/k8s/1.16/api/core/v1/pod_template_list.k index 8bb1827f..94024175 100644 --- a/k8s/1.16/api/core/v1/pod_template_list.k +++ b/k8s/1.16/api/core/v1/pod_template_list.k @@ -3,7 +3,7 @@ This is the pod_template_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodTemplateList: @@ -18,7 +18,7 @@ schema PodTemplateList: List of pod templates kind : str, default is "PodTemplateList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema PodTemplateList: kind: "PodTemplateList" = "PodTemplateList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/core/v1/pod_template_spec.k b/k8s/1.16/api/core/v1/pod_template_spec.k index 1274c88b..6011ef81 100644 --- a/k8s/1.16/api/core/v1/pod_template_spec.k +++ b/k8s/1.16/api/core/v1/pod_template_spec.k @@ -3,7 +3,7 @@ This is the pod_template_spec module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodTemplateSpec: @@ -12,14 +12,14 @@ schema PodTemplateSpec: Attributes ---------- - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PodSpec, default is Undefined, optional Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status """ - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PodSpec diff --git a/k8s/1.16/api/core/v1/replication_controller.k b/k8s/1.16/api/core/v1/replication_controller.k index 08b091e8..37724706 100644 --- a/k8s/1.16/api/core/v1/replication_controller.k +++ b/k8s/1.16/api/core/v1/replication_controller.k @@ -3,7 +3,7 @@ This is the replication_controller module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicationController: @@ -16,7 +16,7 @@ schema ReplicationController: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ReplicationController", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional If the Labels of a ReplicationController are empty, they are defaulted to be the same as the Pod(s) that the replication controller manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : ReplicationControllerSpec, default is Undefined, optional Spec defines the specification of the desired behavior of the replication controller. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema ReplicationController: kind: "ReplicationController" = "ReplicationController" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ReplicationControllerSpec diff --git a/k8s/1.16/api/core/v1/replication_controller_list.k b/k8s/1.16/api/core/v1/replication_controller_list.k index 64afa179..63f9d4b2 100644 --- a/k8s/1.16/api/core/v1/replication_controller_list.k +++ b/k8s/1.16/api/core/v1/replication_controller_list.k @@ -3,7 +3,7 @@ This is the replication_controller_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicationControllerList: @@ -18,7 +18,7 @@ schema ReplicationControllerList: List of replication controllers. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller kind : str, default is "ReplicationControllerList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ReplicationControllerList: kind: "ReplicationControllerList" = "ReplicationControllerList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/core/v1/resource_quota.k b/k8s/1.16/api/core/v1/resource_quota.k index b7da49d1..0ec7c409 100644 --- a/k8s/1.16/api/core/v1/resource_quota.k +++ b/k8s/1.16/api/core/v1/resource_quota.k @@ -3,7 +3,7 @@ This is the resource_quota module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceQuota: @@ -16,7 +16,7 @@ schema ResourceQuota: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ResourceQuota", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : ResourceQuotaSpec, default is Undefined, optional Spec defines the desired quota. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema ResourceQuota: kind: "ResourceQuota" = "ResourceQuota" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ResourceQuotaSpec diff --git a/k8s/1.16/api/core/v1/resource_quota_list.k b/k8s/1.16/api/core/v1/resource_quota_list.k index ca1424b8..f8dbc87d 100644 --- a/k8s/1.16/api/core/v1/resource_quota_list.k +++ b/k8s/1.16/api/core/v1/resource_quota_list.k @@ -3,7 +3,7 @@ This is the resource_quota_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceQuotaList: @@ -18,7 +18,7 @@ schema ResourceQuotaList: Items is a list of ResourceQuota objects. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/ kind : str, default is "ResourceQuotaList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ResourceQuotaList: kind: "ResourceQuotaList" = "ResourceQuotaList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/core/v1/secret.k b/k8s/1.16/api/core/v1/secret.k index 68af86e4..836d7675 100644 --- a/k8s/1.16/api/core/v1/secret.k +++ b/k8s/1.16/api/core/v1/secret.k @@ -3,7 +3,7 @@ This is the secret module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Secret: @@ -18,7 +18,7 @@ schema Secret: Data contains the secret data. Each key must consist of alphanumeric characters, '-', '_' or '.'. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4 kind : str, default is "Secret", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata stringData : {str:str}, default is Undefined, optional stringData allows specifying non-binary secret data in string form. It is provided as a write-only convenience method. All keys and values are merged into the data field on write, overwriting any existing values. It is never output when reading from the API. @@ -33,7 +33,7 @@ schema Secret: kind: "Secret" = "Secret" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta stringData?: {str:str} diff --git a/k8s/1.16/api/core/v1/secret_list.k b/k8s/1.16/api/core/v1/secret_list.k index 335c47b4..9e80806b 100644 --- a/k8s/1.16/api/core/v1/secret_list.k +++ b/k8s/1.16/api/core/v1/secret_list.k @@ -3,7 +3,7 @@ This is the secret_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SecretList: @@ -18,7 +18,7 @@ schema SecretList: Items is a list of secret objects. More info: https://kubernetes.io/docs/concepts/configuration/secret kind : str, default is "SecretList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema SecretList: kind: "SecretList" = "SecretList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/core/v1/service.k b/k8s/1.16/api/core/v1/service.k index 1f259a80..3b86c8ef 100644 --- a/k8s/1.16/api/core/v1/service.k +++ b/k8s/1.16/api/core/v1/service.k @@ -3,7 +3,7 @@ This is the service module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Service: @@ -16,7 +16,7 @@ schema Service: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Service", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : ServiceSpec, default is Undefined, optional Spec defines the behavior of a service. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Service: kind: "Service" = "Service" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ServiceSpec diff --git a/k8s/1.16/api/core/v1/service_account.k b/k8s/1.16/api/core/v1/service_account.k index fc039e4f..c93748eb 100644 --- a/k8s/1.16/api/core/v1/service_account.k +++ b/k8s/1.16/api/core/v1/service_account.k @@ -3,7 +3,7 @@ This is the service_account module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ServiceAccount: @@ -20,7 +20,7 @@ schema ServiceAccount: ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod kind : str, default is "ServiceAccount", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata secrets : [ObjectReference], default is Undefined, optional Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount. More info: https://kubernetes.io/docs/concepts/configuration/secret @@ -35,7 +35,7 @@ schema ServiceAccount: kind: "ServiceAccount" = "ServiceAccount" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta secrets?: [ObjectReference] diff --git a/k8s/1.16/api/core/v1/service_account_list.k b/k8s/1.16/api/core/v1/service_account_list.k index 26a9319a..d8cd46b8 100644 --- a/k8s/1.16/api/core/v1/service_account_list.k +++ b/k8s/1.16/api/core/v1/service_account_list.k @@ -3,7 +3,7 @@ This is the service_account_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ServiceAccountList: @@ -18,7 +18,7 @@ schema ServiceAccountList: List of ServiceAccounts. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ kind : str, default is "ServiceAccountList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ServiceAccountList: kind: "ServiceAccountList" = "ServiceAccountList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/core/v1/service_list.k b/k8s/1.16/api/core/v1/service_list.k index 0c1e31be..5c4fae8a 100644 --- a/k8s/1.16/api/core/v1/service_list.k +++ b/k8s/1.16/api/core/v1/service_list.k @@ -3,7 +3,7 @@ This is the service_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ServiceList: @@ -18,7 +18,7 @@ schema ServiceList: List of services kind : str, default is "ServiceList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ServiceList: kind: "ServiceList" = "ServiceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/core/v1/topology_spread_constraint.k b/k8s/1.16/api/core/v1/topology_spread_constraint.k index 64aee08e..037ac6ef 100644 --- a/k8s/1.16/api/core/v1/topology_spread_constraint.k +++ b/k8s/1.16/api/core/v1/topology_spread_constraint.k @@ -3,7 +3,7 @@ This is the topology_spread_constraint module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema TopologySpreadConstraint: @@ -12,7 +12,7 @@ schema TopologySpreadConstraint: Attributes ---------- - labelSelector : v1.LabelSelector, default is Undefined, optional + labelSelector : metav1.LabelSelector, default is Undefined, optional LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain. maxSkew : int, default is Undefined, required MaxSkew describes the degree to which pods may be unevenly distributed. It's the maximum permitted difference between the number of matching pods in any two topology domains of a given topology type. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 1/1/0: | zone1 | zone2 | zone3 | | P | P | | - if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 1/1/1; scheduling it onto zone1(zone2) would make the ActualSkew(2-0) on zone1(zone2) violate MaxSkew(1). - if MaxSkew is 2, incoming pod can be scheduled onto any zone. It's a required field. Default value is 1 and 0 is not allowed. @@ -23,7 +23,7 @@ schema TopologySpreadConstraint: """ - labelSelector?: v1.LabelSelector + labelSelector?: metav1.LabelSelector maxSkew: int diff --git a/k8s/1.16/api/discovery/v1alpha1/endpoint_slice.k b/k8s/1.16/api/discovery/v1alpha1/endpoint_slice.k index 54dc5388..595202bb 100644 --- a/k8s/1.16/api/discovery/v1alpha1/endpoint_slice.k +++ b/k8s/1.16/api/discovery/v1alpha1/endpoint_slice.k @@ -3,7 +3,7 @@ This is the endpoint_slice module in k8s.api.discovery.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EndpointSlice: @@ -20,7 +20,7 @@ schema EndpointSlice: endpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints. kind : str, default is "EndpointSlice", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. ports : [EndpointPort], default is Undefined, optional ports specifies the list of network ports exposed by each endpoint in this slice. Each port must have a unique name. When ports is empty, it indicates that there are no defined ports. When a port is defined with a nil port value, it indicates "all ports". Each slice may include a maximum of 100 ports. @@ -35,7 +35,7 @@ schema EndpointSlice: kind: "EndpointSlice" = "EndpointSlice" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta ports?: [EndpointPort] diff --git a/k8s/1.16/api/discovery/v1alpha1/endpoint_slice_list.k b/k8s/1.16/api/discovery/v1alpha1/endpoint_slice_list.k index dd9b6da1..76fbd348 100644 --- a/k8s/1.16/api/discovery/v1alpha1/endpoint_slice_list.k +++ b/k8s/1.16/api/discovery/v1alpha1/endpoint_slice_list.k @@ -3,7 +3,7 @@ This is the endpoint_slice_list module in k8s.api.discovery.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EndpointSliceList: @@ -18,7 +18,7 @@ schema EndpointSliceList: List of endpoint slices kind : str, default is "EndpointSliceList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema EndpointSliceList: kind: "EndpointSliceList" = "EndpointSliceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/events/v1beta1/event_list.k b/k8s/1.16/api/events/v1beta1/event_list.k index 72ea566e..3cf9be8f 100644 --- a/k8s/1.16/api/events/v1beta1/event_list.k +++ b/k8s/1.16/api/events/v1beta1/event_list.k @@ -3,7 +3,7 @@ This is the event_list module in k8s.api.events.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EventList: @@ -18,7 +18,7 @@ schema EventList: Items is a list of schema objects. kind : str, default is "EventList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema EventList: kind: "EventList" = "EventList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/extensions/v1beta1/daemon_set.k b/k8s/1.16/api/extensions/v1beta1/daemon_set.k index d7333df0..60b37ee1 100644 --- a/k8s/1.16/api/extensions/v1beta1/daemon_set.k +++ b/k8s/1.16/api/extensions/v1beta1/daemon_set.k @@ -3,7 +3,7 @@ This is the daemon_set module in k8s.api.extensions.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DaemonSet: @@ -16,7 +16,7 @@ schema DaemonSet: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "DaemonSet", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : DaemonSetSpec, default is Undefined, optional The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema DaemonSet: kind: "DaemonSet" = "DaemonSet" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: DaemonSetSpec diff --git a/k8s/1.16/api/extensions/v1beta1/daemon_set_list.k b/k8s/1.16/api/extensions/v1beta1/daemon_set_list.k index 6ca218b2..3c37518b 100644 --- a/k8s/1.16/api/extensions/v1beta1/daemon_set_list.k +++ b/k8s/1.16/api/extensions/v1beta1/daemon_set_list.k @@ -3,7 +3,7 @@ This is the daemon_set_list module in k8s.api.extensions.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DaemonSetList: @@ -18,7 +18,7 @@ schema DaemonSetList: A list of daemon sets. kind : str, default is "DaemonSetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema DaemonSetList: kind: "DaemonSetList" = "DaemonSetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/extensions/v1beta1/daemon_set_spec.k b/k8s/1.16/api/extensions/v1beta1/daemon_set_spec.k index 5deae760..d535be44 100644 --- a/k8s/1.16/api/extensions/v1beta1/daemon_set_spec.k +++ b/k8s/1.16/api/extensions/v1beta1/daemon_set_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DaemonSetSpec: @@ -17,7 +17,7 @@ schema DaemonSetSpec: The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready). revisionHistoryLimit : int, default is Undefined, optional The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional A label query over pods that are managed by the daemon set. Must match in order to be controlled. If empty, defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors template : corev1.PodTemplateSpec, default is Undefined, required An object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template @@ -32,7 +32,7 @@ schema DaemonSetSpec: revisionHistoryLimit?: int - selector?: v1.LabelSelector + selector?: metav1.LabelSelector template: corev1.PodTemplateSpec diff --git a/k8s/1.16/api/extensions/v1beta1/deployment.k b/k8s/1.16/api/extensions/v1beta1/deployment.k index b9a5d2d2..09ba5aee 100644 --- a/k8s/1.16/api/extensions/v1beta1/deployment.k +++ b/k8s/1.16/api/extensions/v1beta1/deployment.k @@ -3,7 +3,7 @@ This is the deployment module in k8s.api.extensions.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Deployment: @@ -16,7 +16,7 @@ schema Deployment: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Deployment", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. spec : DeploymentSpec, default is Undefined, optional Specification of the desired behavior of the Deployment. @@ -27,7 +27,7 @@ schema Deployment: kind: "Deployment" = "Deployment" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: DeploymentSpec diff --git a/k8s/1.16/api/extensions/v1beta1/deployment_list.k b/k8s/1.16/api/extensions/v1beta1/deployment_list.k index 31528a71..ae856fce 100644 --- a/k8s/1.16/api/extensions/v1beta1/deployment_list.k +++ b/k8s/1.16/api/extensions/v1beta1/deployment_list.k @@ -3,7 +3,7 @@ This is the deployment_list module in k8s.api.extensions.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DeploymentList: @@ -18,7 +18,7 @@ schema DeploymentList: Items is the list of Deployments. kind : str, default is "DeploymentList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema DeploymentList: kind: "DeploymentList" = "DeploymentList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/extensions/v1beta1/deployment_spec.k b/k8s/1.16/api/extensions/v1beta1/deployment_spec.k index b6c56ad6..0d2bf737 100644 --- a/k8s/1.16/api/extensions/v1beta1/deployment_spec.k +++ b/k8s/1.16/api/extensions/v1beta1/deployment_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DeploymentSpec: @@ -25,7 +25,7 @@ schema DeploymentSpec: The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. This is set to the max value of int32 (i.e. 2147483647) by default, which means "retaining all old RelicaSets". rollbackTo : RollbackConfig, default is Undefined, optional DEPRECATED. The config this deployment is rolling back to. Will be cleared after rollback is done. - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. strategy : DeploymentStrategy, default is Undefined, optional The deployment strategy to use to replace existing pods with new ones. @@ -46,7 +46,7 @@ schema DeploymentSpec: rollbackTo?: RollbackConfig - selector?: v1.LabelSelector + selector?: metav1.LabelSelector strategy?: DeploymentStrategy diff --git a/k8s/1.16/api/extensions/v1beta1/ingress.k b/k8s/1.16/api/extensions/v1beta1/ingress.k index 1935ccd4..b92dfced 100644 --- a/k8s/1.16/api/extensions/v1beta1/ingress.k +++ b/k8s/1.16/api/extensions/v1beta1/ingress.k @@ -3,7 +3,7 @@ This is the ingress module in k8s.api.extensions.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Ingress: @@ -16,7 +16,7 @@ schema Ingress: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Ingress", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : IngressSpec, default is Undefined, optional Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Ingress: kind: "Ingress" = "Ingress" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: IngressSpec diff --git a/k8s/1.16/api/extensions/v1beta1/ingress_list.k b/k8s/1.16/api/extensions/v1beta1/ingress_list.k index 03151415..03dbbdd1 100644 --- a/k8s/1.16/api/extensions/v1beta1/ingress_list.k +++ b/k8s/1.16/api/extensions/v1beta1/ingress_list.k @@ -3,7 +3,7 @@ This is the ingress_list module in k8s.api.extensions.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema IngressList: @@ -18,7 +18,7 @@ schema IngressList: Items is the list of Ingress. kind : str, default is "IngressList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema IngressList: kind: "IngressList" = "IngressList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/extensions/v1beta1/network_policy.k b/k8s/1.16/api/extensions/v1beta1/network_policy.k index e3eed427..94f41126 100644 --- a/k8s/1.16/api/extensions/v1beta1/network_policy.k +++ b/k8s/1.16/api/extensions/v1beta1/network_policy.k @@ -3,7 +3,7 @@ This is the network_policy module in k8s.api.extensions.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicy: @@ -16,7 +16,7 @@ schema NetworkPolicy: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "NetworkPolicy", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : NetworkPolicySpec, default is Undefined, optional Specification of the desired behavior for this NetworkPolicy. @@ -27,7 +27,7 @@ schema NetworkPolicy: kind: "NetworkPolicy" = "NetworkPolicy" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: NetworkPolicySpec diff --git a/k8s/1.16/api/extensions/v1beta1/network_policy_list.k b/k8s/1.16/api/extensions/v1beta1/network_policy_list.k index f1e6c1ac..5fba8dc9 100644 --- a/k8s/1.16/api/extensions/v1beta1/network_policy_list.k +++ b/k8s/1.16/api/extensions/v1beta1/network_policy_list.k @@ -3,7 +3,7 @@ This is the network_policy_list module in k8s.api.extensions.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicyList: @@ -18,7 +18,7 @@ schema NetworkPolicyList: Items is a list of schema objects. kind : str, default is "NetworkPolicyList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema NetworkPolicyList: kind: "NetworkPolicyList" = "NetworkPolicyList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/extensions/v1beta1/network_policy_peer.k b/k8s/1.16/api/extensions/v1beta1/network_policy_peer.k index 073bd5ec..5d09be52 100644 --- a/k8s/1.16/api/extensions/v1beta1/network_policy_peer.k +++ b/k8s/1.16/api/extensions/v1beta1/network_policy_peer.k @@ -3,7 +3,7 @@ This is the network_policy_peer module in k8s.api.extensions.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicyPeer: @@ -14,11 +14,11 @@ schema NetworkPolicyPeer: ---------- ipBlock : IPBlock, default is Undefined, optional IPBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional Selects Namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces. If PodSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects all Pods in the Namespaces selected by NamespaceSelector. - podSelector : v1.LabelSelector, default is Undefined, optional + podSelector : metav1.LabelSelector, default is Undefined, optional This is a label selector which selects Pods. This field follows standard label selector semantics; if present but empty, it selects all pods. If NamespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the Pods matching PodSelector in the policy's own Namespace. @@ -27,8 +27,8 @@ schema NetworkPolicyPeer: ipBlock?: IPBlock - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector - podSelector?: v1.LabelSelector + podSelector?: metav1.LabelSelector diff --git a/k8s/1.16/api/extensions/v1beta1/network_policy_spec.k b/k8s/1.16/api/extensions/v1beta1/network_policy_spec.k index ecb6da25..de38d78d 100644 --- a/k8s/1.16/api/extensions/v1beta1/network_policy_spec.k +++ b/k8s/1.16/api/extensions/v1beta1/network_policy_spec.k @@ -3,7 +3,7 @@ This is the network_policy_spec module in k8s.api.extensions.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicySpec: @@ -16,7 +16,7 @@ schema NetworkPolicySpec: List of egress rules to be applied to the selected pods. Outgoing traffic is allowed if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic matches at least one egress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy limits all outgoing traffic (and serves solely to ensure that the pods it selects are isolated by default). This field is beta-level in 1.8 ingress : [NetworkPolicyIngressRule], default is Undefined, optional List of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if there are no NetworkPolicies selecting the pod OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not allow any traffic (and serves solely to ensure that the pods it selects are isolated by default). - podSelector : v1.LabelSelector, default is Undefined, required + podSelector : metav1.LabelSelector, default is Undefined, required Selects the pods to which this NetworkPolicy object applies. The array of ingress rules is applied to any pods selected by this field. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is NOT optional and follows standard label selector semantics. An empty podSelector matches all pods in this namespace. policyTypes : [str], default is Undefined, optional List of rule types that the NetworkPolicy relates to. Valid options are "Ingress", "Egress", or "Ingress,Egress". If this field is not specified, it will default based on the existence of Ingress or Egress rules; policies that contain an Egress section are assumed to affect Egress, and all policies (whether or not they contain an Ingress section) are assumed to affect Ingress. If you want to write an egress-only policy, you must explicitly specify policyTypes [ "Egress" ]. Likewise, if you want to write a policy that specifies that no egress is allowed, you must specify a policyTypes value that include "Egress" (since such a policy would not include an Egress section and would otherwise default to just [ "Ingress" ]). This field is beta-level in 1.8 @@ -27,7 +27,7 @@ schema NetworkPolicySpec: ingress?: [NetworkPolicyIngressRule] - podSelector: v1.LabelSelector + podSelector: metav1.LabelSelector policyTypes?: [str] diff --git a/k8s/1.16/api/extensions/v1beta1/pod_security_policy.k b/k8s/1.16/api/extensions/v1beta1/pod_security_policy.k index 3745a3e5..5cea69ad 100644 --- a/k8s/1.16/api/extensions/v1beta1/pod_security_policy.k +++ b/k8s/1.16/api/extensions/v1beta1/pod_security_policy.k @@ -3,7 +3,7 @@ This is the pod_security_policy module in k8s.api.extensions.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodSecurityPolicy: @@ -16,7 +16,7 @@ schema PodSecurityPolicy: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PodSecurityPolicy", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PodSecurityPolicySpec, default is Undefined, optional spec defines the policy enforced. @@ -27,7 +27,7 @@ schema PodSecurityPolicy: kind: "PodSecurityPolicy" = "PodSecurityPolicy" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PodSecurityPolicySpec diff --git a/k8s/1.16/api/extensions/v1beta1/pod_security_policy_list.k b/k8s/1.16/api/extensions/v1beta1/pod_security_policy_list.k index 3bae37c3..85f2543b 100644 --- a/k8s/1.16/api/extensions/v1beta1/pod_security_policy_list.k +++ b/k8s/1.16/api/extensions/v1beta1/pod_security_policy_list.k @@ -3,7 +3,7 @@ This is the pod_security_policy_list module in k8s.api.extensions.v1beta1 packag This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodSecurityPolicyList: @@ -18,7 +18,7 @@ schema PodSecurityPolicyList: items is a list of schema objects. kind : str, default is "PodSecurityPolicyList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PodSecurityPolicyList: kind: "PodSecurityPolicyList" = "PodSecurityPolicyList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/extensions/v1beta1/replica_set.k b/k8s/1.16/api/extensions/v1beta1/replica_set.k index 84ae85be..fe942fec 100644 --- a/k8s/1.16/api/extensions/v1beta1/replica_set.k +++ b/k8s/1.16/api/extensions/v1beta1/replica_set.k @@ -3,7 +3,7 @@ This is the replica_set module in k8s.api.extensions.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicaSet: @@ -16,7 +16,7 @@ schema ReplicaSet: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ReplicaSet", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : ReplicaSetSpec, default is Undefined, optional Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema ReplicaSet: kind: "ReplicaSet" = "ReplicaSet" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ReplicaSetSpec diff --git a/k8s/1.16/api/extensions/v1beta1/replica_set_list.k b/k8s/1.16/api/extensions/v1beta1/replica_set_list.k index e18afc40..89d3b772 100644 --- a/k8s/1.16/api/extensions/v1beta1/replica_set_list.k +++ b/k8s/1.16/api/extensions/v1beta1/replica_set_list.k @@ -3,7 +3,7 @@ This is the replica_set_list module in k8s.api.extensions.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicaSetList: @@ -18,7 +18,7 @@ schema ReplicaSetList: List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller kind : str, default is "ReplicaSetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ReplicaSetList: kind: "ReplicaSetList" = "ReplicaSetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/extensions/v1beta1/replica_set_spec.k b/k8s/1.16/api/extensions/v1beta1/replica_set_spec.k index 9907b96b..f0285e09 100644 --- a/k8s/1.16/api/extensions/v1beta1/replica_set_spec.k +++ b/k8s/1.16/api/extensions/v1beta1/replica_set_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicaSetSpec: @@ -17,7 +17,7 @@ schema ReplicaSetSpec: Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) replicas : int, default is Undefined, optional Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional Selector is a label query over pods that should match the replica count. If the selector is empty, it is defaulted to the labels present on the pod template. Label keys and values that must match in order to be controlled by this replica set. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors template : corev1.PodTemplateSpec, default is Undefined, optional Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template @@ -28,7 +28,7 @@ schema ReplicaSetSpec: replicas?: int - selector?: v1.LabelSelector + selector?: metav1.LabelSelector template?: corev1.PodTemplateSpec diff --git a/k8s/1.16/api/extensions/v1beta1/scale.k b/k8s/1.16/api/extensions/v1beta1/scale.k index 454658aa..4aa5fccf 100644 --- a/k8s/1.16/api/extensions/v1beta1/scale.k +++ b/k8s/1.16/api/extensions/v1beta1/scale.k @@ -3,7 +3,7 @@ This is the scale module in k8s.api.extensions.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Scale: @@ -16,7 +16,7 @@ schema Scale: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Scale", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. spec : ScaleSpec, default is Undefined, optional defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema Scale: kind: "Scale" = "Scale" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ScaleSpec diff --git a/k8s/1.16/api/networking/v1/network_policy.k b/k8s/1.16/api/networking/v1/network_policy.k index 888fc8a4..f4ffe0ea 100644 --- a/k8s/1.16/api/networking/v1/network_policy.k +++ b/k8s/1.16/api/networking/v1/network_policy.k @@ -3,7 +3,7 @@ This is the network_policy module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicy: @@ -16,7 +16,7 @@ schema NetworkPolicy: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "NetworkPolicy", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : NetworkPolicySpec, default is Undefined, optional Specification of the desired behavior for this NetworkPolicy. @@ -27,7 +27,7 @@ schema NetworkPolicy: kind: "NetworkPolicy" = "NetworkPolicy" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: NetworkPolicySpec diff --git a/k8s/1.16/api/networking/v1/network_policy_list.k b/k8s/1.16/api/networking/v1/network_policy_list.k index 7a05cb37..8e21e919 100644 --- a/k8s/1.16/api/networking/v1/network_policy_list.k +++ b/k8s/1.16/api/networking/v1/network_policy_list.k @@ -3,7 +3,7 @@ This is the network_policy_list module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicyList: @@ -18,7 +18,7 @@ schema NetworkPolicyList: Items is a list of schema objects. kind : str, default is "NetworkPolicyList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema NetworkPolicyList: kind: "NetworkPolicyList" = "NetworkPolicyList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/networking/v1/network_policy_peer.k b/k8s/1.16/api/networking/v1/network_policy_peer.k index 14b072d4..ebe8bf73 100644 --- a/k8s/1.16/api/networking/v1/network_policy_peer.k +++ b/k8s/1.16/api/networking/v1/network_policy_peer.k @@ -3,7 +3,7 @@ This is the network_policy_peer module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicyPeer: @@ -14,11 +14,11 @@ schema NetworkPolicyPeer: ---------- ipBlock : IPBlock, default is Undefined, optional IPBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional Selects Namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces. If PodSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects all Pods in the Namespaces selected by NamespaceSelector. - podSelector : v1.LabelSelector, default is Undefined, optional + podSelector : metav1.LabelSelector, default is Undefined, optional This is a label selector which selects Pods. This field follows standard label selector semantics; if present but empty, it selects all pods. If NamespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the Pods matching PodSelector in the policy's own Namespace. @@ -27,8 +27,8 @@ schema NetworkPolicyPeer: ipBlock?: IPBlock - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector - podSelector?: v1.LabelSelector + podSelector?: metav1.LabelSelector diff --git a/k8s/1.16/api/networking/v1/network_policy_spec.k b/k8s/1.16/api/networking/v1/network_policy_spec.k index d730dee3..5a848ef9 100644 --- a/k8s/1.16/api/networking/v1/network_policy_spec.k +++ b/k8s/1.16/api/networking/v1/network_policy_spec.k @@ -3,7 +3,7 @@ This is the network_policy_spec module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicySpec: @@ -16,7 +16,7 @@ schema NetworkPolicySpec: List of egress rules to be applied to the selected pods. Outgoing traffic is allowed if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic matches at least one egress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy limits all outgoing traffic (and serves solely to ensure that the pods it selects are isolated by default). This field is beta-level in 1.8 ingress : [NetworkPolicyIngressRule], default is Undefined, optional List of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not allow any traffic (and serves solely to ensure that the pods it selects are isolated by default) - podSelector : v1.LabelSelector, default is Undefined, required + podSelector : metav1.LabelSelector, default is Undefined, required Selects the pods to which this NetworkPolicy object applies. The array of ingress rules is applied to any pods selected by this field. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is NOT optional and follows standard label selector semantics. An empty podSelector matches all pods in this namespace. policyTypes : [str], default is Undefined, optional List of rule types that the NetworkPolicy relates to. Valid options are "Ingress", "Egress", or "Ingress,Egress". If this field is not specified, it will default based on the existence of Ingress or Egress rules; policies that contain an Egress section are assumed to affect Egress, and all policies (whether or not they contain an Ingress section) are assumed to affect Ingress. If you want to write an egress-only policy, you must explicitly specify policyTypes [ "Egress" ]. Likewise, if you want to write a policy that specifies that no egress is allowed, you must specify a policyTypes value that include "Egress" (since such a policy would not include an Egress section and would otherwise default to just [ "Ingress" ]). This field is beta-level in 1.8 @@ -27,7 +27,7 @@ schema NetworkPolicySpec: ingress?: [NetworkPolicyIngressRule] - podSelector: v1.LabelSelector + podSelector: metav1.LabelSelector policyTypes?: [str] diff --git a/k8s/1.16/api/networking/v1beta1/ingress.k b/k8s/1.16/api/networking/v1beta1/ingress.k index 6569ad3f..5eec23bd 100644 --- a/k8s/1.16/api/networking/v1beta1/ingress.k +++ b/k8s/1.16/api/networking/v1beta1/ingress.k @@ -3,7 +3,7 @@ This is the ingress module in k8s.api.networking.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Ingress: @@ -16,7 +16,7 @@ schema Ingress: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Ingress", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : IngressSpec, default is Undefined, optional Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Ingress: kind: "Ingress" = "Ingress" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: IngressSpec diff --git a/k8s/1.16/api/networking/v1beta1/ingress_list.k b/k8s/1.16/api/networking/v1beta1/ingress_list.k index 5f4b222c..f4249052 100644 --- a/k8s/1.16/api/networking/v1beta1/ingress_list.k +++ b/k8s/1.16/api/networking/v1beta1/ingress_list.k @@ -3,7 +3,7 @@ This is the ingress_list module in k8s.api.networking.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema IngressList: @@ -18,7 +18,7 @@ schema IngressList: Items is the list of Ingress. kind : str, default is "IngressList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema IngressList: kind: "IngressList" = "IngressList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/node/v1alpha1/runtime_class.k b/k8s/1.16/api/node/v1alpha1/runtime_class.k index 32997d20..24b160c8 100644 --- a/k8s/1.16/api/node/v1alpha1/runtime_class.k +++ b/k8s/1.16/api/node/v1alpha1/runtime_class.k @@ -3,7 +3,7 @@ This is the runtime_class module in k8s.api.node.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RuntimeClass: @@ -16,7 +16,7 @@ schema RuntimeClass: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "RuntimeClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : RuntimeClassSpec, default is Undefined, required Specification of the RuntimeClass More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema RuntimeClass: kind: "RuntimeClass" = "RuntimeClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: RuntimeClassSpec diff --git a/k8s/1.16/api/node/v1alpha1/runtime_class_list.k b/k8s/1.16/api/node/v1alpha1/runtime_class_list.k index 9a7cbb22..6db85ede 100644 --- a/k8s/1.16/api/node/v1alpha1/runtime_class_list.k +++ b/k8s/1.16/api/node/v1alpha1/runtime_class_list.k @@ -3,7 +3,7 @@ This is the runtime_class_list module in k8s.api.node.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RuntimeClassList: @@ -18,7 +18,7 @@ schema RuntimeClassList: Items is a list of schema objects. kind : str, default is "RuntimeClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema RuntimeClassList: kind: "RuntimeClassList" = "RuntimeClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/node/v1beta1/runtime_class.k b/k8s/1.16/api/node/v1beta1/runtime_class.k index 515e643e..477c5fa2 100644 --- a/k8s/1.16/api/node/v1beta1/runtime_class.k +++ b/k8s/1.16/api/node/v1beta1/runtime_class.k @@ -3,7 +3,7 @@ This is the runtime_class module in k8s.api.node.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RuntimeClass: @@ -18,7 +18,7 @@ schema RuntimeClass: Handler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration. It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called "runc" might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The Handler must conform to the DNS Label (RFC 1123) requirements, and is immutable. kind : str, default is "RuntimeClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata overhead : Overhead, default is Undefined, optional Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see https://git.k8s.io/enhancements/keps/sig-node/20190226-pod-overhead.md This field is alpha-level as of Kubernetes v1.15, and is only honored by servers that enable the PodOverhead feature. @@ -33,7 +33,7 @@ schema RuntimeClass: kind: "RuntimeClass" = "RuntimeClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta overhead?: Overhead diff --git a/k8s/1.16/api/node/v1beta1/runtime_class_list.k b/k8s/1.16/api/node/v1beta1/runtime_class_list.k index 19de4405..96178e8c 100644 --- a/k8s/1.16/api/node/v1beta1/runtime_class_list.k +++ b/k8s/1.16/api/node/v1beta1/runtime_class_list.k @@ -3,7 +3,7 @@ This is the runtime_class_list module in k8s.api.node.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RuntimeClassList: @@ -18,7 +18,7 @@ schema RuntimeClassList: Items is a list of schema objects. kind : str, default is "RuntimeClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema RuntimeClassList: kind: "RuntimeClassList" = "RuntimeClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/policy/v1beta1/eviction.k b/k8s/1.16/api/policy/v1beta1/eviction.k index 7f8d1a0b..af6f9667 100644 --- a/k8s/1.16/api/policy/v1beta1/eviction.k +++ b/k8s/1.16/api/policy/v1beta1/eviction.k @@ -3,7 +3,7 @@ This is the eviction module in k8s.api.policy.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Eviction: @@ -14,21 +14,21 @@ schema Eviction: ---------- apiVersion : str, default is "policy/v1beta1", required APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - deleteOptions : v1.DeleteOptions, default is Undefined, optional + deleteOptions : metav1.DeleteOptions, default is Undefined, optional DeleteOptions may be provided kind : str, default is "Eviction", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional ObjectMeta describes the pod that is being evicted. """ apiVersion: "policy/v1beta1" = "policy/v1beta1" - deleteOptions?: v1.DeleteOptions + deleteOptions?: metav1.DeleteOptions kind: "Eviction" = "Eviction" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta diff --git a/k8s/1.16/api/policy/v1beta1/pod_disruption_budget.k b/k8s/1.16/api/policy/v1beta1/pod_disruption_budget.k index 4bd867ee..8ec33062 100644 --- a/k8s/1.16/api/policy/v1beta1/pod_disruption_budget.k +++ b/k8s/1.16/api/policy/v1beta1/pod_disruption_budget.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget module in k8s.api.policy.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudget: @@ -16,7 +16,7 @@ schema PodDisruptionBudget: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PodDisruptionBudget", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : PodDisruptionBudgetSpec, default is Undefined, optional Specification of the desired behavior of the PodDisruptionBudget. @@ -27,7 +27,7 @@ schema PodDisruptionBudget: kind: "PodDisruptionBudget" = "PodDisruptionBudget" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PodDisruptionBudgetSpec diff --git a/k8s/1.16/api/policy/v1beta1/pod_disruption_budget_list.k b/k8s/1.16/api/policy/v1beta1/pod_disruption_budget_list.k index 7c9ed9f2..76dc4f1f 100644 --- a/k8s/1.16/api/policy/v1beta1/pod_disruption_budget_list.k +++ b/k8s/1.16/api/policy/v1beta1/pod_disruption_budget_list.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget_list module in k8s.api.policy.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudgetList: @@ -18,7 +18,7 @@ schema PodDisruptionBudgetList: items kind : str, default is "PodDisruptionBudgetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema PodDisruptionBudgetList: kind: "PodDisruptionBudgetList" = "PodDisruptionBudgetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/policy/v1beta1/pod_disruption_budget_spec.k b/k8s/1.16/api/policy/v1beta1/pod_disruption_budget_spec.k index 59207d7d..f58a030c 100644 --- a/k8s/1.16/api/policy/v1beta1/pod_disruption_budget_spec.k +++ b/k8s/1.16/api/policy/v1beta1/pod_disruption_budget_spec.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget_spec module in k8s.api.policy.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudgetSpec: @@ -16,7 +16,7 @@ schema PodDisruptionBudgetSpec: An eviction is allowed if at most "maxUnavailable" pods selected by "selector" are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with "minAvailable". minAvailable : int | str, default is Undefined, optional An eviction is allowed if at least "minAvailable" pods selected by "selector" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying "100%". - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional Label query over pods whose evictions are managed by the disruption budget. """ @@ -25,6 +25,6 @@ schema PodDisruptionBudgetSpec: minAvailable?: int | str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector diff --git a/k8s/1.16/api/policy/v1beta1/pod_security_policy.k b/k8s/1.16/api/policy/v1beta1/pod_security_policy.k index 1fb89bf0..26f77779 100644 --- a/k8s/1.16/api/policy/v1beta1/pod_security_policy.k +++ b/k8s/1.16/api/policy/v1beta1/pod_security_policy.k @@ -3,7 +3,7 @@ This is the pod_security_policy module in k8s.api.policy.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodSecurityPolicy: @@ -16,7 +16,7 @@ schema PodSecurityPolicy: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PodSecurityPolicy", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PodSecurityPolicySpec, default is Undefined, optional spec defines the policy enforced. @@ -27,7 +27,7 @@ schema PodSecurityPolicy: kind: "PodSecurityPolicy" = "PodSecurityPolicy" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PodSecurityPolicySpec diff --git a/k8s/1.16/api/policy/v1beta1/pod_security_policy_list.k b/k8s/1.16/api/policy/v1beta1/pod_security_policy_list.k index 72500195..422fdc1a 100644 --- a/k8s/1.16/api/policy/v1beta1/pod_security_policy_list.k +++ b/k8s/1.16/api/policy/v1beta1/pod_security_policy_list.k @@ -3,7 +3,7 @@ This is the pod_security_policy_list module in k8s.api.policy.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodSecurityPolicyList: @@ -18,7 +18,7 @@ schema PodSecurityPolicyList: items is a list of schema objects. kind : str, default is "PodSecurityPolicyList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PodSecurityPolicyList: kind: "PodSecurityPolicyList" = "PodSecurityPolicyList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/rbac/v1/aggregation_rule.k b/k8s/1.16/api/rbac/v1/aggregation_rule.k index c7969ee4..b6898869 100644 --- a/k8s/1.16/api/rbac/v1/aggregation_rule.k +++ b/k8s/1.16/api/rbac/v1/aggregation_rule.k @@ -3,7 +3,7 @@ This is the aggregation_rule module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema AggregationRule: @@ -12,11 +12,11 @@ schema AggregationRule: Attributes ---------- - clusterRoleSelectors : [v1.LabelSelector], default is Undefined, optional + clusterRoleSelectors : [metav1.LabelSelector], default is Undefined, optional ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added """ - clusterRoleSelectors?: [v1.LabelSelector] + clusterRoleSelectors?: [metav1.LabelSelector] diff --git a/k8s/1.16/api/rbac/v1/cluster_role.k b/k8s/1.16/api/rbac/v1/cluster_role.k index fcf42d1b..d32837ea 100644 --- a/k8s/1.16/api/rbac/v1/cluster_role.k +++ b/k8s/1.16/api/rbac/v1/cluster_role.k @@ -3,7 +3,7 @@ This is the cluster_role module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRole: @@ -18,7 +18,7 @@ schema ClusterRole: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ClusterRole", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. rules : [PolicyRule], default is Undefined, optional Rules holds all the PolicyRules for this ClusterRole @@ -31,7 +31,7 @@ schema ClusterRole: kind: "ClusterRole" = "ClusterRole" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta rules?: [PolicyRule] diff --git a/k8s/1.16/api/rbac/v1/cluster_role_binding.k b/k8s/1.16/api/rbac/v1/cluster_role_binding.k index e670588e..1b2c4294 100644 --- a/k8s/1.16/api/rbac/v1/cluster_role_binding.k +++ b/k8s/1.16/api/rbac/v1/cluster_role_binding.k @@ -3,7 +3,7 @@ This is the cluster_role_binding module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleBinding: @@ -16,7 +16,7 @@ schema ClusterRoleBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ClusterRoleBinding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. roleRef : RoleRef, default is Undefined, required RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. @@ -29,7 +29,7 @@ schema ClusterRoleBinding: kind: "ClusterRoleBinding" = "ClusterRoleBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta roleRef: RoleRef diff --git a/k8s/1.16/api/rbac/v1/cluster_role_binding_list.k b/k8s/1.16/api/rbac/v1/cluster_role_binding_list.k index fd53865a..bd13f6fa 100644 --- a/k8s/1.16/api/rbac/v1/cluster_role_binding_list.k +++ b/k8s/1.16/api/rbac/v1/cluster_role_binding_list.k @@ -3,7 +3,7 @@ This is the cluster_role_binding_list module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleBindingList: @@ -18,7 +18,7 @@ schema ClusterRoleBindingList: Items is a list of ClusterRoleBindings kind : str, default is "ClusterRoleBindingList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema ClusterRoleBindingList: kind: "ClusterRoleBindingList" = "ClusterRoleBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/rbac/v1/cluster_role_list.k b/k8s/1.16/api/rbac/v1/cluster_role_list.k index 8be0e1a6..303e00aa 100644 --- a/k8s/1.16/api/rbac/v1/cluster_role_list.k +++ b/k8s/1.16/api/rbac/v1/cluster_role_list.k @@ -3,7 +3,7 @@ This is the cluster_role_list module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleList: @@ -18,7 +18,7 @@ schema ClusterRoleList: Items is a list of ClusterRoles kind : str, default is "ClusterRoleList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema ClusterRoleList: kind: "ClusterRoleList" = "ClusterRoleList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/rbac/v1/role.k b/k8s/1.16/api/rbac/v1/role.k index f72c1ab0..db02dfef 100644 --- a/k8s/1.16/api/rbac/v1/role.k +++ b/k8s/1.16/api/rbac/v1/role.k @@ -3,7 +3,7 @@ This is the role module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Role: @@ -16,7 +16,7 @@ schema Role: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Role", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. rules : [PolicyRule], default is Undefined, optional Rules holds all the PolicyRules for this Role @@ -27,7 +27,7 @@ schema Role: kind: "Role" = "Role" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta rules?: [PolicyRule] diff --git a/k8s/1.16/api/rbac/v1/role_binding.k b/k8s/1.16/api/rbac/v1/role_binding.k index a305e8b1..efa93d8c 100644 --- a/k8s/1.16/api/rbac/v1/role_binding.k +++ b/k8s/1.16/api/rbac/v1/role_binding.k @@ -3,7 +3,7 @@ This is the role_binding module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleBinding: @@ -16,7 +16,7 @@ schema RoleBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "RoleBinding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. roleRef : RoleRef, default is Undefined, required RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. @@ -29,7 +29,7 @@ schema RoleBinding: kind: "RoleBinding" = "RoleBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta roleRef: RoleRef diff --git a/k8s/1.16/api/rbac/v1/role_binding_list.k b/k8s/1.16/api/rbac/v1/role_binding_list.k index ef8b7fc8..cb8d7400 100644 --- a/k8s/1.16/api/rbac/v1/role_binding_list.k +++ b/k8s/1.16/api/rbac/v1/role_binding_list.k @@ -3,7 +3,7 @@ This is the role_binding_list module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleBindingList: @@ -18,7 +18,7 @@ schema RoleBindingList: Items is a list of RoleBindings kind : str, default is "RoleBindingList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema RoleBindingList: kind: "RoleBindingList" = "RoleBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/rbac/v1/role_list.k b/k8s/1.16/api/rbac/v1/role_list.k index 6e7826e6..d102bc0c 100644 --- a/k8s/1.16/api/rbac/v1/role_list.k +++ b/k8s/1.16/api/rbac/v1/role_list.k @@ -3,7 +3,7 @@ This is the role_list module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleList: @@ -18,7 +18,7 @@ schema RoleList: Items is a list of Roles kind : str, default is "RoleList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema RoleList: kind: "RoleList" = "RoleList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/rbac/v1alpha1/aggregation_rule.k b/k8s/1.16/api/rbac/v1alpha1/aggregation_rule.k index 528fe561..c9b2af20 100644 --- a/k8s/1.16/api/rbac/v1alpha1/aggregation_rule.k +++ b/k8s/1.16/api/rbac/v1alpha1/aggregation_rule.k @@ -3,7 +3,7 @@ This is the aggregation_rule module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema AggregationRule: @@ -12,11 +12,11 @@ schema AggregationRule: Attributes ---------- - clusterRoleSelectors : [v1.LabelSelector], default is Undefined, optional + clusterRoleSelectors : [metav1.LabelSelector], default is Undefined, optional ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added """ - clusterRoleSelectors?: [v1.LabelSelector] + clusterRoleSelectors?: [metav1.LabelSelector] diff --git a/k8s/1.16/api/rbac/v1alpha1/cluster_role.k b/k8s/1.16/api/rbac/v1alpha1/cluster_role.k index d548ed49..0bc3ab45 100644 --- a/k8s/1.16/api/rbac/v1alpha1/cluster_role.k +++ b/k8s/1.16/api/rbac/v1alpha1/cluster_role.k @@ -3,7 +3,7 @@ This is the cluster_role module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRole: @@ -18,7 +18,7 @@ schema ClusterRole: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ClusterRole", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. rules : [PolicyRule], default is Undefined, optional Rules holds all the PolicyRules for this ClusterRole @@ -31,7 +31,7 @@ schema ClusterRole: kind: "ClusterRole" = "ClusterRole" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta rules?: [PolicyRule] diff --git a/k8s/1.16/api/rbac/v1alpha1/cluster_role_binding.k b/k8s/1.16/api/rbac/v1alpha1/cluster_role_binding.k index 835a0ffa..cc2d376a 100644 --- a/k8s/1.16/api/rbac/v1alpha1/cluster_role_binding.k +++ b/k8s/1.16/api/rbac/v1alpha1/cluster_role_binding.k @@ -3,7 +3,7 @@ This is the cluster_role_binding module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleBinding: @@ -16,7 +16,7 @@ schema ClusterRoleBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ClusterRoleBinding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. roleRef : RoleRef, default is Undefined, required RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. @@ -29,7 +29,7 @@ schema ClusterRoleBinding: kind: "ClusterRoleBinding" = "ClusterRoleBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta roleRef: RoleRef diff --git a/k8s/1.16/api/rbac/v1alpha1/cluster_role_binding_list.k b/k8s/1.16/api/rbac/v1alpha1/cluster_role_binding_list.k index 1206db45..47ba3573 100644 --- a/k8s/1.16/api/rbac/v1alpha1/cluster_role_binding_list.k +++ b/k8s/1.16/api/rbac/v1alpha1/cluster_role_binding_list.k @@ -3,7 +3,7 @@ This is the cluster_role_binding_list module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleBindingList: @@ -18,7 +18,7 @@ schema ClusterRoleBindingList: Items is a list of ClusterRoleBindings kind : str, default is "ClusterRoleBindingList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema ClusterRoleBindingList: kind: "ClusterRoleBindingList" = "ClusterRoleBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/rbac/v1alpha1/cluster_role_list.k b/k8s/1.16/api/rbac/v1alpha1/cluster_role_list.k index 41c77ff0..67000c92 100644 --- a/k8s/1.16/api/rbac/v1alpha1/cluster_role_list.k +++ b/k8s/1.16/api/rbac/v1alpha1/cluster_role_list.k @@ -3,7 +3,7 @@ This is the cluster_role_list module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleList: @@ -18,7 +18,7 @@ schema ClusterRoleList: Items is a list of ClusterRoles kind : str, default is "ClusterRoleList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema ClusterRoleList: kind: "ClusterRoleList" = "ClusterRoleList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/rbac/v1alpha1/role.k b/k8s/1.16/api/rbac/v1alpha1/role.k index de468cbb..02c67087 100644 --- a/k8s/1.16/api/rbac/v1alpha1/role.k +++ b/k8s/1.16/api/rbac/v1alpha1/role.k @@ -3,7 +3,7 @@ This is the role module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Role: @@ -16,7 +16,7 @@ schema Role: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Role", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. rules : [PolicyRule], default is Undefined, optional Rules holds all the PolicyRules for this Role @@ -27,7 +27,7 @@ schema Role: kind: "Role" = "Role" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta rules?: [PolicyRule] diff --git a/k8s/1.16/api/rbac/v1alpha1/role_binding.k b/k8s/1.16/api/rbac/v1alpha1/role_binding.k index 954a8c76..26897b4a 100644 --- a/k8s/1.16/api/rbac/v1alpha1/role_binding.k +++ b/k8s/1.16/api/rbac/v1alpha1/role_binding.k @@ -3,7 +3,7 @@ This is the role_binding module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleBinding: @@ -16,7 +16,7 @@ schema RoleBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "RoleBinding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. roleRef : RoleRef, default is Undefined, required RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. @@ -29,7 +29,7 @@ schema RoleBinding: kind: "RoleBinding" = "RoleBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta roleRef: RoleRef diff --git a/k8s/1.16/api/rbac/v1alpha1/role_binding_list.k b/k8s/1.16/api/rbac/v1alpha1/role_binding_list.k index 5a298cf8..11786fd2 100644 --- a/k8s/1.16/api/rbac/v1alpha1/role_binding_list.k +++ b/k8s/1.16/api/rbac/v1alpha1/role_binding_list.k @@ -3,7 +3,7 @@ This is the role_binding_list module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleBindingList: @@ -18,7 +18,7 @@ schema RoleBindingList: Items is a list of RoleBindings kind : str, default is "RoleBindingList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema RoleBindingList: kind: "RoleBindingList" = "RoleBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/rbac/v1alpha1/role_list.k b/k8s/1.16/api/rbac/v1alpha1/role_list.k index 42800fdd..9e4e4e05 100644 --- a/k8s/1.16/api/rbac/v1alpha1/role_list.k +++ b/k8s/1.16/api/rbac/v1alpha1/role_list.k @@ -3,7 +3,7 @@ This is the role_list module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleList: @@ -18,7 +18,7 @@ schema RoleList: Items is a list of Roles kind : str, default is "RoleList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema RoleList: kind: "RoleList" = "RoleList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/rbac/v1beta1/aggregation_rule.k b/k8s/1.16/api/rbac/v1beta1/aggregation_rule.k index cd7ef918..41e15e52 100644 --- a/k8s/1.16/api/rbac/v1beta1/aggregation_rule.k +++ b/k8s/1.16/api/rbac/v1beta1/aggregation_rule.k @@ -3,7 +3,7 @@ This is the aggregation_rule module in k8s.api.rbac.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema AggregationRule: @@ -12,11 +12,11 @@ schema AggregationRule: Attributes ---------- - clusterRoleSelectors : [v1.LabelSelector], default is Undefined, optional + clusterRoleSelectors : [metav1.LabelSelector], default is Undefined, optional ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added """ - clusterRoleSelectors?: [v1.LabelSelector] + clusterRoleSelectors?: [metav1.LabelSelector] diff --git a/k8s/1.16/api/rbac/v1beta1/cluster_role.k b/k8s/1.16/api/rbac/v1beta1/cluster_role.k index 6d491eef..3b898a54 100644 --- a/k8s/1.16/api/rbac/v1beta1/cluster_role.k +++ b/k8s/1.16/api/rbac/v1beta1/cluster_role.k @@ -3,7 +3,7 @@ This is the cluster_role module in k8s.api.rbac.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRole: @@ -18,7 +18,7 @@ schema ClusterRole: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ClusterRole", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. rules : [PolicyRule], default is Undefined, optional Rules holds all the PolicyRules for this ClusterRole @@ -31,7 +31,7 @@ schema ClusterRole: kind: "ClusterRole" = "ClusterRole" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta rules?: [PolicyRule] diff --git a/k8s/1.16/api/rbac/v1beta1/cluster_role_binding.k b/k8s/1.16/api/rbac/v1beta1/cluster_role_binding.k index 7b1325bb..36c2c8cd 100644 --- a/k8s/1.16/api/rbac/v1beta1/cluster_role_binding.k +++ b/k8s/1.16/api/rbac/v1beta1/cluster_role_binding.k @@ -3,7 +3,7 @@ This is the cluster_role_binding module in k8s.api.rbac.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleBinding: @@ -16,7 +16,7 @@ schema ClusterRoleBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ClusterRoleBinding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. roleRef : RoleRef, default is Undefined, required RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. @@ -29,7 +29,7 @@ schema ClusterRoleBinding: kind: "ClusterRoleBinding" = "ClusterRoleBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta roleRef: RoleRef diff --git a/k8s/1.16/api/rbac/v1beta1/cluster_role_binding_list.k b/k8s/1.16/api/rbac/v1beta1/cluster_role_binding_list.k index 4a04d35c..455180aa 100644 --- a/k8s/1.16/api/rbac/v1beta1/cluster_role_binding_list.k +++ b/k8s/1.16/api/rbac/v1beta1/cluster_role_binding_list.k @@ -3,7 +3,7 @@ This is the cluster_role_binding_list module in k8s.api.rbac.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleBindingList: @@ -18,7 +18,7 @@ schema ClusterRoleBindingList: Items is a list of ClusterRoleBindings kind : str, default is "ClusterRoleBindingList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema ClusterRoleBindingList: kind: "ClusterRoleBindingList" = "ClusterRoleBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/rbac/v1beta1/cluster_role_list.k b/k8s/1.16/api/rbac/v1beta1/cluster_role_list.k index 7a38e1a1..380c8c9d 100644 --- a/k8s/1.16/api/rbac/v1beta1/cluster_role_list.k +++ b/k8s/1.16/api/rbac/v1beta1/cluster_role_list.k @@ -3,7 +3,7 @@ This is the cluster_role_list module in k8s.api.rbac.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleList: @@ -18,7 +18,7 @@ schema ClusterRoleList: Items is a list of ClusterRoles kind : str, default is "ClusterRoleList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema ClusterRoleList: kind: "ClusterRoleList" = "ClusterRoleList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/rbac/v1beta1/role.k b/k8s/1.16/api/rbac/v1beta1/role.k index f063abf6..c822138c 100644 --- a/k8s/1.16/api/rbac/v1beta1/role.k +++ b/k8s/1.16/api/rbac/v1beta1/role.k @@ -3,7 +3,7 @@ This is the role module in k8s.api.rbac.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Role: @@ -16,7 +16,7 @@ schema Role: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Role", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. rules : [PolicyRule], default is Undefined, optional Rules holds all the PolicyRules for this Role @@ -27,7 +27,7 @@ schema Role: kind: "Role" = "Role" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta rules?: [PolicyRule] diff --git a/k8s/1.16/api/rbac/v1beta1/role_binding.k b/k8s/1.16/api/rbac/v1beta1/role_binding.k index 285fabe6..3ac51781 100644 --- a/k8s/1.16/api/rbac/v1beta1/role_binding.k +++ b/k8s/1.16/api/rbac/v1beta1/role_binding.k @@ -3,7 +3,7 @@ This is the role_binding module in k8s.api.rbac.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleBinding: @@ -16,7 +16,7 @@ schema RoleBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "RoleBinding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. roleRef : RoleRef, default is Undefined, required RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. @@ -29,7 +29,7 @@ schema RoleBinding: kind: "RoleBinding" = "RoleBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta roleRef: RoleRef diff --git a/k8s/1.16/api/rbac/v1beta1/role_binding_list.k b/k8s/1.16/api/rbac/v1beta1/role_binding_list.k index dfe33e0f..59ad3970 100644 --- a/k8s/1.16/api/rbac/v1beta1/role_binding_list.k +++ b/k8s/1.16/api/rbac/v1beta1/role_binding_list.k @@ -3,7 +3,7 @@ This is the role_binding_list module in k8s.api.rbac.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleBindingList: @@ -18,7 +18,7 @@ schema RoleBindingList: Items is a list of RoleBindings kind : str, default is "RoleBindingList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema RoleBindingList: kind: "RoleBindingList" = "RoleBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/rbac/v1beta1/role_list.k b/k8s/1.16/api/rbac/v1beta1/role_list.k index 55177755..c92d9188 100644 --- a/k8s/1.16/api/rbac/v1beta1/role_list.k +++ b/k8s/1.16/api/rbac/v1beta1/role_list.k @@ -3,7 +3,7 @@ This is the role_list module in k8s.api.rbac.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleList: @@ -18,7 +18,7 @@ schema RoleList: Items is a list of Roles kind : str, default is "RoleList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema RoleList: kind: "RoleList" = "RoleList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/scheduling/v1/priority_class.k b/k8s/1.16/api/scheduling/v1/priority_class.k index 8d5e65f5..2fa40899 100644 --- a/k8s/1.16/api/scheduling/v1/priority_class.k +++ b/k8s/1.16/api/scheduling/v1/priority_class.k @@ -3,7 +3,7 @@ This is the priority_class module in k8s.api.scheduling.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityClass: @@ -20,7 +20,7 @@ schema PriorityClass: globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority. kind : str, default is "PriorityClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata preemptionPolicy : str, default is Undefined, optional PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is alpha-level and is only honored by servers that enable the NonPreemptingPriority feature. @@ -37,7 +37,7 @@ schema PriorityClass: kind: "PriorityClass" = "PriorityClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta preemptionPolicy?: str diff --git a/k8s/1.16/api/scheduling/v1/priority_class_list.k b/k8s/1.16/api/scheduling/v1/priority_class_list.k index ff802048..6d514f6b 100644 --- a/k8s/1.16/api/scheduling/v1/priority_class_list.k +++ b/k8s/1.16/api/scheduling/v1/priority_class_list.k @@ -3,7 +3,7 @@ This is the priority_class_list module in k8s.api.scheduling.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityClassList: @@ -18,7 +18,7 @@ schema PriorityClassList: items is the list of PriorityClasses kind : str, default is "PriorityClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PriorityClassList: kind: "PriorityClassList" = "PriorityClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/scheduling/v1alpha1/priority_class.k b/k8s/1.16/api/scheduling/v1alpha1/priority_class.k index 8ad4a1ae..64498898 100644 --- a/k8s/1.16/api/scheduling/v1alpha1/priority_class.k +++ b/k8s/1.16/api/scheduling/v1alpha1/priority_class.k @@ -3,7 +3,7 @@ This is the priority_class module in k8s.api.scheduling.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityClass: @@ -20,7 +20,7 @@ schema PriorityClass: globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority. kind : str, default is "PriorityClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata preemptionPolicy : str, default is Undefined, optional PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is alpha-level and is only honored by servers that enable the NonPreemptingPriority feature. @@ -37,7 +37,7 @@ schema PriorityClass: kind: "PriorityClass" = "PriorityClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta preemptionPolicy?: str diff --git a/k8s/1.16/api/scheduling/v1alpha1/priority_class_list.k b/k8s/1.16/api/scheduling/v1alpha1/priority_class_list.k index f4d8cbfa..97b08586 100644 --- a/k8s/1.16/api/scheduling/v1alpha1/priority_class_list.k +++ b/k8s/1.16/api/scheduling/v1alpha1/priority_class_list.k @@ -3,7 +3,7 @@ This is the priority_class_list module in k8s.api.scheduling.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityClassList: @@ -18,7 +18,7 @@ schema PriorityClassList: items is the list of PriorityClasses kind : str, default is "PriorityClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PriorityClassList: kind: "PriorityClassList" = "PriorityClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/scheduling/v1beta1/priority_class.k b/k8s/1.16/api/scheduling/v1beta1/priority_class.k index 5879adb2..f9040dec 100644 --- a/k8s/1.16/api/scheduling/v1beta1/priority_class.k +++ b/k8s/1.16/api/scheduling/v1beta1/priority_class.k @@ -3,7 +3,7 @@ This is the priority_class module in k8s.api.scheduling.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityClass: @@ -20,7 +20,7 @@ schema PriorityClass: globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority. kind : str, default is "PriorityClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata preemptionPolicy : str, default is Undefined, optional PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is alpha-level and is only honored by servers that enable the NonPreemptingPriority feature. @@ -37,7 +37,7 @@ schema PriorityClass: kind: "PriorityClass" = "PriorityClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta preemptionPolicy?: str diff --git a/k8s/1.16/api/scheduling/v1beta1/priority_class_list.k b/k8s/1.16/api/scheduling/v1beta1/priority_class_list.k index 2788d02c..2187fd8e 100644 --- a/k8s/1.16/api/scheduling/v1beta1/priority_class_list.k +++ b/k8s/1.16/api/scheduling/v1beta1/priority_class_list.k @@ -3,7 +3,7 @@ This is the priority_class_list module in k8s.api.scheduling.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityClassList: @@ -18,7 +18,7 @@ schema PriorityClassList: items is the list of PriorityClasses kind : str, default is "PriorityClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PriorityClassList: kind: "PriorityClassList" = "PriorityClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/settings/v1alpha1/pod_preset.k b/k8s/1.16/api/settings/v1alpha1/pod_preset.k index 955322f1..53bc0dfa 100644 --- a/k8s/1.16/api/settings/v1alpha1/pod_preset.k +++ b/k8s/1.16/api/settings/v1alpha1/pod_preset.k @@ -3,7 +3,7 @@ This is the pod_preset module in k8s.api.settings.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodPreset: @@ -16,7 +16,7 @@ schema PodPreset: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PodPreset", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : PodPresetSpec, default is Undefined, optional spec @@ -27,7 +27,7 @@ schema PodPreset: kind: "PodPreset" = "PodPreset" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PodPresetSpec diff --git a/k8s/1.16/api/settings/v1alpha1/pod_preset_list.k b/k8s/1.16/api/settings/v1alpha1/pod_preset_list.k index f27331c7..5d94304f 100644 --- a/k8s/1.16/api/settings/v1alpha1/pod_preset_list.k +++ b/k8s/1.16/api/settings/v1alpha1/pod_preset_list.k @@ -3,7 +3,7 @@ This is the pod_preset_list module in k8s.api.settings.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodPresetList: @@ -18,7 +18,7 @@ schema PodPresetList: Items is a list of schema objects. kind : str, default is "PodPresetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PodPresetList: kind: "PodPresetList" = "PodPresetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/storage/v1/storage_class_list.k b/k8s/1.16/api/storage/v1/storage_class_list.k index 365e1386..284d43e8 100644 --- a/k8s/1.16/api/storage/v1/storage_class_list.k +++ b/k8s/1.16/api/storage/v1/storage_class_list.k @@ -3,7 +3,7 @@ This is the storage_class_list module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StorageClassList: @@ -18,7 +18,7 @@ schema StorageClassList: Items is the list of StorageClasses kind : str, default is "StorageClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema StorageClassList: kind: "StorageClassList" = "StorageClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/storage/v1/volume_attachment.k b/k8s/1.16/api/storage/v1/volume_attachment.k index e4b9149f..f98beff1 100644 --- a/k8s/1.16/api/storage/v1/volume_attachment.k +++ b/k8s/1.16/api/storage/v1/volume_attachment.k @@ -3,7 +3,7 @@ This is the volume_attachment module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema VolumeAttachment: @@ -18,7 +18,7 @@ schema VolumeAttachment: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "VolumeAttachment", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : VolumeAttachmentSpec, default is Undefined, required Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system. @@ -29,7 +29,7 @@ schema VolumeAttachment: kind: "VolumeAttachment" = "VolumeAttachment" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: VolumeAttachmentSpec diff --git a/k8s/1.16/api/storage/v1/volume_attachment_list.k b/k8s/1.16/api/storage/v1/volume_attachment_list.k index ef702d0d..0719d0bc 100644 --- a/k8s/1.16/api/storage/v1/volume_attachment_list.k +++ b/k8s/1.16/api/storage/v1/volume_attachment_list.k @@ -3,7 +3,7 @@ This is the volume_attachment_list module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema VolumeAttachmentList: @@ -18,7 +18,7 @@ schema VolumeAttachmentList: Items is the list of VolumeAttachments kind : str, default is "VolumeAttachmentList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema VolumeAttachmentList: kind: "VolumeAttachmentList" = "VolumeAttachmentList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/storage/v1alpha1/volume_attachment.k b/k8s/1.16/api/storage/v1alpha1/volume_attachment.k index ac3e542b..69bcab61 100644 --- a/k8s/1.16/api/storage/v1alpha1/volume_attachment.k +++ b/k8s/1.16/api/storage/v1alpha1/volume_attachment.k @@ -3,7 +3,7 @@ This is the volume_attachment module in k8s.api.storage.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema VolumeAttachment: @@ -18,7 +18,7 @@ schema VolumeAttachment: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "VolumeAttachment", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : VolumeAttachmentSpec, default is Undefined, required Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system. @@ -29,7 +29,7 @@ schema VolumeAttachment: kind: "VolumeAttachment" = "VolumeAttachment" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: VolumeAttachmentSpec diff --git a/k8s/1.16/api/storage/v1alpha1/volume_attachment_list.k b/k8s/1.16/api/storage/v1alpha1/volume_attachment_list.k index ddb512e0..f89560d9 100644 --- a/k8s/1.16/api/storage/v1alpha1/volume_attachment_list.k +++ b/k8s/1.16/api/storage/v1alpha1/volume_attachment_list.k @@ -3,7 +3,7 @@ This is the volume_attachment_list module in k8s.api.storage.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema VolumeAttachmentList: @@ -18,7 +18,7 @@ schema VolumeAttachmentList: Items is the list of VolumeAttachments kind : str, default is "VolumeAttachmentList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema VolumeAttachmentList: kind: "VolumeAttachmentList" = "VolumeAttachmentList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/storage/v1beta1/csi_driver.k b/k8s/1.16/api/storage/v1beta1/csi_driver.k index e4145edc..be666b1b 100644 --- a/k8s/1.16/api/storage/v1beta1/csi_driver.k +++ b/k8s/1.16/api/storage/v1beta1/csi_driver.k @@ -3,7 +3,7 @@ This is the csi_driver module in k8s.api.storage.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSIDriver: @@ -16,7 +16,7 @@ schema CSIDriver: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CSIDriver", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. metadata.Name indicates the name of the CSI driver that this object refers to; it MUST be the same name returned by the CSI GetPluginName() call for that driver. The driver name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and alphanumerics between. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : CSIDriverSpec, default is Undefined, required Specification of the CSI Driver. @@ -27,7 +27,7 @@ schema CSIDriver: kind: "CSIDriver" = "CSIDriver" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CSIDriverSpec diff --git a/k8s/1.16/api/storage/v1beta1/csi_driver_list.k b/k8s/1.16/api/storage/v1beta1/csi_driver_list.k index 209f62b2..215906d8 100644 --- a/k8s/1.16/api/storage/v1beta1/csi_driver_list.k +++ b/k8s/1.16/api/storage/v1beta1/csi_driver_list.k @@ -3,7 +3,7 @@ This is the csi_driver_list module in k8s.api.storage.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSIDriverList: @@ -18,7 +18,7 @@ schema CSIDriverList: items is the list of CSIDriver kind : str, default is "CSIDriverList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CSIDriverList: kind: "CSIDriverList" = "CSIDriverList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/storage/v1beta1/csi_node.k b/k8s/1.16/api/storage/v1beta1/csi_node.k index bea0bd47..75cae72a 100644 --- a/k8s/1.16/api/storage/v1beta1/csi_node.k +++ b/k8s/1.16/api/storage/v1beta1/csi_node.k @@ -3,7 +3,7 @@ This is the csi_node module in k8s.api.storage.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSINode: @@ -16,7 +16,7 @@ schema CSINode: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CSINode", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata.name must be the Kubernetes node name. spec : CSINodeSpec, default is Undefined, required spec is the specification of CSINode @@ -27,7 +27,7 @@ schema CSINode: kind: "CSINode" = "CSINode" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CSINodeSpec diff --git a/k8s/1.16/api/storage/v1beta1/csi_node_list.k b/k8s/1.16/api/storage/v1beta1/csi_node_list.k index 3f0ca6ce..f80a6c6a 100644 --- a/k8s/1.16/api/storage/v1beta1/csi_node_list.k +++ b/k8s/1.16/api/storage/v1beta1/csi_node_list.k @@ -3,7 +3,7 @@ This is the csi_node_list module in k8s.api.storage.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSINodeList: @@ -18,7 +18,7 @@ schema CSINodeList: items is the list of CSINode kind : str, default is "CSINodeList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CSINodeList: kind: "CSINodeList" = "CSINodeList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/storage/v1beta1/storage_class_list.k b/k8s/1.16/api/storage/v1beta1/storage_class_list.k index 0dcbe241..ec9cb902 100644 --- a/k8s/1.16/api/storage/v1beta1/storage_class_list.k +++ b/k8s/1.16/api/storage/v1beta1/storage_class_list.k @@ -3,7 +3,7 @@ This is the storage_class_list module in k8s.api.storage.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StorageClassList: @@ -18,7 +18,7 @@ schema StorageClassList: Items is the list of StorageClasses kind : str, default is "StorageClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema StorageClassList: kind: "StorageClassList" = "StorageClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/api/storage/v1beta1/volume_attachment.k b/k8s/1.16/api/storage/v1beta1/volume_attachment.k index e0a72030..4a4768bf 100644 --- a/k8s/1.16/api/storage/v1beta1/volume_attachment.k +++ b/k8s/1.16/api/storage/v1beta1/volume_attachment.k @@ -3,7 +3,7 @@ This is the volume_attachment module in k8s.api.storage.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema VolumeAttachment: @@ -18,7 +18,7 @@ schema VolumeAttachment: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "VolumeAttachment", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : VolumeAttachmentSpec, default is Undefined, required Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system. @@ -29,7 +29,7 @@ schema VolumeAttachment: kind: "VolumeAttachment" = "VolumeAttachment" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: VolumeAttachmentSpec diff --git a/k8s/1.16/api/storage/v1beta1/volume_attachment_list.k b/k8s/1.16/api/storage/v1beta1/volume_attachment_list.k index cdc91322..4650e400 100644 --- a/k8s/1.16/api/storage/v1beta1/volume_attachment_list.k +++ b/k8s/1.16/api/storage/v1beta1/volume_attachment_list.k @@ -3,7 +3,7 @@ This is the volume_attachment_list module in k8s.api.storage.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema VolumeAttachmentList: @@ -18,7 +18,7 @@ schema VolumeAttachmentList: Items is the list of VolumeAttachments kind : str, default is "VolumeAttachmentList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema VolumeAttachmentList: kind: "VolumeAttachmentList" = "VolumeAttachmentList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition.k b/k8s/1.16/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition.k index 4d421b4d..a401f819 100644 --- a/k8s/1.16/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition.k +++ b/k8s/1.16/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition.k @@ -3,7 +3,7 @@ This is the custom_resource_definition module in k8s.apiextensions_apiserver.pkg This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CustomResourceDefinition: @@ -16,7 +16,7 @@ schema CustomResourceDefinition: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CustomResourceDefinition", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : CustomResourceDefinitionSpec, default is Undefined, required spec describes how the user wants the resources to appear @@ -27,7 +27,7 @@ schema CustomResourceDefinition: kind: "CustomResourceDefinition" = "CustomResourceDefinition" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CustomResourceDefinitionSpec diff --git a/k8s/1.16/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition_list.k b/k8s/1.16/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition_list.k index d380cb53..720e5de8 100644 --- a/k8s/1.16/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition_list.k +++ b/k8s/1.16/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition_list.k @@ -3,7 +3,7 @@ This is the custom_resource_definition_list module in k8s.apiextensions_apiserve This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CustomResourceDefinitionList: @@ -18,7 +18,7 @@ schema CustomResourceDefinitionList: items list individual CustomResourceDefinition objects kind : str, default is "CustomResourceDefinitionList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema CustomResourceDefinitionList: kind: "CustomResourceDefinitionList" = "CustomResourceDefinitionList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/apiextensions_apiserver/pkg/apis/apiextensions/v1beta1/custom_resource_definition.k b/k8s/1.16/apiextensions_apiserver/pkg/apis/apiextensions/v1beta1/custom_resource_definition.k index 8dd4e46a..8966dcaa 100644 --- a/k8s/1.16/apiextensions_apiserver/pkg/apis/apiextensions/v1beta1/custom_resource_definition.k +++ b/k8s/1.16/apiextensions_apiserver/pkg/apis/apiextensions/v1beta1/custom_resource_definition.k @@ -3,7 +3,7 @@ This is the custom_resource_definition module in k8s.apiextensions_apiserver.pkg This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CustomResourceDefinition: @@ -16,7 +16,7 @@ schema CustomResourceDefinition: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CustomResourceDefinition", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : CustomResourceDefinitionSpec, default is Undefined, required spec describes how the user wants the resources to appear @@ -27,7 +27,7 @@ schema CustomResourceDefinition: kind: "CustomResourceDefinition" = "CustomResourceDefinition" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CustomResourceDefinitionSpec diff --git a/k8s/1.16/apiextensions_apiserver/pkg/apis/apiextensions/v1beta1/custom_resource_definition_list.k b/k8s/1.16/apiextensions_apiserver/pkg/apis/apiextensions/v1beta1/custom_resource_definition_list.k index df4417b5..8d4519cd 100644 --- a/k8s/1.16/apiextensions_apiserver/pkg/apis/apiextensions/v1beta1/custom_resource_definition_list.k +++ b/k8s/1.16/apiextensions_apiserver/pkg/apis/apiextensions/v1beta1/custom_resource_definition_list.k @@ -3,7 +3,7 @@ This is the custom_resource_definition_list module in k8s.apiextensions_apiserve This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CustomResourceDefinitionList: @@ -18,7 +18,7 @@ schema CustomResourceDefinitionList: items list individual CustomResourceDefinition objects kind : str, default is "CustomResourceDefinitionList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema CustomResourceDefinitionList: kind: "CustomResourceDefinitionList" = "CustomResourceDefinitionList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/kcl.mod b/k8s/1.16/kcl.mod index 54ab128d..ee8779c0 100644 --- a/k8s/1.16/kcl.mod +++ b/k8s/1.16/kcl.mod @@ -1,5 +1,5 @@ [package] name = "k8s" edition = "*" -version = "1.16.1" +version = "1.16.2" description = "`k8s` is a KCL module contains all the built-in Kubernetes resource models (the CRDs are not included here)." diff --git a/k8s/1.16/kube_aggregator/pkg/apis/apiregistration/v1/api_service.k b/k8s/1.16/kube_aggregator/pkg/apis/apiregistration/v1/api_service.k index d7575e41..b9fd5e11 100644 --- a/k8s/1.16/kube_aggregator/pkg/apis/apiregistration/v1/api_service.k +++ b/k8s/1.16/kube_aggregator/pkg/apis/apiregistration/v1/api_service.k @@ -3,7 +3,7 @@ This is the api_service module in k8s.kube_aggregator.pkg.apis.apiregistration.v This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema APIService: @@ -16,7 +16,7 @@ schema APIService: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "APIService", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : APIServiceSpec, default is Undefined, optional Spec contains information for locating and communicating with a server @@ -27,7 +27,7 @@ schema APIService: kind: "APIService" = "APIService" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: APIServiceSpec diff --git a/k8s/1.16/kube_aggregator/pkg/apis/apiregistration/v1/api_service_list.k b/k8s/1.16/kube_aggregator/pkg/apis/apiregistration/v1/api_service_list.k index a4190ded..5f850817 100644 --- a/k8s/1.16/kube_aggregator/pkg/apis/apiregistration/v1/api_service_list.k +++ b/k8s/1.16/kube_aggregator/pkg/apis/apiregistration/v1/api_service_list.k @@ -3,7 +3,7 @@ This is the api_service_list module in k8s.kube_aggregator.pkg.apis.apiregistrat This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema APIServiceList: @@ -18,7 +18,7 @@ schema APIServiceList: items kind : str, default is "APIServiceList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema APIServiceList: kind: "APIServiceList" = "APIServiceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.16/kube_aggregator/pkg/apis/apiregistration/v1beta1/api_service.k b/k8s/1.16/kube_aggregator/pkg/apis/apiregistration/v1beta1/api_service.k index 5c0348eb..d88e6dfc 100644 --- a/k8s/1.16/kube_aggregator/pkg/apis/apiregistration/v1beta1/api_service.k +++ b/k8s/1.16/kube_aggregator/pkg/apis/apiregistration/v1beta1/api_service.k @@ -3,7 +3,7 @@ This is the api_service module in k8s.kube_aggregator.pkg.apis.apiregistration.v This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema APIService: @@ -16,7 +16,7 @@ schema APIService: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "APIService", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : APIServiceSpec, default is Undefined, optional Spec contains information for locating and communicating with a server @@ -27,7 +27,7 @@ schema APIService: kind: "APIService" = "APIService" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: APIServiceSpec diff --git a/k8s/1.16/kube_aggregator/pkg/apis/apiregistration/v1beta1/api_service_list.k b/k8s/1.16/kube_aggregator/pkg/apis/apiregistration/v1beta1/api_service_list.k index f829e37d..75989315 100644 --- a/k8s/1.16/kube_aggregator/pkg/apis/apiregistration/v1beta1/api_service_list.k +++ b/k8s/1.16/kube_aggregator/pkg/apis/apiregistration/v1beta1/api_service_list.k @@ -3,7 +3,7 @@ This is the api_service_list module in k8s.kube_aggregator.pkg.apis.apiregistrat This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema APIServiceList: @@ -18,7 +18,7 @@ schema APIServiceList: items kind : str, default is "APIServiceList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema APIServiceList: kind: "APIServiceList" = "APIServiceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/admissionregistration/v1/mutating_webhook.k b/k8s/1.17/api/admissionregistration/v1/mutating_webhook.k index dad9a26f..14dff1c3 100644 --- a/k8s/1.17/api/admissionregistration/v1/mutating_webhook.k +++ b/k8s/1.17/api/admissionregistration/v1/mutating_webhook.k @@ -3,7 +3,7 @@ This is the mutating_webhook module in k8s.api.admissionregistration.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MutatingWebhook: @@ -28,7 +28,7 @@ schema MutatingWebhook: Defaults to "Equivalent" name : str, default is Undefined, required The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook. For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1"; you will set the selector as follows: "namespaceSelector": { @@ -60,7 +60,7 @@ schema MutatingWebhook: See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors. Default to the empty LabelSelector, which matches everything. - objectSelector : v1.LabelSelector, default is Undefined, optional + objectSelector : metav1.LabelSelector, default is Undefined, optional ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything. reinvocationPolicy : str, default is Undefined, optional reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded". @@ -89,9 +89,9 @@ schema MutatingWebhook: name: str - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector - objectSelector?: v1.LabelSelector + objectSelector?: metav1.LabelSelector reinvocationPolicy?: str diff --git a/k8s/1.17/api/admissionregistration/v1/mutating_webhook_configuration.k b/k8s/1.17/api/admissionregistration/v1/mutating_webhook_configuration.k index a9864b32..0c970740 100644 --- a/k8s/1.17/api/admissionregistration/v1/mutating_webhook_configuration.k +++ b/k8s/1.17/api/admissionregistration/v1/mutating_webhook_configuration.k @@ -3,7 +3,7 @@ This is the mutating_webhook_configuration module in k8s.api.admissionregistrati This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MutatingWebhookConfiguration: @@ -16,7 +16,7 @@ schema MutatingWebhookConfiguration: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "MutatingWebhookConfiguration", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. webhooks : [MutatingWebhook], default is Undefined, optional Webhooks is a list of webhooks and the affected resources and operations. @@ -27,7 +27,7 @@ schema MutatingWebhookConfiguration: kind: "MutatingWebhookConfiguration" = "MutatingWebhookConfiguration" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta webhooks?: [MutatingWebhook] diff --git a/k8s/1.17/api/admissionregistration/v1/mutating_webhook_configuration_list.k b/k8s/1.17/api/admissionregistration/v1/mutating_webhook_configuration_list.k index d4e15e81..b6fd6022 100644 --- a/k8s/1.17/api/admissionregistration/v1/mutating_webhook_configuration_list.k +++ b/k8s/1.17/api/admissionregistration/v1/mutating_webhook_configuration_list.k @@ -3,7 +3,7 @@ This is the mutating_webhook_configuration_list module in k8s.api.admissionregis This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MutatingWebhookConfigurationList: @@ -18,7 +18,7 @@ schema MutatingWebhookConfigurationList: List of MutatingWebhookConfiguration. kind : str, default is "MutatingWebhookConfigurationList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema MutatingWebhookConfigurationList: kind: "MutatingWebhookConfigurationList" = "MutatingWebhookConfigurationList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/admissionregistration/v1/validating_webhook.k b/k8s/1.17/api/admissionregistration/v1/validating_webhook.k index 112ca984..dc45ba72 100644 --- a/k8s/1.17/api/admissionregistration/v1/validating_webhook.k +++ b/k8s/1.17/api/admissionregistration/v1/validating_webhook.k @@ -3,7 +3,7 @@ This is the validating_webhook module in k8s.api.admissionregistration.v1 packag This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingWebhook: @@ -28,7 +28,7 @@ schema ValidatingWebhook: Defaults to "Equivalent" name : str, default is Undefined, required The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook. For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1"; you will set the selector as follows: "namespaceSelector": { @@ -60,7 +60,7 @@ schema ValidatingWebhook: See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels for more examples of label selectors. Default to the empty LabelSelector, which matches everything. - objectSelector : v1.LabelSelector, default is Undefined, optional + objectSelector : metav1.LabelSelector, default is Undefined, optional ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything. rules : [RuleWithOperations], default is Undefined, optional Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects. @@ -81,9 +81,9 @@ schema ValidatingWebhook: name: str - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector - objectSelector?: v1.LabelSelector + objectSelector?: metav1.LabelSelector rules?: [RuleWithOperations] diff --git a/k8s/1.17/api/admissionregistration/v1/validating_webhook_configuration.k b/k8s/1.17/api/admissionregistration/v1/validating_webhook_configuration.k index 2b45293a..e35bb335 100644 --- a/k8s/1.17/api/admissionregistration/v1/validating_webhook_configuration.k +++ b/k8s/1.17/api/admissionregistration/v1/validating_webhook_configuration.k @@ -3,7 +3,7 @@ This is the validating_webhook_configuration module in k8s.api.admissionregistra This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingWebhookConfiguration: @@ -16,7 +16,7 @@ schema ValidatingWebhookConfiguration: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ValidatingWebhookConfiguration", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. webhooks : [ValidatingWebhook], default is Undefined, optional Webhooks is a list of webhooks and the affected resources and operations. @@ -27,7 +27,7 @@ schema ValidatingWebhookConfiguration: kind: "ValidatingWebhookConfiguration" = "ValidatingWebhookConfiguration" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta webhooks?: [ValidatingWebhook] diff --git a/k8s/1.17/api/admissionregistration/v1/validating_webhook_configuration_list.k b/k8s/1.17/api/admissionregistration/v1/validating_webhook_configuration_list.k index 0515b188..2691da1c 100644 --- a/k8s/1.17/api/admissionregistration/v1/validating_webhook_configuration_list.k +++ b/k8s/1.17/api/admissionregistration/v1/validating_webhook_configuration_list.k @@ -3,7 +3,7 @@ This is the validating_webhook_configuration_list module in k8s.api.admissionreg This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingWebhookConfigurationList: @@ -18,7 +18,7 @@ schema ValidatingWebhookConfigurationList: List of ValidatingWebhookConfiguration. kind : str, default is "ValidatingWebhookConfigurationList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ValidatingWebhookConfigurationList: kind: "ValidatingWebhookConfigurationList" = "ValidatingWebhookConfigurationList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/admissionregistration/v1beta1/mutating_webhook.k b/k8s/1.17/api/admissionregistration/v1beta1/mutating_webhook.k index d8f6f60e..67eb1d6c 100644 --- a/k8s/1.17/api/admissionregistration/v1beta1/mutating_webhook.k +++ b/k8s/1.17/api/admissionregistration/v1beta1/mutating_webhook.k @@ -3,7 +3,7 @@ This is the mutating_webhook module in k8s.api.admissionregistration.v1beta1 pac This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MutatingWebhook: @@ -28,7 +28,7 @@ schema MutatingWebhook: Defaults to "Exact" name : str, default is Undefined, required The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook. For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1"; you will set the selector as follows: "namespaceSelector": { @@ -60,7 +60,7 @@ schema MutatingWebhook: See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors. Default to the empty LabelSelector, which matches everything. - objectSelector : v1.LabelSelector, default is Undefined, optional + objectSelector : metav1.LabelSelector, default is Undefined, optional ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything. reinvocationPolicy : str, default is Undefined, optional reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded". @@ -89,9 +89,9 @@ schema MutatingWebhook: name: str - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector - objectSelector?: v1.LabelSelector + objectSelector?: metav1.LabelSelector reinvocationPolicy?: str diff --git a/k8s/1.17/api/admissionregistration/v1beta1/mutating_webhook_configuration.k b/k8s/1.17/api/admissionregistration/v1beta1/mutating_webhook_configuration.k index 6393b519..25598a7d 100644 --- a/k8s/1.17/api/admissionregistration/v1beta1/mutating_webhook_configuration.k +++ b/k8s/1.17/api/admissionregistration/v1beta1/mutating_webhook_configuration.k @@ -3,7 +3,7 @@ This is the mutating_webhook_configuration module in k8s.api.admissionregistrati This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MutatingWebhookConfiguration: @@ -16,7 +16,7 @@ schema MutatingWebhookConfiguration: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "MutatingWebhookConfiguration", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. webhooks : [MutatingWebhook], default is Undefined, optional Webhooks is a list of webhooks and the affected resources and operations. @@ -27,7 +27,7 @@ schema MutatingWebhookConfiguration: kind: "MutatingWebhookConfiguration" = "MutatingWebhookConfiguration" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta webhooks?: [MutatingWebhook] diff --git a/k8s/1.17/api/admissionregistration/v1beta1/mutating_webhook_configuration_list.k b/k8s/1.17/api/admissionregistration/v1beta1/mutating_webhook_configuration_list.k index 12c40d69..a56f0976 100644 --- a/k8s/1.17/api/admissionregistration/v1beta1/mutating_webhook_configuration_list.k +++ b/k8s/1.17/api/admissionregistration/v1beta1/mutating_webhook_configuration_list.k @@ -3,7 +3,7 @@ This is the mutating_webhook_configuration_list module in k8s.api.admissionregis This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MutatingWebhookConfigurationList: @@ -18,7 +18,7 @@ schema MutatingWebhookConfigurationList: List of MutatingWebhookConfiguration. kind : str, default is "MutatingWebhookConfigurationList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema MutatingWebhookConfigurationList: kind: "MutatingWebhookConfigurationList" = "MutatingWebhookConfigurationList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/admissionregistration/v1beta1/validating_webhook.k b/k8s/1.17/api/admissionregistration/v1beta1/validating_webhook.k index e4e2e47f..df5b8775 100644 --- a/k8s/1.17/api/admissionregistration/v1beta1/validating_webhook.k +++ b/k8s/1.17/api/admissionregistration/v1beta1/validating_webhook.k @@ -3,7 +3,7 @@ This is the validating_webhook module in k8s.api.admissionregistration.v1beta1 p This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingWebhook: @@ -28,7 +28,7 @@ schema ValidatingWebhook: Defaults to "Exact" name : str, default is Undefined, required The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook. For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1"; you will set the selector as follows: "namespaceSelector": { @@ -60,7 +60,7 @@ schema ValidatingWebhook: See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels for more examples of label selectors. Default to the empty LabelSelector, which matches everything. - objectSelector : v1.LabelSelector, default is Undefined, optional + objectSelector : metav1.LabelSelector, default is Undefined, optional ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything. rules : [RuleWithOperations], default is Undefined, optional Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects. @@ -81,9 +81,9 @@ schema ValidatingWebhook: name: str - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector - objectSelector?: v1.LabelSelector + objectSelector?: metav1.LabelSelector rules?: [RuleWithOperations] diff --git a/k8s/1.17/api/admissionregistration/v1beta1/validating_webhook_configuration.k b/k8s/1.17/api/admissionregistration/v1beta1/validating_webhook_configuration.k index 9aff9003..9d848985 100644 --- a/k8s/1.17/api/admissionregistration/v1beta1/validating_webhook_configuration.k +++ b/k8s/1.17/api/admissionregistration/v1beta1/validating_webhook_configuration.k @@ -3,7 +3,7 @@ This is the validating_webhook_configuration module in k8s.api.admissionregistra This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingWebhookConfiguration: @@ -16,7 +16,7 @@ schema ValidatingWebhookConfiguration: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ValidatingWebhookConfiguration", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. webhooks : [ValidatingWebhook], default is Undefined, optional Webhooks is a list of webhooks and the affected resources and operations. @@ -27,7 +27,7 @@ schema ValidatingWebhookConfiguration: kind: "ValidatingWebhookConfiguration" = "ValidatingWebhookConfiguration" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta webhooks?: [ValidatingWebhook] diff --git a/k8s/1.17/api/admissionregistration/v1beta1/validating_webhook_configuration_list.k b/k8s/1.17/api/admissionregistration/v1beta1/validating_webhook_configuration_list.k index 53370083..64780e0f 100644 --- a/k8s/1.17/api/admissionregistration/v1beta1/validating_webhook_configuration_list.k +++ b/k8s/1.17/api/admissionregistration/v1beta1/validating_webhook_configuration_list.k @@ -3,7 +3,7 @@ This is the validating_webhook_configuration_list module in k8s.api.admissionreg This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingWebhookConfigurationList: @@ -18,7 +18,7 @@ schema ValidatingWebhookConfigurationList: List of ValidatingWebhookConfiguration. kind : str, default is "ValidatingWebhookConfigurationList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ValidatingWebhookConfigurationList: kind: "ValidatingWebhookConfigurationList" = "ValidatingWebhookConfigurationList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/apps/v1/controller_revision.k b/k8s/1.17/api/apps/v1/controller_revision.k index dbb3d441..56163182 100644 --- a/k8s/1.17/api/apps/v1/controller_revision.k +++ b/k8s/1.17/api/apps/v1/controller_revision.k @@ -3,7 +3,7 @@ This is the controller_revision module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ControllerRevision: @@ -18,7 +18,7 @@ schema ControllerRevision: Data is the serialized representation of the state. kind : str, default is "ControllerRevision", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata revision : int, default is Undefined, required Revision indicates the revision of the state represented by Data. @@ -31,7 +31,7 @@ schema ControllerRevision: kind: "ControllerRevision" = "ControllerRevision" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta revision: int diff --git a/k8s/1.17/api/apps/v1/controller_revision_list.k b/k8s/1.17/api/apps/v1/controller_revision_list.k index e145fcff..bb64d1fe 100644 --- a/k8s/1.17/api/apps/v1/controller_revision_list.k +++ b/k8s/1.17/api/apps/v1/controller_revision_list.k @@ -3,7 +3,7 @@ This is the controller_revision_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ControllerRevisionList: @@ -18,7 +18,7 @@ schema ControllerRevisionList: Items is the list of ControllerRevisions kind : str, default is "ControllerRevisionList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema ControllerRevisionList: kind: "ControllerRevisionList" = "ControllerRevisionList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/apps/v1/daemon_set.k b/k8s/1.17/api/apps/v1/daemon_set.k index 33e7b68b..fd1c7c20 100644 --- a/k8s/1.17/api/apps/v1/daemon_set.k +++ b/k8s/1.17/api/apps/v1/daemon_set.k @@ -3,7 +3,7 @@ This is the daemon_set module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DaemonSet: @@ -16,7 +16,7 @@ schema DaemonSet: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "DaemonSet", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : DaemonSetSpec, default is Undefined, optional The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema DaemonSet: kind: "DaemonSet" = "DaemonSet" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: DaemonSetSpec diff --git a/k8s/1.17/api/apps/v1/daemon_set_list.k b/k8s/1.17/api/apps/v1/daemon_set_list.k index 3515d999..795c26f8 100644 --- a/k8s/1.17/api/apps/v1/daemon_set_list.k +++ b/k8s/1.17/api/apps/v1/daemon_set_list.k @@ -3,7 +3,7 @@ This is the daemon_set_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DaemonSetList: @@ -18,7 +18,7 @@ schema DaemonSetList: A list of daemon sets. kind : str, default is "DaemonSetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema DaemonSetList: kind: "DaemonSetList" = "DaemonSetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/apps/v1/daemon_set_spec.k b/k8s/1.17/api/apps/v1/daemon_set_spec.k index caf3faf8..352f849c 100644 --- a/k8s/1.17/api/apps/v1/daemon_set_spec.k +++ b/k8s/1.17/api/apps/v1/daemon_set_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DaemonSetSpec: @@ -17,7 +17,7 @@ schema DaemonSetSpec: The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready). revisionHistoryLimit : int, default is Undefined, optional The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required A label query over pods that are managed by the daemon set. Must match in order to be controlled. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors template : corev1.PodTemplateSpec, default is Undefined, required An object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template @@ -30,7 +30,7 @@ schema DaemonSetSpec: revisionHistoryLimit?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector template: corev1.PodTemplateSpec diff --git a/k8s/1.17/api/apps/v1/deployment.k b/k8s/1.17/api/apps/v1/deployment.k index 9b4af78c..6572679c 100644 --- a/k8s/1.17/api/apps/v1/deployment.k +++ b/k8s/1.17/api/apps/v1/deployment.k @@ -3,7 +3,7 @@ This is the deployment module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Deployment: @@ -16,7 +16,7 @@ schema Deployment: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Deployment", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. spec : DeploymentSpec, default is Undefined, optional Specification of the desired behavior of the Deployment. @@ -27,7 +27,7 @@ schema Deployment: kind: "Deployment" = "Deployment" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: DeploymentSpec diff --git a/k8s/1.17/api/apps/v1/deployment_list.k b/k8s/1.17/api/apps/v1/deployment_list.k index a83ce0d5..8fa44e9b 100644 --- a/k8s/1.17/api/apps/v1/deployment_list.k +++ b/k8s/1.17/api/apps/v1/deployment_list.k @@ -3,7 +3,7 @@ This is the deployment_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DeploymentList: @@ -18,7 +18,7 @@ schema DeploymentList: Items is the list of Deployments. kind : str, default is "DeploymentList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema DeploymentList: kind: "DeploymentList" = "DeploymentList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/apps/v1/deployment_spec.k b/k8s/1.17/api/apps/v1/deployment_spec.k index b8591d9a..c0f14ef0 100644 --- a/k8s/1.17/api/apps/v1/deployment_spec.k +++ b/k8s/1.17/api/apps/v1/deployment_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DeploymentSpec: @@ -23,7 +23,7 @@ schema DeploymentSpec: Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1. revisionHistoryLimit : int, default is Undefined, optional The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. It must match the pod template's labels. strategy : DeploymentStrategy, default is Undefined, optional The deployment strategy to use to replace existing pods with new ones. @@ -42,7 +42,7 @@ schema DeploymentSpec: revisionHistoryLimit?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector strategy?: DeploymentStrategy diff --git a/k8s/1.17/api/apps/v1/replica_set.k b/k8s/1.17/api/apps/v1/replica_set.k index 0497ff66..79552175 100644 --- a/k8s/1.17/api/apps/v1/replica_set.k +++ b/k8s/1.17/api/apps/v1/replica_set.k @@ -3,7 +3,7 @@ This is the replica_set module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicaSet: @@ -16,7 +16,7 @@ schema ReplicaSet: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ReplicaSet", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : ReplicaSetSpec, default is Undefined, optional Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema ReplicaSet: kind: "ReplicaSet" = "ReplicaSet" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ReplicaSetSpec diff --git a/k8s/1.17/api/apps/v1/replica_set_list.k b/k8s/1.17/api/apps/v1/replica_set_list.k index 0e25bef7..689ca9bb 100644 --- a/k8s/1.17/api/apps/v1/replica_set_list.k +++ b/k8s/1.17/api/apps/v1/replica_set_list.k @@ -3,7 +3,7 @@ This is the replica_set_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicaSetList: @@ -18,7 +18,7 @@ schema ReplicaSetList: List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller kind : str, default is "ReplicaSetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ReplicaSetList: kind: "ReplicaSetList" = "ReplicaSetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/apps/v1/replica_set_spec.k b/k8s/1.17/api/apps/v1/replica_set_spec.k index 700810d3..53ae3f6f 100644 --- a/k8s/1.17/api/apps/v1/replica_set_spec.k +++ b/k8s/1.17/api/apps/v1/replica_set_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicaSetSpec: @@ -17,7 +17,7 @@ schema ReplicaSetSpec: Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) replicas : int, default is Undefined, optional Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required Selector is a label query over pods that should match the replica count. Label keys and values that must match in order to be controlled by this replica set. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors template : corev1.PodTemplateSpec, default is Undefined, optional Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template @@ -28,7 +28,7 @@ schema ReplicaSetSpec: replicas?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector template?: corev1.PodTemplateSpec diff --git a/k8s/1.17/api/apps/v1/stateful_set.k b/k8s/1.17/api/apps/v1/stateful_set.k index d069bd3c..1ae50fc7 100644 --- a/k8s/1.17/api/apps/v1/stateful_set.k +++ b/k8s/1.17/api/apps/v1/stateful_set.k @@ -3,7 +3,7 @@ This is the stateful_set module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StatefulSet: @@ -19,7 +19,7 @@ schema StatefulSet: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "StatefulSet", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : StatefulSetSpec, default is Undefined, optional Spec defines the desired identities of pods in this set. @@ -30,7 +30,7 @@ schema StatefulSet: kind: "StatefulSet" = "StatefulSet" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: StatefulSetSpec diff --git a/k8s/1.17/api/apps/v1/stateful_set_list.k b/k8s/1.17/api/apps/v1/stateful_set_list.k index cb8e7543..96301762 100644 --- a/k8s/1.17/api/apps/v1/stateful_set_list.k +++ b/k8s/1.17/api/apps/v1/stateful_set_list.k @@ -3,7 +3,7 @@ This is the stateful_set_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StatefulSetList: @@ -18,7 +18,7 @@ schema StatefulSetList: items kind : str, default is "StatefulSetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema StatefulSetList: kind: "StatefulSetList" = "StatefulSetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/apps/v1/stateful_set_spec.k b/k8s/1.17/api/apps/v1/stateful_set_spec.k index 4deeb5ed..14e6e0ee 100644 --- a/k8s/1.17/api/apps/v1/stateful_set_spec.k +++ b/k8s/1.17/api/apps/v1/stateful_set_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StatefulSetSpec: @@ -19,7 +19,7 @@ schema StatefulSetSpec: replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1. revisionHistoryLimit : int, default is Undefined, optional revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10. - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required selector is a label query over pods that should match the replica count. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors serviceName : str, default is Undefined, required serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where "pod-specific-string" is managed by the StatefulSet controller. @@ -38,7 +38,7 @@ schema StatefulSetSpec: revisionHistoryLimit?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector serviceName: str diff --git a/k8s/1.17/api/apps/v1beta1/controller_revision.k b/k8s/1.17/api/apps/v1beta1/controller_revision.k index 1ba35e30..12f21196 100644 --- a/k8s/1.17/api/apps/v1beta1/controller_revision.k +++ b/k8s/1.17/api/apps/v1beta1/controller_revision.k @@ -3,7 +3,7 @@ This is the controller_revision module in k8s.api.apps.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ControllerRevision: @@ -18,7 +18,7 @@ schema ControllerRevision: Data is the serialized representation of the state. kind : str, default is "ControllerRevision", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata revision : int, default is Undefined, required Revision indicates the revision of the state represented by Data. @@ -31,7 +31,7 @@ schema ControllerRevision: kind: "ControllerRevision" = "ControllerRevision" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta revision: int diff --git a/k8s/1.17/api/apps/v1beta1/controller_revision_list.k b/k8s/1.17/api/apps/v1beta1/controller_revision_list.k index 4cdbb900..93263f98 100644 --- a/k8s/1.17/api/apps/v1beta1/controller_revision_list.k +++ b/k8s/1.17/api/apps/v1beta1/controller_revision_list.k @@ -3,7 +3,7 @@ This is the controller_revision_list module in k8s.api.apps.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ControllerRevisionList: @@ -18,7 +18,7 @@ schema ControllerRevisionList: Items is the list of ControllerRevisions kind : str, default is "ControllerRevisionList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema ControllerRevisionList: kind: "ControllerRevisionList" = "ControllerRevisionList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/apps/v1beta1/deployment.k b/k8s/1.17/api/apps/v1beta1/deployment.k index 8c7c9462..2679d2f1 100644 --- a/k8s/1.17/api/apps/v1beta1/deployment.k +++ b/k8s/1.17/api/apps/v1beta1/deployment.k @@ -3,7 +3,7 @@ This is the deployment module in k8s.api.apps.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Deployment: @@ -16,7 +16,7 @@ schema Deployment: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Deployment", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. spec : DeploymentSpec, default is Undefined, optional Specification of the desired behavior of the Deployment. @@ -27,7 +27,7 @@ schema Deployment: kind: "Deployment" = "Deployment" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: DeploymentSpec diff --git a/k8s/1.17/api/apps/v1beta1/deployment_list.k b/k8s/1.17/api/apps/v1beta1/deployment_list.k index 9e5405b6..82716481 100644 --- a/k8s/1.17/api/apps/v1beta1/deployment_list.k +++ b/k8s/1.17/api/apps/v1beta1/deployment_list.k @@ -3,7 +3,7 @@ This is the deployment_list module in k8s.api.apps.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DeploymentList: @@ -18,7 +18,7 @@ schema DeploymentList: Items is the list of Deployments. kind : str, default is "DeploymentList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema DeploymentList: kind: "DeploymentList" = "DeploymentList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/apps/v1beta1/deployment_spec.k b/k8s/1.17/api/apps/v1beta1/deployment_spec.k index 89bb0162..163c47e6 100644 --- a/k8s/1.17/api/apps/v1beta1/deployment_spec.k +++ b/k8s/1.17/api/apps/v1beta1/deployment_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DeploymentSpec: @@ -25,7 +25,7 @@ schema DeploymentSpec: The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 2. rollbackTo : RollbackConfig, default is Undefined, optional DEPRECATED. The config this deployment is rolling back to. Will be cleared after rollback is done. - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. strategy : DeploymentStrategy, default is Undefined, optional The deployment strategy to use to replace existing pods with new ones. @@ -46,7 +46,7 @@ schema DeploymentSpec: rollbackTo?: RollbackConfig - selector?: v1.LabelSelector + selector?: metav1.LabelSelector strategy?: DeploymentStrategy diff --git a/k8s/1.17/api/apps/v1beta1/scale.k b/k8s/1.17/api/apps/v1beta1/scale.k index cd7fcee9..db090a11 100644 --- a/k8s/1.17/api/apps/v1beta1/scale.k +++ b/k8s/1.17/api/apps/v1beta1/scale.k @@ -3,7 +3,7 @@ This is the scale module in k8s.api.apps.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Scale: @@ -16,7 +16,7 @@ schema Scale: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Scale", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. spec : ScaleSpec, default is Undefined, optional defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema Scale: kind: "Scale" = "Scale" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ScaleSpec diff --git a/k8s/1.17/api/apps/v1beta1/stateful_set.k b/k8s/1.17/api/apps/v1beta1/stateful_set.k index a3efbc1c..90d63d95 100644 --- a/k8s/1.17/api/apps/v1beta1/stateful_set.k +++ b/k8s/1.17/api/apps/v1beta1/stateful_set.k @@ -3,7 +3,7 @@ This is the stateful_set module in k8s.api.apps.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StatefulSet: @@ -19,7 +19,7 @@ schema StatefulSet: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "StatefulSet", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : StatefulSetSpec, default is Undefined, optional Spec defines the desired identities of pods in this set. @@ -30,7 +30,7 @@ schema StatefulSet: kind: "StatefulSet" = "StatefulSet" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: StatefulSetSpec diff --git a/k8s/1.17/api/apps/v1beta1/stateful_set_list.k b/k8s/1.17/api/apps/v1beta1/stateful_set_list.k index 44e44539..38503244 100644 --- a/k8s/1.17/api/apps/v1beta1/stateful_set_list.k +++ b/k8s/1.17/api/apps/v1beta1/stateful_set_list.k @@ -3,7 +3,7 @@ This is the stateful_set_list module in k8s.api.apps.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StatefulSetList: @@ -18,7 +18,7 @@ schema StatefulSetList: items kind : str, default is "StatefulSetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema StatefulSetList: kind: "StatefulSetList" = "StatefulSetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/apps/v1beta1/stateful_set_spec.k b/k8s/1.17/api/apps/v1beta1/stateful_set_spec.k index cc43f136..f208c3e2 100644 --- a/k8s/1.17/api/apps/v1beta1/stateful_set_spec.k +++ b/k8s/1.17/api/apps/v1beta1/stateful_set_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StatefulSetSpec: @@ -19,7 +19,7 @@ schema StatefulSetSpec: replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1. revisionHistoryLimit : int, default is Undefined, optional revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10. - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector is a label query over pods that should match the replica count. If empty, defaulted to labels on the pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors serviceName : str, default is Undefined, required serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where "pod-specific-string" is managed by the StatefulSet controller. @@ -38,7 +38,7 @@ schema StatefulSetSpec: revisionHistoryLimit?: int - selector?: v1.LabelSelector + selector?: metav1.LabelSelector serviceName: str diff --git a/k8s/1.17/api/apps/v1beta2/controller_revision.k b/k8s/1.17/api/apps/v1beta2/controller_revision.k index 70e67a34..8463aa7f 100644 --- a/k8s/1.17/api/apps/v1beta2/controller_revision.k +++ b/k8s/1.17/api/apps/v1beta2/controller_revision.k @@ -3,7 +3,7 @@ This is the controller_revision module in k8s.api.apps.v1beta2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ControllerRevision: @@ -18,7 +18,7 @@ schema ControllerRevision: Data is the serialized representation of the state. kind : str, default is "ControllerRevision", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata revision : int, default is Undefined, required Revision indicates the revision of the state represented by Data. @@ -31,7 +31,7 @@ schema ControllerRevision: kind: "ControllerRevision" = "ControllerRevision" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta revision: int diff --git a/k8s/1.17/api/apps/v1beta2/controller_revision_list.k b/k8s/1.17/api/apps/v1beta2/controller_revision_list.k index 7b5131d3..0e661f6a 100644 --- a/k8s/1.17/api/apps/v1beta2/controller_revision_list.k +++ b/k8s/1.17/api/apps/v1beta2/controller_revision_list.k @@ -3,7 +3,7 @@ This is the controller_revision_list module in k8s.api.apps.v1beta2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ControllerRevisionList: @@ -18,7 +18,7 @@ schema ControllerRevisionList: Items is the list of ControllerRevisions kind : str, default is "ControllerRevisionList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema ControllerRevisionList: kind: "ControllerRevisionList" = "ControllerRevisionList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/apps/v1beta2/daemon_set.k b/k8s/1.17/api/apps/v1beta2/daemon_set.k index 3a2e2cd2..d862a749 100644 --- a/k8s/1.17/api/apps/v1beta2/daemon_set.k +++ b/k8s/1.17/api/apps/v1beta2/daemon_set.k @@ -3,7 +3,7 @@ This is the daemon_set module in k8s.api.apps.v1beta2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DaemonSet: @@ -16,7 +16,7 @@ schema DaemonSet: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "DaemonSet", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : DaemonSetSpec, default is Undefined, optional The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema DaemonSet: kind: "DaemonSet" = "DaemonSet" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: DaemonSetSpec diff --git a/k8s/1.17/api/apps/v1beta2/daemon_set_list.k b/k8s/1.17/api/apps/v1beta2/daemon_set_list.k index 4839a404..96feba93 100644 --- a/k8s/1.17/api/apps/v1beta2/daemon_set_list.k +++ b/k8s/1.17/api/apps/v1beta2/daemon_set_list.k @@ -3,7 +3,7 @@ This is the daemon_set_list module in k8s.api.apps.v1beta2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DaemonSetList: @@ -18,7 +18,7 @@ schema DaemonSetList: A list of daemon sets. kind : str, default is "DaemonSetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema DaemonSetList: kind: "DaemonSetList" = "DaemonSetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/apps/v1beta2/daemon_set_spec.k b/k8s/1.17/api/apps/v1beta2/daemon_set_spec.k index 7cd0be12..5c58389f 100644 --- a/k8s/1.17/api/apps/v1beta2/daemon_set_spec.k +++ b/k8s/1.17/api/apps/v1beta2/daemon_set_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DaemonSetSpec: @@ -17,7 +17,7 @@ schema DaemonSetSpec: The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready). revisionHistoryLimit : int, default is Undefined, optional The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required A label query over pods that are managed by the daemon set. Must match in order to be controlled. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors template : corev1.PodTemplateSpec, default is Undefined, required An object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template @@ -30,7 +30,7 @@ schema DaemonSetSpec: revisionHistoryLimit?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector template: corev1.PodTemplateSpec diff --git a/k8s/1.17/api/apps/v1beta2/deployment.k b/k8s/1.17/api/apps/v1beta2/deployment.k index 6ed15583..4262f869 100644 --- a/k8s/1.17/api/apps/v1beta2/deployment.k +++ b/k8s/1.17/api/apps/v1beta2/deployment.k @@ -3,7 +3,7 @@ This is the deployment module in k8s.api.apps.v1beta2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Deployment: @@ -16,7 +16,7 @@ schema Deployment: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Deployment", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. spec : DeploymentSpec, default is Undefined, optional Specification of the desired behavior of the Deployment. @@ -27,7 +27,7 @@ schema Deployment: kind: "Deployment" = "Deployment" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: DeploymentSpec diff --git a/k8s/1.17/api/apps/v1beta2/deployment_list.k b/k8s/1.17/api/apps/v1beta2/deployment_list.k index 324848f0..422a2367 100644 --- a/k8s/1.17/api/apps/v1beta2/deployment_list.k +++ b/k8s/1.17/api/apps/v1beta2/deployment_list.k @@ -3,7 +3,7 @@ This is the deployment_list module in k8s.api.apps.v1beta2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DeploymentList: @@ -18,7 +18,7 @@ schema DeploymentList: Items is the list of Deployments. kind : str, default is "DeploymentList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema DeploymentList: kind: "DeploymentList" = "DeploymentList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/apps/v1beta2/deployment_spec.k b/k8s/1.17/api/apps/v1beta2/deployment_spec.k index 6564c983..51a19e84 100644 --- a/k8s/1.17/api/apps/v1beta2/deployment_spec.k +++ b/k8s/1.17/api/apps/v1beta2/deployment_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DeploymentSpec: @@ -23,7 +23,7 @@ schema DeploymentSpec: Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1. revisionHistoryLimit : int, default is Undefined, optional The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. It must match the pod template's labels. strategy : DeploymentStrategy, default is Undefined, optional The deployment strategy to use to replace existing pods with new ones. @@ -42,7 +42,7 @@ schema DeploymentSpec: revisionHistoryLimit?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector strategy?: DeploymentStrategy diff --git a/k8s/1.17/api/apps/v1beta2/replica_set.k b/k8s/1.17/api/apps/v1beta2/replica_set.k index 5449fbb3..e4676512 100644 --- a/k8s/1.17/api/apps/v1beta2/replica_set.k +++ b/k8s/1.17/api/apps/v1beta2/replica_set.k @@ -3,7 +3,7 @@ This is the replica_set module in k8s.api.apps.v1beta2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicaSet: @@ -16,7 +16,7 @@ schema ReplicaSet: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ReplicaSet", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : ReplicaSetSpec, default is Undefined, optional Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema ReplicaSet: kind: "ReplicaSet" = "ReplicaSet" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ReplicaSetSpec diff --git a/k8s/1.17/api/apps/v1beta2/replica_set_list.k b/k8s/1.17/api/apps/v1beta2/replica_set_list.k index 799c5a09..efe8a095 100644 --- a/k8s/1.17/api/apps/v1beta2/replica_set_list.k +++ b/k8s/1.17/api/apps/v1beta2/replica_set_list.k @@ -3,7 +3,7 @@ This is the replica_set_list module in k8s.api.apps.v1beta2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicaSetList: @@ -18,7 +18,7 @@ schema ReplicaSetList: List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller kind : str, default is "ReplicaSetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ReplicaSetList: kind: "ReplicaSetList" = "ReplicaSetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/apps/v1beta2/replica_set_spec.k b/k8s/1.17/api/apps/v1beta2/replica_set_spec.k index c9451b61..776dc44d 100644 --- a/k8s/1.17/api/apps/v1beta2/replica_set_spec.k +++ b/k8s/1.17/api/apps/v1beta2/replica_set_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicaSetSpec: @@ -17,7 +17,7 @@ schema ReplicaSetSpec: Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) replicas : int, default is Undefined, optional Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required Selector is a label query over pods that should match the replica count. Label keys and values that must match in order to be controlled by this replica set. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors template : corev1.PodTemplateSpec, default is Undefined, optional Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template @@ -28,7 +28,7 @@ schema ReplicaSetSpec: replicas?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector template?: corev1.PodTemplateSpec diff --git a/k8s/1.17/api/apps/v1beta2/scale.k b/k8s/1.17/api/apps/v1beta2/scale.k index 0e89c404..3a09519b 100644 --- a/k8s/1.17/api/apps/v1beta2/scale.k +++ b/k8s/1.17/api/apps/v1beta2/scale.k @@ -3,7 +3,7 @@ This is the scale module in k8s.api.apps.v1beta2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Scale: @@ -16,7 +16,7 @@ schema Scale: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Scale", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. spec : ScaleSpec, default is Undefined, optional defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema Scale: kind: "Scale" = "Scale" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ScaleSpec diff --git a/k8s/1.17/api/apps/v1beta2/stateful_set.k b/k8s/1.17/api/apps/v1beta2/stateful_set.k index a774f802..6937d6ca 100644 --- a/k8s/1.17/api/apps/v1beta2/stateful_set.k +++ b/k8s/1.17/api/apps/v1beta2/stateful_set.k @@ -3,7 +3,7 @@ This is the stateful_set module in k8s.api.apps.v1beta2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StatefulSet: @@ -19,7 +19,7 @@ schema StatefulSet: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "StatefulSet", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : StatefulSetSpec, default is Undefined, optional Spec defines the desired identities of pods in this set. @@ -30,7 +30,7 @@ schema StatefulSet: kind: "StatefulSet" = "StatefulSet" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: StatefulSetSpec diff --git a/k8s/1.17/api/apps/v1beta2/stateful_set_list.k b/k8s/1.17/api/apps/v1beta2/stateful_set_list.k index bf89b75e..a854e2c9 100644 --- a/k8s/1.17/api/apps/v1beta2/stateful_set_list.k +++ b/k8s/1.17/api/apps/v1beta2/stateful_set_list.k @@ -3,7 +3,7 @@ This is the stateful_set_list module in k8s.api.apps.v1beta2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StatefulSetList: @@ -18,7 +18,7 @@ schema StatefulSetList: items kind : str, default is "StatefulSetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema StatefulSetList: kind: "StatefulSetList" = "StatefulSetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/apps/v1beta2/stateful_set_spec.k b/k8s/1.17/api/apps/v1beta2/stateful_set_spec.k index 52e2b106..09b1564b 100644 --- a/k8s/1.17/api/apps/v1beta2/stateful_set_spec.k +++ b/k8s/1.17/api/apps/v1beta2/stateful_set_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StatefulSetSpec: @@ -19,7 +19,7 @@ schema StatefulSetSpec: replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1. revisionHistoryLimit : int, default is Undefined, optional revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10. - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required selector is a label query over pods that should match the replica count. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors serviceName : str, default is Undefined, required serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where "pod-specific-string" is managed by the StatefulSet controller. @@ -38,7 +38,7 @@ schema StatefulSetSpec: revisionHistoryLimit?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector serviceName: str diff --git a/k8s/1.17/api/auditregistration/v1alpha1/audit_sink.k b/k8s/1.17/api/auditregistration/v1alpha1/audit_sink.k index 6f17515f..a5bbf6eb 100644 --- a/k8s/1.17/api/auditregistration/v1alpha1/audit_sink.k +++ b/k8s/1.17/api/auditregistration/v1alpha1/audit_sink.k @@ -3,7 +3,7 @@ This is the audit_sink module in k8s.api.auditregistration.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema AuditSink: @@ -16,7 +16,7 @@ schema AuditSink: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "AuditSink", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : AuditSinkSpec, default is Undefined, optional Spec defines the audit configuration spec @@ -27,7 +27,7 @@ schema AuditSink: kind: "AuditSink" = "AuditSink" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: AuditSinkSpec diff --git a/k8s/1.17/api/auditregistration/v1alpha1/audit_sink_list.k b/k8s/1.17/api/auditregistration/v1alpha1/audit_sink_list.k index e4a22dc0..028ad173 100644 --- a/k8s/1.17/api/auditregistration/v1alpha1/audit_sink_list.k +++ b/k8s/1.17/api/auditregistration/v1alpha1/audit_sink_list.k @@ -3,7 +3,7 @@ This is the audit_sink_list module in k8s.api.auditregistration.v1alpha1 package This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema AuditSinkList: @@ -18,7 +18,7 @@ schema AuditSinkList: List of audit configurations. kind : str, default is "AuditSinkList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema AuditSinkList: kind: "AuditSinkList" = "AuditSinkList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/authentication/v1/token_request.k b/k8s/1.17/api/authentication/v1/token_request.k index 66d2e5e8..42e94dd8 100644 --- a/k8s/1.17/api/authentication/v1/token_request.k +++ b/k8s/1.17/api/authentication/v1/token_request.k @@ -3,7 +3,7 @@ This is the token_request module in k8s.api.authentication.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema TokenRequest: @@ -16,7 +16,7 @@ schema TokenRequest: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "TokenRequest", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : TokenRequestSpec, default is Undefined, required spec @@ -27,7 +27,7 @@ schema TokenRequest: kind: "TokenRequest" = "TokenRequest" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: TokenRequestSpec diff --git a/k8s/1.17/api/authentication/v1/token_review.k b/k8s/1.17/api/authentication/v1/token_review.k index c125cf34..eccc8ac7 100644 --- a/k8s/1.17/api/authentication/v1/token_review.k +++ b/k8s/1.17/api/authentication/v1/token_review.k @@ -3,7 +3,7 @@ This is the token_review module in k8s.api.authentication.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema TokenReview: @@ -16,7 +16,7 @@ schema TokenReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "TokenReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : TokenReviewSpec, default is Undefined, required Spec holds information about the request being evaluated @@ -27,7 +27,7 @@ schema TokenReview: kind: "TokenReview" = "TokenReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: TokenReviewSpec diff --git a/k8s/1.17/api/authentication/v1beta1/token_review.k b/k8s/1.17/api/authentication/v1beta1/token_review.k index 99abe8f4..b35b35ae 100644 --- a/k8s/1.17/api/authentication/v1beta1/token_review.k +++ b/k8s/1.17/api/authentication/v1beta1/token_review.k @@ -3,7 +3,7 @@ This is the token_review module in k8s.api.authentication.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema TokenReview: @@ -16,7 +16,7 @@ schema TokenReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "TokenReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : TokenReviewSpec, default is Undefined, required Spec holds information about the request being evaluated @@ -27,7 +27,7 @@ schema TokenReview: kind: "TokenReview" = "TokenReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: TokenReviewSpec diff --git a/k8s/1.17/api/authorization/v1/local_subject_access_review.k b/k8s/1.17/api/authorization/v1/local_subject_access_review.k index c9626db7..1c64a48c 100644 --- a/k8s/1.17/api/authorization/v1/local_subject_access_review.k +++ b/k8s/1.17/api/authorization/v1/local_subject_access_review.k @@ -3,7 +3,7 @@ This is the local_subject_access_review module in k8s.api.authorization.v1 packa This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LocalSubjectAccessReview: @@ -16,7 +16,7 @@ schema LocalSubjectAccessReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "LocalSubjectAccessReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : SubjectAccessReviewSpec, default is Undefined, required Spec holds information about the request being evaluated. spec.namespace must be equal to the namespace you made the request against. If empty, it is defaulted. @@ -27,7 +27,7 @@ schema LocalSubjectAccessReview: kind: "LocalSubjectAccessReview" = "LocalSubjectAccessReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SubjectAccessReviewSpec diff --git a/k8s/1.17/api/authorization/v1/self_subject_access_review.k b/k8s/1.17/api/authorization/v1/self_subject_access_review.k index 3de47c38..8ddd2611 100644 --- a/k8s/1.17/api/authorization/v1/self_subject_access_review.k +++ b/k8s/1.17/api/authorization/v1/self_subject_access_review.k @@ -3,7 +3,7 @@ This is the self_subject_access_review module in k8s.api.authorization.v1 packag This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SelfSubjectAccessReview: @@ -16,7 +16,7 @@ schema SelfSubjectAccessReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SelfSubjectAccessReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : SelfSubjectAccessReviewSpec, default is Undefined, required Spec holds information about the request being evaluated. user and groups must be empty @@ -27,7 +27,7 @@ schema SelfSubjectAccessReview: kind: "SelfSubjectAccessReview" = "SelfSubjectAccessReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SelfSubjectAccessReviewSpec diff --git a/k8s/1.17/api/authorization/v1/self_subject_rules_review.k b/k8s/1.17/api/authorization/v1/self_subject_rules_review.k index ad99c589..16ec3f9f 100644 --- a/k8s/1.17/api/authorization/v1/self_subject_rules_review.k +++ b/k8s/1.17/api/authorization/v1/self_subject_rules_review.k @@ -3,7 +3,7 @@ This is the self_subject_rules_review module in k8s.api.authorization.v1 package This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SelfSubjectRulesReview: @@ -16,7 +16,7 @@ schema SelfSubjectRulesReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SelfSubjectRulesReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : SelfSubjectRulesReviewSpec, default is Undefined, required Spec holds information about the request being evaluated. @@ -27,7 +27,7 @@ schema SelfSubjectRulesReview: kind: "SelfSubjectRulesReview" = "SelfSubjectRulesReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SelfSubjectRulesReviewSpec diff --git a/k8s/1.17/api/authorization/v1/subject_access_review.k b/k8s/1.17/api/authorization/v1/subject_access_review.k index 63054bce..92ace799 100644 --- a/k8s/1.17/api/authorization/v1/subject_access_review.k +++ b/k8s/1.17/api/authorization/v1/subject_access_review.k @@ -3,7 +3,7 @@ This is the subject_access_review module in k8s.api.authorization.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SubjectAccessReview: @@ -16,7 +16,7 @@ schema SubjectAccessReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SubjectAccessReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : SubjectAccessReviewSpec, default is Undefined, required Spec holds information about the request being evaluated @@ -27,7 +27,7 @@ schema SubjectAccessReview: kind: "SubjectAccessReview" = "SubjectAccessReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SubjectAccessReviewSpec diff --git a/k8s/1.17/api/authorization/v1beta1/local_subject_access_review.k b/k8s/1.17/api/authorization/v1beta1/local_subject_access_review.k index 687ff5e1..54883a47 100644 --- a/k8s/1.17/api/authorization/v1beta1/local_subject_access_review.k +++ b/k8s/1.17/api/authorization/v1beta1/local_subject_access_review.k @@ -3,7 +3,7 @@ This is the local_subject_access_review module in k8s.api.authorization.v1beta1 This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LocalSubjectAccessReview: @@ -16,7 +16,7 @@ schema LocalSubjectAccessReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "LocalSubjectAccessReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : SubjectAccessReviewSpec, default is Undefined, required Spec holds information about the request being evaluated. spec.namespace must be equal to the namespace you made the request against. If empty, it is defaulted. @@ -27,7 +27,7 @@ schema LocalSubjectAccessReview: kind: "LocalSubjectAccessReview" = "LocalSubjectAccessReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SubjectAccessReviewSpec diff --git a/k8s/1.17/api/authorization/v1beta1/self_subject_access_review.k b/k8s/1.17/api/authorization/v1beta1/self_subject_access_review.k index 05c83084..ee819623 100644 --- a/k8s/1.17/api/authorization/v1beta1/self_subject_access_review.k +++ b/k8s/1.17/api/authorization/v1beta1/self_subject_access_review.k @@ -3,7 +3,7 @@ This is the self_subject_access_review module in k8s.api.authorization.v1beta1 p This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SelfSubjectAccessReview: @@ -16,7 +16,7 @@ schema SelfSubjectAccessReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SelfSubjectAccessReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : SelfSubjectAccessReviewSpec, default is Undefined, required Spec holds information about the request being evaluated. user and groups must be empty @@ -27,7 +27,7 @@ schema SelfSubjectAccessReview: kind: "SelfSubjectAccessReview" = "SelfSubjectAccessReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SelfSubjectAccessReviewSpec diff --git a/k8s/1.17/api/authorization/v1beta1/self_subject_rules_review.k b/k8s/1.17/api/authorization/v1beta1/self_subject_rules_review.k index a71edd4d..51a41f51 100644 --- a/k8s/1.17/api/authorization/v1beta1/self_subject_rules_review.k +++ b/k8s/1.17/api/authorization/v1beta1/self_subject_rules_review.k @@ -3,7 +3,7 @@ This is the self_subject_rules_review module in k8s.api.authorization.v1beta1 pa This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SelfSubjectRulesReview: @@ -16,7 +16,7 @@ schema SelfSubjectRulesReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SelfSubjectRulesReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : SelfSubjectRulesReviewSpec, default is Undefined, required Spec holds information about the request being evaluated. @@ -27,7 +27,7 @@ schema SelfSubjectRulesReview: kind: "SelfSubjectRulesReview" = "SelfSubjectRulesReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SelfSubjectRulesReviewSpec diff --git a/k8s/1.17/api/authorization/v1beta1/subject_access_review.k b/k8s/1.17/api/authorization/v1beta1/subject_access_review.k index e28f6eed..9dcea762 100644 --- a/k8s/1.17/api/authorization/v1beta1/subject_access_review.k +++ b/k8s/1.17/api/authorization/v1beta1/subject_access_review.k @@ -3,7 +3,7 @@ This is the subject_access_review module in k8s.api.authorization.v1beta1 packag This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SubjectAccessReview: @@ -16,7 +16,7 @@ schema SubjectAccessReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SubjectAccessReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : SubjectAccessReviewSpec, default is Undefined, required Spec holds information about the request being evaluated @@ -27,7 +27,7 @@ schema SubjectAccessReview: kind: "SubjectAccessReview" = "SubjectAccessReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SubjectAccessReviewSpec diff --git a/k8s/1.17/api/autoscaling/v1/horizontal_pod_autoscaler.k b/k8s/1.17/api/autoscaling/v1/horizontal_pod_autoscaler.k index eea68027..b81a2839 100644 --- a/k8s/1.17/api/autoscaling/v1/horizontal_pod_autoscaler.k +++ b/k8s/1.17/api/autoscaling/v1/horizontal_pod_autoscaler.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler module in k8s.api.autoscaling.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscaler: @@ -16,7 +16,7 @@ schema HorizontalPodAutoscaler: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "HorizontalPodAutoscaler", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : HorizontalPodAutoscalerSpec, default is Undefined, optional behaviour of autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema HorizontalPodAutoscaler: kind: "HorizontalPodAutoscaler" = "HorizontalPodAutoscaler" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: HorizontalPodAutoscalerSpec diff --git a/k8s/1.17/api/autoscaling/v1/horizontal_pod_autoscaler_list.k b/k8s/1.17/api/autoscaling/v1/horizontal_pod_autoscaler_list.k index 829f7b8b..40a58fe3 100644 --- a/k8s/1.17/api/autoscaling/v1/horizontal_pod_autoscaler_list.k +++ b/k8s/1.17/api/autoscaling/v1/horizontal_pod_autoscaler_list.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler_list module in k8s.api.autoscaling.v1 pack This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscalerList: @@ -18,7 +18,7 @@ schema HorizontalPodAutoscalerList: list of horizontal pod autoscaler objects. kind : str, default is "HorizontalPodAutoscalerList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema HorizontalPodAutoscalerList: kind: "HorizontalPodAutoscalerList" = "HorizontalPodAutoscalerList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/autoscaling/v1/scale.k b/k8s/1.17/api/autoscaling/v1/scale.k index d9bbdae4..1466aa0e 100644 --- a/k8s/1.17/api/autoscaling/v1/scale.k +++ b/k8s/1.17/api/autoscaling/v1/scale.k @@ -3,7 +3,7 @@ This is the scale module in k8s.api.autoscaling.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Scale: @@ -16,7 +16,7 @@ schema Scale: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Scale", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. spec : ScaleSpec, default is Undefined, optional defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema Scale: kind: "Scale" = "Scale" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ScaleSpec diff --git a/k8s/1.17/api/autoscaling/v2beta1/external_metric_source.k b/k8s/1.17/api/autoscaling/v2beta1/external_metric_source.k index 23887048..b1ff85f3 100644 --- a/k8s/1.17/api/autoscaling/v2beta1/external_metric_source.k +++ b/k8s/1.17/api/autoscaling/v2beta1/external_metric_source.k @@ -3,7 +3,7 @@ This is the external_metric_source module in k8s.api.autoscaling.v2beta1 package This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ExternalMetricSource: @@ -14,7 +14,7 @@ schema ExternalMetricSource: ---------- metricName : str, default is Undefined, required metricName is the name of the metric in question. - metricSelector : v1.LabelSelector, default is Undefined, optional + metricSelector : metav1.LabelSelector, default is Undefined, optional metricSelector is used to identify a specific time series within a given metric. targetAverageValue : str, default is Undefined, optional targetAverageValue is the target per-pod value of global metric (as a quantity). Mutually exclusive with TargetValue. @@ -25,7 +25,7 @@ schema ExternalMetricSource: metricName: str - metricSelector?: v1.LabelSelector + metricSelector?: metav1.LabelSelector targetAverageValue?: str diff --git a/k8s/1.17/api/autoscaling/v2beta1/external_metric_status.k b/k8s/1.17/api/autoscaling/v2beta1/external_metric_status.k index 507ffd14..39a87bad 100644 --- a/k8s/1.17/api/autoscaling/v2beta1/external_metric_status.k +++ b/k8s/1.17/api/autoscaling/v2beta1/external_metric_status.k @@ -3,7 +3,7 @@ This is the external_metric_status module in k8s.api.autoscaling.v2beta1 package This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ExternalMetricStatus: @@ -18,7 +18,7 @@ schema ExternalMetricStatus: currentValue is the current value of the metric (as a quantity) metricName : str, default is Undefined, required metricName is the name of a metric used for autoscaling in metric system. - metricSelector : v1.LabelSelector, default is Undefined, optional + metricSelector : metav1.LabelSelector, default is Undefined, optional metricSelector is used to identify a specific time series within a given metric. """ @@ -29,6 +29,6 @@ schema ExternalMetricStatus: metricName: str - metricSelector?: v1.LabelSelector + metricSelector?: metav1.LabelSelector diff --git a/k8s/1.17/api/autoscaling/v2beta1/horizontal_pod_autoscaler.k b/k8s/1.17/api/autoscaling/v2beta1/horizontal_pod_autoscaler.k index 47c8b64c..4ea3ff99 100644 --- a/k8s/1.17/api/autoscaling/v2beta1/horizontal_pod_autoscaler.k +++ b/k8s/1.17/api/autoscaling/v2beta1/horizontal_pod_autoscaler.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler module in k8s.api.autoscaling.v2beta1 pack This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscaler: @@ -16,7 +16,7 @@ schema HorizontalPodAutoscaler: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "HorizontalPodAutoscaler", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : HorizontalPodAutoscalerSpec, default is Undefined, optional spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema HorizontalPodAutoscaler: kind: "HorizontalPodAutoscaler" = "HorizontalPodAutoscaler" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: HorizontalPodAutoscalerSpec diff --git a/k8s/1.17/api/autoscaling/v2beta1/horizontal_pod_autoscaler_list.k b/k8s/1.17/api/autoscaling/v2beta1/horizontal_pod_autoscaler_list.k index 95381428..4629310f 100644 --- a/k8s/1.17/api/autoscaling/v2beta1/horizontal_pod_autoscaler_list.k +++ b/k8s/1.17/api/autoscaling/v2beta1/horizontal_pod_autoscaler_list.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler_list module in k8s.api.autoscaling.v2beta1 This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscalerList: @@ -18,7 +18,7 @@ schema HorizontalPodAutoscalerList: items is the list of horizontal pod autoscaler objects. kind : str, default is "HorizontalPodAutoscalerList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata is the standard list metadata. """ @@ -29,6 +29,6 @@ schema HorizontalPodAutoscalerList: kind: "HorizontalPodAutoscalerList" = "HorizontalPodAutoscalerList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/autoscaling/v2beta1/object_metric_source.k b/k8s/1.17/api/autoscaling/v2beta1/object_metric_source.k index a8ff4213..af8d307f 100644 --- a/k8s/1.17/api/autoscaling/v2beta1/object_metric_source.k +++ b/k8s/1.17/api/autoscaling/v2beta1/object_metric_source.k @@ -3,7 +3,7 @@ This is the object_metric_source module in k8s.api.autoscaling.v2beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ObjectMetricSource: @@ -16,7 +16,7 @@ schema ObjectMetricSource: averageValue is the target value of the average of the metric across all relevant pods (as a quantity) metricName : str, default is Undefined, required metricName is the name of the metric in question. - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics. target : CrossVersionObjectReference, default is Undefined, required target is the described Kubernetes object. @@ -29,7 +29,7 @@ schema ObjectMetricSource: metricName: str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector target: CrossVersionObjectReference diff --git a/k8s/1.17/api/autoscaling/v2beta1/object_metric_status.k b/k8s/1.17/api/autoscaling/v2beta1/object_metric_status.k index 39aeb9de..b7054bd5 100644 --- a/k8s/1.17/api/autoscaling/v2beta1/object_metric_status.k +++ b/k8s/1.17/api/autoscaling/v2beta1/object_metric_status.k @@ -3,7 +3,7 @@ This is the object_metric_status module in k8s.api.autoscaling.v2beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ObjectMetricStatus: @@ -18,7 +18,7 @@ schema ObjectMetricStatus: currentValue is the current value of the metric (as a quantity). metricName : str, default is Undefined, required metricName is the name of the metric in question. - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the ObjectMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics. target : CrossVersionObjectReference, default is Undefined, required target is the described Kubernetes object. @@ -31,7 +31,7 @@ schema ObjectMetricStatus: metricName: str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector target: CrossVersionObjectReference diff --git a/k8s/1.17/api/autoscaling/v2beta1/pods_metric_source.k b/k8s/1.17/api/autoscaling/v2beta1/pods_metric_source.k index ee0111ef..850fcd7b 100644 --- a/k8s/1.17/api/autoscaling/v2beta1/pods_metric_source.k +++ b/k8s/1.17/api/autoscaling/v2beta1/pods_metric_source.k @@ -3,7 +3,7 @@ This is the pods_metric_source module in k8s.api.autoscaling.v2beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodsMetricSource: @@ -14,7 +14,7 @@ schema PodsMetricSource: ---------- metricName : str, default is Undefined, required metricName is the name of the metric in question - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics. targetAverageValue : str, default is Undefined, required targetAverageValue is the target value of the average of the metric across all relevant pods (as a quantity) @@ -23,7 +23,7 @@ schema PodsMetricSource: metricName: str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector targetAverageValue: str diff --git a/k8s/1.17/api/autoscaling/v2beta1/pods_metric_status.k b/k8s/1.17/api/autoscaling/v2beta1/pods_metric_status.k index 2d8c30c0..0792b4d4 100644 --- a/k8s/1.17/api/autoscaling/v2beta1/pods_metric_status.k +++ b/k8s/1.17/api/autoscaling/v2beta1/pods_metric_status.k @@ -3,7 +3,7 @@ This is the pods_metric_status module in k8s.api.autoscaling.v2beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodsMetricStatus: @@ -16,7 +16,7 @@ schema PodsMetricStatus: currentAverageValue is the current value of the average of the metric across all relevant pods (as a quantity) metricName : str, default is Undefined, required metricName is the name of the metric in question - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the PodsMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics. """ @@ -25,6 +25,6 @@ schema PodsMetricStatus: metricName: str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector diff --git a/k8s/1.17/api/autoscaling/v2beta2/horizontal_pod_autoscaler.k b/k8s/1.17/api/autoscaling/v2beta2/horizontal_pod_autoscaler.k index 9ab9ca42..fb10b245 100644 --- a/k8s/1.17/api/autoscaling/v2beta2/horizontal_pod_autoscaler.k +++ b/k8s/1.17/api/autoscaling/v2beta2/horizontal_pod_autoscaler.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler module in k8s.api.autoscaling.v2beta2 pack This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscaler: @@ -16,7 +16,7 @@ schema HorizontalPodAutoscaler: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "HorizontalPodAutoscaler", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : HorizontalPodAutoscalerSpec, default is Undefined, optional spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema HorizontalPodAutoscaler: kind: "HorizontalPodAutoscaler" = "HorizontalPodAutoscaler" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: HorizontalPodAutoscalerSpec diff --git a/k8s/1.17/api/autoscaling/v2beta2/horizontal_pod_autoscaler_list.k b/k8s/1.17/api/autoscaling/v2beta2/horizontal_pod_autoscaler_list.k index ad127934..152be58d 100644 --- a/k8s/1.17/api/autoscaling/v2beta2/horizontal_pod_autoscaler_list.k +++ b/k8s/1.17/api/autoscaling/v2beta2/horizontal_pod_autoscaler_list.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler_list module in k8s.api.autoscaling.v2beta2 This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscalerList: @@ -18,7 +18,7 @@ schema HorizontalPodAutoscalerList: items is the list of horizontal pod autoscaler objects. kind : str, default is "HorizontalPodAutoscalerList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata is the standard list metadata. """ @@ -29,6 +29,6 @@ schema HorizontalPodAutoscalerList: kind: "HorizontalPodAutoscalerList" = "HorizontalPodAutoscalerList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/autoscaling/v2beta2/metric_identifier.k b/k8s/1.17/api/autoscaling/v2beta2/metric_identifier.k index 18d313d2..06be0dff 100644 --- a/k8s/1.17/api/autoscaling/v2beta2/metric_identifier.k +++ b/k8s/1.17/api/autoscaling/v2beta2/metric_identifier.k @@ -3,7 +3,7 @@ This is the metric_identifier module in k8s.api.autoscaling.v2beta2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MetricIdentifier: @@ -14,13 +14,13 @@ schema MetricIdentifier: ---------- name : str, default is Undefined, required name is the name of the given metric - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics. """ name: str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector diff --git a/k8s/1.17/api/batch/v1/job.k b/k8s/1.17/api/batch/v1/job.k index 44fbc917..3e545aac 100644 --- a/k8s/1.17/api/batch/v1/job.k +++ b/k8s/1.17/api/batch/v1/job.k @@ -3,7 +3,7 @@ This is the job module in k8s.api.batch.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Job: @@ -16,7 +16,7 @@ schema Job: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Job", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : JobSpec, default is Undefined, optional Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Job: kind: "Job" = "Job" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: JobSpec diff --git a/k8s/1.17/api/batch/v1/job_list.k b/k8s/1.17/api/batch/v1/job_list.k index 88588804..e2f8aee6 100644 --- a/k8s/1.17/api/batch/v1/job_list.k +++ b/k8s/1.17/api/batch/v1/job_list.k @@ -3,7 +3,7 @@ This is the job_list module in k8s.api.batch.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema JobList: @@ -18,7 +18,7 @@ schema JobList: items is the list of Jobs. kind : str, default is "JobList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema JobList: kind: "JobList" = "JobList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/batch/v1/job_spec.k b/k8s/1.17/api/batch/v1/job_spec.k index 085f981e..732d97f5 100644 --- a/k8s/1.17/api/batch/v1/job_spec.k +++ b/k8s/1.17/api/batch/v1/job_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema JobSpec: @@ -23,7 +23,7 @@ schema JobSpec: manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector parallelism : int, default is Undefined, optional Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional A label query over pods that should match the pod count. Normally, the system sets this field for you. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors template : corev1.PodTemplateSpec, default is Undefined, required Describes the pod that will be created when executing a job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ @@ -42,7 +42,7 @@ schema JobSpec: parallelism?: int - selector?: v1.LabelSelector + selector?: metav1.LabelSelector template: corev1.PodTemplateSpec diff --git a/k8s/1.17/api/batch/v1beta1/cron_job.k b/k8s/1.17/api/batch/v1beta1/cron_job.k index 74c14606..d5d2aa07 100644 --- a/k8s/1.17/api/batch/v1beta1/cron_job.k +++ b/k8s/1.17/api/batch/v1beta1/cron_job.k @@ -3,7 +3,7 @@ This is the cron_job module in k8s.api.batch.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CronJob: @@ -16,7 +16,7 @@ schema CronJob: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CronJob", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : CronJobSpec, default is Undefined, optional Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema CronJob: kind: "CronJob" = "CronJob" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: CronJobSpec diff --git a/k8s/1.17/api/batch/v1beta1/cron_job_list.k b/k8s/1.17/api/batch/v1beta1/cron_job_list.k index cf174c33..4067f805 100644 --- a/k8s/1.17/api/batch/v1beta1/cron_job_list.k +++ b/k8s/1.17/api/batch/v1beta1/cron_job_list.k @@ -3,7 +3,7 @@ This is the cron_job_list module in k8s.api.batch.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CronJobList: @@ -18,7 +18,7 @@ schema CronJobList: items is the list of CronJobs. kind : str, default is "CronJobList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CronJobList: kind: "CronJobList" = "CronJobList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/batch/v1beta1/job_template_spec.k b/k8s/1.17/api/batch/v1beta1/job_template_spec.k index e032a659..733d4410 100644 --- a/k8s/1.17/api/batch/v1beta1/job_template_spec.k +++ b/k8s/1.17/api/batch/v1beta1/job_template_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.batch.v1 as batchV1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema JobTemplateSpec: @@ -13,14 +13,14 @@ schema JobTemplateSpec: Attributes ---------- - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : batchV1.JobSpec, default is Undefined, optional Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status """ - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: batchV1.JobSpec diff --git a/k8s/1.17/api/batch/v2alpha1/cron_job.k b/k8s/1.17/api/batch/v2alpha1/cron_job.k index 8668aa8b..7fb5f4c2 100644 --- a/k8s/1.17/api/batch/v2alpha1/cron_job.k +++ b/k8s/1.17/api/batch/v2alpha1/cron_job.k @@ -3,7 +3,7 @@ This is the cron_job module in k8s.api.batch.v2alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CronJob: @@ -16,7 +16,7 @@ schema CronJob: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CronJob", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : CronJobSpec, default is Undefined, optional Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema CronJob: kind: "CronJob" = "CronJob" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: CronJobSpec diff --git a/k8s/1.17/api/batch/v2alpha1/cron_job_list.k b/k8s/1.17/api/batch/v2alpha1/cron_job_list.k index c8b4031c..c6dbdcb5 100644 --- a/k8s/1.17/api/batch/v2alpha1/cron_job_list.k +++ b/k8s/1.17/api/batch/v2alpha1/cron_job_list.k @@ -3,7 +3,7 @@ This is the cron_job_list module in k8s.api.batch.v2alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CronJobList: @@ -18,7 +18,7 @@ schema CronJobList: items is the list of CronJobs. kind : str, default is "CronJobList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CronJobList: kind: "CronJobList" = "CronJobList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/batch/v2alpha1/job_template_spec.k b/k8s/1.17/api/batch/v2alpha1/job_template_spec.k index cb013cd7..53df89e9 100644 --- a/k8s/1.17/api/batch/v2alpha1/job_template_spec.k +++ b/k8s/1.17/api/batch/v2alpha1/job_template_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.batch.v1 as batchV1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema JobTemplateSpec: @@ -13,14 +13,14 @@ schema JobTemplateSpec: Attributes ---------- - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : batchV1.JobSpec, default is Undefined, optional Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status """ - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: batchV1.JobSpec diff --git a/k8s/1.17/api/certificates/v1beta1/certificate_signing_request.k b/k8s/1.17/api/certificates/v1beta1/certificate_signing_request.k index 2e5b2121..5b363aa8 100644 --- a/k8s/1.17/api/certificates/v1beta1/certificate_signing_request.k +++ b/k8s/1.17/api/certificates/v1beta1/certificate_signing_request.k @@ -3,7 +3,7 @@ This is the certificate_signing_request module in k8s.api.certificates.v1beta1 p This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CertificateSigningRequest: @@ -16,7 +16,7 @@ schema CertificateSigningRequest: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CertificateSigningRequest", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : CertificateSigningRequestSpec, default is Undefined, optional The certificate request itself and any additional information. @@ -27,7 +27,7 @@ schema CertificateSigningRequest: kind: "CertificateSigningRequest" = "CertificateSigningRequest" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: CertificateSigningRequestSpec diff --git a/k8s/1.17/api/certificates/v1beta1/certificate_signing_request_list.k b/k8s/1.17/api/certificates/v1beta1/certificate_signing_request_list.k index cc6c6ea4..80fde64b 100644 --- a/k8s/1.17/api/certificates/v1beta1/certificate_signing_request_list.k +++ b/k8s/1.17/api/certificates/v1beta1/certificate_signing_request_list.k @@ -3,7 +3,7 @@ This is the certificate_signing_request_list module in k8s.api.certificates.v1be This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CertificateSigningRequestList: @@ -18,7 +18,7 @@ schema CertificateSigningRequestList: items kind : str, default is "CertificateSigningRequestList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema CertificateSigningRequestList: kind: "CertificateSigningRequestList" = "CertificateSigningRequestList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/coordination/v1/lease.k b/k8s/1.17/api/coordination/v1/lease.k index f9d243c9..b3722c9a 100644 --- a/k8s/1.17/api/coordination/v1/lease.k +++ b/k8s/1.17/api/coordination/v1/lease.k @@ -3,7 +3,7 @@ This is the lease module in k8s.api.coordination.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Lease: @@ -16,7 +16,7 @@ schema Lease: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Lease", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : LeaseSpec, default is Undefined, optional Specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Lease: kind: "Lease" = "Lease" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: LeaseSpec diff --git a/k8s/1.17/api/coordination/v1/lease_list.k b/k8s/1.17/api/coordination/v1/lease_list.k index 64932a19..93a01ab6 100644 --- a/k8s/1.17/api/coordination/v1/lease_list.k +++ b/k8s/1.17/api/coordination/v1/lease_list.k @@ -3,7 +3,7 @@ This is the lease_list module in k8s.api.coordination.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LeaseList: @@ -18,7 +18,7 @@ schema LeaseList: Items is a list of schema objects. kind : str, default is "LeaseList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema LeaseList: kind: "LeaseList" = "LeaseList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/coordination/v1beta1/lease.k b/k8s/1.17/api/coordination/v1beta1/lease.k index b587d90e..b2095eed 100644 --- a/k8s/1.17/api/coordination/v1beta1/lease.k +++ b/k8s/1.17/api/coordination/v1beta1/lease.k @@ -3,7 +3,7 @@ This is the lease module in k8s.api.coordination.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Lease: @@ -16,7 +16,7 @@ schema Lease: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Lease", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : LeaseSpec, default is Undefined, optional Specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Lease: kind: "Lease" = "Lease" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: LeaseSpec diff --git a/k8s/1.17/api/coordination/v1beta1/lease_list.k b/k8s/1.17/api/coordination/v1beta1/lease_list.k index 2b78fddf..21212cfc 100644 --- a/k8s/1.17/api/coordination/v1beta1/lease_list.k +++ b/k8s/1.17/api/coordination/v1beta1/lease_list.k @@ -3,7 +3,7 @@ This is the lease_list module in k8s.api.coordination.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LeaseList: @@ -18,7 +18,7 @@ schema LeaseList: Items is a list of schema objects. kind : str, default is "LeaseList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema LeaseList: kind: "LeaseList" = "LeaseList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/core/v1/binding.k b/k8s/1.17/api/core/v1/binding.k index e6e478fe..077459fa 100644 --- a/k8s/1.17/api/core/v1/binding.k +++ b/k8s/1.17/api/core/v1/binding.k @@ -3,7 +3,7 @@ This is the binding module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Binding: @@ -16,7 +16,7 @@ schema Binding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Binding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata target : ObjectReference, default is Undefined, required The target object that you want to bind to the standard object. @@ -27,7 +27,7 @@ schema Binding: kind: "Binding" = "Binding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta target: ObjectReference diff --git a/k8s/1.17/api/core/v1/component_status.k b/k8s/1.17/api/core/v1/component_status.k index caa3f234..10c0d81a 100644 --- a/k8s/1.17/api/core/v1/component_status.k +++ b/k8s/1.17/api/core/v1/component_status.k @@ -3,7 +3,7 @@ This is the component_status module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ComponentStatus: @@ -18,7 +18,7 @@ schema ComponentStatus: List of component conditions observed kind : str, default is "ComponentStatus", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema ComponentStatus: kind: "ComponentStatus" = "ComponentStatus" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta diff --git a/k8s/1.17/api/core/v1/component_status_list.k b/k8s/1.17/api/core/v1/component_status_list.k index a2993ad2..5ef4e5d2 100644 --- a/k8s/1.17/api/core/v1/component_status_list.k +++ b/k8s/1.17/api/core/v1/component_status_list.k @@ -3,7 +3,7 @@ This is the component_status_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ComponentStatusList: @@ -18,7 +18,7 @@ schema ComponentStatusList: List of ComponentStatus objects. kind : str, default is "ComponentStatusList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ComponentStatusList: kind: "ComponentStatusList" = "ComponentStatusList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/core/v1/config_map.k b/k8s/1.17/api/core/v1/config_map.k index 817dbe8f..ceb75d7b 100644 --- a/k8s/1.17/api/core/v1/config_map.k +++ b/k8s/1.17/api/core/v1/config_map.k @@ -3,7 +3,7 @@ This is the config_map module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ConfigMap: @@ -20,7 +20,7 @@ schema ConfigMap: Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process. kind : str, default is "ConfigMap", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -33,6 +33,6 @@ schema ConfigMap: kind: "ConfigMap" = "ConfigMap" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta diff --git a/k8s/1.17/api/core/v1/config_map_list.k b/k8s/1.17/api/core/v1/config_map_list.k index 5712f514..35df0e4b 100644 --- a/k8s/1.17/api/core/v1/config_map_list.k +++ b/k8s/1.17/api/core/v1/config_map_list.k @@ -3,7 +3,7 @@ This is the config_map_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ConfigMapList: @@ -18,7 +18,7 @@ schema ConfigMapList: Items is the list of ConfigMaps. kind : str, default is "ConfigMapList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema ConfigMapList: kind: "ConfigMapList" = "ConfigMapList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/core/v1/endpoints.k b/k8s/1.17/api/core/v1/endpoints.k index d123d8d8..3ac0d6cd 100644 --- a/k8s/1.17/api/core/v1/endpoints.k +++ b/k8s/1.17/api/core/v1/endpoints.k @@ -3,7 +3,7 @@ This is the endpoints module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Endpoints: @@ -27,7 +27,7 @@ schema Endpoints: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Endpoints", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata subsets : [EndpointSubset], default is Undefined, optional The set of all endpoints is the union of all subsets. Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service. @@ -38,7 +38,7 @@ schema Endpoints: kind: "Endpoints" = "Endpoints" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta subsets?: [EndpointSubset] diff --git a/k8s/1.17/api/core/v1/endpoints_list.k b/k8s/1.17/api/core/v1/endpoints_list.k index 7ccf6442..f019c842 100644 --- a/k8s/1.17/api/core/v1/endpoints_list.k +++ b/k8s/1.17/api/core/v1/endpoints_list.k @@ -3,7 +3,7 @@ This is the endpoints_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EndpointsList: @@ -18,7 +18,7 @@ schema EndpointsList: List of endpoints. kind : str, default is "EndpointsList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema EndpointsList: kind: "EndpointsList" = "EndpointsList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/core/v1/event.k b/k8s/1.17/api/core/v1/event.k index 41172283..7888457e 100644 --- a/k8s/1.17/api/core/v1/event.k +++ b/k8s/1.17/api/core/v1/event.k @@ -3,7 +3,7 @@ This is the event module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Event: @@ -30,7 +30,7 @@ schema Event: The time at which the most recent occurrence of this event was recorded. message : str, default is Undefined, optional A human-readable description of the status of this operation. - metadata : v1.ObjectMeta, default is Undefined, required + metadata : metav1.ObjectMeta, default is Undefined, required Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata reason : str, default is Undefined, optional This should be a short, machine understandable string that gives the reason for the transition into the object's current status. @@ -67,7 +67,7 @@ schema Event: message?: str - metadata: v1.ObjectMeta + metadata: metav1.ObjectMeta reason?: str diff --git a/k8s/1.17/api/core/v1/event_list.k b/k8s/1.17/api/core/v1/event_list.k index e543b7cf..d4ed6ffa 100644 --- a/k8s/1.17/api/core/v1/event_list.k +++ b/k8s/1.17/api/core/v1/event_list.k @@ -3,7 +3,7 @@ This is the event_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EventList: @@ -18,7 +18,7 @@ schema EventList: List of events kind : str, default is "EventList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema EventList: kind: "EventList" = "EventList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/core/v1/limit_range.k b/k8s/1.17/api/core/v1/limit_range.k index 5de64019..3c476447 100644 --- a/k8s/1.17/api/core/v1/limit_range.k +++ b/k8s/1.17/api/core/v1/limit_range.k @@ -3,7 +3,7 @@ This is the limit_range module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LimitRange: @@ -16,7 +16,7 @@ schema LimitRange: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "LimitRange", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : LimitRangeSpec, default is Undefined, optional Spec defines the limits enforced. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema LimitRange: kind: "LimitRange" = "LimitRange" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: LimitRangeSpec diff --git a/k8s/1.17/api/core/v1/limit_range_list.k b/k8s/1.17/api/core/v1/limit_range_list.k index 93063870..13be4b4b 100644 --- a/k8s/1.17/api/core/v1/limit_range_list.k +++ b/k8s/1.17/api/core/v1/limit_range_list.k @@ -3,7 +3,7 @@ This is the limit_range_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LimitRangeList: @@ -18,7 +18,7 @@ schema LimitRangeList: Items is a list of LimitRange objects. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ kind : str, default is "LimitRangeList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema LimitRangeList: kind: "LimitRangeList" = "LimitRangeList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/core/v1/namespace.k b/k8s/1.17/api/core/v1/namespace.k index 52b6b94f..66125388 100644 --- a/k8s/1.17/api/core/v1/namespace.k +++ b/k8s/1.17/api/core/v1/namespace.k @@ -3,7 +3,7 @@ This is the namespace module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Namespace: @@ -16,7 +16,7 @@ schema Namespace: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Namespace", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : NamespaceSpec, default is Undefined, optional Spec defines the behavior of the Namespace. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Namespace: kind: "Namespace" = "Namespace" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: NamespaceSpec diff --git a/k8s/1.17/api/core/v1/namespace_list.k b/k8s/1.17/api/core/v1/namespace_list.k index 0a362eac..1783b0bc 100644 --- a/k8s/1.17/api/core/v1/namespace_list.k +++ b/k8s/1.17/api/core/v1/namespace_list.k @@ -3,7 +3,7 @@ This is the namespace_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NamespaceList: @@ -18,7 +18,7 @@ schema NamespaceList: Items is the list of Namespace objects in the list. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ kind : str, default is "NamespaceList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema NamespaceList: kind: "NamespaceList" = "NamespaceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/core/v1/node.k b/k8s/1.17/api/core/v1/node.k index 99f9cab9..dcfea158 100644 --- a/k8s/1.17/api/core/v1/node.k +++ b/k8s/1.17/api/core/v1/node.k @@ -3,7 +3,7 @@ This is the node module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Node: @@ -16,7 +16,7 @@ schema Node: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Node", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : NodeSpec, default is Undefined, optional Spec defines the behavior of a node. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Node: kind: "Node" = "Node" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: NodeSpec diff --git a/k8s/1.17/api/core/v1/node_list.k b/k8s/1.17/api/core/v1/node_list.k index 40992f99..26fe9968 100644 --- a/k8s/1.17/api/core/v1/node_list.k +++ b/k8s/1.17/api/core/v1/node_list.k @@ -3,7 +3,7 @@ This is the node_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NodeList: @@ -18,7 +18,7 @@ schema NodeList: List of nodes kind : str, default is "NodeList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema NodeList: kind: "NodeList" = "NodeList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/core/v1/persistent_volume.k b/k8s/1.17/api/core/v1/persistent_volume.k index 259223a6..2c6d5ee6 100644 --- a/k8s/1.17/api/core/v1/persistent_volume.k +++ b/k8s/1.17/api/core/v1/persistent_volume.k @@ -3,7 +3,7 @@ This is the persistent_volume module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolume: @@ -16,7 +16,7 @@ schema PersistentVolume: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PersistentVolume", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PersistentVolumeSpec, default is Undefined, optional Spec defines a specification of a persistent volume owned by the cluster. Provisioned by an administrator. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes @@ -27,7 +27,7 @@ schema PersistentVolume: kind: "PersistentVolume" = "PersistentVolume" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PersistentVolumeSpec diff --git a/k8s/1.17/api/core/v1/persistent_volume_claim.k b/k8s/1.17/api/core/v1/persistent_volume_claim.k index eb057e81..02735f90 100644 --- a/k8s/1.17/api/core/v1/persistent_volume_claim.k +++ b/k8s/1.17/api/core/v1/persistent_volume_claim.k @@ -3,7 +3,7 @@ This is the persistent_volume_claim module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeClaim: @@ -16,7 +16,7 @@ schema PersistentVolumeClaim: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PersistentVolumeClaim", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PersistentVolumeClaimSpec, default is Undefined, optional Spec defines the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims @@ -27,7 +27,7 @@ schema PersistentVolumeClaim: kind: "PersistentVolumeClaim" = "PersistentVolumeClaim" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PersistentVolumeClaimSpec diff --git a/k8s/1.17/api/core/v1/persistent_volume_claim_list.k b/k8s/1.17/api/core/v1/persistent_volume_claim_list.k index 85ccc1ee..96669996 100644 --- a/k8s/1.17/api/core/v1/persistent_volume_claim_list.k +++ b/k8s/1.17/api/core/v1/persistent_volume_claim_list.k @@ -3,7 +3,7 @@ This is the persistent_volume_claim_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeClaimList: @@ -18,7 +18,7 @@ schema PersistentVolumeClaimList: A list of persistent volume claims. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims kind : str, default is "PersistentVolumeClaimList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema PersistentVolumeClaimList: kind: "PersistentVolumeClaimList" = "PersistentVolumeClaimList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/core/v1/persistent_volume_claim_spec.k b/k8s/1.17/api/core/v1/persistent_volume_claim_spec.k index 84fa2f96..dda42b7c 100644 --- a/k8s/1.17/api/core/v1/persistent_volume_claim_spec.k +++ b/k8s/1.17/api/core/v1/persistent_volume_claim_spec.k @@ -3,7 +3,7 @@ This is the persistent_volume_claim_spec module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeClaimSpec: @@ -18,7 +18,7 @@ schema PersistentVolumeClaimSpec: This field requires the VolumeSnapshotDataSource alpha feature gate to be enabled and currently VolumeSnapshot is the only supported data source. If the provisioner can support VolumeSnapshot data source, it will create a new volume and data will be restored to the volume at the same time. If the provisioner does not support VolumeSnapshot data source, volume will not be created and the failure will be reported as an event. In the future, we plan to support more data source types and the behavior of the provisioner may change. resources : ResourceRequirements, default is Undefined, optional Resources represents the minimum resources the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional A label query over volumes to consider for binding. storageClassName : str, default is Undefined, optional Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1 @@ -35,7 +35,7 @@ schema PersistentVolumeClaimSpec: resources?: ResourceRequirements - selector?: v1.LabelSelector + selector?: metav1.LabelSelector storageClassName?: str diff --git a/k8s/1.17/api/core/v1/persistent_volume_list.k b/k8s/1.17/api/core/v1/persistent_volume_list.k index c34d9abb..21a2a32a 100644 --- a/k8s/1.17/api/core/v1/persistent_volume_list.k +++ b/k8s/1.17/api/core/v1/persistent_volume_list.k @@ -3,7 +3,7 @@ This is the persistent_volume_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeList: @@ -18,7 +18,7 @@ schema PersistentVolumeList: List of persistent volumes. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes kind : str, default is "PersistentVolumeList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema PersistentVolumeList: kind: "PersistentVolumeList" = "PersistentVolumeList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/core/v1/pod.k b/k8s/1.17/api/core/v1/pod.k index 659a9e99..66568628 100644 --- a/k8s/1.17/api/core/v1/pod.k +++ b/k8s/1.17/api/core/v1/pod.k @@ -3,7 +3,7 @@ This is the pod module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Pod: @@ -16,7 +16,7 @@ schema Pod: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Pod", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PodSpec, default is Undefined, optional Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Pod: kind: "Pod" = "Pod" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PodSpec diff --git a/k8s/1.17/api/core/v1/pod_affinity_term.k b/k8s/1.17/api/core/v1/pod_affinity_term.k index dccd6ef9..0cbd595d 100644 --- a/k8s/1.17/api/core/v1/pod_affinity_term.k +++ b/k8s/1.17/api/core/v1/pod_affinity_term.k @@ -3,7 +3,7 @@ This is the pod_affinity_term module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodAffinityTerm: @@ -12,7 +12,7 @@ schema PodAffinityTerm: Attributes ---------- - labelSelector : v1.LabelSelector, default is Undefined, optional + labelSelector : metav1.LabelSelector, default is Undefined, optional A label query over a set of resources, in this case pods. namespaces : [str], default is Undefined, optional namespaces specifies which namespaces the labelSelector applies to (matches against); null or empty list means "this pod's namespace" @@ -21,7 +21,7 @@ schema PodAffinityTerm: """ - labelSelector?: v1.LabelSelector + labelSelector?: metav1.LabelSelector namespaces?: [str] diff --git a/k8s/1.17/api/core/v1/pod_list.k b/k8s/1.17/api/core/v1/pod_list.k index 10ad5eb9..4c031d05 100644 --- a/k8s/1.17/api/core/v1/pod_list.k +++ b/k8s/1.17/api/core/v1/pod_list.k @@ -3,7 +3,7 @@ This is the pod_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodList: @@ -18,7 +18,7 @@ schema PodList: List of pods. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md kind : str, default is "PodList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema PodList: kind: "PodList" = "PodList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/core/v1/pod_template.k b/k8s/1.17/api/core/v1/pod_template.k index 98e64f70..6ffbfa64 100644 --- a/k8s/1.17/api/core/v1/pod_template.k +++ b/k8s/1.17/api/core/v1/pod_template.k @@ -3,7 +3,7 @@ This is the pod_template module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodTemplate: @@ -16,7 +16,7 @@ schema PodTemplate: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PodTemplate", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata template : PodTemplateSpec, default is Undefined, optional Template defines the pods that will be created from this pod template. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema PodTemplate: kind: "PodTemplate" = "PodTemplate" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta template?: PodTemplateSpec diff --git a/k8s/1.17/api/core/v1/pod_template_list.k b/k8s/1.17/api/core/v1/pod_template_list.k index 8bb1827f..94024175 100644 --- a/k8s/1.17/api/core/v1/pod_template_list.k +++ b/k8s/1.17/api/core/v1/pod_template_list.k @@ -3,7 +3,7 @@ This is the pod_template_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodTemplateList: @@ -18,7 +18,7 @@ schema PodTemplateList: List of pod templates kind : str, default is "PodTemplateList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema PodTemplateList: kind: "PodTemplateList" = "PodTemplateList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/core/v1/pod_template_spec.k b/k8s/1.17/api/core/v1/pod_template_spec.k index 1274c88b..6011ef81 100644 --- a/k8s/1.17/api/core/v1/pod_template_spec.k +++ b/k8s/1.17/api/core/v1/pod_template_spec.k @@ -3,7 +3,7 @@ This is the pod_template_spec module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodTemplateSpec: @@ -12,14 +12,14 @@ schema PodTemplateSpec: Attributes ---------- - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PodSpec, default is Undefined, optional Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status """ - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PodSpec diff --git a/k8s/1.17/api/core/v1/replication_controller.k b/k8s/1.17/api/core/v1/replication_controller.k index 08b091e8..37724706 100644 --- a/k8s/1.17/api/core/v1/replication_controller.k +++ b/k8s/1.17/api/core/v1/replication_controller.k @@ -3,7 +3,7 @@ This is the replication_controller module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicationController: @@ -16,7 +16,7 @@ schema ReplicationController: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ReplicationController", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional If the Labels of a ReplicationController are empty, they are defaulted to be the same as the Pod(s) that the replication controller manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : ReplicationControllerSpec, default is Undefined, optional Spec defines the specification of the desired behavior of the replication controller. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema ReplicationController: kind: "ReplicationController" = "ReplicationController" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ReplicationControllerSpec diff --git a/k8s/1.17/api/core/v1/replication_controller_list.k b/k8s/1.17/api/core/v1/replication_controller_list.k index 64afa179..63f9d4b2 100644 --- a/k8s/1.17/api/core/v1/replication_controller_list.k +++ b/k8s/1.17/api/core/v1/replication_controller_list.k @@ -3,7 +3,7 @@ This is the replication_controller_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicationControllerList: @@ -18,7 +18,7 @@ schema ReplicationControllerList: List of replication controllers. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller kind : str, default is "ReplicationControllerList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ReplicationControllerList: kind: "ReplicationControllerList" = "ReplicationControllerList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/core/v1/resource_quota.k b/k8s/1.17/api/core/v1/resource_quota.k index b7da49d1..0ec7c409 100644 --- a/k8s/1.17/api/core/v1/resource_quota.k +++ b/k8s/1.17/api/core/v1/resource_quota.k @@ -3,7 +3,7 @@ This is the resource_quota module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceQuota: @@ -16,7 +16,7 @@ schema ResourceQuota: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ResourceQuota", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : ResourceQuotaSpec, default is Undefined, optional Spec defines the desired quota. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema ResourceQuota: kind: "ResourceQuota" = "ResourceQuota" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ResourceQuotaSpec diff --git a/k8s/1.17/api/core/v1/resource_quota_list.k b/k8s/1.17/api/core/v1/resource_quota_list.k index ca1424b8..f8dbc87d 100644 --- a/k8s/1.17/api/core/v1/resource_quota_list.k +++ b/k8s/1.17/api/core/v1/resource_quota_list.k @@ -3,7 +3,7 @@ This is the resource_quota_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceQuotaList: @@ -18,7 +18,7 @@ schema ResourceQuotaList: Items is a list of ResourceQuota objects. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/ kind : str, default is "ResourceQuotaList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ResourceQuotaList: kind: "ResourceQuotaList" = "ResourceQuotaList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/core/v1/secret.k b/k8s/1.17/api/core/v1/secret.k index 68af86e4..836d7675 100644 --- a/k8s/1.17/api/core/v1/secret.k +++ b/k8s/1.17/api/core/v1/secret.k @@ -3,7 +3,7 @@ This is the secret module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Secret: @@ -18,7 +18,7 @@ schema Secret: Data contains the secret data. Each key must consist of alphanumeric characters, '-', '_' or '.'. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4 kind : str, default is "Secret", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata stringData : {str:str}, default is Undefined, optional stringData allows specifying non-binary secret data in string form. It is provided as a write-only convenience method. All keys and values are merged into the data field on write, overwriting any existing values. It is never output when reading from the API. @@ -33,7 +33,7 @@ schema Secret: kind: "Secret" = "Secret" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta stringData?: {str:str} diff --git a/k8s/1.17/api/core/v1/secret_list.k b/k8s/1.17/api/core/v1/secret_list.k index 335c47b4..9e80806b 100644 --- a/k8s/1.17/api/core/v1/secret_list.k +++ b/k8s/1.17/api/core/v1/secret_list.k @@ -3,7 +3,7 @@ This is the secret_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SecretList: @@ -18,7 +18,7 @@ schema SecretList: Items is a list of secret objects. More info: https://kubernetes.io/docs/concepts/configuration/secret kind : str, default is "SecretList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema SecretList: kind: "SecretList" = "SecretList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/core/v1/service.k b/k8s/1.17/api/core/v1/service.k index 1f259a80..3b86c8ef 100644 --- a/k8s/1.17/api/core/v1/service.k +++ b/k8s/1.17/api/core/v1/service.k @@ -3,7 +3,7 @@ This is the service module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Service: @@ -16,7 +16,7 @@ schema Service: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Service", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : ServiceSpec, default is Undefined, optional Spec defines the behavior of a service. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Service: kind: "Service" = "Service" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ServiceSpec diff --git a/k8s/1.17/api/core/v1/service_account.k b/k8s/1.17/api/core/v1/service_account.k index fc039e4f..c93748eb 100644 --- a/k8s/1.17/api/core/v1/service_account.k +++ b/k8s/1.17/api/core/v1/service_account.k @@ -3,7 +3,7 @@ This is the service_account module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ServiceAccount: @@ -20,7 +20,7 @@ schema ServiceAccount: ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod kind : str, default is "ServiceAccount", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata secrets : [ObjectReference], default is Undefined, optional Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount. More info: https://kubernetes.io/docs/concepts/configuration/secret @@ -35,7 +35,7 @@ schema ServiceAccount: kind: "ServiceAccount" = "ServiceAccount" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta secrets?: [ObjectReference] diff --git a/k8s/1.17/api/core/v1/service_account_list.k b/k8s/1.17/api/core/v1/service_account_list.k index 26a9319a..d8cd46b8 100644 --- a/k8s/1.17/api/core/v1/service_account_list.k +++ b/k8s/1.17/api/core/v1/service_account_list.k @@ -3,7 +3,7 @@ This is the service_account_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ServiceAccountList: @@ -18,7 +18,7 @@ schema ServiceAccountList: List of ServiceAccounts. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ kind : str, default is "ServiceAccountList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ServiceAccountList: kind: "ServiceAccountList" = "ServiceAccountList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/core/v1/service_list.k b/k8s/1.17/api/core/v1/service_list.k index 0c1e31be..5c4fae8a 100644 --- a/k8s/1.17/api/core/v1/service_list.k +++ b/k8s/1.17/api/core/v1/service_list.k @@ -3,7 +3,7 @@ This is the service_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ServiceList: @@ -18,7 +18,7 @@ schema ServiceList: List of services kind : str, default is "ServiceList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ServiceList: kind: "ServiceList" = "ServiceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/core/v1/topology_spread_constraint.k b/k8s/1.17/api/core/v1/topology_spread_constraint.k index 64aee08e..037ac6ef 100644 --- a/k8s/1.17/api/core/v1/topology_spread_constraint.k +++ b/k8s/1.17/api/core/v1/topology_spread_constraint.k @@ -3,7 +3,7 @@ This is the topology_spread_constraint module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema TopologySpreadConstraint: @@ -12,7 +12,7 @@ schema TopologySpreadConstraint: Attributes ---------- - labelSelector : v1.LabelSelector, default is Undefined, optional + labelSelector : metav1.LabelSelector, default is Undefined, optional LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain. maxSkew : int, default is Undefined, required MaxSkew describes the degree to which pods may be unevenly distributed. It's the maximum permitted difference between the number of matching pods in any two topology domains of a given topology type. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 1/1/0: | zone1 | zone2 | zone3 | | P | P | | - if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 1/1/1; scheduling it onto zone1(zone2) would make the ActualSkew(2-0) on zone1(zone2) violate MaxSkew(1). - if MaxSkew is 2, incoming pod can be scheduled onto any zone. It's a required field. Default value is 1 and 0 is not allowed. @@ -23,7 +23,7 @@ schema TopologySpreadConstraint: """ - labelSelector?: v1.LabelSelector + labelSelector?: metav1.LabelSelector maxSkew: int diff --git a/k8s/1.17/api/discovery/v1beta1/endpoint_slice.k b/k8s/1.17/api/discovery/v1beta1/endpoint_slice.k index e5bc4f96..c3e65402 100644 --- a/k8s/1.17/api/discovery/v1beta1/endpoint_slice.k +++ b/k8s/1.17/api/discovery/v1beta1/endpoint_slice.k @@ -3,7 +3,7 @@ This is the endpoint_slice module in k8s.api.discovery.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EndpointSlice: @@ -20,7 +20,7 @@ schema EndpointSlice: endpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints. kind : str, default is "EndpointSlice", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. ports : [EndpointPort], default is Undefined, optional ports specifies the list of network ports exposed by each endpoint in this slice. Each port must have a unique name. When ports is empty, it indicates that there are no defined ports. When a port is defined with a nil port value, it indicates "all ports". Each slice may include a maximum of 100 ports. @@ -35,7 +35,7 @@ schema EndpointSlice: kind: "EndpointSlice" = "EndpointSlice" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta ports?: [EndpointPort] diff --git a/k8s/1.17/api/discovery/v1beta1/endpoint_slice_list.k b/k8s/1.17/api/discovery/v1beta1/endpoint_slice_list.k index ad1e929c..62019eae 100644 --- a/k8s/1.17/api/discovery/v1beta1/endpoint_slice_list.k +++ b/k8s/1.17/api/discovery/v1beta1/endpoint_slice_list.k @@ -3,7 +3,7 @@ This is the endpoint_slice_list module in k8s.api.discovery.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EndpointSliceList: @@ -18,7 +18,7 @@ schema EndpointSliceList: List of endpoint slices kind : str, default is "EndpointSliceList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema EndpointSliceList: kind: "EndpointSliceList" = "EndpointSliceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/events/v1beta1/event_list.k b/k8s/1.17/api/events/v1beta1/event_list.k index 72ea566e..3cf9be8f 100644 --- a/k8s/1.17/api/events/v1beta1/event_list.k +++ b/k8s/1.17/api/events/v1beta1/event_list.k @@ -3,7 +3,7 @@ This is the event_list module in k8s.api.events.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EventList: @@ -18,7 +18,7 @@ schema EventList: Items is a list of schema objects. kind : str, default is "EventList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema EventList: kind: "EventList" = "EventList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/extensions/v1beta1/daemon_set.k b/k8s/1.17/api/extensions/v1beta1/daemon_set.k index d7333df0..60b37ee1 100644 --- a/k8s/1.17/api/extensions/v1beta1/daemon_set.k +++ b/k8s/1.17/api/extensions/v1beta1/daemon_set.k @@ -3,7 +3,7 @@ This is the daemon_set module in k8s.api.extensions.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DaemonSet: @@ -16,7 +16,7 @@ schema DaemonSet: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "DaemonSet", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : DaemonSetSpec, default is Undefined, optional The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema DaemonSet: kind: "DaemonSet" = "DaemonSet" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: DaemonSetSpec diff --git a/k8s/1.17/api/extensions/v1beta1/daemon_set_list.k b/k8s/1.17/api/extensions/v1beta1/daemon_set_list.k index 6ca218b2..3c37518b 100644 --- a/k8s/1.17/api/extensions/v1beta1/daemon_set_list.k +++ b/k8s/1.17/api/extensions/v1beta1/daemon_set_list.k @@ -3,7 +3,7 @@ This is the daemon_set_list module in k8s.api.extensions.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DaemonSetList: @@ -18,7 +18,7 @@ schema DaemonSetList: A list of daemon sets. kind : str, default is "DaemonSetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema DaemonSetList: kind: "DaemonSetList" = "DaemonSetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/extensions/v1beta1/daemon_set_spec.k b/k8s/1.17/api/extensions/v1beta1/daemon_set_spec.k index 5deae760..d535be44 100644 --- a/k8s/1.17/api/extensions/v1beta1/daemon_set_spec.k +++ b/k8s/1.17/api/extensions/v1beta1/daemon_set_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DaemonSetSpec: @@ -17,7 +17,7 @@ schema DaemonSetSpec: The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready). revisionHistoryLimit : int, default is Undefined, optional The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional A label query over pods that are managed by the daemon set. Must match in order to be controlled. If empty, defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors template : corev1.PodTemplateSpec, default is Undefined, required An object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template @@ -32,7 +32,7 @@ schema DaemonSetSpec: revisionHistoryLimit?: int - selector?: v1.LabelSelector + selector?: metav1.LabelSelector template: corev1.PodTemplateSpec diff --git a/k8s/1.17/api/extensions/v1beta1/deployment.k b/k8s/1.17/api/extensions/v1beta1/deployment.k index b9a5d2d2..09ba5aee 100644 --- a/k8s/1.17/api/extensions/v1beta1/deployment.k +++ b/k8s/1.17/api/extensions/v1beta1/deployment.k @@ -3,7 +3,7 @@ This is the deployment module in k8s.api.extensions.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Deployment: @@ -16,7 +16,7 @@ schema Deployment: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Deployment", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. spec : DeploymentSpec, default is Undefined, optional Specification of the desired behavior of the Deployment. @@ -27,7 +27,7 @@ schema Deployment: kind: "Deployment" = "Deployment" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: DeploymentSpec diff --git a/k8s/1.17/api/extensions/v1beta1/deployment_list.k b/k8s/1.17/api/extensions/v1beta1/deployment_list.k index 31528a71..ae856fce 100644 --- a/k8s/1.17/api/extensions/v1beta1/deployment_list.k +++ b/k8s/1.17/api/extensions/v1beta1/deployment_list.k @@ -3,7 +3,7 @@ This is the deployment_list module in k8s.api.extensions.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DeploymentList: @@ -18,7 +18,7 @@ schema DeploymentList: Items is the list of Deployments. kind : str, default is "DeploymentList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema DeploymentList: kind: "DeploymentList" = "DeploymentList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/extensions/v1beta1/deployment_spec.k b/k8s/1.17/api/extensions/v1beta1/deployment_spec.k index b6c56ad6..0d2bf737 100644 --- a/k8s/1.17/api/extensions/v1beta1/deployment_spec.k +++ b/k8s/1.17/api/extensions/v1beta1/deployment_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DeploymentSpec: @@ -25,7 +25,7 @@ schema DeploymentSpec: The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. This is set to the max value of int32 (i.e. 2147483647) by default, which means "retaining all old RelicaSets". rollbackTo : RollbackConfig, default is Undefined, optional DEPRECATED. The config this deployment is rolling back to. Will be cleared after rollback is done. - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. strategy : DeploymentStrategy, default is Undefined, optional The deployment strategy to use to replace existing pods with new ones. @@ -46,7 +46,7 @@ schema DeploymentSpec: rollbackTo?: RollbackConfig - selector?: v1.LabelSelector + selector?: metav1.LabelSelector strategy?: DeploymentStrategy diff --git a/k8s/1.17/api/extensions/v1beta1/ingress.k b/k8s/1.17/api/extensions/v1beta1/ingress.k index 1935ccd4..b92dfced 100644 --- a/k8s/1.17/api/extensions/v1beta1/ingress.k +++ b/k8s/1.17/api/extensions/v1beta1/ingress.k @@ -3,7 +3,7 @@ This is the ingress module in k8s.api.extensions.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Ingress: @@ -16,7 +16,7 @@ schema Ingress: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Ingress", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : IngressSpec, default is Undefined, optional Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Ingress: kind: "Ingress" = "Ingress" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: IngressSpec diff --git a/k8s/1.17/api/extensions/v1beta1/ingress_list.k b/k8s/1.17/api/extensions/v1beta1/ingress_list.k index 03151415..03dbbdd1 100644 --- a/k8s/1.17/api/extensions/v1beta1/ingress_list.k +++ b/k8s/1.17/api/extensions/v1beta1/ingress_list.k @@ -3,7 +3,7 @@ This is the ingress_list module in k8s.api.extensions.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema IngressList: @@ -18,7 +18,7 @@ schema IngressList: Items is the list of Ingress. kind : str, default is "IngressList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema IngressList: kind: "IngressList" = "IngressList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/extensions/v1beta1/network_policy.k b/k8s/1.17/api/extensions/v1beta1/network_policy.k index e3eed427..94f41126 100644 --- a/k8s/1.17/api/extensions/v1beta1/network_policy.k +++ b/k8s/1.17/api/extensions/v1beta1/network_policy.k @@ -3,7 +3,7 @@ This is the network_policy module in k8s.api.extensions.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicy: @@ -16,7 +16,7 @@ schema NetworkPolicy: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "NetworkPolicy", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : NetworkPolicySpec, default is Undefined, optional Specification of the desired behavior for this NetworkPolicy. @@ -27,7 +27,7 @@ schema NetworkPolicy: kind: "NetworkPolicy" = "NetworkPolicy" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: NetworkPolicySpec diff --git a/k8s/1.17/api/extensions/v1beta1/network_policy_list.k b/k8s/1.17/api/extensions/v1beta1/network_policy_list.k index f1e6c1ac..5fba8dc9 100644 --- a/k8s/1.17/api/extensions/v1beta1/network_policy_list.k +++ b/k8s/1.17/api/extensions/v1beta1/network_policy_list.k @@ -3,7 +3,7 @@ This is the network_policy_list module in k8s.api.extensions.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicyList: @@ -18,7 +18,7 @@ schema NetworkPolicyList: Items is a list of schema objects. kind : str, default is "NetworkPolicyList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema NetworkPolicyList: kind: "NetworkPolicyList" = "NetworkPolicyList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/extensions/v1beta1/network_policy_peer.k b/k8s/1.17/api/extensions/v1beta1/network_policy_peer.k index 073bd5ec..5d09be52 100644 --- a/k8s/1.17/api/extensions/v1beta1/network_policy_peer.k +++ b/k8s/1.17/api/extensions/v1beta1/network_policy_peer.k @@ -3,7 +3,7 @@ This is the network_policy_peer module in k8s.api.extensions.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicyPeer: @@ -14,11 +14,11 @@ schema NetworkPolicyPeer: ---------- ipBlock : IPBlock, default is Undefined, optional IPBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional Selects Namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces. If PodSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects all Pods in the Namespaces selected by NamespaceSelector. - podSelector : v1.LabelSelector, default is Undefined, optional + podSelector : metav1.LabelSelector, default is Undefined, optional This is a label selector which selects Pods. This field follows standard label selector semantics; if present but empty, it selects all pods. If NamespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the Pods matching PodSelector in the policy's own Namespace. @@ -27,8 +27,8 @@ schema NetworkPolicyPeer: ipBlock?: IPBlock - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector - podSelector?: v1.LabelSelector + podSelector?: metav1.LabelSelector diff --git a/k8s/1.17/api/extensions/v1beta1/network_policy_spec.k b/k8s/1.17/api/extensions/v1beta1/network_policy_spec.k index ecb6da25..de38d78d 100644 --- a/k8s/1.17/api/extensions/v1beta1/network_policy_spec.k +++ b/k8s/1.17/api/extensions/v1beta1/network_policy_spec.k @@ -3,7 +3,7 @@ This is the network_policy_spec module in k8s.api.extensions.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicySpec: @@ -16,7 +16,7 @@ schema NetworkPolicySpec: List of egress rules to be applied to the selected pods. Outgoing traffic is allowed if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic matches at least one egress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy limits all outgoing traffic (and serves solely to ensure that the pods it selects are isolated by default). This field is beta-level in 1.8 ingress : [NetworkPolicyIngressRule], default is Undefined, optional List of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if there are no NetworkPolicies selecting the pod OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not allow any traffic (and serves solely to ensure that the pods it selects are isolated by default). - podSelector : v1.LabelSelector, default is Undefined, required + podSelector : metav1.LabelSelector, default is Undefined, required Selects the pods to which this NetworkPolicy object applies. The array of ingress rules is applied to any pods selected by this field. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is NOT optional and follows standard label selector semantics. An empty podSelector matches all pods in this namespace. policyTypes : [str], default is Undefined, optional List of rule types that the NetworkPolicy relates to. Valid options are "Ingress", "Egress", or "Ingress,Egress". If this field is not specified, it will default based on the existence of Ingress or Egress rules; policies that contain an Egress section are assumed to affect Egress, and all policies (whether or not they contain an Ingress section) are assumed to affect Ingress. If you want to write an egress-only policy, you must explicitly specify policyTypes [ "Egress" ]. Likewise, if you want to write a policy that specifies that no egress is allowed, you must specify a policyTypes value that include "Egress" (since such a policy would not include an Egress section and would otherwise default to just [ "Ingress" ]). This field is beta-level in 1.8 @@ -27,7 +27,7 @@ schema NetworkPolicySpec: ingress?: [NetworkPolicyIngressRule] - podSelector: v1.LabelSelector + podSelector: metav1.LabelSelector policyTypes?: [str] diff --git a/k8s/1.17/api/extensions/v1beta1/pod_security_policy.k b/k8s/1.17/api/extensions/v1beta1/pod_security_policy.k index 3745a3e5..5cea69ad 100644 --- a/k8s/1.17/api/extensions/v1beta1/pod_security_policy.k +++ b/k8s/1.17/api/extensions/v1beta1/pod_security_policy.k @@ -3,7 +3,7 @@ This is the pod_security_policy module in k8s.api.extensions.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodSecurityPolicy: @@ -16,7 +16,7 @@ schema PodSecurityPolicy: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PodSecurityPolicy", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PodSecurityPolicySpec, default is Undefined, optional spec defines the policy enforced. @@ -27,7 +27,7 @@ schema PodSecurityPolicy: kind: "PodSecurityPolicy" = "PodSecurityPolicy" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PodSecurityPolicySpec diff --git a/k8s/1.17/api/extensions/v1beta1/pod_security_policy_list.k b/k8s/1.17/api/extensions/v1beta1/pod_security_policy_list.k index 3bae37c3..85f2543b 100644 --- a/k8s/1.17/api/extensions/v1beta1/pod_security_policy_list.k +++ b/k8s/1.17/api/extensions/v1beta1/pod_security_policy_list.k @@ -3,7 +3,7 @@ This is the pod_security_policy_list module in k8s.api.extensions.v1beta1 packag This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodSecurityPolicyList: @@ -18,7 +18,7 @@ schema PodSecurityPolicyList: items is a list of schema objects. kind : str, default is "PodSecurityPolicyList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PodSecurityPolicyList: kind: "PodSecurityPolicyList" = "PodSecurityPolicyList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/extensions/v1beta1/replica_set.k b/k8s/1.17/api/extensions/v1beta1/replica_set.k index 84ae85be..fe942fec 100644 --- a/k8s/1.17/api/extensions/v1beta1/replica_set.k +++ b/k8s/1.17/api/extensions/v1beta1/replica_set.k @@ -3,7 +3,7 @@ This is the replica_set module in k8s.api.extensions.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicaSet: @@ -16,7 +16,7 @@ schema ReplicaSet: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ReplicaSet", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : ReplicaSetSpec, default is Undefined, optional Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema ReplicaSet: kind: "ReplicaSet" = "ReplicaSet" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ReplicaSetSpec diff --git a/k8s/1.17/api/extensions/v1beta1/replica_set_list.k b/k8s/1.17/api/extensions/v1beta1/replica_set_list.k index e18afc40..89d3b772 100644 --- a/k8s/1.17/api/extensions/v1beta1/replica_set_list.k +++ b/k8s/1.17/api/extensions/v1beta1/replica_set_list.k @@ -3,7 +3,7 @@ This is the replica_set_list module in k8s.api.extensions.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicaSetList: @@ -18,7 +18,7 @@ schema ReplicaSetList: List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller kind : str, default is "ReplicaSetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ReplicaSetList: kind: "ReplicaSetList" = "ReplicaSetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/extensions/v1beta1/replica_set_spec.k b/k8s/1.17/api/extensions/v1beta1/replica_set_spec.k index 9907b96b..f0285e09 100644 --- a/k8s/1.17/api/extensions/v1beta1/replica_set_spec.k +++ b/k8s/1.17/api/extensions/v1beta1/replica_set_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicaSetSpec: @@ -17,7 +17,7 @@ schema ReplicaSetSpec: Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) replicas : int, default is Undefined, optional Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional Selector is a label query over pods that should match the replica count. If the selector is empty, it is defaulted to the labels present on the pod template. Label keys and values that must match in order to be controlled by this replica set. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors template : corev1.PodTemplateSpec, default is Undefined, optional Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template @@ -28,7 +28,7 @@ schema ReplicaSetSpec: replicas?: int - selector?: v1.LabelSelector + selector?: metav1.LabelSelector template?: corev1.PodTemplateSpec diff --git a/k8s/1.17/api/extensions/v1beta1/scale.k b/k8s/1.17/api/extensions/v1beta1/scale.k index 454658aa..4aa5fccf 100644 --- a/k8s/1.17/api/extensions/v1beta1/scale.k +++ b/k8s/1.17/api/extensions/v1beta1/scale.k @@ -3,7 +3,7 @@ This is the scale module in k8s.api.extensions.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Scale: @@ -16,7 +16,7 @@ schema Scale: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Scale", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. spec : ScaleSpec, default is Undefined, optional defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema Scale: kind: "Scale" = "Scale" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ScaleSpec diff --git a/k8s/1.17/api/flowcontrol/v1alpha1/flow_schema.k b/k8s/1.17/api/flowcontrol/v1alpha1/flow_schema.k index 08a061fc..c1518e43 100644 --- a/k8s/1.17/api/flowcontrol/v1alpha1/flow_schema.k +++ b/k8s/1.17/api/flowcontrol/v1alpha1/flow_schema.k @@ -3,7 +3,7 @@ This is the flow_schema module in k8s.api.flowcontrol.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema FlowSchema: @@ -16,7 +16,7 @@ schema FlowSchema: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "FlowSchema", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata spec : FlowSchemaSpec, default is Undefined, optional `spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema FlowSchema: kind: "FlowSchema" = "FlowSchema" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: FlowSchemaSpec diff --git a/k8s/1.17/api/flowcontrol/v1alpha1/flow_schema_list.k b/k8s/1.17/api/flowcontrol/v1alpha1/flow_schema_list.k index 772973d7..07cd4a61 100644 --- a/k8s/1.17/api/flowcontrol/v1alpha1/flow_schema_list.k +++ b/k8s/1.17/api/flowcontrol/v1alpha1/flow_schema_list.k @@ -3,7 +3,7 @@ This is the flow_schema_list module in k8s.api.flowcontrol.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema FlowSchemaList: @@ -18,7 +18,7 @@ schema FlowSchemaList: `items` is a list of FlowSchemas. kind : str, default is "FlowSchemaList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional `metadata` is the standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema FlowSchemaList: kind: "FlowSchemaList" = "FlowSchemaList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/flowcontrol/v1alpha1/priority_level_configuration.k b/k8s/1.17/api/flowcontrol/v1alpha1/priority_level_configuration.k index eb48d896..e6312d8c 100644 --- a/k8s/1.17/api/flowcontrol/v1alpha1/priority_level_configuration.k +++ b/k8s/1.17/api/flowcontrol/v1alpha1/priority_level_configuration.k @@ -3,7 +3,7 @@ This is the priority_level_configuration module in k8s.api.flowcontrol.v1alpha1 This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityLevelConfiguration: @@ -16,7 +16,7 @@ schema PriorityLevelConfiguration: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PriorityLevelConfiguration", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata spec : PriorityLevelConfigurationSpec, default is Undefined, optional `spec` is the specification of the desired behavior of a "request-priority". More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema PriorityLevelConfiguration: kind: "PriorityLevelConfiguration" = "PriorityLevelConfiguration" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PriorityLevelConfigurationSpec diff --git a/k8s/1.17/api/flowcontrol/v1alpha1/priority_level_configuration_list.k b/k8s/1.17/api/flowcontrol/v1alpha1/priority_level_configuration_list.k index 3628ebac..dff6fbd8 100644 --- a/k8s/1.17/api/flowcontrol/v1alpha1/priority_level_configuration_list.k +++ b/k8s/1.17/api/flowcontrol/v1alpha1/priority_level_configuration_list.k @@ -3,7 +3,7 @@ This is the priority_level_configuration_list module in k8s.api.flowcontrol.v1al This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityLevelConfigurationList: @@ -18,7 +18,7 @@ schema PriorityLevelConfigurationList: `items` is a list of request-priorities. kind : str, default is "PriorityLevelConfigurationList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PriorityLevelConfigurationList: kind: "PriorityLevelConfigurationList" = "PriorityLevelConfigurationList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/networking/v1/network_policy.k b/k8s/1.17/api/networking/v1/network_policy.k index 888fc8a4..f4ffe0ea 100644 --- a/k8s/1.17/api/networking/v1/network_policy.k +++ b/k8s/1.17/api/networking/v1/network_policy.k @@ -3,7 +3,7 @@ This is the network_policy module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicy: @@ -16,7 +16,7 @@ schema NetworkPolicy: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "NetworkPolicy", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : NetworkPolicySpec, default is Undefined, optional Specification of the desired behavior for this NetworkPolicy. @@ -27,7 +27,7 @@ schema NetworkPolicy: kind: "NetworkPolicy" = "NetworkPolicy" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: NetworkPolicySpec diff --git a/k8s/1.17/api/networking/v1/network_policy_list.k b/k8s/1.17/api/networking/v1/network_policy_list.k index 7a05cb37..8e21e919 100644 --- a/k8s/1.17/api/networking/v1/network_policy_list.k +++ b/k8s/1.17/api/networking/v1/network_policy_list.k @@ -3,7 +3,7 @@ This is the network_policy_list module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicyList: @@ -18,7 +18,7 @@ schema NetworkPolicyList: Items is a list of schema objects. kind : str, default is "NetworkPolicyList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema NetworkPolicyList: kind: "NetworkPolicyList" = "NetworkPolicyList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/networking/v1/network_policy_peer.k b/k8s/1.17/api/networking/v1/network_policy_peer.k index 14b072d4..ebe8bf73 100644 --- a/k8s/1.17/api/networking/v1/network_policy_peer.k +++ b/k8s/1.17/api/networking/v1/network_policy_peer.k @@ -3,7 +3,7 @@ This is the network_policy_peer module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicyPeer: @@ -14,11 +14,11 @@ schema NetworkPolicyPeer: ---------- ipBlock : IPBlock, default is Undefined, optional IPBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional Selects Namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces. If PodSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects all Pods in the Namespaces selected by NamespaceSelector. - podSelector : v1.LabelSelector, default is Undefined, optional + podSelector : metav1.LabelSelector, default is Undefined, optional This is a label selector which selects Pods. This field follows standard label selector semantics; if present but empty, it selects all pods. If NamespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the Pods matching PodSelector in the policy's own Namespace. @@ -27,8 +27,8 @@ schema NetworkPolicyPeer: ipBlock?: IPBlock - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector - podSelector?: v1.LabelSelector + podSelector?: metav1.LabelSelector diff --git a/k8s/1.17/api/networking/v1/network_policy_spec.k b/k8s/1.17/api/networking/v1/network_policy_spec.k index d730dee3..5a848ef9 100644 --- a/k8s/1.17/api/networking/v1/network_policy_spec.k +++ b/k8s/1.17/api/networking/v1/network_policy_spec.k @@ -3,7 +3,7 @@ This is the network_policy_spec module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicySpec: @@ -16,7 +16,7 @@ schema NetworkPolicySpec: List of egress rules to be applied to the selected pods. Outgoing traffic is allowed if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic matches at least one egress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy limits all outgoing traffic (and serves solely to ensure that the pods it selects are isolated by default). This field is beta-level in 1.8 ingress : [NetworkPolicyIngressRule], default is Undefined, optional List of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not allow any traffic (and serves solely to ensure that the pods it selects are isolated by default) - podSelector : v1.LabelSelector, default is Undefined, required + podSelector : metav1.LabelSelector, default is Undefined, required Selects the pods to which this NetworkPolicy object applies. The array of ingress rules is applied to any pods selected by this field. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is NOT optional and follows standard label selector semantics. An empty podSelector matches all pods in this namespace. policyTypes : [str], default is Undefined, optional List of rule types that the NetworkPolicy relates to. Valid options are "Ingress", "Egress", or "Ingress,Egress". If this field is not specified, it will default based on the existence of Ingress or Egress rules; policies that contain an Egress section are assumed to affect Egress, and all policies (whether or not they contain an Ingress section) are assumed to affect Ingress. If you want to write an egress-only policy, you must explicitly specify policyTypes [ "Egress" ]. Likewise, if you want to write a policy that specifies that no egress is allowed, you must specify a policyTypes value that include "Egress" (since such a policy would not include an Egress section and would otherwise default to just [ "Ingress" ]). This field is beta-level in 1.8 @@ -27,7 +27,7 @@ schema NetworkPolicySpec: ingress?: [NetworkPolicyIngressRule] - podSelector: v1.LabelSelector + podSelector: metav1.LabelSelector policyTypes?: [str] diff --git a/k8s/1.17/api/networking/v1beta1/ingress.k b/k8s/1.17/api/networking/v1beta1/ingress.k index 6569ad3f..5eec23bd 100644 --- a/k8s/1.17/api/networking/v1beta1/ingress.k +++ b/k8s/1.17/api/networking/v1beta1/ingress.k @@ -3,7 +3,7 @@ This is the ingress module in k8s.api.networking.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Ingress: @@ -16,7 +16,7 @@ schema Ingress: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Ingress", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : IngressSpec, default is Undefined, optional Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Ingress: kind: "Ingress" = "Ingress" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: IngressSpec diff --git a/k8s/1.17/api/networking/v1beta1/ingress_list.k b/k8s/1.17/api/networking/v1beta1/ingress_list.k index 5f4b222c..f4249052 100644 --- a/k8s/1.17/api/networking/v1beta1/ingress_list.k +++ b/k8s/1.17/api/networking/v1beta1/ingress_list.k @@ -3,7 +3,7 @@ This is the ingress_list module in k8s.api.networking.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema IngressList: @@ -18,7 +18,7 @@ schema IngressList: Items is the list of Ingress. kind : str, default is "IngressList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema IngressList: kind: "IngressList" = "IngressList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/node/v1alpha1/runtime_class.k b/k8s/1.17/api/node/v1alpha1/runtime_class.k index 32997d20..24b160c8 100644 --- a/k8s/1.17/api/node/v1alpha1/runtime_class.k +++ b/k8s/1.17/api/node/v1alpha1/runtime_class.k @@ -3,7 +3,7 @@ This is the runtime_class module in k8s.api.node.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RuntimeClass: @@ -16,7 +16,7 @@ schema RuntimeClass: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "RuntimeClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : RuntimeClassSpec, default is Undefined, required Specification of the RuntimeClass More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema RuntimeClass: kind: "RuntimeClass" = "RuntimeClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: RuntimeClassSpec diff --git a/k8s/1.17/api/node/v1alpha1/runtime_class_list.k b/k8s/1.17/api/node/v1alpha1/runtime_class_list.k index 9a7cbb22..6db85ede 100644 --- a/k8s/1.17/api/node/v1alpha1/runtime_class_list.k +++ b/k8s/1.17/api/node/v1alpha1/runtime_class_list.k @@ -3,7 +3,7 @@ This is the runtime_class_list module in k8s.api.node.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RuntimeClassList: @@ -18,7 +18,7 @@ schema RuntimeClassList: Items is a list of schema objects. kind : str, default is "RuntimeClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema RuntimeClassList: kind: "RuntimeClassList" = "RuntimeClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/node/v1beta1/runtime_class.k b/k8s/1.17/api/node/v1beta1/runtime_class.k index 515e643e..477c5fa2 100644 --- a/k8s/1.17/api/node/v1beta1/runtime_class.k +++ b/k8s/1.17/api/node/v1beta1/runtime_class.k @@ -3,7 +3,7 @@ This is the runtime_class module in k8s.api.node.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RuntimeClass: @@ -18,7 +18,7 @@ schema RuntimeClass: Handler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration. It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called "runc" might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The Handler must conform to the DNS Label (RFC 1123) requirements, and is immutable. kind : str, default is "RuntimeClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata overhead : Overhead, default is Undefined, optional Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see https://git.k8s.io/enhancements/keps/sig-node/20190226-pod-overhead.md This field is alpha-level as of Kubernetes v1.15, and is only honored by servers that enable the PodOverhead feature. @@ -33,7 +33,7 @@ schema RuntimeClass: kind: "RuntimeClass" = "RuntimeClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta overhead?: Overhead diff --git a/k8s/1.17/api/node/v1beta1/runtime_class_list.k b/k8s/1.17/api/node/v1beta1/runtime_class_list.k index 19de4405..96178e8c 100644 --- a/k8s/1.17/api/node/v1beta1/runtime_class_list.k +++ b/k8s/1.17/api/node/v1beta1/runtime_class_list.k @@ -3,7 +3,7 @@ This is the runtime_class_list module in k8s.api.node.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RuntimeClassList: @@ -18,7 +18,7 @@ schema RuntimeClassList: Items is a list of schema objects. kind : str, default is "RuntimeClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema RuntimeClassList: kind: "RuntimeClassList" = "RuntimeClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/policy/v1beta1/eviction.k b/k8s/1.17/api/policy/v1beta1/eviction.k index 7f8d1a0b..af6f9667 100644 --- a/k8s/1.17/api/policy/v1beta1/eviction.k +++ b/k8s/1.17/api/policy/v1beta1/eviction.k @@ -3,7 +3,7 @@ This is the eviction module in k8s.api.policy.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Eviction: @@ -14,21 +14,21 @@ schema Eviction: ---------- apiVersion : str, default is "policy/v1beta1", required APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - deleteOptions : v1.DeleteOptions, default is Undefined, optional + deleteOptions : metav1.DeleteOptions, default is Undefined, optional DeleteOptions may be provided kind : str, default is "Eviction", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional ObjectMeta describes the pod that is being evicted. """ apiVersion: "policy/v1beta1" = "policy/v1beta1" - deleteOptions?: v1.DeleteOptions + deleteOptions?: metav1.DeleteOptions kind: "Eviction" = "Eviction" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta diff --git a/k8s/1.17/api/policy/v1beta1/pod_disruption_budget.k b/k8s/1.17/api/policy/v1beta1/pod_disruption_budget.k index 4bd867ee..8ec33062 100644 --- a/k8s/1.17/api/policy/v1beta1/pod_disruption_budget.k +++ b/k8s/1.17/api/policy/v1beta1/pod_disruption_budget.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget module in k8s.api.policy.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudget: @@ -16,7 +16,7 @@ schema PodDisruptionBudget: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PodDisruptionBudget", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : PodDisruptionBudgetSpec, default is Undefined, optional Specification of the desired behavior of the PodDisruptionBudget. @@ -27,7 +27,7 @@ schema PodDisruptionBudget: kind: "PodDisruptionBudget" = "PodDisruptionBudget" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PodDisruptionBudgetSpec diff --git a/k8s/1.17/api/policy/v1beta1/pod_disruption_budget_list.k b/k8s/1.17/api/policy/v1beta1/pod_disruption_budget_list.k index 7c9ed9f2..76dc4f1f 100644 --- a/k8s/1.17/api/policy/v1beta1/pod_disruption_budget_list.k +++ b/k8s/1.17/api/policy/v1beta1/pod_disruption_budget_list.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget_list module in k8s.api.policy.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudgetList: @@ -18,7 +18,7 @@ schema PodDisruptionBudgetList: items kind : str, default is "PodDisruptionBudgetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema PodDisruptionBudgetList: kind: "PodDisruptionBudgetList" = "PodDisruptionBudgetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/policy/v1beta1/pod_disruption_budget_spec.k b/k8s/1.17/api/policy/v1beta1/pod_disruption_budget_spec.k index 59207d7d..f58a030c 100644 --- a/k8s/1.17/api/policy/v1beta1/pod_disruption_budget_spec.k +++ b/k8s/1.17/api/policy/v1beta1/pod_disruption_budget_spec.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget_spec module in k8s.api.policy.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudgetSpec: @@ -16,7 +16,7 @@ schema PodDisruptionBudgetSpec: An eviction is allowed if at most "maxUnavailable" pods selected by "selector" are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with "minAvailable". minAvailable : int | str, default is Undefined, optional An eviction is allowed if at least "minAvailable" pods selected by "selector" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying "100%". - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional Label query over pods whose evictions are managed by the disruption budget. """ @@ -25,6 +25,6 @@ schema PodDisruptionBudgetSpec: minAvailable?: int | str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector diff --git a/k8s/1.17/api/policy/v1beta1/pod_security_policy.k b/k8s/1.17/api/policy/v1beta1/pod_security_policy.k index 1fb89bf0..26f77779 100644 --- a/k8s/1.17/api/policy/v1beta1/pod_security_policy.k +++ b/k8s/1.17/api/policy/v1beta1/pod_security_policy.k @@ -3,7 +3,7 @@ This is the pod_security_policy module in k8s.api.policy.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodSecurityPolicy: @@ -16,7 +16,7 @@ schema PodSecurityPolicy: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PodSecurityPolicy", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PodSecurityPolicySpec, default is Undefined, optional spec defines the policy enforced. @@ -27,7 +27,7 @@ schema PodSecurityPolicy: kind: "PodSecurityPolicy" = "PodSecurityPolicy" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PodSecurityPolicySpec diff --git a/k8s/1.17/api/policy/v1beta1/pod_security_policy_list.k b/k8s/1.17/api/policy/v1beta1/pod_security_policy_list.k index 72500195..422fdc1a 100644 --- a/k8s/1.17/api/policy/v1beta1/pod_security_policy_list.k +++ b/k8s/1.17/api/policy/v1beta1/pod_security_policy_list.k @@ -3,7 +3,7 @@ This is the pod_security_policy_list module in k8s.api.policy.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodSecurityPolicyList: @@ -18,7 +18,7 @@ schema PodSecurityPolicyList: items is a list of schema objects. kind : str, default is "PodSecurityPolicyList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PodSecurityPolicyList: kind: "PodSecurityPolicyList" = "PodSecurityPolicyList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/rbac/v1/aggregation_rule.k b/k8s/1.17/api/rbac/v1/aggregation_rule.k index c7969ee4..b6898869 100644 --- a/k8s/1.17/api/rbac/v1/aggregation_rule.k +++ b/k8s/1.17/api/rbac/v1/aggregation_rule.k @@ -3,7 +3,7 @@ This is the aggregation_rule module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema AggregationRule: @@ -12,11 +12,11 @@ schema AggregationRule: Attributes ---------- - clusterRoleSelectors : [v1.LabelSelector], default is Undefined, optional + clusterRoleSelectors : [metav1.LabelSelector], default is Undefined, optional ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added """ - clusterRoleSelectors?: [v1.LabelSelector] + clusterRoleSelectors?: [metav1.LabelSelector] diff --git a/k8s/1.17/api/rbac/v1/cluster_role.k b/k8s/1.17/api/rbac/v1/cluster_role.k index fcf42d1b..d32837ea 100644 --- a/k8s/1.17/api/rbac/v1/cluster_role.k +++ b/k8s/1.17/api/rbac/v1/cluster_role.k @@ -3,7 +3,7 @@ This is the cluster_role module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRole: @@ -18,7 +18,7 @@ schema ClusterRole: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ClusterRole", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. rules : [PolicyRule], default is Undefined, optional Rules holds all the PolicyRules for this ClusterRole @@ -31,7 +31,7 @@ schema ClusterRole: kind: "ClusterRole" = "ClusterRole" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta rules?: [PolicyRule] diff --git a/k8s/1.17/api/rbac/v1/cluster_role_binding.k b/k8s/1.17/api/rbac/v1/cluster_role_binding.k index e670588e..1b2c4294 100644 --- a/k8s/1.17/api/rbac/v1/cluster_role_binding.k +++ b/k8s/1.17/api/rbac/v1/cluster_role_binding.k @@ -3,7 +3,7 @@ This is the cluster_role_binding module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleBinding: @@ -16,7 +16,7 @@ schema ClusterRoleBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ClusterRoleBinding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. roleRef : RoleRef, default is Undefined, required RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. @@ -29,7 +29,7 @@ schema ClusterRoleBinding: kind: "ClusterRoleBinding" = "ClusterRoleBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta roleRef: RoleRef diff --git a/k8s/1.17/api/rbac/v1/cluster_role_binding_list.k b/k8s/1.17/api/rbac/v1/cluster_role_binding_list.k index fd53865a..bd13f6fa 100644 --- a/k8s/1.17/api/rbac/v1/cluster_role_binding_list.k +++ b/k8s/1.17/api/rbac/v1/cluster_role_binding_list.k @@ -3,7 +3,7 @@ This is the cluster_role_binding_list module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleBindingList: @@ -18,7 +18,7 @@ schema ClusterRoleBindingList: Items is a list of ClusterRoleBindings kind : str, default is "ClusterRoleBindingList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema ClusterRoleBindingList: kind: "ClusterRoleBindingList" = "ClusterRoleBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/rbac/v1/cluster_role_list.k b/k8s/1.17/api/rbac/v1/cluster_role_list.k index 8be0e1a6..303e00aa 100644 --- a/k8s/1.17/api/rbac/v1/cluster_role_list.k +++ b/k8s/1.17/api/rbac/v1/cluster_role_list.k @@ -3,7 +3,7 @@ This is the cluster_role_list module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleList: @@ -18,7 +18,7 @@ schema ClusterRoleList: Items is a list of ClusterRoles kind : str, default is "ClusterRoleList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema ClusterRoleList: kind: "ClusterRoleList" = "ClusterRoleList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/rbac/v1/role.k b/k8s/1.17/api/rbac/v1/role.k index f72c1ab0..db02dfef 100644 --- a/k8s/1.17/api/rbac/v1/role.k +++ b/k8s/1.17/api/rbac/v1/role.k @@ -3,7 +3,7 @@ This is the role module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Role: @@ -16,7 +16,7 @@ schema Role: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Role", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. rules : [PolicyRule], default is Undefined, optional Rules holds all the PolicyRules for this Role @@ -27,7 +27,7 @@ schema Role: kind: "Role" = "Role" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta rules?: [PolicyRule] diff --git a/k8s/1.17/api/rbac/v1/role_binding.k b/k8s/1.17/api/rbac/v1/role_binding.k index a305e8b1..efa93d8c 100644 --- a/k8s/1.17/api/rbac/v1/role_binding.k +++ b/k8s/1.17/api/rbac/v1/role_binding.k @@ -3,7 +3,7 @@ This is the role_binding module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleBinding: @@ -16,7 +16,7 @@ schema RoleBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "RoleBinding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. roleRef : RoleRef, default is Undefined, required RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. @@ -29,7 +29,7 @@ schema RoleBinding: kind: "RoleBinding" = "RoleBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta roleRef: RoleRef diff --git a/k8s/1.17/api/rbac/v1/role_binding_list.k b/k8s/1.17/api/rbac/v1/role_binding_list.k index ef8b7fc8..cb8d7400 100644 --- a/k8s/1.17/api/rbac/v1/role_binding_list.k +++ b/k8s/1.17/api/rbac/v1/role_binding_list.k @@ -3,7 +3,7 @@ This is the role_binding_list module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleBindingList: @@ -18,7 +18,7 @@ schema RoleBindingList: Items is a list of RoleBindings kind : str, default is "RoleBindingList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema RoleBindingList: kind: "RoleBindingList" = "RoleBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/rbac/v1/role_list.k b/k8s/1.17/api/rbac/v1/role_list.k index 6e7826e6..d102bc0c 100644 --- a/k8s/1.17/api/rbac/v1/role_list.k +++ b/k8s/1.17/api/rbac/v1/role_list.k @@ -3,7 +3,7 @@ This is the role_list module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleList: @@ -18,7 +18,7 @@ schema RoleList: Items is a list of Roles kind : str, default is "RoleList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema RoleList: kind: "RoleList" = "RoleList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/rbac/v1alpha1/aggregation_rule.k b/k8s/1.17/api/rbac/v1alpha1/aggregation_rule.k index 528fe561..c9b2af20 100644 --- a/k8s/1.17/api/rbac/v1alpha1/aggregation_rule.k +++ b/k8s/1.17/api/rbac/v1alpha1/aggregation_rule.k @@ -3,7 +3,7 @@ This is the aggregation_rule module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema AggregationRule: @@ -12,11 +12,11 @@ schema AggregationRule: Attributes ---------- - clusterRoleSelectors : [v1.LabelSelector], default is Undefined, optional + clusterRoleSelectors : [metav1.LabelSelector], default is Undefined, optional ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added """ - clusterRoleSelectors?: [v1.LabelSelector] + clusterRoleSelectors?: [metav1.LabelSelector] diff --git a/k8s/1.17/api/rbac/v1alpha1/cluster_role.k b/k8s/1.17/api/rbac/v1alpha1/cluster_role.k index a032a44c..997297fe 100644 --- a/k8s/1.17/api/rbac/v1alpha1/cluster_role.k +++ b/k8s/1.17/api/rbac/v1alpha1/cluster_role.k @@ -3,7 +3,7 @@ This is the cluster_role module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRole: @@ -18,7 +18,7 @@ schema ClusterRole: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ClusterRole", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. rules : [PolicyRule], default is Undefined, optional Rules holds all the PolicyRules for this ClusterRole @@ -31,7 +31,7 @@ schema ClusterRole: kind: "ClusterRole" = "ClusterRole" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta rules?: [PolicyRule] diff --git a/k8s/1.17/api/rbac/v1alpha1/cluster_role_binding.k b/k8s/1.17/api/rbac/v1alpha1/cluster_role_binding.k index 507caed3..e6c9ffc0 100644 --- a/k8s/1.17/api/rbac/v1alpha1/cluster_role_binding.k +++ b/k8s/1.17/api/rbac/v1alpha1/cluster_role_binding.k @@ -3,7 +3,7 @@ This is the cluster_role_binding module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleBinding: @@ -16,7 +16,7 @@ schema ClusterRoleBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ClusterRoleBinding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. roleRef : RoleRef, default is Undefined, required RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. @@ -29,7 +29,7 @@ schema ClusterRoleBinding: kind: "ClusterRoleBinding" = "ClusterRoleBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta roleRef: RoleRef diff --git a/k8s/1.17/api/rbac/v1alpha1/cluster_role_binding_list.k b/k8s/1.17/api/rbac/v1alpha1/cluster_role_binding_list.k index b6a8f7a5..1ce61b31 100644 --- a/k8s/1.17/api/rbac/v1alpha1/cluster_role_binding_list.k +++ b/k8s/1.17/api/rbac/v1alpha1/cluster_role_binding_list.k @@ -3,7 +3,7 @@ This is the cluster_role_binding_list module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleBindingList: @@ -18,7 +18,7 @@ schema ClusterRoleBindingList: Items is a list of ClusterRoleBindings kind : str, default is "ClusterRoleBindingList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema ClusterRoleBindingList: kind: "ClusterRoleBindingList" = "ClusterRoleBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/rbac/v1alpha1/cluster_role_list.k b/k8s/1.17/api/rbac/v1alpha1/cluster_role_list.k index 3161f6b9..3e252359 100644 --- a/k8s/1.17/api/rbac/v1alpha1/cluster_role_list.k +++ b/k8s/1.17/api/rbac/v1alpha1/cluster_role_list.k @@ -3,7 +3,7 @@ This is the cluster_role_list module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleList: @@ -18,7 +18,7 @@ schema ClusterRoleList: Items is a list of ClusterRoles kind : str, default is "ClusterRoleList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema ClusterRoleList: kind: "ClusterRoleList" = "ClusterRoleList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/rbac/v1alpha1/role.k b/k8s/1.17/api/rbac/v1alpha1/role.k index fc717453..82aa859b 100644 --- a/k8s/1.17/api/rbac/v1alpha1/role.k +++ b/k8s/1.17/api/rbac/v1alpha1/role.k @@ -3,7 +3,7 @@ This is the role module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Role: @@ -16,7 +16,7 @@ schema Role: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Role", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. rules : [PolicyRule], default is Undefined, optional Rules holds all the PolicyRules for this Role @@ -27,7 +27,7 @@ schema Role: kind: "Role" = "Role" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta rules?: [PolicyRule] diff --git a/k8s/1.17/api/rbac/v1alpha1/role_binding.k b/k8s/1.17/api/rbac/v1alpha1/role_binding.k index fb9a8c8f..60d928b5 100644 --- a/k8s/1.17/api/rbac/v1alpha1/role_binding.k +++ b/k8s/1.17/api/rbac/v1alpha1/role_binding.k @@ -3,7 +3,7 @@ This is the role_binding module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleBinding: @@ -16,7 +16,7 @@ schema RoleBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "RoleBinding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. roleRef : RoleRef, default is Undefined, required RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. @@ -29,7 +29,7 @@ schema RoleBinding: kind: "RoleBinding" = "RoleBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta roleRef: RoleRef diff --git a/k8s/1.17/api/rbac/v1alpha1/role_binding_list.k b/k8s/1.17/api/rbac/v1alpha1/role_binding_list.k index d53cb185..dc0bedaa 100644 --- a/k8s/1.17/api/rbac/v1alpha1/role_binding_list.k +++ b/k8s/1.17/api/rbac/v1alpha1/role_binding_list.k @@ -3,7 +3,7 @@ This is the role_binding_list module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleBindingList: @@ -18,7 +18,7 @@ schema RoleBindingList: Items is a list of RoleBindings kind : str, default is "RoleBindingList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema RoleBindingList: kind: "RoleBindingList" = "RoleBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/rbac/v1alpha1/role_list.k b/k8s/1.17/api/rbac/v1alpha1/role_list.k index 21c79fe5..08ffc071 100644 --- a/k8s/1.17/api/rbac/v1alpha1/role_list.k +++ b/k8s/1.17/api/rbac/v1alpha1/role_list.k @@ -3,7 +3,7 @@ This is the role_list module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleList: @@ -18,7 +18,7 @@ schema RoleList: Items is a list of Roles kind : str, default is "RoleList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema RoleList: kind: "RoleList" = "RoleList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/rbac/v1beta1/aggregation_rule.k b/k8s/1.17/api/rbac/v1beta1/aggregation_rule.k index cd7ef918..41e15e52 100644 --- a/k8s/1.17/api/rbac/v1beta1/aggregation_rule.k +++ b/k8s/1.17/api/rbac/v1beta1/aggregation_rule.k @@ -3,7 +3,7 @@ This is the aggregation_rule module in k8s.api.rbac.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema AggregationRule: @@ -12,11 +12,11 @@ schema AggregationRule: Attributes ---------- - clusterRoleSelectors : [v1.LabelSelector], default is Undefined, optional + clusterRoleSelectors : [metav1.LabelSelector], default is Undefined, optional ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added """ - clusterRoleSelectors?: [v1.LabelSelector] + clusterRoleSelectors?: [metav1.LabelSelector] diff --git a/k8s/1.17/api/rbac/v1beta1/cluster_role.k b/k8s/1.17/api/rbac/v1beta1/cluster_role.k index aa79b1ca..d0e97275 100644 --- a/k8s/1.17/api/rbac/v1beta1/cluster_role.k +++ b/k8s/1.17/api/rbac/v1beta1/cluster_role.k @@ -3,7 +3,7 @@ This is the cluster_role module in k8s.api.rbac.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRole: @@ -18,7 +18,7 @@ schema ClusterRole: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ClusterRole", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. rules : [PolicyRule], default is Undefined, optional Rules holds all the PolicyRules for this ClusterRole @@ -31,7 +31,7 @@ schema ClusterRole: kind: "ClusterRole" = "ClusterRole" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta rules?: [PolicyRule] diff --git a/k8s/1.17/api/rbac/v1beta1/cluster_role_binding.k b/k8s/1.17/api/rbac/v1beta1/cluster_role_binding.k index a58003b0..05f43543 100644 --- a/k8s/1.17/api/rbac/v1beta1/cluster_role_binding.k +++ b/k8s/1.17/api/rbac/v1beta1/cluster_role_binding.k @@ -3,7 +3,7 @@ This is the cluster_role_binding module in k8s.api.rbac.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleBinding: @@ -16,7 +16,7 @@ schema ClusterRoleBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ClusterRoleBinding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. roleRef : RoleRef, default is Undefined, required RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. @@ -29,7 +29,7 @@ schema ClusterRoleBinding: kind: "ClusterRoleBinding" = "ClusterRoleBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta roleRef: RoleRef diff --git a/k8s/1.17/api/rbac/v1beta1/cluster_role_binding_list.k b/k8s/1.17/api/rbac/v1beta1/cluster_role_binding_list.k index c27cd390..c948ca2a 100644 --- a/k8s/1.17/api/rbac/v1beta1/cluster_role_binding_list.k +++ b/k8s/1.17/api/rbac/v1beta1/cluster_role_binding_list.k @@ -3,7 +3,7 @@ This is the cluster_role_binding_list module in k8s.api.rbac.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleBindingList: @@ -18,7 +18,7 @@ schema ClusterRoleBindingList: Items is a list of ClusterRoleBindings kind : str, default is "ClusterRoleBindingList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema ClusterRoleBindingList: kind: "ClusterRoleBindingList" = "ClusterRoleBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/rbac/v1beta1/cluster_role_list.k b/k8s/1.17/api/rbac/v1beta1/cluster_role_list.k index f60902f0..3ad4d634 100644 --- a/k8s/1.17/api/rbac/v1beta1/cluster_role_list.k +++ b/k8s/1.17/api/rbac/v1beta1/cluster_role_list.k @@ -3,7 +3,7 @@ This is the cluster_role_list module in k8s.api.rbac.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleList: @@ -18,7 +18,7 @@ schema ClusterRoleList: Items is a list of ClusterRoles kind : str, default is "ClusterRoleList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema ClusterRoleList: kind: "ClusterRoleList" = "ClusterRoleList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/rbac/v1beta1/role.k b/k8s/1.17/api/rbac/v1beta1/role.k index 720b56b3..f0460e6c 100644 --- a/k8s/1.17/api/rbac/v1beta1/role.k +++ b/k8s/1.17/api/rbac/v1beta1/role.k @@ -3,7 +3,7 @@ This is the role module in k8s.api.rbac.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Role: @@ -16,7 +16,7 @@ schema Role: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Role", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. rules : [PolicyRule], default is Undefined, optional Rules holds all the PolicyRules for this Role @@ -27,7 +27,7 @@ schema Role: kind: "Role" = "Role" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta rules?: [PolicyRule] diff --git a/k8s/1.17/api/rbac/v1beta1/role_binding.k b/k8s/1.17/api/rbac/v1beta1/role_binding.k index fc4f5f53..0c9b9695 100644 --- a/k8s/1.17/api/rbac/v1beta1/role_binding.k +++ b/k8s/1.17/api/rbac/v1beta1/role_binding.k @@ -3,7 +3,7 @@ This is the role_binding module in k8s.api.rbac.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleBinding: @@ -16,7 +16,7 @@ schema RoleBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "RoleBinding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. roleRef : RoleRef, default is Undefined, required RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. @@ -29,7 +29,7 @@ schema RoleBinding: kind: "RoleBinding" = "RoleBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta roleRef: RoleRef diff --git a/k8s/1.17/api/rbac/v1beta1/role_binding_list.k b/k8s/1.17/api/rbac/v1beta1/role_binding_list.k index 40fbf62e..97a812b1 100644 --- a/k8s/1.17/api/rbac/v1beta1/role_binding_list.k +++ b/k8s/1.17/api/rbac/v1beta1/role_binding_list.k @@ -3,7 +3,7 @@ This is the role_binding_list module in k8s.api.rbac.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleBindingList: @@ -18,7 +18,7 @@ schema RoleBindingList: Items is a list of RoleBindings kind : str, default is "RoleBindingList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema RoleBindingList: kind: "RoleBindingList" = "RoleBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/rbac/v1beta1/role_list.k b/k8s/1.17/api/rbac/v1beta1/role_list.k index 9a38ad72..15775ef1 100644 --- a/k8s/1.17/api/rbac/v1beta1/role_list.k +++ b/k8s/1.17/api/rbac/v1beta1/role_list.k @@ -3,7 +3,7 @@ This is the role_list module in k8s.api.rbac.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleList: @@ -18,7 +18,7 @@ schema RoleList: Items is a list of Roles kind : str, default is "RoleList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema RoleList: kind: "RoleList" = "RoleList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/scheduling/v1/priority_class.k b/k8s/1.17/api/scheduling/v1/priority_class.k index 8d5e65f5..2fa40899 100644 --- a/k8s/1.17/api/scheduling/v1/priority_class.k +++ b/k8s/1.17/api/scheduling/v1/priority_class.k @@ -3,7 +3,7 @@ This is the priority_class module in k8s.api.scheduling.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityClass: @@ -20,7 +20,7 @@ schema PriorityClass: globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority. kind : str, default is "PriorityClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata preemptionPolicy : str, default is Undefined, optional PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is alpha-level and is only honored by servers that enable the NonPreemptingPriority feature. @@ -37,7 +37,7 @@ schema PriorityClass: kind: "PriorityClass" = "PriorityClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta preemptionPolicy?: str diff --git a/k8s/1.17/api/scheduling/v1/priority_class_list.k b/k8s/1.17/api/scheduling/v1/priority_class_list.k index ff802048..6d514f6b 100644 --- a/k8s/1.17/api/scheduling/v1/priority_class_list.k +++ b/k8s/1.17/api/scheduling/v1/priority_class_list.k @@ -3,7 +3,7 @@ This is the priority_class_list module in k8s.api.scheduling.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityClassList: @@ -18,7 +18,7 @@ schema PriorityClassList: items is the list of PriorityClasses kind : str, default is "PriorityClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PriorityClassList: kind: "PriorityClassList" = "PriorityClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/scheduling/v1alpha1/priority_class.k b/k8s/1.17/api/scheduling/v1alpha1/priority_class.k index 8ad4a1ae..64498898 100644 --- a/k8s/1.17/api/scheduling/v1alpha1/priority_class.k +++ b/k8s/1.17/api/scheduling/v1alpha1/priority_class.k @@ -3,7 +3,7 @@ This is the priority_class module in k8s.api.scheduling.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityClass: @@ -20,7 +20,7 @@ schema PriorityClass: globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority. kind : str, default is "PriorityClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata preemptionPolicy : str, default is Undefined, optional PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is alpha-level and is only honored by servers that enable the NonPreemptingPriority feature. @@ -37,7 +37,7 @@ schema PriorityClass: kind: "PriorityClass" = "PriorityClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta preemptionPolicy?: str diff --git a/k8s/1.17/api/scheduling/v1alpha1/priority_class_list.k b/k8s/1.17/api/scheduling/v1alpha1/priority_class_list.k index f4d8cbfa..97b08586 100644 --- a/k8s/1.17/api/scheduling/v1alpha1/priority_class_list.k +++ b/k8s/1.17/api/scheduling/v1alpha1/priority_class_list.k @@ -3,7 +3,7 @@ This is the priority_class_list module in k8s.api.scheduling.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityClassList: @@ -18,7 +18,7 @@ schema PriorityClassList: items is the list of PriorityClasses kind : str, default is "PriorityClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PriorityClassList: kind: "PriorityClassList" = "PriorityClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/scheduling/v1beta1/priority_class.k b/k8s/1.17/api/scheduling/v1beta1/priority_class.k index 5879adb2..f9040dec 100644 --- a/k8s/1.17/api/scheduling/v1beta1/priority_class.k +++ b/k8s/1.17/api/scheduling/v1beta1/priority_class.k @@ -3,7 +3,7 @@ This is the priority_class module in k8s.api.scheduling.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityClass: @@ -20,7 +20,7 @@ schema PriorityClass: globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority. kind : str, default is "PriorityClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata preemptionPolicy : str, default is Undefined, optional PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is alpha-level and is only honored by servers that enable the NonPreemptingPriority feature. @@ -37,7 +37,7 @@ schema PriorityClass: kind: "PriorityClass" = "PriorityClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta preemptionPolicy?: str diff --git a/k8s/1.17/api/scheduling/v1beta1/priority_class_list.k b/k8s/1.17/api/scheduling/v1beta1/priority_class_list.k index 2788d02c..2187fd8e 100644 --- a/k8s/1.17/api/scheduling/v1beta1/priority_class_list.k +++ b/k8s/1.17/api/scheduling/v1beta1/priority_class_list.k @@ -3,7 +3,7 @@ This is the priority_class_list module in k8s.api.scheduling.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityClassList: @@ -18,7 +18,7 @@ schema PriorityClassList: items is the list of PriorityClasses kind : str, default is "PriorityClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PriorityClassList: kind: "PriorityClassList" = "PriorityClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/settings/v1alpha1/pod_preset.k b/k8s/1.17/api/settings/v1alpha1/pod_preset.k index 955322f1..53bc0dfa 100644 --- a/k8s/1.17/api/settings/v1alpha1/pod_preset.k +++ b/k8s/1.17/api/settings/v1alpha1/pod_preset.k @@ -3,7 +3,7 @@ This is the pod_preset module in k8s.api.settings.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodPreset: @@ -16,7 +16,7 @@ schema PodPreset: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PodPreset", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : PodPresetSpec, default is Undefined, optional spec @@ -27,7 +27,7 @@ schema PodPreset: kind: "PodPreset" = "PodPreset" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PodPresetSpec diff --git a/k8s/1.17/api/settings/v1alpha1/pod_preset_list.k b/k8s/1.17/api/settings/v1alpha1/pod_preset_list.k index f27331c7..5d94304f 100644 --- a/k8s/1.17/api/settings/v1alpha1/pod_preset_list.k +++ b/k8s/1.17/api/settings/v1alpha1/pod_preset_list.k @@ -3,7 +3,7 @@ This is the pod_preset_list module in k8s.api.settings.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodPresetList: @@ -18,7 +18,7 @@ schema PodPresetList: Items is a list of schema objects. kind : str, default is "PodPresetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PodPresetList: kind: "PodPresetList" = "PodPresetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/storage/v1/csi_node.k b/k8s/1.17/api/storage/v1/csi_node.k index 055f8653..6557da03 100644 --- a/k8s/1.17/api/storage/v1/csi_node.k +++ b/k8s/1.17/api/storage/v1/csi_node.k @@ -3,7 +3,7 @@ This is the csi_node module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSINode: @@ -16,7 +16,7 @@ schema CSINode: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CSINode", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata.name must be the Kubernetes node name. spec : CSINodeSpec, default is Undefined, required spec is the specification of CSINode @@ -27,7 +27,7 @@ schema CSINode: kind: "CSINode" = "CSINode" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CSINodeSpec diff --git a/k8s/1.17/api/storage/v1/csi_node_list.k b/k8s/1.17/api/storage/v1/csi_node_list.k index ce5793c1..3a93da71 100644 --- a/k8s/1.17/api/storage/v1/csi_node_list.k +++ b/k8s/1.17/api/storage/v1/csi_node_list.k @@ -3,7 +3,7 @@ This is the csi_node_list module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSINodeList: @@ -18,7 +18,7 @@ schema CSINodeList: items is the list of CSINode kind : str, default is "CSINodeList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CSINodeList: kind: "CSINodeList" = "CSINodeList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/storage/v1/storage_class_list.k b/k8s/1.17/api/storage/v1/storage_class_list.k index 365e1386..284d43e8 100644 --- a/k8s/1.17/api/storage/v1/storage_class_list.k +++ b/k8s/1.17/api/storage/v1/storage_class_list.k @@ -3,7 +3,7 @@ This is the storage_class_list module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StorageClassList: @@ -18,7 +18,7 @@ schema StorageClassList: Items is the list of StorageClasses kind : str, default is "StorageClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema StorageClassList: kind: "StorageClassList" = "StorageClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/storage/v1/volume_attachment.k b/k8s/1.17/api/storage/v1/volume_attachment.k index e4b9149f..f98beff1 100644 --- a/k8s/1.17/api/storage/v1/volume_attachment.k +++ b/k8s/1.17/api/storage/v1/volume_attachment.k @@ -3,7 +3,7 @@ This is the volume_attachment module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema VolumeAttachment: @@ -18,7 +18,7 @@ schema VolumeAttachment: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "VolumeAttachment", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : VolumeAttachmentSpec, default is Undefined, required Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system. @@ -29,7 +29,7 @@ schema VolumeAttachment: kind: "VolumeAttachment" = "VolumeAttachment" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: VolumeAttachmentSpec diff --git a/k8s/1.17/api/storage/v1/volume_attachment_list.k b/k8s/1.17/api/storage/v1/volume_attachment_list.k index ef702d0d..0719d0bc 100644 --- a/k8s/1.17/api/storage/v1/volume_attachment_list.k +++ b/k8s/1.17/api/storage/v1/volume_attachment_list.k @@ -3,7 +3,7 @@ This is the volume_attachment_list module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema VolumeAttachmentList: @@ -18,7 +18,7 @@ schema VolumeAttachmentList: Items is the list of VolumeAttachments kind : str, default is "VolumeAttachmentList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema VolumeAttachmentList: kind: "VolumeAttachmentList" = "VolumeAttachmentList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/storage/v1alpha1/volume_attachment.k b/k8s/1.17/api/storage/v1alpha1/volume_attachment.k index ac3e542b..69bcab61 100644 --- a/k8s/1.17/api/storage/v1alpha1/volume_attachment.k +++ b/k8s/1.17/api/storage/v1alpha1/volume_attachment.k @@ -3,7 +3,7 @@ This is the volume_attachment module in k8s.api.storage.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema VolumeAttachment: @@ -18,7 +18,7 @@ schema VolumeAttachment: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "VolumeAttachment", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : VolumeAttachmentSpec, default is Undefined, required Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system. @@ -29,7 +29,7 @@ schema VolumeAttachment: kind: "VolumeAttachment" = "VolumeAttachment" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: VolumeAttachmentSpec diff --git a/k8s/1.17/api/storage/v1alpha1/volume_attachment_list.k b/k8s/1.17/api/storage/v1alpha1/volume_attachment_list.k index ddb512e0..f89560d9 100644 --- a/k8s/1.17/api/storage/v1alpha1/volume_attachment_list.k +++ b/k8s/1.17/api/storage/v1alpha1/volume_attachment_list.k @@ -3,7 +3,7 @@ This is the volume_attachment_list module in k8s.api.storage.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema VolumeAttachmentList: @@ -18,7 +18,7 @@ schema VolumeAttachmentList: Items is the list of VolumeAttachments kind : str, default is "VolumeAttachmentList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema VolumeAttachmentList: kind: "VolumeAttachmentList" = "VolumeAttachmentList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/storage/v1beta1/csi_driver.k b/k8s/1.17/api/storage/v1beta1/csi_driver.k index e4145edc..be666b1b 100644 --- a/k8s/1.17/api/storage/v1beta1/csi_driver.k +++ b/k8s/1.17/api/storage/v1beta1/csi_driver.k @@ -3,7 +3,7 @@ This is the csi_driver module in k8s.api.storage.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSIDriver: @@ -16,7 +16,7 @@ schema CSIDriver: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CSIDriver", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. metadata.Name indicates the name of the CSI driver that this object refers to; it MUST be the same name returned by the CSI GetPluginName() call for that driver. The driver name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and alphanumerics between. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : CSIDriverSpec, default is Undefined, required Specification of the CSI Driver. @@ -27,7 +27,7 @@ schema CSIDriver: kind: "CSIDriver" = "CSIDriver" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CSIDriverSpec diff --git a/k8s/1.17/api/storage/v1beta1/csi_driver_list.k b/k8s/1.17/api/storage/v1beta1/csi_driver_list.k index 209f62b2..215906d8 100644 --- a/k8s/1.17/api/storage/v1beta1/csi_driver_list.k +++ b/k8s/1.17/api/storage/v1beta1/csi_driver_list.k @@ -3,7 +3,7 @@ This is the csi_driver_list module in k8s.api.storage.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSIDriverList: @@ -18,7 +18,7 @@ schema CSIDriverList: items is the list of CSIDriver kind : str, default is "CSIDriverList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CSIDriverList: kind: "CSIDriverList" = "CSIDriverList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/storage/v1beta1/csi_node.k b/k8s/1.17/api/storage/v1beta1/csi_node.k index f5ba6611..ec6f1aff 100644 --- a/k8s/1.17/api/storage/v1beta1/csi_node.k +++ b/k8s/1.17/api/storage/v1beta1/csi_node.k @@ -3,7 +3,7 @@ This is the csi_node module in k8s.api.storage.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSINode: @@ -16,7 +16,7 @@ schema CSINode: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CSINode", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata.name must be the Kubernetes node name. spec : CSINodeSpec, default is Undefined, required spec is the specification of CSINode @@ -27,7 +27,7 @@ schema CSINode: kind: "CSINode" = "CSINode" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CSINodeSpec diff --git a/k8s/1.17/api/storage/v1beta1/csi_node_list.k b/k8s/1.17/api/storage/v1beta1/csi_node_list.k index 3f0ca6ce..f80a6c6a 100644 --- a/k8s/1.17/api/storage/v1beta1/csi_node_list.k +++ b/k8s/1.17/api/storage/v1beta1/csi_node_list.k @@ -3,7 +3,7 @@ This is the csi_node_list module in k8s.api.storage.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSINodeList: @@ -18,7 +18,7 @@ schema CSINodeList: items is the list of CSINode kind : str, default is "CSINodeList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CSINodeList: kind: "CSINodeList" = "CSINodeList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/storage/v1beta1/storage_class_list.k b/k8s/1.17/api/storage/v1beta1/storage_class_list.k index 0dcbe241..ec9cb902 100644 --- a/k8s/1.17/api/storage/v1beta1/storage_class_list.k +++ b/k8s/1.17/api/storage/v1beta1/storage_class_list.k @@ -3,7 +3,7 @@ This is the storage_class_list module in k8s.api.storage.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StorageClassList: @@ -18,7 +18,7 @@ schema StorageClassList: Items is the list of StorageClasses kind : str, default is "StorageClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema StorageClassList: kind: "StorageClassList" = "StorageClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/api/storage/v1beta1/volume_attachment.k b/k8s/1.17/api/storage/v1beta1/volume_attachment.k index e0a72030..4a4768bf 100644 --- a/k8s/1.17/api/storage/v1beta1/volume_attachment.k +++ b/k8s/1.17/api/storage/v1beta1/volume_attachment.k @@ -3,7 +3,7 @@ This is the volume_attachment module in k8s.api.storage.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema VolumeAttachment: @@ -18,7 +18,7 @@ schema VolumeAttachment: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "VolumeAttachment", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : VolumeAttachmentSpec, default is Undefined, required Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system. @@ -29,7 +29,7 @@ schema VolumeAttachment: kind: "VolumeAttachment" = "VolumeAttachment" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: VolumeAttachmentSpec diff --git a/k8s/1.17/api/storage/v1beta1/volume_attachment_list.k b/k8s/1.17/api/storage/v1beta1/volume_attachment_list.k index cdc91322..4650e400 100644 --- a/k8s/1.17/api/storage/v1beta1/volume_attachment_list.k +++ b/k8s/1.17/api/storage/v1beta1/volume_attachment_list.k @@ -3,7 +3,7 @@ This is the volume_attachment_list module in k8s.api.storage.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema VolumeAttachmentList: @@ -18,7 +18,7 @@ schema VolumeAttachmentList: Items is the list of VolumeAttachments kind : str, default is "VolumeAttachmentList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema VolumeAttachmentList: kind: "VolumeAttachmentList" = "VolumeAttachmentList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition.k b/k8s/1.17/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition.k index 4d421b4d..a401f819 100644 --- a/k8s/1.17/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition.k +++ b/k8s/1.17/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition.k @@ -3,7 +3,7 @@ This is the custom_resource_definition module in k8s.apiextensions_apiserver.pkg This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CustomResourceDefinition: @@ -16,7 +16,7 @@ schema CustomResourceDefinition: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CustomResourceDefinition", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : CustomResourceDefinitionSpec, default is Undefined, required spec describes how the user wants the resources to appear @@ -27,7 +27,7 @@ schema CustomResourceDefinition: kind: "CustomResourceDefinition" = "CustomResourceDefinition" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CustomResourceDefinitionSpec diff --git a/k8s/1.17/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition_list.k b/k8s/1.17/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition_list.k index d380cb53..720e5de8 100644 --- a/k8s/1.17/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition_list.k +++ b/k8s/1.17/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition_list.k @@ -3,7 +3,7 @@ This is the custom_resource_definition_list module in k8s.apiextensions_apiserve This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CustomResourceDefinitionList: @@ -18,7 +18,7 @@ schema CustomResourceDefinitionList: items list individual CustomResourceDefinition objects kind : str, default is "CustomResourceDefinitionList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema CustomResourceDefinitionList: kind: "CustomResourceDefinitionList" = "CustomResourceDefinitionList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/apiextensions_apiserver/pkg/apis/apiextensions/v1beta1/custom_resource_definition.k b/k8s/1.17/apiextensions_apiserver/pkg/apis/apiextensions/v1beta1/custom_resource_definition.k index 8dd4e46a..8966dcaa 100644 --- a/k8s/1.17/apiextensions_apiserver/pkg/apis/apiextensions/v1beta1/custom_resource_definition.k +++ b/k8s/1.17/apiextensions_apiserver/pkg/apis/apiextensions/v1beta1/custom_resource_definition.k @@ -3,7 +3,7 @@ This is the custom_resource_definition module in k8s.apiextensions_apiserver.pkg This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CustomResourceDefinition: @@ -16,7 +16,7 @@ schema CustomResourceDefinition: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CustomResourceDefinition", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : CustomResourceDefinitionSpec, default is Undefined, required spec describes how the user wants the resources to appear @@ -27,7 +27,7 @@ schema CustomResourceDefinition: kind: "CustomResourceDefinition" = "CustomResourceDefinition" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CustomResourceDefinitionSpec diff --git a/k8s/1.17/apiextensions_apiserver/pkg/apis/apiextensions/v1beta1/custom_resource_definition_list.k b/k8s/1.17/apiextensions_apiserver/pkg/apis/apiextensions/v1beta1/custom_resource_definition_list.k index df4417b5..8d4519cd 100644 --- a/k8s/1.17/apiextensions_apiserver/pkg/apis/apiextensions/v1beta1/custom_resource_definition_list.k +++ b/k8s/1.17/apiextensions_apiserver/pkg/apis/apiextensions/v1beta1/custom_resource_definition_list.k @@ -3,7 +3,7 @@ This is the custom_resource_definition_list module in k8s.apiextensions_apiserve This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CustomResourceDefinitionList: @@ -18,7 +18,7 @@ schema CustomResourceDefinitionList: items list individual CustomResourceDefinition objects kind : str, default is "CustomResourceDefinitionList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema CustomResourceDefinitionList: kind: "CustomResourceDefinitionList" = "CustomResourceDefinitionList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/kcl.mod b/k8s/1.17/kcl.mod index 7fc47463..47e0a510 100644 --- a/k8s/1.17/kcl.mod +++ b/k8s/1.17/kcl.mod @@ -1,5 +1,5 @@ [package] name = "k8s" edition = "*" -version = "1.17.1" +version = "1.17.2" description = "`k8s` is a KCL module contains all the built-in Kubernetes resource models (the CRDs are not included here)." diff --git a/k8s/1.17/kube_aggregator/pkg/apis/apiregistration/v1/api_service.k b/k8s/1.17/kube_aggregator/pkg/apis/apiregistration/v1/api_service.k index d7575e41..b9fd5e11 100644 --- a/k8s/1.17/kube_aggregator/pkg/apis/apiregistration/v1/api_service.k +++ b/k8s/1.17/kube_aggregator/pkg/apis/apiregistration/v1/api_service.k @@ -3,7 +3,7 @@ This is the api_service module in k8s.kube_aggregator.pkg.apis.apiregistration.v This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema APIService: @@ -16,7 +16,7 @@ schema APIService: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "APIService", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : APIServiceSpec, default is Undefined, optional Spec contains information for locating and communicating with a server @@ -27,7 +27,7 @@ schema APIService: kind: "APIService" = "APIService" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: APIServiceSpec diff --git a/k8s/1.17/kube_aggregator/pkg/apis/apiregistration/v1/api_service_list.k b/k8s/1.17/kube_aggregator/pkg/apis/apiregistration/v1/api_service_list.k index a4190ded..5f850817 100644 --- a/k8s/1.17/kube_aggregator/pkg/apis/apiregistration/v1/api_service_list.k +++ b/k8s/1.17/kube_aggregator/pkg/apis/apiregistration/v1/api_service_list.k @@ -3,7 +3,7 @@ This is the api_service_list module in k8s.kube_aggregator.pkg.apis.apiregistrat This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema APIServiceList: @@ -18,7 +18,7 @@ schema APIServiceList: items kind : str, default is "APIServiceList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema APIServiceList: kind: "APIServiceList" = "APIServiceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.17/kube_aggregator/pkg/apis/apiregistration/v1beta1/api_service.k b/k8s/1.17/kube_aggregator/pkg/apis/apiregistration/v1beta1/api_service.k index 5c0348eb..d88e6dfc 100644 --- a/k8s/1.17/kube_aggregator/pkg/apis/apiregistration/v1beta1/api_service.k +++ b/k8s/1.17/kube_aggregator/pkg/apis/apiregistration/v1beta1/api_service.k @@ -3,7 +3,7 @@ This is the api_service module in k8s.kube_aggregator.pkg.apis.apiregistration.v This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema APIService: @@ -16,7 +16,7 @@ schema APIService: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "APIService", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : APIServiceSpec, default is Undefined, optional Spec contains information for locating and communicating with a server @@ -27,7 +27,7 @@ schema APIService: kind: "APIService" = "APIService" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: APIServiceSpec diff --git a/k8s/1.17/kube_aggregator/pkg/apis/apiregistration/v1beta1/api_service_list.k b/k8s/1.17/kube_aggregator/pkg/apis/apiregistration/v1beta1/api_service_list.k index f829e37d..75989315 100644 --- a/k8s/1.17/kube_aggregator/pkg/apis/apiregistration/v1beta1/api_service_list.k +++ b/k8s/1.17/kube_aggregator/pkg/apis/apiregistration/v1beta1/api_service_list.k @@ -3,7 +3,7 @@ This is the api_service_list module in k8s.kube_aggregator.pkg.apis.apiregistrat This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema APIServiceList: @@ -18,7 +18,7 @@ schema APIServiceList: items kind : str, default is "APIServiceList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema APIServiceList: kind: "APIServiceList" = "APIServiceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.18/api/admissionregistration/v1/mutating_webhook.k b/k8s/1.18/api/admissionregistration/v1/mutating_webhook.k index dad9a26f..14dff1c3 100644 --- a/k8s/1.18/api/admissionregistration/v1/mutating_webhook.k +++ b/k8s/1.18/api/admissionregistration/v1/mutating_webhook.k @@ -3,7 +3,7 @@ This is the mutating_webhook module in k8s.api.admissionregistration.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MutatingWebhook: @@ -28,7 +28,7 @@ schema MutatingWebhook: Defaults to "Equivalent" name : str, default is Undefined, required The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook. For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1"; you will set the selector as follows: "namespaceSelector": { @@ -60,7 +60,7 @@ schema MutatingWebhook: See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors. Default to the empty LabelSelector, which matches everything. - objectSelector : v1.LabelSelector, default is Undefined, optional + objectSelector : metav1.LabelSelector, default is Undefined, optional ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything. reinvocationPolicy : str, default is Undefined, optional reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded". @@ -89,9 +89,9 @@ schema MutatingWebhook: name: str - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector - objectSelector?: v1.LabelSelector + objectSelector?: metav1.LabelSelector reinvocationPolicy?: str diff --git a/k8s/1.18/api/admissionregistration/v1/mutating_webhook_configuration.k b/k8s/1.18/api/admissionregistration/v1/mutating_webhook_configuration.k index a9864b32..0c970740 100644 --- a/k8s/1.18/api/admissionregistration/v1/mutating_webhook_configuration.k +++ b/k8s/1.18/api/admissionregistration/v1/mutating_webhook_configuration.k @@ -3,7 +3,7 @@ This is the mutating_webhook_configuration module in k8s.api.admissionregistrati This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MutatingWebhookConfiguration: @@ -16,7 +16,7 @@ schema MutatingWebhookConfiguration: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "MutatingWebhookConfiguration", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. webhooks : [MutatingWebhook], default is Undefined, optional Webhooks is a list of webhooks and the affected resources and operations. @@ -27,7 +27,7 @@ schema MutatingWebhookConfiguration: kind: "MutatingWebhookConfiguration" = "MutatingWebhookConfiguration" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta webhooks?: [MutatingWebhook] diff --git a/k8s/1.18/api/admissionregistration/v1/mutating_webhook_configuration_list.k b/k8s/1.18/api/admissionregistration/v1/mutating_webhook_configuration_list.k index d4e15e81..b6fd6022 100644 --- a/k8s/1.18/api/admissionregistration/v1/mutating_webhook_configuration_list.k +++ b/k8s/1.18/api/admissionregistration/v1/mutating_webhook_configuration_list.k @@ -3,7 +3,7 @@ This is the mutating_webhook_configuration_list module in k8s.api.admissionregis This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MutatingWebhookConfigurationList: @@ -18,7 +18,7 @@ schema MutatingWebhookConfigurationList: List of MutatingWebhookConfiguration. kind : str, default is "MutatingWebhookConfigurationList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema MutatingWebhookConfigurationList: kind: "MutatingWebhookConfigurationList" = "MutatingWebhookConfigurationList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.18/api/admissionregistration/v1/validating_webhook.k b/k8s/1.18/api/admissionregistration/v1/validating_webhook.k index 112ca984..dc45ba72 100644 --- a/k8s/1.18/api/admissionregistration/v1/validating_webhook.k +++ b/k8s/1.18/api/admissionregistration/v1/validating_webhook.k @@ -3,7 +3,7 @@ This is the validating_webhook module in k8s.api.admissionregistration.v1 packag This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingWebhook: @@ -28,7 +28,7 @@ schema ValidatingWebhook: Defaults to "Equivalent" name : str, default is Undefined, required The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook. For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1"; you will set the selector as follows: "namespaceSelector": { @@ -60,7 +60,7 @@ schema ValidatingWebhook: See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels for more examples of label selectors. Default to the empty LabelSelector, which matches everything. - objectSelector : v1.LabelSelector, default is Undefined, optional + objectSelector : metav1.LabelSelector, default is Undefined, optional ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything. rules : [RuleWithOperations], default is Undefined, optional Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects. @@ -81,9 +81,9 @@ schema ValidatingWebhook: name: str - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector - objectSelector?: v1.LabelSelector + objectSelector?: metav1.LabelSelector rules?: [RuleWithOperations] diff --git a/k8s/1.18/api/admissionregistration/v1/validating_webhook_configuration.k b/k8s/1.18/api/admissionregistration/v1/validating_webhook_configuration.k index 2b45293a..e35bb335 100644 --- a/k8s/1.18/api/admissionregistration/v1/validating_webhook_configuration.k +++ b/k8s/1.18/api/admissionregistration/v1/validating_webhook_configuration.k @@ -3,7 +3,7 @@ This is the validating_webhook_configuration module in k8s.api.admissionregistra This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingWebhookConfiguration: @@ -16,7 +16,7 @@ schema ValidatingWebhookConfiguration: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ValidatingWebhookConfiguration", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. webhooks : [ValidatingWebhook], default is Undefined, optional Webhooks is a list of webhooks and the affected resources and operations. @@ -27,7 +27,7 @@ schema ValidatingWebhookConfiguration: kind: "ValidatingWebhookConfiguration" = "ValidatingWebhookConfiguration" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta webhooks?: [ValidatingWebhook] diff --git a/k8s/1.18/api/admissionregistration/v1/validating_webhook_configuration_list.k b/k8s/1.18/api/admissionregistration/v1/validating_webhook_configuration_list.k index 0515b188..2691da1c 100644 --- a/k8s/1.18/api/admissionregistration/v1/validating_webhook_configuration_list.k +++ b/k8s/1.18/api/admissionregistration/v1/validating_webhook_configuration_list.k @@ -3,7 +3,7 @@ This is the validating_webhook_configuration_list module in k8s.api.admissionreg This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingWebhookConfigurationList: @@ -18,7 +18,7 @@ schema ValidatingWebhookConfigurationList: List of ValidatingWebhookConfiguration. kind : str, default is "ValidatingWebhookConfigurationList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ValidatingWebhookConfigurationList: kind: "ValidatingWebhookConfigurationList" = "ValidatingWebhookConfigurationList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.18/api/admissionregistration/v1beta1/mutating_webhook.k b/k8s/1.18/api/admissionregistration/v1beta1/mutating_webhook.k index d8f6f60e..67eb1d6c 100644 --- a/k8s/1.18/api/admissionregistration/v1beta1/mutating_webhook.k +++ b/k8s/1.18/api/admissionregistration/v1beta1/mutating_webhook.k @@ -3,7 +3,7 @@ This is the mutating_webhook module in k8s.api.admissionregistration.v1beta1 pac This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MutatingWebhook: @@ -28,7 +28,7 @@ schema MutatingWebhook: Defaults to "Exact" name : str, default is Undefined, required The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook. For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1"; you will set the selector as follows: "namespaceSelector": { @@ -60,7 +60,7 @@ schema MutatingWebhook: See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors. Default to the empty LabelSelector, which matches everything. - objectSelector : v1.LabelSelector, default is Undefined, optional + objectSelector : metav1.LabelSelector, default is Undefined, optional ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything. reinvocationPolicy : str, default is Undefined, optional reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded". @@ -89,9 +89,9 @@ schema MutatingWebhook: name: str - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector - objectSelector?: v1.LabelSelector + objectSelector?: metav1.LabelSelector reinvocationPolicy?: str diff --git a/k8s/1.18/api/admissionregistration/v1beta1/mutating_webhook_configuration.k b/k8s/1.18/api/admissionregistration/v1beta1/mutating_webhook_configuration.k index 6393b519..25598a7d 100644 --- a/k8s/1.18/api/admissionregistration/v1beta1/mutating_webhook_configuration.k +++ b/k8s/1.18/api/admissionregistration/v1beta1/mutating_webhook_configuration.k @@ -3,7 +3,7 @@ This is the mutating_webhook_configuration module in k8s.api.admissionregistrati This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MutatingWebhookConfiguration: @@ -16,7 +16,7 @@ schema MutatingWebhookConfiguration: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "MutatingWebhookConfiguration", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. webhooks : [MutatingWebhook], default is Undefined, optional Webhooks is a list of webhooks and the affected resources and operations. @@ -27,7 +27,7 @@ schema MutatingWebhookConfiguration: kind: "MutatingWebhookConfiguration" = "MutatingWebhookConfiguration" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta webhooks?: [MutatingWebhook] diff --git a/k8s/1.18/api/admissionregistration/v1beta1/mutating_webhook_configuration_list.k b/k8s/1.18/api/admissionregistration/v1beta1/mutating_webhook_configuration_list.k index 12c40d69..a56f0976 100644 --- a/k8s/1.18/api/admissionregistration/v1beta1/mutating_webhook_configuration_list.k +++ b/k8s/1.18/api/admissionregistration/v1beta1/mutating_webhook_configuration_list.k @@ -3,7 +3,7 @@ This is the mutating_webhook_configuration_list module in k8s.api.admissionregis This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MutatingWebhookConfigurationList: @@ -18,7 +18,7 @@ schema MutatingWebhookConfigurationList: List of MutatingWebhookConfiguration. kind : str, default is "MutatingWebhookConfigurationList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema MutatingWebhookConfigurationList: kind: "MutatingWebhookConfigurationList" = "MutatingWebhookConfigurationList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.18/api/admissionregistration/v1beta1/validating_webhook.k b/k8s/1.18/api/admissionregistration/v1beta1/validating_webhook.k index e4e2e47f..df5b8775 100644 --- a/k8s/1.18/api/admissionregistration/v1beta1/validating_webhook.k +++ b/k8s/1.18/api/admissionregistration/v1beta1/validating_webhook.k @@ -3,7 +3,7 @@ This is the validating_webhook module in k8s.api.admissionregistration.v1beta1 p This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingWebhook: @@ -28,7 +28,7 @@ schema ValidatingWebhook: Defaults to "Exact" name : str, default is Undefined, required The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook. For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1"; you will set the selector as follows: "namespaceSelector": { @@ -60,7 +60,7 @@ schema ValidatingWebhook: See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels for more examples of label selectors. Default to the empty LabelSelector, which matches everything. - objectSelector : v1.LabelSelector, default is Undefined, optional + objectSelector : metav1.LabelSelector, default is Undefined, optional ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything. rules : [RuleWithOperations], default is Undefined, optional Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects. @@ -81,9 +81,9 @@ schema ValidatingWebhook: name: str - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector - objectSelector?: v1.LabelSelector + objectSelector?: metav1.LabelSelector rules?: [RuleWithOperations] diff --git a/k8s/1.18/api/admissionregistration/v1beta1/validating_webhook_configuration.k b/k8s/1.18/api/admissionregistration/v1beta1/validating_webhook_configuration.k index 9aff9003..9d848985 100644 --- a/k8s/1.18/api/admissionregistration/v1beta1/validating_webhook_configuration.k +++ b/k8s/1.18/api/admissionregistration/v1beta1/validating_webhook_configuration.k @@ -3,7 +3,7 @@ This is the validating_webhook_configuration module in k8s.api.admissionregistra This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingWebhookConfiguration: @@ -16,7 +16,7 @@ schema ValidatingWebhookConfiguration: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ValidatingWebhookConfiguration", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. webhooks : [ValidatingWebhook], default is Undefined, optional Webhooks is a list of webhooks and the affected resources and operations. @@ -27,7 +27,7 @@ schema ValidatingWebhookConfiguration: kind: "ValidatingWebhookConfiguration" = "ValidatingWebhookConfiguration" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta webhooks?: [ValidatingWebhook] diff --git a/k8s/1.18/api/admissionregistration/v1beta1/validating_webhook_configuration_list.k b/k8s/1.18/api/admissionregistration/v1beta1/validating_webhook_configuration_list.k index 53370083..64780e0f 100644 --- a/k8s/1.18/api/admissionregistration/v1beta1/validating_webhook_configuration_list.k +++ b/k8s/1.18/api/admissionregistration/v1beta1/validating_webhook_configuration_list.k @@ -3,7 +3,7 @@ This is the validating_webhook_configuration_list module in k8s.api.admissionreg This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingWebhookConfigurationList: @@ -18,7 +18,7 @@ schema ValidatingWebhookConfigurationList: List of ValidatingWebhookConfiguration. kind : str, default is "ValidatingWebhookConfigurationList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ValidatingWebhookConfigurationList: kind: "ValidatingWebhookConfigurationList" = "ValidatingWebhookConfigurationList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.18/api/apps/v1/controller_revision.k b/k8s/1.18/api/apps/v1/controller_revision.k index dbb3d441..56163182 100644 --- a/k8s/1.18/api/apps/v1/controller_revision.k +++ b/k8s/1.18/api/apps/v1/controller_revision.k @@ -3,7 +3,7 @@ This is the controller_revision module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ControllerRevision: @@ -18,7 +18,7 @@ schema ControllerRevision: Data is the serialized representation of the state. kind : str, default is "ControllerRevision", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata revision : int, default is Undefined, required Revision indicates the revision of the state represented by Data. @@ -31,7 +31,7 @@ schema ControllerRevision: kind: "ControllerRevision" = "ControllerRevision" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta revision: int diff --git a/k8s/1.18/api/apps/v1/controller_revision_list.k b/k8s/1.18/api/apps/v1/controller_revision_list.k index e145fcff..bb64d1fe 100644 --- a/k8s/1.18/api/apps/v1/controller_revision_list.k +++ b/k8s/1.18/api/apps/v1/controller_revision_list.k @@ -3,7 +3,7 @@ This is the controller_revision_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ControllerRevisionList: @@ -18,7 +18,7 @@ schema ControllerRevisionList: Items is the list of ControllerRevisions kind : str, default is "ControllerRevisionList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema ControllerRevisionList: kind: "ControllerRevisionList" = "ControllerRevisionList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.18/api/apps/v1/daemon_set.k b/k8s/1.18/api/apps/v1/daemon_set.k index 33e7b68b..fd1c7c20 100644 --- a/k8s/1.18/api/apps/v1/daemon_set.k +++ b/k8s/1.18/api/apps/v1/daemon_set.k @@ -3,7 +3,7 @@ This is the daemon_set module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DaemonSet: @@ -16,7 +16,7 @@ schema DaemonSet: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "DaemonSet", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : DaemonSetSpec, default is Undefined, optional The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema DaemonSet: kind: "DaemonSet" = "DaemonSet" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: DaemonSetSpec diff --git a/k8s/1.18/api/apps/v1/daemon_set_list.k b/k8s/1.18/api/apps/v1/daemon_set_list.k index 3515d999..795c26f8 100644 --- a/k8s/1.18/api/apps/v1/daemon_set_list.k +++ b/k8s/1.18/api/apps/v1/daemon_set_list.k @@ -3,7 +3,7 @@ This is the daemon_set_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DaemonSetList: @@ -18,7 +18,7 @@ schema DaemonSetList: A list of daemon sets. kind : str, default is "DaemonSetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema DaemonSetList: kind: "DaemonSetList" = "DaemonSetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.18/api/apps/v1/daemon_set_spec.k b/k8s/1.18/api/apps/v1/daemon_set_spec.k index caf3faf8..352f849c 100644 --- a/k8s/1.18/api/apps/v1/daemon_set_spec.k +++ b/k8s/1.18/api/apps/v1/daemon_set_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DaemonSetSpec: @@ -17,7 +17,7 @@ schema DaemonSetSpec: The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready). revisionHistoryLimit : int, default is Undefined, optional The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required A label query over pods that are managed by the daemon set. Must match in order to be controlled. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors template : corev1.PodTemplateSpec, default is Undefined, required An object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template @@ -30,7 +30,7 @@ schema DaemonSetSpec: revisionHistoryLimit?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector template: corev1.PodTemplateSpec diff --git a/k8s/1.18/api/apps/v1/deployment.k b/k8s/1.18/api/apps/v1/deployment.k index 9b4af78c..6572679c 100644 --- a/k8s/1.18/api/apps/v1/deployment.k +++ b/k8s/1.18/api/apps/v1/deployment.k @@ -3,7 +3,7 @@ This is the deployment module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Deployment: @@ -16,7 +16,7 @@ schema Deployment: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Deployment", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. spec : DeploymentSpec, default is Undefined, optional Specification of the desired behavior of the Deployment. @@ -27,7 +27,7 @@ schema Deployment: kind: "Deployment" = "Deployment" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: DeploymentSpec diff --git a/k8s/1.18/api/apps/v1/deployment_list.k b/k8s/1.18/api/apps/v1/deployment_list.k index a83ce0d5..8fa44e9b 100644 --- a/k8s/1.18/api/apps/v1/deployment_list.k +++ b/k8s/1.18/api/apps/v1/deployment_list.k @@ -3,7 +3,7 @@ This is the deployment_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DeploymentList: @@ -18,7 +18,7 @@ schema DeploymentList: Items is the list of Deployments. kind : str, default is "DeploymentList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema DeploymentList: kind: "DeploymentList" = "DeploymentList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.18/api/apps/v1/deployment_spec.k b/k8s/1.18/api/apps/v1/deployment_spec.k index b8591d9a..c0f14ef0 100644 --- a/k8s/1.18/api/apps/v1/deployment_spec.k +++ b/k8s/1.18/api/apps/v1/deployment_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DeploymentSpec: @@ -23,7 +23,7 @@ schema DeploymentSpec: Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1. revisionHistoryLimit : int, default is Undefined, optional The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. It must match the pod template's labels. strategy : DeploymentStrategy, default is Undefined, optional The deployment strategy to use to replace existing pods with new ones. @@ -42,7 +42,7 @@ schema DeploymentSpec: revisionHistoryLimit?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector strategy?: DeploymentStrategy diff --git a/k8s/1.18/api/apps/v1/replica_set.k b/k8s/1.18/api/apps/v1/replica_set.k index 0497ff66..79552175 100644 --- a/k8s/1.18/api/apps/v1/replica_set.k +++ b/k8s/1.18/api/apps/v1/replica_set.k @@ -3,7 +3,7 @@ This is the replica_set module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicaSet: @@ -16,7 +16,7 @@ schema ReplicaSet: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ReplicaSet", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : ReplicaSetSpec, default is Undefined, optional Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema ReplicaSet: kind: "ReplicaSet" = "ReplicaSet" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ReplicaSetSpec diff --git a/k8s/1.18/api/apps/v1/replica_set_list.k b/k8s/1.18/api/apps/v1/replica_set_list.k index 0e25bef7..689ca9bb 100644 --- a/k8s/1.18/api/apps/v1/replica_set_list.k +++ b/k8s/1.18/api/apps/v1/replica_set_list.k @@ -3,7 +3,7 @@ This is the replica_set_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicaSetList: @@ -18,7 +18,7 @@ schema ReplicaSetList: List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller kind : str, default is "ReplicaSetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ReplicaSetList: kind: "ReplicaSetList" = "ReplicaSetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.18/api/apps/v1/replica_set_spec.k b/k8s/1.18/api/apps/v1/replica_set_spec.k index 700810d3..53ae3f6f 100644 --- a/k8s/1.18/api/apps/v1/replica_set_spec.k +++ b/k8s/1.18/api/apps/v1/replica_set_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicaSetSpec: @@ -17,7 +17,7 @@ schema ReplicaSetSpec: Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) replicas : int, default is Undefined, optional Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required Selector is a label query over pods that should match the replica count. Label keys and values that must match in order to be controlled by this replica set. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors template : corev1.PodTemplateSpec, default is Undefined, optional Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template @@ -28,7 +28,7 @@ schema ReplicaSetSpec: replicas?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector template?: corev1.PodTemplateSpec diff --git a/k8s/1.18/api/apps/v1/stateful_set.k b/k8s/1.18/api/apps/v1/stateful_set.k index d069bd3c..1ae50fc7 100644 --- a/k8s/1.18/api/apps/v1/stateful_set.k +++ b/k8s/1.18/api/apps/v1/stateful_set.k @@ -3,7 +3,7 @@ This is the stateful_set module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StatefulSet: @@ -19,7 +19,7 @@ schema StatefulSet: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "StatefulSet", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : StatefulSetSpec, default is Undefined, optional Spec defines the desired identities of pods in this set. @@ -30,7 +30,7 @@ schema StatefulSet: kind: "StatefulSet" = "StatefulSet" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: StatefulSetSpec diff --git a/k8s/1.18/api/apps/v1/stateful_set_list.k b/k8s/1.18/api/apps/v1/stateful_set_list.k index cb8e7543..96301762 100644 --- a/k8s/1.18/api/apps/v1/stateful_set_list.k +++ b/k8s/1.18/api/apps/v1/stateful_set_list.k @@ -3,7 +3,7 @@ This is the stateful_set_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StatefulSetList: @@ -18,7 +18,7 @@ schema StatefulSetList: items kind : str, default is "StatefulSetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema StatefulSetList: kind: "StatefulSetList" = "StatefulSetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.18/api/apps/v1/stateful_set_spec.k b/k8s/1.18/api/apps/v1/stateful_set_spec.k index 4deeb5ed..14e6e0ee 100644 --- a/k8s/1.18/api/apps/v1/stateful_set_spec.k +++ b/k8s/1.18/api/apps/v1/stateful_set_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StatefulSetSpec: @@ -19,7 +19,7 @@ schema StatefulSetSpec: replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1. revisionHistoryLimit : int, default is Undefined, optional revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10. - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required selector is a label query over pods that should match the replica count. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors serviceName : str, default is Undefined, required serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where "pod-specific-string" is managed by the StatefulSet controller. @@ -38,7 +38,7 @@ schema StatefulSetSpec: revisionHistoryLimit?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector serviceName: str diff --git a/k8s/1.18/api/auditregistration/v1alpha1/audit_sink.k b/k8s/1.18/api/auditregistration/v1alpha1/audit_sink.k index 6f17515f..a5bbf6eb 100644 --- a/k8s/1.18/api/auditregistration/v1alpha1/audit_sink.k +++ b/k8s/1.18/api/auditregistration/v1alpha1/audit_sink.k @@ -3,7 +3,7 @@ This is the audit_sink module in k8s.api.auditregistration.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema AuditSink: @@ -16,7 +16,7 @@ schema AuditSink: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "AuditSink", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : AuditSinkSpec, default is Undefined, optional Spec defines the audit configuration spec @@ -27,7 +27,7 @@ schema AuditSink: kind: "AuditSink" = "AuditSink" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: AuditSinkSpec diff --git a/k8s/1.18/api/auditregistration/v1alpha1/audit_sink_list.k b/k8s/1.18/api/auditregistration/v1alpha1/audit_sink_list.k index e4a22dc0..028ad173 100644 --- a/k8s/1.18/api/auditregistration/v1alpha1/audit_sink_list.k +++ b/k8s/1.18/api/auditregistration/v1alpha1/audit_sink_list.k @@ -3,7 +3,7 @@ This is the audit_sink_list module in k8s.api.auditregistration.v1alpha1 package This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema AuditSinkList: @@ -18,7 +18,7 @@ schema AuditSinkList: List of audit configurations. kind : str, default is "AuditSinkList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema AuditSinkList: kind: "AuditSinkList" = "AuditSinkList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.18/api/authentication/v1/token_request.k b/k8s/1.18/api/authentication/v1/token_request.k index 66d2e5e8..42e94dd8 100644 --- a/k8s/1.18/api/authentication/v1/token_request.k +++ b/k8s/1.18/api/authentication/v1/token_request.k @@ -3,7 +3,7 @@ This is the token_request module in k8s.api.authentication.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema TokenRequest: @@ -16,7 +16,7 @@ schema TokenRequest: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "TokenRequest", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : TokenRequestSpec, default is Undefined, required spec @@ -27,7 +27,7 @@ schema TokenRequest: kind: "TokenRequest" = "TokenRequest" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: TokenRequestSpec diff --git a/k8s/1.18/api/authentication/v1/token_review.k b/k8s/1.18/api/authentication/v1/token_review.k index c125cf34..eccc8ac7 100644 --- a/k8s/1.18/api/authentication/v1/token_review.k +++ b/k8s/1.18/api/authentication/v1/token_review.k @@ -3,7 +3,7 @@ This is the token_review module in k8s.api.authentication.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema TokenReview: @@ -16,7 +16,7 @@ schema TokenReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "TokenReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : TokenReviewSpec, default is Undefined, required Spec holds information about the request being evaluated @@ -27,7 +27,7 @@ schema TokenReview: kind: "TokenReview" = "TokenReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: TokenReviewSpec diff --git a/k8s/1.18/api/authentication/v1beta1/token_review.k b/k8s/1.18/api/authentication/v1beta1/token_review.k index 99abe8f4..b35b35ae 100644 --- a/k8s/1.18/api/authentication/v1beta1/token_review.k +++ b/k8s/1.18/api/authentication/v1beta1/token_review.k @@ -3,7 +3,7 @@ This is the token_review module in k8s.api.authentication.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema TokenReview: @@ -16,7 +16,7 @@ schema TokenReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "TokenReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : TokenReviewSpec, default is Undefined, required Spec holds information about the request being evaluated @@ -27,7 +27,7 @@ schema TokenReview: kind: "TokenReview" = "TokenReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: TokenReviewSpec diff --git a/k8s/1.18/api/authorization/v1/local_subject_access_review.k b/k8s/1.18/api/authorization/v1/local_subject_access_review.k index c9626db7..1c64a48c 100644 --- a/k8s/1.18/api/authorization/v1/local_subject_access_review.k +++ b/k8s/1.18/api/authorization/v1/local_subject_access_review.k @@ -3,7 +3,7 @@ This is the local_subject_access_review module in k8s.api.authorization.v1 packa This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LocalSubjectAccessReview: @@ -16,7 +16,7 @@ schema LocalSubjectAccessReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "LocalSubjectAccessReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : SubjectAccessReviewSpec, default is Undefined, required Spec holds information about the request being evaluated. spec.namespace must be equal to the namespace you made the request against. If empty, it is defaulted. @@ -27,7 +27,7 @@ schema LocalSubjectAccessReview: kind: "LocalSubjectAccessReview" = "LocalSubjectAccessReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SubjectAccessReviewSpec diff --git a/k8s/1.18/api/authorization/v1/self_subject_access_review.k b/k8s/1.18/api/authorization/v1/self_subject_access_review.k index 3de47c38..8ddd2611 100644 --- a/k8s/1.18/api/authorization/v1/self_subject_access_review.k +++ b/k8s/1.18/api/authorization/v1/self_subject_access_review.k @@ -3,7 +3,7 @@ This is the self_subject_access_review module in k8s.api.authorization.v1 packag This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SelfSubjectAccessReview: @@ -16,7 +16,7 @@ schema SelfSubjectAccessReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SelfSubjectAccessReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : SelfSubjectAccessReviewSpec, default is Undefined, required Spec holds information about the request being evaluated. user and groups must be empty @@ -27,7 +27,7 @@ schema SelfSubjectAccessReview: kind: "SelfSubjectAccessReview" = "SelfSubjectAccessReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SelfSubjectAccessReviewSpec diff --git a/k8s/1.18/api/authorization/v1/self_subject_rules_review.k b/k8s/1.18/api/authorization/v1/self_subject_rules_review.k index ad99c589..16ec3f9f 100644 --- a/k8s/1.18/api/authorization/v1/self_subject_rules_review.k +++ b/k8s/1.18/api/authorization/v1/self_subject_rules_review.k @@ -3,7 +3,7 @@ This is the self_subject_rules_review module in k8s.api.authorization.v1 package This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SelfSubjectRulesReview: @@ -16,7 +16,7 @@ schema SelfSubjectRulesReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SelfSubjectRulesReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : SelfSubjectRulesReviewSpec, default is Undefined, required Spec holds information about the request being evaluated. @@ -27,7 +27,7 @@ schema SelfSubjectRulesReview: kind: "SelfSubjectRulesReview" = "SelfSubjectRulesReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SelfSubjectRulesReviewSpec diff --git a/k8s/1.18/api/authorization/v1/subject_access_review.k b/k8s/1.18/api/authorization/v1/subject_access_review.k index 63054bce..92ace799 100644 --- a/k8s/1.18/api/authorization/v1/subject_access_review.k +++ b/k8s/1.18/api/authorization/v1/subject_access_review.k @@ -3,7 +3,7 @@ This is the subject_access_review module in k8s.api.authorization.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SubjectAccessReview: @@ -16,7 +16,7 @@ schema SubjectAccessReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SubjectAccessReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : SubjectAccessReviewSpec, default is Undefined, required Spec holds information about the request being evaluated @@ -27,7 +27,7 @@ schema SubjectAccessReview: kind: "SubjectAccessReview" = "SubjectAccessReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SubjectAccessReviewSpec diff --git a/k8s/1.18/api/authorization/v1beta1/local_subject_access_review.k b/k8s/1.18/api/authorization/v1beta1/local_subject_access_review.k index 687ff5e1..54883a47 100644 --- a/k8s/1.18/api/authorization/v1beta1/local_subject_access_review.k +++ b/k8s/1.18/api/authorization/v1beta1/local_subject_access_review.k @@ -3,7 +3,7 @@ This is the local_subject_access_review module in k8s.api.authorization.v1beta1 This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LocalSubjectAccessReview: @@ -16,7 +16,7 @@ schema LocalSubjectAccessReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "LocalSubjectAccessReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : SubjectAccessReviewSpec, default is Undefined, required Spec holds information about the request being evaluated. spec.namespace must be equal to the namespace you made the request against. If empty, it is defaulted. @@ -27,7 +27,7 @@ schema LocalSubjectAccessReview: kind: "LocalSubjectAccessReview" = "LocalSubjectAccessReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SubjectAccessReviewSpec diff --git a/k8s/1.18/api/authorization/v1beta1/self_subject_access_review.k b/k8s/1.18/api/authorization/v1beta1/self_subject_access_review.k index 05c83084..ee819623 100644 --- a/k8s/1.18/api/authorization/v1beta1/self_subject_access_review.k +++ b/k8s/1.18/api/authorization/v1beta1/self_subject_access_review.k @@ -3,7 +3,7 @@ This is the self_subject_access_review module in k8s.api.authorization.v1beta1 p This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SelfSubjectAccessReview: @@ -16,7 +16,7 @@ schema SelfSubjectAccessReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SelfSubjectAccessReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : SelfSubjectAccessReviewSpec, default is Undefined, required Spec holds information about the request being evaluated. user and groups must be empty @@ -27,7 +27,7 @@ schema SelfSubjectAccessReview: kind: "SelfSubjectAccessReview" = "SelfSubjectAccessReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SelfSubjectAccessReviewSpec diff --git a/k8s/1.18/api/authorization/v1beta1/self_subject_rules_review.k b/k8s/1.18/api/authorization/v1beta1/self_subject_rules_review.k index a71edd4d..51a41f51 100644 --- a/k8s/1.18/api/authorization/v1beta1/self_subject_rules_review.k +++ b/k8s/1.18/api/authorization/v1beta1/self_subject_rules_review.k @@ -3,7 +3,7 @@ This is the self_subject_rules_review module in k8s.api.authorization.v1beta1 pa This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SelfSubjectRulesReview: @@ -16,7 +16,7 @@ schema SelfSubjectRulesReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SelfSubjectRulesReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : SelfSubjectRulesReviewSpec, default is Undefined, required Spec holds information about the request being evaluated. @@ -27,7 +27,7 @@ schema SelfSubjectRulesReview: kind: "SelfSubjectRulesReview" = "SelfSubjectRulesReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SelfSubjectRulesReviewSpec diff --git a/k8s/1.18/api/authorization/v1beta1/subject_access_review.k b/k8s/1.18/api/authorization/v1beta1/subject_access_review.k index e28f6eed..9dcea762 100644 --- a/k8s/1.18/api/authorization/v1beta1/subject_access_review.k +++ b/k8s/1.18/api/authorization/v1beta1/subject_access_review.k @@ -3,7 +3,7 @@ This is the subject_access_review module in k8s.api.authorization.v1beta1 packag This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SubjectAccessReview: @@ -16,7 +16,7 @@ schema SubjectAccessReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SubjectAccessReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : SubjectAccessReviewSpec, default is Undefined, required Spec holds information about the request being evaluated @@ -27,7 +27,7 @@ schema SubjectAccessReview: kind: "SubjectAccessReview" = "SubjectAccessReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SubjectAccessReviewSpec diff --git a/k8s/1.18/api/autoscaling/v1/horizontal_pod_autoscaler.k b/k8s/1.18/api/autoscaling/v1/horizontal_pod_autoscaler.k index eea68027..b81a2839 100644 --- a/k8s/1.18/api/autoscaling/v1/horizontal_pod_autoscaler.k +++ b/k8s/1.18/api/autoscaling/v1/horizontal_pod_autoscaler.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler module in k8s.api.autoscaling.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscaler: @@ -16,7 +16,7 @@ schema HorizontalPodAutoscaler: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "HorizontalPodAutoscaler", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : HorizontalPodAutoscalerSpec, default is Undefined, optional behaviour of autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema HorizontalPodAutoscaler: kind: "HorizontalPodAutoscaler" = "HorizontalPodAutoscaler" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: HorizontalPodAutoscalerSpec diff --git a/k8s/1.18/api/autoscaling/v1/horizontal_pod_autoscaler_list.k b/k8s/1.18/api/autoscaling/v1/horizontal_pod_autoscaler_list.k index 829f7b8b..40a58fe3 100644 --- a/k8s/1.18/api/autoscaling/v1/horizontal_pod_autoscaler_list.k +++ b/k8s/1.18/api/autoscaling/v1/horizontal_pod_autoscaler_list.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler_list module in k8s.api.autoscaling.v1 pack This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscalerList: @@ -18,7 +18,7 @@ schema HorizontalPodAutoscalerList: list of horizontal pod autoscaler objects. kind : str, default is "HorizontalPodAutoscalerList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema HorizontalPodAutoscalerList: kind: "HorizontalPodAutoscalerList" = "HorizontalPodAutoscalerList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.18/api/autoscaling/v1/scale.k b/k8s/1.18/api/autoscaling/v1/scale.k index d9bbdae4..1466aa0e 100644 --- a/k8s/1.18/api/autoscaling/v1/scale.k +++ b/k8s/1.18/api/autoscaling/v1/scale.k @@ -3,7 +3,7 @@ This is the scale module in k8s.api.autoscaling.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Scale: @@ -16,7 +16,7 @@ schema Scale: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Scale", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. spec : ScaleSpec, default is Undefined, optional defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema Scale: kind: "Scale" = "Scale" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ScaleSpec diff --git a/k8s/1.18/api/autoscaling/v2beta1/external_metric_source.k b/k8s/1.18/api/autoscaling/v2beta1/external_metric_source.k index 23887048..b1ff85f3 100644 --- a/k8s/1.18/api/autoscaling/v2beta1/external_metric_source.k +++ b/k8s/1.18/api/autoscaling/v2beta1/external_metric_source.k @@ -3,7 +3,7 @@ This is the external_metric_source module in k8s.api.autoscaling.v2beta1 package This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ExternalMetricSource: @@ -14,7 +14,7 @@ schema ExternalMetricSource: ---------- metricName : str, default is Undefined, required metricName is the name of the metric in question. - metricSelector : v1.LabelSelector, default is Undefined, optional + metricSelector : metav1.LabelSelector, default is Undefined, optional metricSelector is used to identify a specific time series within a given metric. targetAverageValue : str, default is Undefined, optional targetAverageValue is the target per-pod value of global metric (as a quantity). Mutually exclusive with TargetValue. @@ -25,7 +25,7 @@ schema ExternalMetricSource: metricName: str - metricSelector?: v1.LabelSelector + metricSelector?: metav1.LabelSelector targetAverageValue?: str diff --git a/k8s/1.18/api/autoscaling/v2beta1/external_metric_status.k b/k8s/1.18/api/autoscaling/v2beta1/external_metric_status.k index 507ffd14..39a87bad 100644 --- a/k8s/1.18/api/autoscaling/v2beta1/external_metric_status.k +++ b/k8s/1.18/api/autoscaling/v2beta1/external_metric_status.k @@ -3,7 +3,7 @@ This is the external_metric_status module in k8s.api.autoscaling.v2beta1 package This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ExternalMetricStatus: @@ -18,7 +18,7 @@ schema ExternalMetricStatus: currentValue is the current value of the metric (as a quantity) metricName : str, default is Undefined, required metricName is the name of a metric used for autoscaling in metric system. - metricSelector : v1.LabelSelector, default is Undefined, optional + metricSelector : metav1.LabelSelector, default is Undefined, optional metricSelector is used to identify a specific time series within a given metric. """ @@ -29,6 +29,6 @@ schema ExternalMetricStatus: metricName: str - metricSelector?: v1.LabelSelector + metricSelector?: metav1.LabelSelector diff --git a/k8s/1.18/api/autoscaling/v2beta1/horizontal_pod_autoscaler.k b/k8s/1.18/api/autoscaling/v2beta1/horizontal_pod_autoscaler.k index 47c8b64c..4ea3ff99 100644 --- a/k8s/1.18/api/autoscaling/v2beta1/horizontal_pod_autoscaler.k +++ b/k8s/1.18/api/autoscaling/v2beta1/horizontal_pod_autoscaler.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler module in k8s.api.autoscaling.v2beta1 pack This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscaler: @@ -16,7 +16,7 @@ schema HorizontalPodAutoscaler: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "HorizontalPodAutoscaler", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : HorizontalPodAutoscalerSpec, default is Undefined, optional spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema HorizontalPodAutoscaler: kind: "HorizontalPodAutoscaler" = "HorizontalPodAutoscaler" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: HorizontalPodAutoscalerSpec diff --git a/k8s/1.18/api/autoscaling/v2beta1/horizontal_pod_autoscaler_list.k b/k8s/1.18/api/autoscaling/v2beta1/horizontal_pod_autoscaler_list.k index 95381428..4629310f 100644 --- a/k8s/1.18/api/autoscaling/v2beta1/horizontal_pod_autoscaler_list.k +++ b/k8s/1.18/api/autoscaling/v2beta1/horizontal_pod_autoscaler_list.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler_list module in k8s.api.autoscaling.v2beta1 This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscalerList: @@ -18,7 +18,7 @@ schema HorizontalPodAutoscalerList: items is the list of horizontal pod autoscaler objects. kind : str, default is "HorizontalPodAutoscalerList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata is the standard list metadata. """ @@ -29,6 +29,6 @@ schema HorizontalPodAutoscalerList: kind: "HorizontalPodAutoscalerList" = "HorizontalPodAutoscalerList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.18/api/autoscaling/v2beta1/object_metric_source.k b/k8s/1.18/api/autoscaling/v2beta1/object_metric_source.k index a8ff4213..af8d307f 100644 --- a/k8s/1.18/api/autoscaling/v2beta1/object_metric_source.k +++ b/k8s/1.18/api/autoscaling/v2beta1/object_metric_source.k @@ -3,7 +3,7 @@ This is the object_metric_source module in k8s.api.autoscaling.v2beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ObjectMetricSource: @@ -16,7 +16,7 @@ schema ObjectMetricSource: averageValue is the target value of the average of the metric across all relevant pods (as a quantity) metricName : str, default is Undefined, required metricName is the name of the metric in question. - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics. target : CrossVersionObjectReference, default is Undefined, required target is the described Kubernetes object. @@ -29,7 +29,7 @@ schema ObjectMetricSource: metricName: str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector target: CrossVersionObjectReference diff --git a/k8s/1.18/api/autoscaling/v2beta1/object_metric_status.k b/k8s/1.18/api/autoscaling/v2beta1/object_metric_status.k index 39aeb9de..b7054bd5 100644 --- a/k8s/1.18/api/autoscaling/v2beta1/object_metric_status.k +++ b/k8s/1.18/api/autoscaling/v2beta1/object_metric_status.k @@ -3,7 +3,7 @@ This is the object_metric_status module in k8s.api.autoscaling.v2beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ObjectMetricStatus: @@ -18,7 +18,7 @@ schema ObjectMetricStatus: currentValue is the current value of the metric (as a quantity). metricName : str, default is Undefined, required metricName is the name of the metric in question. - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the ObjectMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics. target : CrossVersionObjectReference, default is Undefined, required target is the described Kubernetes object. @@ -31,7 +31,7 @@ schema ObjectMetricStatus: metricName: str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector target: CrossVersionObjectReference diff --git a/k8s/1.18/api/autoscaling/v2beta1/pods_metric_source.k b/k8s/1.18/api/autoscaling/v2beta1/pods_metric_source.k index ee0111ef..850fcd7b 100644 --- a/k8s/1.18/api/autoscaling/v2beta1/pods_metric_source.k +++ b/k8s/1.18/api/autoscaling/v2beta1/pods_metric_source.k @@ -3,7 +3,7 @@ This is the pods_metric_source module in k8s.api.autoscaling.v2beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodsMetricSource: @@ -14,7 +14,7 @@ schema PodsMetricSource: ---------- metricName : str, default is Undefined, required metricName is the name of the metric in question - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics. targetAverageValue : str, default is Undefined, required targetAverageValue is the target value of the average of the metric across all relevant pods (as a quantity) @@ -23,7 +23,7 @@ schema PodsMetricSource: metricName: str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector targetAverageValue: str diff --git a/k8s/1.18/api/autoscaling/v2beta1/pods_metric_status.k b/k8s/1.18/api/autoscaling/v2beta1/pods_metric_status.k index 2d8c30c0..0792b4d4 100644 --- a/k8s/1.18/api/autoscaling/v2beta1/pods_metric_status.k +++ b/k8s/1.18/api/autoscaling/v2beta1/pods_metric_status.k @@ -3,7 +3,7 @@ This is the pods_metric_status module in k8s.api.autoscaling.v2beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodsMetricStatus: @@ -16,7 +16,7 @@ schema PodsMetricStatus: currentAverageValue is the current value of the average of the metric across all relevant pods (as a quantity) metricName : str, default is Undefined, required metricName is the name of the metric in question - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the PodsMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics. """ @@ -25,6 +25,6 @@ schema PodsMetricStatus: metricName: str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector diff --git a/k8s/1.18/api/autoscaling/v2beta2/horizontal_pod_autoscaler.k b/k8s/1.18/api/autoscaling/v2beta2/horizontal_pod_autoscaler.k index 9ab9ca42..fb10b245 100644 --- a/k8s/1.18/api/autoscaling/v2beta2/horizontal_pod_autoscaler.k +++ b/k8s/1.18/api/autoscaling/v2beta2/horizontal_pod_autoscaler.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler module in k8s.api.autoscaling.v2beta2 pack This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscaler: @@ -16,7 +16,7 @@ schema HorizontalPodAutoscaler: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "HorizontalPodAutoscaler", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : HorizontalPodAutoscalerSpec, default is Undefined, optional spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema HorizontalPodAutoscaler: kind: "HorizontalPodAutoscaler" = "HorizontalPodAutoscaler" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: HorizontalPodAutoscalerSpec diff --git a/k8s/1.18/api/autoscaling/v2beta2/horizontal_pod_autoscaler_list.k b/k8s/1.18/api/autoscaling/v2beta2/horizontal_pod_autoscaler_list.k index ad127934..152be58d 100644 --- a/k8s/1.18/api/autoscaling/v2beta2/horizontal_pod_autoscaler_list.k +++ b/k8s/1.18/api/autoscaling/v2beta2/horizontal_pod_autoscaler_list.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler_list module in k8s.api.autoscaling.v2beta2 This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscalerList: @@ -18,7 +18,7 @@ schema HorizontalPodAutoscalerList: items is the list of horizontal pod autoscaler objects. kind : str, default is "HorizontalPodAutoscalerList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata is the standard list metadata. """ @@ -29,6 +29,6 @@ schema HorizontalPodAutoscalerList: kind: "HorizontalPodAutoscalerList" = "HorizontalPodAutoscalerList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.18/api/autoscaling/v2beta2/metric_identifier.k b/k8s/1.18/api/autoscaling/v2beta2/metric_identifier.k index 18d313d2..06be0dff 100644 --- a/k8s/1.18/api/autoscaling/v2beta2/metric_identifier.k +++ b/k8s/1.18/api/autoscaling/v2beta2/metric_identifier.k @@ -3,7 +3,7 @@ This is the metric_identifier module in k8s.api.autoscaling.v2beta2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MetricIdentifier: @@ -14,13 +14,13 @@ schema MetricIdentifier: ---------- name : str, default is Undefined, required name is the name of the given metric - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics. """ name: str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector diff --git a/k8s/1.18/api/batch/v1/job.k b/k8s/1.18/api/batch/v1/job.k index 44fbc917..3e545aac 100644 --- a/k8s/1.18/api/batch/v1/job.k +++ b/k8s/1.18/api/batch/v1/job.k @@ -3,7 +3,7 @@ This is the job module in k8s.api.batch.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Job: @@ -16,7 +16,7 @@ schema Job: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Job", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : JobSpec, default is Undefined, optional Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Job: kind: "Job" = "Job" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: JobSpec diff --git a/k8s/1.18/api/batch/v1/job_list.k b/k8s/1.18/api/batch/v1/job_list.k index 88588804..e2f8aee6 100644 --- a/k8s/1.18/api/batch/v1/job_list.k +++ b/k8s/1.18/api/batch/v1/job_list.k @@ -3,7 +3,7 @@ This is the job_list module in k8s.api.batch.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema JobList: @@ -18,7 +18,7 @@ schema JobList: items is the list of Jobs. kind : str, default is "JobList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema JobList: kind: "JobList" = "JobList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.18/api/batch/v1/job_spec.k b/k8s/1.18/api/batch/v1/job_spec.k index 085f981e..732d97f5 100644 --- a/k8s/1.18/api/batch/v1/job_spec.k +++ b/k8s/1.18/api/batch/v1/job_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema JobSpec: @@ -23,7 +23,7 @@ schema JobSpec: manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector parallelism : int, default is Undefined, optional Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional A label query over pods that should match the pod count. Normally, the system sets this field for you. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors template : corev1.PodTemplateSpec, default is Undefined, required Describes the pod that will be created when executing a job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ @@ -42,7 +42,7 @@ schema JobSpec: parallelism?: int - selector?: v1.LabelSelector + selector?: metav1.LabelSelector template: corev1.PodTemplateSpec diff --git a/k8s/1.18/api/batch/v1beta1/cron_job.k b/k8s/1.18/api/batch/v1beta1/cron_job.k index 74c14606..d5d2aa07 100644 --- a/k8s/1.18/api/batch/v1beta1/cron_job.k +++ b/k8s/1.18/api/batch/v1beta1/cron_job.k @@ -3,7 +3,7 @@ This is the cron_job module in k8s.api.batch.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CronJob: @@ -16,7 +16,7 @@ schema CronJob: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CronJob", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : CronJobSpec, default is Undefined, optional Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema CronJob: kind: "CronJob" = "CronJob" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: CronJobSpec diff --git a/k8s/1.18/api/batch/v1beta1/cron_job_list.k b/k8s/1.18/api/batch/v1beta1/cron_job_list.k index cf174c33..4067f805 100644 --- a/k8s/1.18/api/batch/v1beta1/cron_job_list.k +++ b/k8s/1.18/api/batch/v1beta1/cron_job_list.k @@ -3,7 +3,7 @@ This is the cron_job_list module in k8s.api.batch.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CronJobList: @@ -18,7 +18,7 @@ schema CronJobList: items is the list of CronJobs. kind : str, default is "CronJobList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CronJobList: kind: "CronJobList" = "CronJobList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.18/api/batch/v1beta1/job_template_spec.k b/k8s/1.18/api/batch/v1beta1/job_template_spec.k index e032a659..733d4410 100644 --- a/k8s/1.18/api/batch/v1beta1/job_template_spec.k +++ b/k8s/1.18/api/batch/v1beta1/job_template_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.batch.v1 as batchV1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema JobTemplateSpec: @@ -13,14 +13,14 @@ schema JobTemplateSpec: Attributes ---------- - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : batchV1.JobSpec, default is Undefined, optional Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status """ - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: batchV1.JobSpec diff --git a/k8s/1.18/api/batch/v2alpha1/cron_job.k b/k8s/1.18/api/batch/v2alpha1/cron_job.k index 8668aa8b..7fb5f4c2 100644 --- a/k8s/1.18/api/batch/v2alpha1/cron_job.k +++ b/k8s/1.18/api/batch/v2alpha1/cron_job.k @@ -3,7 +3,7 @@ This is the cron_job module in k8s.api.batch.v2alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CronJob: @@ -16,7 +16,7 @@ schema CronJob: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CronJob", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : CronJobSpec, default is Undefined, optional Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema CronJob: kind: "CronJob" = "CronJob" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: CronJobSpec diff --git a/k8s/1.18/api/batch/v2alpha1/cron_job_list.k b/k8s/1.18/api/batch/v2alpha1/cron_job_list.k index c8b4031c..c6dbdcb5 100644 --- a/k8s/1.18/api/batch/v2alpha1/cron_job_list.k +++ b/k8s/1.18/api/batch/v2alpha1/cron_job_list.k @@ -3,7 +3,7 @@ This is the cron_job_list module in k8s.api.batch.v2alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CronJobList: @@ -18,7 +18,7 @@ schema CronJobList: items is the list of CronJobs. kind : str, default is "CronJobList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CronJobList: kind: "CronJobList" = "CronJobList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.18/api/batch/v2alpha1/job_template_spec.k b/k8s/1.18/api/batch/v2alpha1/job_template_spec.k index cb013cd7..53df89e9 100644 --- a/k8s/1.18/api/batch/v2alpha1/job_template_spec.k +++ b/k8s/1.18/api/batch/v2alpha1/job_template_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.batch.v1 as batchV1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema JobTemplateSpec: @@ -13,14 +13,14 @@ schema JobTemplateSpec: Attributes ---------- - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : batchV1.JobSpec, default is Undefined, optional Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status """ - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: batchV1.JobSpec diff --git a/k8s/1.18/api/certificates/v1beta1/certificate_signing_request.k b/k8s/1.18/api/certificates/v1beta1/certificate_signing_request.k index 2e5b2121..5b363aa8 100644 --- a/k8s/1.18/api/certificates/v1beta1/certificate_signing_request.k +++ b/k8s/1.18/api/certificates/v1beta1/certificate_signing_request.k @@ -3,7 +3,7 @@ This is the certificate_signing_request module in k8s.api.certificates.v1beta1 p This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CertificateSigningRequest: @@ -16,7 +16,7 @@ schema CertificateSigningRequest: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CertificateSigningRequest", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : CertificateSigningRequestSpec, default is Undefined, optional The certificate request itself and any additional information. @@ -27,7 +27,7 @@ schema CertificateSigningRequest: kind: "CertificateSigningRequest" = "CertificateSigningRequest" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: CertificateSigningRequestSpec diff --git a/k8s/1.18/api/certificates/v1beta1/certificate_signing_request_list.k b/k8s/1.18/api/certificates/v1beta1/certificate_signing_request_list.k index cc6c6ea4..80fde64b 100644 --- a/k8s/1.18/api/certificates/v1beta1/certificate_signing_request_list.k +++ b/k8s/1.18/api/certificates/v1beta1/certificate_signing_request_list.k @@ -3,7 +3,7 @@ This is the certificate_signing_request_list module in k8s.api.certificates.v1be This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CertificateSigningRequestList: @@ -18,7 +18,7 @@ schema CertificateSigningRequestList: items kind : str, default is "CertificateSigningRequestList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema CertificateSigningRequestList: kind: "CertificateSigningRequestList" = "CertificateSigningRequestList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.18/api/coordination/v1/lease.k b/k8s/1.18/api/coordination/v1/lease.k index f9d243c9..b3722c9a 100644 --- a/k8s/1.18/api/coordination/v1/lease.k +++ b/k8s/1.18/api/coordination/v1/lease.k @@ -3,7 +3,7 @@ This is the lease module in k8s.api.coordination.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Lease: @@ -16,7 +16,7 @@ schema Lease: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Lease", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : LeaseSpec, default is Undefined, optional Specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Lease: kind: "Lease" = "Lease" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: LeaseSpec diff --git a/k8s/1.18/api/coordination/v1/lease_list.k b/k8s/1.18/api/coordination/v1/lease_list.k index 64932a19..93a01ab6 100644 --- a/k8s/1.18/api/coordination/v1/lease_list.k +++ b/k8s/1.18/api/coordination/v1/lease_list.k @@ -3,7 +3,7 @@ This is the lease_list module in k8s.api.coordination.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LeaseList: @@ -18,7 +18,7 @@ schema LeaseList: Items is a list of schema objects. kind : str, default is "LeaseList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema LeaseList: kind: "LeaseList" = "LeaseList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.18/api/coordination/v1beta1/lease.k b/k8s/1.18/api/coordination/v1beta1/lease.k index b587d90e..b2095eed 100644 --- a/k8s/1.18/api/coordination/v1beta1/lease.k +++ b/k8s/1.18/api/coordination/v1beta1/lease.k @@ -3,7 +3,7 @@ This is the lease module in k8s.api.coordination.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Lease: @@ -16,7 +16,7 @@ schema Lease: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Lease", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : LeaseSpec, default is Undefined, optional Specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Lease: kind: "Lease" = "Lease" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: LeaseSpec diff --git a/k8s/1.18/api/coordination/v1beta1/lease_list.k b/k8s/1.18/api/coordination/v1beta1/lease_list.k index 2b78fddf..21212cfc 100644 --- a/k8s/1.18/api/coordination/v1beta1/lease_list.k +++ b/k8s/1.18/api/coordination/v1beta1/lease_list.k @@ -3,7 +3,7 @@ This is the lease_list module in k8s.api.coordination.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LeaseList: @@ -18,7 +18,7 @@ schema LeaseList: Items is a list of schema objects. kind : str, default is "LeaseList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema LeaseList: kind: "LeaseList" = "LeaseList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.18/api/core/v1/binding.k b/k8s/1.18/api/core/v1/binding.k index e6e478fe..077459fa 100644 --- a/k8s/1.18/api/core/v1/binding.k +++ b/k8s/1.18/api/core/v1/binding.k @@ -3,7 +3,7 @@ This is the binding module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Binding: @@ -16,7 +16,7 @@ schema Binding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Binding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata target : ObjectReference, default is Undefined, required The target object that you want to bind to the standard object. @@ -27,7 +27,7 @@ schema Binding: kind: "Binding" = "Binding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta target: ObjectReference diff --git a/k8s/1.18/api/core/v1/component_status.k b/k8s/1.18/api/core/v1/component_status.k index caa3f234..10c0d81a 100644 --- a/k8s/1.18/api/core/v1/component_status.k +++ b/k8s/1.18/api/core/v1/component_status.k @@ -3,7 +3,7 @@ This is the component_status module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ComponentStatus: @@ -18,7 +18,7 @@ schema ComponentStatus: List of component conditions observed kind : str, default is "ComponentStatus", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema ComponentStatus: kind: "ComponentStatus" = "ComponentStatus" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta diff --git a/k8s/1.18/api/core/v1/component_status_list.k b/k8s/1.18/api/core/v1/component_status_list.k index a2993ad2..5ef4e5d2 100644 --- a/k8s/1.18/api/core/v1/component_status_list.k +++ b/k8s/1.18/api/core/v1/component_status_list.k @@ -3,7 +3,7 @@ This is the component_status_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ComponentStatusList: @@ -18,7 +18,7 @@ schema ComponentStatusList: List of ComponentStatus objects. kind : str, default is "ComponentStatusList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ComponentStatusList: kind: "ComponentStatusList" = "ComponentStatusList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.18/api/core/v1/config_map.k b/k8s/1.18/api/core/v1/config_map.k index 8c5420b5..1c15f081 100644 --- a/k8s/1.18/api/core/v1/config_map.k +++ b/k8s/1.18/api/core/v1/config_map.k @@ -3,7 +3,7 @@ This is the config_map module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ConfigMap: @@ -22,7 +22,7 @@ schema ConfigMap: Immutable, if set to true, ensures that data stored in the ConfigMap cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil. This is an alpha field enabled by ImmutableEphemeralVolumes feature gate. kind : str, default is "ConfigMap", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -37,6 +37,6 @@ schema ConfigMap: kind: "ConfigMap" = "ConfigMap" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta diff --git a/k8s/1.18/api/core/v1/config_map_list.k b/k8s/1.18/api/core/v1/config_map_list.k index 5712f514..35df0e4b 100644 --- a/k8s/1.18/api/core/v1/config_map_list.k +++ b/k8s/1.18/api/core/v1/config_map_list.k @@ -3,7 +3,7 @@ This is the config_map_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ConfigMapList: @@ -18,7 +18,7 @@ schema ConfigMapList: Items is the list of ConfigMaps. kind : str, default is "ConfigMapList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema ConfigMapList: kind: "ConfigMapList" = "ConfigMapList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.18/api/core/v1/endpoints.k b/k8s/1.18/api/core/v1/endpoints.k index d123d8d8..3ac0d6cd 100644 --- a/k8s/1.18/api/core/v1/endpoints.k +++ b/k8s/1.18/api/core/v1/endpoints.k @@ -3,7 +3,7 @@ This is the endpoints module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Endpoints: @@ -27,7 +27,7 @@ schema Endpoints: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Endpoints", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata subsets : [EndpointSubset], default is Undefined, optional The set of all endpoints is the union of all subsets. Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service. @@ -38,7 +38,7 @@ schema Endpoints: kind: "Endpoints" = "Endpoints" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta subsets?: [EndpointSubset] diff --git a/k8s/1.18/api/core/v1/endpoints_list.k b/k8s/1.18/api/core/v1/endpoints_list.k index 7ccf6442..f019c842 100644 --- a/k8s/1.18/api/core/v1/endpoints_list.k +++ b/k8s/1.18/api/core/v1/endpoints_list.k @@ -3,7 +3,7 @@ This is the endpoints_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EndpointsList: @@ -18,7 +18,7 @@ schema EndpointsList: List of endpoints. kind : str, default is "EndpointsList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema EndpointsList: kind: "EndpointsList" = "EndpointsList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.18/api/core/v1/event.k b/k8s/1.18/api/core/v1/event.k index 41172283..7888457e 100644 --- a/k8s/1.18/api/core/v1/event.k +++ b/k8s/1.18/api/core/v1/event.k @@ -3,7 +3,7 @@ This is the event module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Event: @@ -30,7 +30,7 @@ schema Event: The time at which the most recent occurrence of this event was recorded. message : str, default is Undefined, optional A human-readable description of the status of this operation. - metadata : v1.ObjectMeta, default is Undefined, required + metadata : metav1.ObjectMeta, default is Undefined, required Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata reason : str, default is Undefined, optional This should be a short, machine understandable string that gives the reason for the transition into the object's current status. @@ -67,7 +67,7 @@ schema Event: message?: str - metadata: v1.ObjectMeta + metadata: metav1.ObjectMeta reason?: str diff --git a/k8s/1.18/api/core/v1/event_list.k b/k8s/1.18/api/core/v1/event_list.k index e543b7cf..d4ed6ffa 100644 --- a/k8s/1.18/api/core/v1/event_list.k +++ b/k8s/1.18/api/core/v1/event_list.k @@ -3,7 +3,7 @@ This is the event_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EventList: @@ -18,7 +18,7 @@ schema EventList: List of events kind : str, default is "EventList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema EventList: kind: "EventList" = "EventList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.18/api/core/v1/limit_range.k b/k8s/1.18/api/core/v1/limit_range.k index 5de64019..3c476447 100644 --- a/k8s/1.18/api/core/v1/limit_range.k +++ b/k8s/1.18/api/core/v1/limit_range.k @@ -3,7 +3,7 @@ This is the limit_range module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LimitRange: @@ -16,7 +16,7 @@ schema LimitRange: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "LimitRange", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : LimitRangeSpec, default is Undefined, optional Spec defines the limits enforced. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema LimitRange: kind: "LimitRange" = "LimitRange" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: LimitRangeSpec diff --git a/k8s/1.18/api/core/v1/limit_range_list.k b/k8s/1.18/api/core/v1/limit_range_list.k index 93063870..13be4b4b 100644 --- a/k8s/1.18/api/core/v1/limit_range_list.k +++ b/k8s/1.18/api/core/v1/limit_range_list.k @@ -3,7 +3,7 @@ This is the limit_range_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LimitRangeList: @@ -18,7 +18,7 @@ schema LimitRangeList: Items is a list of LimitRange objects. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ kind : str, default is "LimitRangeList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema LimitRangeList: kind: "LimitRangeList" = "LimitRangeList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.18/api/core/v1/namespace.k b/k8s/1.18/api/core/v1/namespace.k index 52b6b94f..66125388 100644 --- a/k8s/1.18/api/core/v1/namespace.k +++ b/k8s/1.18/api/core/v1/namespace.k @@ -3,7 +3,7 @@ This is the namespace module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Namespace: @@ -16,7 +16,7 @@ schema Namespace: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Namespace", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : NamespaceSpec, default is Undefined, optional Spec defines the behavior of the Namespace. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Namespace: kind: "Namespace" = "Namespace" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: NamespaceSpec diff --git a/k8s/1.18/api/core/v1/namespace_list.k b/k8s/1.18/api/core/v1/namespace_list.k index 0a362eac..1783b0bc 100644 --- a/k8s/1.18/api/core/v1/namespace_list.k +++ b/k8s/1.18/api/core/v1/namespace_list.k @@ -3,7 +3,7 @@ This is the namespace_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NamespaceList: @@ -18,7 +18,7 @@ schema NamespaceList: Items is the list of Namespace objects in the list. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ kind : str, default is "NamespaceList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema NamespaceList: kind: "NamespaceList" = "NamespaceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.18/api/core/v1/node.k b/k8s/1.18/api/core/v1/node.k index 99f9cab9..dcfea158 100644 --- a/k8s/1.18/api/core/v1/node.k +++ b/k8s/1.18/api/core/v1/node.k @@ -3,7 +3,7 @@ This is the node module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Node: @@ -16,7 +16,7 @@ schema Node: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Node", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : NodeSpec, default is Undefined, optional Spec defines the behavior of a node. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Node: kind: "Node" = "Node" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: NodeSpec diff --git a/k8s/1.18/api/core/v1/node_list.k b/k8s/1.18/api/core/v1/node_list.k index 40992f99..26fe9968 100644 --- a/k8s/1.18/api/core/v1/node_list.k +++ b/k8s/1.18/api/core/v1/node_list.k @@ -3,7 +3,7 @@ This is the node_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NodeList: @@ -18,7 +18,7 @@ schema NodeList: List of nodes kind : str, default is "NodeList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema NodeList: kind: "NodeList" = "NodeList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.18/api/core/v1/persistent_volume.k b/k8s/1.18/api/core/v1/persistent_volume.k index 259223a6..2c6d5ee6 100644 --- a/k8s/1.18/api/core/v1/persistent_volume.k +++ b/k8s/1.18/api/core/v1/persistent_volume.k @@ -3,7 +3,7 @@ This is the persistent_volume module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolume: @@ -16,7 +16,7 @@ schema PersistentVolume: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PersistentVolume", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PersistentVolumeSpec, default is Undefined, optional Spec defines a specification of a persistent volume owned by the cluster. Provisioned by an administrator. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes @@ -27,7 +27,7 @@ schema PersistentVolume: kind: "PersistentVolume" = "PersistentVolume" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PersistentVolumeSpec diff --git a/k8s/1.18/api/core/v1/persistent_volume_claim.k b/k8s/1.18/api/core/v1/persistent_volume_claim.k index eb057e81..02735f90 100644 --- a/k8s/1.18/api/core/v1/persistent_volume_claim.k +++ b/k8s/1.18/api/core/v1/persistent_volume_claim.k @@ -3,7 +3,7 @@ This is the persistent_volume_claim module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeClaim: @@ -16,7 +16,7 @@ schema PersistentVolumeClaim: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PersistentVolumeClaim", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PersistentVolumeClaimSpec, default is Undefined, optional Spec defines the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims @@ -27,7 +27,7 @@ schema PersistentVolumeClaim: kind: "PersistentVolumeClaim" = "PersistentVolumeClaim" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PersistentVolumeClaimSpec diff --git a/k8s/1.18/api/core/v1/persistent_volume_claim_list.k b/k8s/1.18/api/core/v1/persistent_volume_claim_list.k index 85ccc1ee..96669996 100644 --- a/k8s/1.18/api/core/v1/persistent_volume_claim_list.k +++ b/k8s/1.18/api/core/v1/persistent_volume_claim_list.k @@ -3,7 +3,7 @@ This is the persistent_volume_claim_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeClaimList: @@ -18,7 +18,7 @@ schema PersistentVolumeClaimList: A list of persistent volume claims. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims kind : str, default is "PersistentVolumeClaimList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema PersistentVolumeClaimList: kind: "PersistentVolumeClaimList" = "PersistentVolumeClaimList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.18/api/core/v1/persistent_volume_claim_spec.k b/k8s/1.18/api/core/v1/persistent_volume_claim_spec.k index 0c799ea2..1108087e 100644 --- a/k8s/1.18/api/core/v1/persistent_volume_claim_spec.k +++ b/k8s/1.18/api/core/v1/persistent_volume_claim_spec.k @@ -3,7 +3,7 @@ This is the persistent_volume_claim_spec module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeClaimSpec: @@ -18,7 +18,7 @@ schema PersistentVolumeClaimSpec: This field can be used to specify either: * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot - Beta) * An existing PVC (PersistentVolumeClaim) * An existing custom resource/object that implements data population (Alpha) In order to use VolumeSnapshot object types, the appropriate feature gate must be enabled (VolumeSnapshotDataSource or AnyVolumeDataSource) If the provisioner or an external controller can support the specified data source, it will create a new volume based on the contents of the specified data source. If the specified data source is not supported, the volume will not be created and the failure will be reported as an event. In the future, we plan to support more data source types and the behavior of the provisioner may change. resources : ResourceRequirements, default is Undefined, optional Resources represents the minimum resources the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional A label query over volumes to consider for binding. storageClassName : str, default is Undefined, optional Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1 @@ -35,7 +35,7 @@ schema PersistentVolumeClaimSpec: resources?: ResourceRequirements - selector?: v1.LabelSelector + selector?: metav1.LabelSelector storageClassName?: str diff --git a/k8s/1.18/api/core/v1/persistent_volume_list.k b/k8s/1.18/api/core/v1/persistent_volume_list.k index c34d9abb..21a2a32a 100644 --- a/k8s/1.18/api/core/v1/persistent_volume_list.k +++ b/k8s/1.18/api/core/v1/persistent_volume_list.k @@ -3,7 +3,7 @@ This is the persistent_volume_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeList: @@ -18,7 +18,7 @@ schema PersistentVolumeList: List of persistent volumes. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes kind : str, default is "PersistentVolumeList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema PersistentVolumeList: kind: "PersistentVolumeList" = "PersistentVolumeList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.18/api/core/v1/pod.k b/k8s/1.18/api/core/v1/pod.k index 659a9e99..66568628 100644 --- a/k8s/1.18/api/core/v1/pod.k +++ b/k8s/1.18/api/core/v1/pod.k @@ -3,7 +3,7 @@ This is the pod module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Pod: @@ -16,7 +16,7 @@ schema Pod: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Pod", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PodSpec, default is Undefined, optional Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Pod: kind: "Pod" = "Pod" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PodSpec diff --git a/k8s/1.18/api/core/v1/pod_affinity_term.k b/k8s/1.18/api/core/v1/pod_affinity_term.k index dccd6ef9..0cbd595d 100644 --- a/k8s/1.18/api/core/v1/pod_affinity_term.k +++ b/k8s/1.18/api/core/v1/pod_affinity_term.k @@ -3,7 +3,7 @@ This is the pod_affinity_term module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodAffinityTerm: @@ -12,7 +12,7 @@ schema PodAffinityTerm: Attributes ---------- - labelSelector : v1.LabelSelector, default is Undefined, optional + labelSelector : metav1.LabelSelector, default is Undefined, optional A label query over a set of resources, in this case pods. namespaces : [str], default is Undefined, optional namespaces specifies which namespaces the labelSelector applies to (matches against); null or empty list means "this pod's namespace" @@ -21,7 +21,7 @@ schema PodAffinityTerm: """ - labelSelector?: v1.LabelSelector + labelSelector?: metav1.LabelSelector namespaces?: [str] diff --git a/k8s/1.18/api/core/v1/pod_list.k b/k8s/1.18/api/core/v1/pod_list.k index 10ad5eb9..4c031d05 100644 --- a/k8s/1.18/api/core/v1/pod_list.k +++ b/k8s/1.18/api/core/v1/pod_list.k @@ -3,7 +3,7 @@ This is the pod_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodList: @@ -18,7 +18,7 @@ schema PodList: List of pods. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md kind : str, default is "PodList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema PodList: kind: "PodList" = "PodList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.18/api/core/v1/pod_template.k b/k8s/1.18/api/core/v1/pod_template.k index 98e64f70..6ffbfa64 100644 --- a/k8s/1.18/api/core/v1/pod_template.k +++ b/k8s/1.18/api/core/v1/pod_template.k @@ -3,7 +3,7 @@ This is the pod_template module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodTemplate: @@ -16,7 +16,7 @@ schema PodTemplate: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PodTemplate", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata template : PodTemplateSpec, default is Undefined, optional Template defines the pods that will be created from this pod template. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema PodTemplate: kind: "PodTemplate" = "PodTemplate" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta template?: PodTemplateSpec diff --git a/k8s/1.18/api/core/v1/pod_template_list.k b/k8s/1.18/api/core/v1/pod_template_list.k index 8bb1827f..94024175 100644 --- a/k8s/1.18/api/core/v1/pod_template_list.k +++ b/k8s/1.18/api/core/v1/pod_template_list.k @@ -3,7 +3,7 @@ This is the pod_template_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodTemplateList: @@ -18,7 +18,7 @@ schema PodTemplateList: List of pod templates kind : str, default is "PodTemplateList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema PodTemplateList: kind: "PodTemplateList" = "PodTemplateList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.18/api/core/v1/pod_template_spec.k b/k8s/1.18/api/core/v1/pod_template_spec.k index 1274c88b..6011ef81 100644 --- a/k8s/1.18/api/core/v1/pod_template_spec.k +++ b/k8s/1.18/api/core/v1/pod_template_spec.k @@ -3,7 +3,7 @@ This is the pod_template_spec module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodTemplateSpec: @@ -12,14 +12,14 @@ schema PodTemplateSpec: Attributes ---------- - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PodSpec, default is Undefined, optional Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status """ - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PodSpec diff --git a/k8s/1.18/api/core/v1/replication_controller.k b/k8s/1.18/api/core/v1/replication_controller.k index 08b091e8..37724706 100644 --- a/k8s/1.18/api/core/v1/replication_controller.k +++ b/k8s/1.18/api/core/v1/replication_controller.k @@ -3,7 +3,7 @@ This is the replication_controller module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicationController: @@ -16,7 +16,7 @@ schema ReplicationController: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ReplicationController", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional If the Labels of a ReplicationController are empty, they are defaulted to be the same as the Pod(s) that the replication controller manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : ReplicationControllerSpec, default is Undefined, optional Spec defines the specification of the desired behavior of the replication controller. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema ReplicationController: kind: "ReplicationController" = "ReplicationController" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ReplicationControllerSpec diff --git a/k8s/1.18/api/core/v1/replication_controller_list.k b/k8s/1.18/api/core/v1/replication_controller_list.k index 64afa179..63f9d4b2 100644 --- a/k8s/1.18/api/core/v1/replication_controller_list.k +++ b/k8s/1.18/api/core/v1/replication_controller_list.k @@ -3,7 +3,7 @@ This is the replication_controller_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicationControllerList: @@ -18,7 +18,7 @@ schema ReplicationControllerList: List of replication controllers. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller kind : str, default is "ReplicationControllerList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ReplicationControllerList: kind: "ReplicationControllerList" = "ReplicationControllerList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.18/api/core/v1/resource_quota.k b/k8s/1.18/api/core/v1/resource_quota.k index b7da49d1..0ec7c409 100644 --- a/k8s/1.18/api/core/v1/resource_quota.k +++ b/k8s/1.18/api/core/v1/resource_quota.k @@ -3,7 +3,7 @@ This is the resource_quota module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceQuota: @@ -16,7 +16,7 @@ schema ResourceQuota: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ResourceQuota", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : ResourceQuotaSpec, default is Undefined, optional Spec defines the desired quota. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema ResourceQuota: kind: "ResourceQuota" = "ResourceQuota" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ResourceQuotaSpec diff --git a/k8s/1.18/api/core/v1/resource_quota_list.k b/k8s/1.18/api/core/v1/resource_quota_list.k index ca1424b8..f8dbc87d 100644 --- a/k8s/1.18/api/core/v1/resource_quota_list.k +++ b/k8s/1.18/api/core/v1/resource_quota_list.k @@ -3,7 +3,7 @@ This is the resource_quota_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceQuotaList: @@ -18,7 +18,7 @@ schema ResourceQuotaList: Items is a list of ResourceQuota objects. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/ kind : str, default is "ResourceQuotaList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ResourceQuotaList: kind: "ResourceQuotaList" = "ResourceQuotaList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.18/api/core/v1/secret.k b/k8s/1.18/api/core/v1/secret.k index 26e1d3de..8c2e62d6 100644 --- a/k8s/1.18/api/core/v1/secret.k +++ b/k8s/1.18/api/core/v1/secret.k @@ -3,7 +3,7 @@ This is the secret module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Secret: @@ -20,7 +20,7 @@ schema Secret: Immutable, if set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil. This is an alpha field enabled by ImmutableEphemeralVolumes feature gate. kind : str, default is "Secret", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata stringData : {str:str}, default is Undefined, optional stringData allows specifying non-binary secret data in string form. It is provided as a write-only convenience method. All keys and values are merged into the data field on write, overwriting any existing values. It is never output when reading from the API. @@ -37,7 +37,7 @@ schema Secret: kind: "Secret" = "Secret" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta stringData?: {str:str} diff --git a/k8s/1.18/api/core/v1/secret_list.k b/k8s/1.18/api/core/v1/secret_list.k index 335c47b4..9e80806b 100644 --- a/k8s/1.18/api/core/v1/secret_list.k +++ b/k8s/1.18/api/core/v1/secret_list.k @@ -3,7 +3,7 @@ This is the secret_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SecretList: @@ -18,7 +18,7 @@ schema SecretList: Items is a list of secret objects. More info: https://kubernetes.io/docs/concepts/configuration/secret kind : str, default is "SecretList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema SecretList: kind: "SecretList" = "SecretList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.18/api/core/v1/service.k b/k8s/1.18/api/core/v1/service.k index 1f259a80..3b86c8ef 100644 --- a/k8s/1.18/api/core/v1/service.k +++ b/k8s/1.18/api/core/v1/service.k @@ -3,7 +3,7 @@ This is the service module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Service: @@ -16,7 +16,7 @@ schema Service: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Service", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : ServiceSpec, default is Undefined, optional Spec defines the behavior of a service. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Service: kind: "Service" = "Service" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ServiceSpec diff --git a/k8s/1.18/api/core/v1/service_account.k b/k8s/1.18/api/core/v1/service_account.k index fc039e4f..c93748eb 100644 --- a/k8s/1.18/api/core/v1/service_account.k +++ b/k8s/1.18/api/core/v1/service_account.k @@ -3,7 +3,7 @@ This is the service_account module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ServiceAccount: @@ -20,7 +20,7 @@ schema ServiceAccount: ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod kind : str, default is "ServiceAccount", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata secrets : [ObjectReference], default is Undefined, optional Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount. More info: https://kubernetes.io/docs/concepts/configuration/secret @@ -35,7 +35,7 @@ schema ServiceAccount: kind: "ServiceAccount" = "ServiceAccount" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta secrets?: [ObjectReference] diff --git a/k8s/1.18/api/core/v1/service_account_list.k b/k8s/1.18/api/core/v1/service_account_list.k index 26a9319a..d8cd46b8 100644 --- a/k8s/1.18/api/core/v1/service_account_list.k +++ b/k8s/1.18/api/core/v1/service_account_list.k @@ -3,7 +3,7 @@ This is the service_account_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ServiceAccountList: @@ -18,7 +18,7 @@ schema ServiceAccountList: List of ServiceAccounts. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ kind : str, default is "ServiceAccountList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ServiceAccountList: kind: "ServiceAccountList" = "ServiceAccountList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.18/api/core/v1/service_list.k b/k8s/1.18/api/core/v1/service_list.k index 0c1e31be..5c4fae8a 100644 --- a/k8s/1.18/api/core/v1/service_list.k +++ b/k8s/1.18/api/core/v1/service_list.k @@ -3,7 +3,7 @@ This is the service_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ServiceList: @@ -18,7 +18,7 @@ schema ServiceList: List of services kind : str, default is "ServiceList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ServiceList: kind: "ServiceList" = "ServiceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.18/api/core/v1/topology_spread_constraint.k b/k8s/1.18/api/core/v1/topology_spread_constraint.k index 64aee08e..037ac6ef 100644 --- a/k8s/1.18/api/core/v1/topology_spread_constraint.k +++ b/k8s/1.18/api/core/v1/topology_spread_constraint.k @@ -3,7 +3,7 @@ This is the topology_spread_constraint module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema TopologySpreadConstraint: @@ -12,7 +12,7 @@ schema TopologySpreadConstraint: Attributes ---------- - labelSelector : v1.LabelSelector, default is Undefined, optional + labelSelector : metav1.LabelSelector, default is Undefined, optional LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain. maxSkew : int, default is Undefined, required MaxSkew describes the degree to which pods may be unevenly distributed. It's the maximum permitted difference between the number of matching pods in any two topology domains of a given topology type. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 1/1/0: | zone1 | zone2 | zone3 | | P | P | | - if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 1/1/1; scheduling it onto zone1(zone2) would make the ActualSkew(2-0) on zone1(zone2) violate MaxSkew(1). - if MaxSkew is 2, incoming pod can be scheduled onto any zone. It's a required field. Default value is 1 and 0 is not allowed. @@ -23,7 +23,7 @@ schema TopologySpreadConstraint: """ - labelSelector?: v1.LabelSelector + labelSelector?: metav1.LabelSelector maxSkew: int diff --git a/k8s/1.18/api/discovery/v1beta1/endpoint_slice.k b/k8s/1.18/api/discovery/v1beta1/endpoint_slice.k index e5bc4f96..c3e65402 100644 --- a/k8s/1.18/api/discovery/v1beta1/endpoint_slice.k +++ b/k8s/1.18/api/discovery/v1beta1/endpoint_slice.k @@ -3,7 +3,7 @@ This is the endpoint_slice module in k8s.api.discovery.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EndpointSlice: @@ -20,7 +20,7 @@ schema EndpointSlice: endpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints. kind : str, default is "EndpointSlice", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. ports : [EndpointPort], default is Undefined, optional ports specifies the list of network ports exposed by each endpoint in this slice. Each port must have a unique name. When ports is empty, it indicates that there are no defined ports. When a port is defined with a nil port value, it indicates "all ports". Each slice may include a maximum of 100 ports. @@ -35,7 +35,7 @@ schema EndpointSlice: kind: "EndpointSlice" = "EndpointSlice" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta ports?: [EndpointPort] diff --git a/k8s/1.18/api/discovery/v1beta1/endpoint_slice_list.k b/k8s/1.18/api/discovery/v1beta1/endpoint_slice_list.k index ad1e929c..62019eae 100644 --- a/k8s/1.18/api/discovery/v1beta1/endpoint_slice_list.k +++ b/k8s/1.18/api/discovery/v1beta1/endpoint_slice_list.k @@ -3,7 +3,7 @@ This is the endpoint_slice_list module in k8s.api.discovery.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EndpointSliceList: @@ -18,7 +18,7 @@ schema EndpointSliceList: List of endpoint slices kind : str, default is "EndpointSliceList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema EndpointSliceList: kind: "EndpointSliceList" = "EndpointSliceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.18/api/events/v1beta1/event_list.k b/k8s/1.18/api/events/v1beta1/event_list.k index 72ea566e..3cf9be8f 100644 --- a/k8s/1.18/api/events/v1beta1/event_list.k +++ b/k8s/1.18/api/events/v1beta1/event_list.k @@ -3,7 +3,7 @@ This is the event_list module in k8s.api.events.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EventList: @@ -18,7 +18,7 @@ schema EventList: Items is a list of schema objects. kind : str, default is "EventList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema EventList: kind: "EventList" = "EventList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.18/api/extensions/v1beta1/ingress.k b/k8s/1.18/api/extensions/v1beta1/ingress.k index 1935ccd4..b92dfced 100644 --- a/k8s/1.18/api/extensions/v1beta1/ingress.k +++ b/k8s/1.18/api/extensions/v1beta1/ingress.k @@ -3,7 +3,7 @@ This is the ingress module in k8s.api.extensions.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Ingress: @@ -16,7 +16,7 @@ schema Ingress: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Ingress", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : IngressSpec, default is Undefined, optional Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Ingress: kind: "Ingress" = "Ingress" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: IngressSpec diff --git a/k8s/1.18/api/extensions/v1beta1/ingress_list.k b/k8s/1.18/api/extensions/v1beta1/ingress_list.k index 03151415..03dbbdd1 100644 --- a/k8s/1.18/api/extensions/v1beta1/ingress_list.k +++ b/k8s/1.18/api/extensions/v1beta1/ingress_list.k @@ -3,7 +3,7 @@ This is the ingress_list module in k8s.api.extensions.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema IngressList: @@ -18,7 +18,7 @@ schema IngressList: Items is the list of Ingress. kind : str, default is "IngressList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema IngressList: kind: "IngressList" = "IngressList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.18/api/flowcontrol/v1alpha1/flow_schema.k b/k8s/1.18/api/flowcontrol/v1alpha1/flow_schema.k index 08a061fc..c1518e43 100644 --- a/k8s/1.18/api/flowcontrol/v1alpha1/flow_schema.k +++ b/k8s/1.18/api/flowcontrol/v1alpha1/flow_schema.k @@ -3,7 +3,7 @@ This is the flow_schema module in k8s.api.flowcontrol.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema FlowSchema: @@ -16,7 +16,7 @@ schema FlowSchema: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "FlowSchema", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata spec : FlowSchemaSpec, default is Undefined, optional `spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema FlowSchema: kind: "FlowSchema" = "FlowSchema" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: FlowSchemaSpec diff --git a/k8s/1.18/api/flowcontrol/v1alpha1/flow_schema_list.k b/k8s/1.18/api/flowcontrol/v1alpha1/flow_schema_list.k index 772973d7..07cd4a61 100644 --- a/k8s/1.18/api/flowcontrol/v1alpha1/flow_schema_list.k +++ b/k8s/1.18/api/flowcontrol/v1alpha1/flow_schema_list.k @@ -3,7 +3,7 @@ This is the flow_schema_list module in k8s.api.flowcontrol.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema FlowSchemaList: @@ -18,7 +18,7 @@ schema FlowSchemaList: `items` is a list of FlowSchemas. kind : str, default is "FlowSchemaList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional `metadata` is the standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema FlowSchemaList: kind: "FlowSchemaList" = "FlowSchemaList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.18/api/flowcontrol/v1alpha1/priority_level_configuration.k b/k8s/1.18/api/flowcontrol/v1alpha1/priority_level_configuration.k index eb48d896..e6312d8c 100644 --- a/k8s/1.18/api/flowcontrol/v1alpha1/priority_level_configuration.k +++ b/k8s/1.18/api/flowcontrol/v1alpha1/priority_level_configuration.k @@ -3,7 +3,7 @@ This is the priority_level_configuration module in k8s.api.flowcontrol.v1alpha1 This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityLevelConfiguration: @@ -16,7 +16,7 @@ schema PriorityLevelConfiguration: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PriorityLevelConfiguration", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata spec : PriorityLevelConfigurationSpec, default is Undefined, optional `spec` is the specification of the desired behavior of a "request-priority". More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema PriorityLevelConfiguration: kind: "PriorityLevelConfiguration" = "PriorityLevelConfiguration" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PriorityLevelConfigurationSpec diff --git a/k8s/1.18/api/flowcontrol/v1alpha1/priority_level_configuration_list.k b/k8s/1.18/api/flowcontrol/v1alpha1/priority_level_configuration_list.k index 3628ebac..dff6fbd8 100644 --- a/k8s/1.18/api/flowcontrol/v1alpha1/priority_level_configuration_list.k +++ b/k8s/1.18/api/flowcontrol/v1alpha1/priority_level_configuration_list.k @@ -3,7 +3,7 @@ This is the priority_level_configuration_list module in k8s.api.flowcontrol.v1al This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityLevelConfigurationList: @@ -18,7 +18,7 @@ schema PriorityLevelConfigurationList: `items` is a list of request-priorities. kind : str, default is "PriorityLevelConfigurationList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PriorityLevelConfigurationList: kind: "PriorityLevelConfigurationList" = "PriorityLevelConfigurationList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.18/api/networking/v1/network_policy.k b/k8s/1.18/api/networking/v1/network_policy.k index 888fc8a4..f4ffe0ea 100644 --- a/k8s/1.18/api/networking/v1/network_policy.k +++ b/k8s/1.18/api/networking/v1/network_policy.k @@ -3,7 +3,7 @@ This is the network_policy module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicy: @@ -16,7 +16,7 @@ schema NetworkPolicy: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "NetworkPolicy", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : NetworkPolicySpec, default is Undefined, optional Specification of the desired behavior for this NetworkPolicy. @@ -27,7 +27,7 @@ schema NetworkPolicy: kind: "NetworkPolicy" = "NetworkPolicy" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: NetworkPolicySpec diff --git a/k8s/1.18/api/networking/v1/network_policy_list.k b/k8s/1.18/api/networking/v1/network_policy_list.k index 7a05cb37..8e21e919 100644 --- a/k8s/1.18/api/networking/v1/network_policy_list.k +++ b/k8s/1.18/api/networking/v1/network_policy_list.k @@ -3,7 +3,7 @@ This is the network_policy_list module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicyList: @@ -18,7 +18,7 @@ schema NetworkPolicyList: Items is a list of schema objects. kind : str, default is "NetworkPolicyList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema NetworkPolicyList: kind: "NetworkPolicyList" = "NetworkPolicyList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.18/api/networking/v1/network_policy_peer.k b/k8s/1.18/api/networking/v1/network_policy_peer.k index 14b072d4..ebe8bf73 100644 --- a/k8s/1.18/api/networking/v1/network_policy_peer.k +++ b/k8s/1.18/api/networking/v1/network_policy_peer.k @@ -3,7 +3,7 @@ This is the network_policy_peer module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicyPeer: @@ -14,11 +14,11 @@ schema NetworkPolicyPeer: ---------- ipBlock : IPBlock, default is Undefined, optional IPBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional Selects Namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces. If PodSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects all Pods in the Namespaces selected by NamespaceSelector. - podSelector : v1.LabelSelector, default is Undefined, optional + podSelector : metav1.LabelSelector, default is Undefined, optional This is a label selector which selects Pods. This field follows standard label selector semantics; if present but empty, it selects all pods. If NamespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the Pods matching PodSelector in the policy's own Namespace. @@ -27,8 +27,8 @@ schema NetworkPolicyPeer: ipBlock?: IPBlock - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector - podSelector?: v1.LabelSelector + podSelector?: metav1.LabelSelector diff --git a/k8s/1.18/api/networking/v1/network_policy_spec.k b/k8s/1.18/api/networking/v1/network_policy_spec.k index d730dee3..5a848ef9 100644 --- a/k8s/1.18/api/networking/v1/network_policy_spec.k +++ b/k8s/1.18/api/networking/v1/network_policy_spec.k @@ -3,7 +3,7 @@ This is the network_policy_spec module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicySpec: @@ -16,7 +16,7 @@ schema NetworkPolicySpec: List of egress rules to be applied to the selected pods. Outgoing traffic is allowed if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic matches at least one egress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy limits all outgoing traffic (and serves solely to ensure that the pods it selects are isolated by default). This field is beta-level in 1.8 ingress : [NetworkPolicyIngressRule], default is Undefined, optional List of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not allow any traffic (and serves solely to ensure that the pods it selects are isolated by default) - podSelector : v1.LabelSelector, default is Undefined, required + podSelector : metav1.LabelSelector, default is Undefined, required Selects the pods to which this NetworkPolicy object applies. The array of ingress rules is applied to any pods selected by this field. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is NOT optional and follows standard label selector semantics. An empty podSelector matches all pods in this namespace. policyTypes : [str], default is Undefined, optional List of rule types that the NetworkPolicy relates to. Valid options are "Ingress", "Egress", or "Ingress,Egress". If this field is not specified, it will default based on the existence of Ingress or Egress rules; policies that contain an Egress section are assumed to affect Egress, and all policies (whether or not they contain an Ingress section) are assumed to affect Ingress. If you want to write an egress-only policy, you must explicitly specify policyTypes [ "Egress" ]. Likewise, if you want to write a policy that specifies that no egress is allowed, you must specify a policyTypes value that include "Egress" (since such a policy would not include an Egress section and would otherwise default to just [ "Ingress" ]). This field is beta-level in 1.8 @@ -27,7 +27,7 @@ schema NetworkPolicySpec: ingress?: [NetworkPolicyIngressRule] - podSelector: v1.LabelSelector + podSelector: metav1.LabelSelector policyTypes?: [str] diff --git a/k8s/1.18/api/networking/v1beta1/ingress.k b/k8s/1.18/api/networking/v1beta1/ingress.k index 6569ad3f..5eec23bd 100644 --- a/k8s/1.18/api/networking/v1beta1/ingress.k +++ b/k8s/1.18/api/networking/v1beta1/ingress.k @@ -3,7 +3,7 @@ This is the ingress module in k8s.api.networking.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Ingress: @@ -16,7 +16,7 @@ schema Ingress: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Ingress", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : IngressSpec, default is Undefined, optional Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Ingress: kind: "Ingress" = "Ingress" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: IngressSpec diff --git a/k8s/1.18/api/networking/v1beta1/ingress_class.k b/k8s/1.18/api/networking/v1beta1/ingress_class.k index f560f8bd..c359bfa6 100644 --- a/k8s/1.18/api/networking/v1beta1/ingress_class.k +++ b/k8s/1.18/api/networking/v1beta1/ingress_class.k @@ -3,7 +3,7 @@ This is the ingress_class module in k8s.api.networking.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema IngressClass: @@ -16,7 +16,7 @@ schema IngressClass: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "IngressClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : IngressClassSpec, default is Undefined, optional Spec is the desired state of the IngressClass. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema IngressClass: kind: "IngressClass" = "IngressClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: IngressClassSpec diff --git a/k8s/1.18/api/networking/v1beta1/ingress_class_list.k b/k8s/1.18/api/networking/v1beta1/ingress_class_list.k index 72e420ba..89464976 100644 --- a/k8s/1.18/api/networking/v1beta1/ingress_class_list.k +++ b/k8s/1.18/api/networking/v1beta1/ingress_class_list.k @@ -3,7 +3,7 @@ This is the ingress_class_list module in k8s.api.networking.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema IngressClassList: @@ -18,7 +18,7 @@ schema IngressClassList: Items is the list of IngressClasses. kind : str, default is "IngressClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema IngressClassList: kind: "IngressClassList" = "IngressClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.18/api/networking/v1beta1/ingress_list.k b/k8s/1.18/api/networking/v1beta1/ingress_list.k index 5f4b222c..f4249052 100644 --- a/k8s/1.18/api/networking/v1beta1/ingress_list.k +++ b/k8s/1.18/api/networking/v1beta1/ingress_list.k @@ -3,7 +3,7 @@ This is the ingress_list module in k8s.api.networking.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema IngressList: @@ -18,7 +18,7 @@ schema IngressList: Items is the list of Ingress. kind : str, default is "IngressList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema IngressList: kind: "IngressList" = "IngressList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.18/api/node/v1alpha1/runtime_class.k b/k8s/1.18/api/node/v1alpha1/runtime_class.k index 32997d20..24b160c8 100644 --- a/k8s/1.18/api/node/v1alpha1/runtime_class.k +++ b/k8s/1.18/api/node/v1alpha1/runtime_class.k @@ -3,7 +3,7 @@ This is the runtime_class module in k8s.api.node.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RuntimeClass: @@ -16,7 +16,7 @@ schema RuntimeClass: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "RuntimeClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : RuntimeClassSpec, default is Undefined, required Specification of the RuntimeClass More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema RuntimeClass: kind: "RuntimeClass" = "RuntimeClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: RuntimeClassSpec diff --git a/k8s/1.18/api/node/v1alpha1/runtime_class_list.k b/k8s/1.18/api/node/v1alpha1/runtime_class_list.k index 9a7cbb22..6db85ede 100644 --- a/k8s/1.18/api/node/v1alpha1/runtime_class_list.k +++ b/k8s/1.18/api/node/v1alpha1/runtime_class_list.k @@ -3,7 +3,7 @@ This is the runtime_class_list module in k8s.api.node.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RuntimeClassList: @@ -18,7 +18,7 @@ schema RuntimeClassList: Items is a list of schema objects. kind : str, default is "RuntimeClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema RuntimeClassList: kind: "RuntimeClassList" = "RuntimeClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.18/api/node/v1beta1/runtime_class.k b/k8s/1.18/api/node/v1beta1/runtime_class.k index 515e643e..477c5fa2 100644 --- a/k8s/1.18/api/node/v1beta1/runtime_class.k +++ b/k8s/1.18/api/node/v1beta1/runtime_class.k @@ -3,7 +3,7 @@ This is the runtime_class module in k8s.api.node.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RuntimeClass: @@ -18,7 +18,7 @@ schema RuntimeClass: Handler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration. It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called "runc" might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The Handler must conform to the DNS Label (RFC 1123) requirements, and is immutable. kind : str, default is "RuntimeClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata overhead : Overhead, default is Undefined, optional Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see https://git.k8s.io/enhancements/keps/sig-node/20190226-pod-overhead.md This field is alpha-level as of Kubernetes v1.15, and is only honored by servers that enable the PodOverhead feature. @@ -33,7 +33,7 @@ schema RuntimeClass: kind: "RuntimeClass" = "RuntimeClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta overhead?: Overhead diff --git a/k8s/1.18/api/node/v1beta1/runtime_class_list.k b/k8s/1.18/api/node/v1beta1/runtime_class_list.k index 19de4405..96178e8c 100644 --- a/k8s/1.18/api/node/v1beta1/runtime_class_list.k +++ b/k8s/1.18/api/node/v1beta1/runtime_class_list.k @@ -3,7 +3,7 @@ This is the runtime_class_list module in k8s.api.node.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RuntimeClassList: @@ -18,7 +18,7 @@ schema RuntimeClassList: Items is a list of schema objects. kind : str, default is "RuntimeClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema RuntimeClassList: kind: "RuntimeClassList" = "RuntimeClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.18/api/policy/v1beta1/eviction.k b/k8s/1.18/api/policy/v1beta1/eviction.k index 7f8d1a0b..af6f9667 100644 --- a/k8s/1.18/api/policy/v1beta1/eviction.k +++ b/k8s/1.18/api/policy/v1beta1/eviction.k @@ -3,7 +3,7 @@ This is the eviction module in k8s.api.policy.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Eviction: @@ -14,21 +14,21 @@ schema Eviction: ---------- apiVersion : str, default is "policy/v1beta1", required APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - deleteOptions : v1.DeleteOptions, default is Undefined, optional + deleteOptions : metav1.DeleteOptions, default is Undefined, optional DeleteOptions may be provided kind : str, default is "Eviction", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional ObjectMeta describes the pod that is being evicted. """ apiVersion: "policy/v1beta1" = "policy/v1beta1" - deleteOptions?: v1.DeleteOptions + deleteOptions?: metav1.DeleteOptions kind: "Eviction" = "Eviction" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta diff --git a/k8s/1.18/api/policy/v1beta1/pod_disruption_budget.k b/k8s/1.18/api/policy/v1beta1/pod_disruption_budget.k index 4bd867ee..8ec33062 100644 --- a/k8s/1.18/api/policy/v1beta1/pod_disruption_budget.k +++ b/k8s/1.18/api/policy/v1beta1/pod_disruption_budget.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget module in k8s.api.policy.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudget: @@ -16,7 +16,7 @@ schema PodDisruptionBudget: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PodDisruptionBudget", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : PodDisruptionBudgetSpec, default is Undefined, optional Specification of the desired behavior of the PodDisruptionBudget. @@ -27,7 +27,7 @@ schema PodDisruptionBudget: kind: "PodDisruptionBudget" = "PodDisruptionBudget" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PodDisruptionBudgetSpec diff --git a/k8s/1.18/api/policy/v1beta1/pod_disruption_budget_list.k b/k8s/1.18/api/policy/v1beta1/pod_disruption_budget_list.k index 7c9ed9f2..76dc4f1f 100644 --- a/k8s/1.18/api/policy/v1beta1/pod_disruption_budget_list.k +++ b/k8s/1.18/api/policy/v1beta1/pod_disruption_budget_list.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget_list module in k8s.api.policy.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudgetList: @@ -18,7 +18,7 @@ schema PodDisruptionBudgetList: items kind : str, default is "PodDisruptionBudgetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema PodDisruptionBudgetList: kind: "PodDisruptionBudgetList" = "PodDisruptionBudgetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.18/api/policy/v1beta1/pod_disruption_budget_spec.k b/k8s/1.18/api/policy/v1beta1/pod_disruption_budget_spec.k index 59207d7d..f58a030c 100644 --- a/k8s/1.18/api/policy/v1beta1/pod_disruption_budget_spec.k +++ b/k8s/1.18/api/policy/v1beta1/pod_disruption_budget_spec.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget_spec module in k8s.api.policy.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudgetSpec: @@ -16,7 +16,7 @@ schema PodDisruptionBudgetSpec: An eviction is allowed if at most "maxUnavailable" pods selected by "selector" are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with "minAvailable". minAvailable : int | str, default is Undefined, optional An eviction is allowed if at least "minAvailable" pods selected by "selector" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying "100%". - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional Label query over pods whose evictions are managed by the disruption budget. """ @@ -25,6 +25,6 @@ schema PodDisruptionBudgetSpec: minAvailable?: int | str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector diff --git a/k8s/1.18/api/policy/v1beta1/pod_security_policy.k b/k8s/1.18/api/policy/v1beta1/pod_security_policy.k index 1fb89bf0..26f77779 100644 --- a/k8s/1.18/api/policy/v1beta1/pod_security_policy.k +++ b/k8s/1.18/api/policy/v1beta1/pod_security_policy.k @@ -3,7 +3,7 @@ This is the pod_security_policy module in k8s.api.policy.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodSecurityPolicy: @@ -16,7 +16,7 @@ schema PodSecurityPolicy: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PodSecurityPolicy", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PodSecurityPolicySpec, default is Undefined, optional spec defines the policy enforced. @@ -27,7 +27,7 @@ schema PodSecurityPolicy: kind: "PodSecurityPolicy" = "PodSecurityPolicy" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PodSecurityPolicySpec diff --git a/k8s/1.18/api/policy/v1beta1/pod_security_policy_list.k b/k8s/1.18/api/policy/v1beta1/pod_security_policy_list.k index 72500195..422fdc1a 100644 --- a/k8s/1.18/api/policy/v1beta1/pod_security_policy_list.k +++ b/k8s/1.18/api/policy/v1beta1/pod_security_policy_list.k @@ -3,7 +3,7 @@ This is the pod_security_policy_list module in k8s.api.policy.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodSecurityPolicyList: @@ -18,7 +18,7 @@ schema PodSecurityPolicyList: items is a list of schema objects. kind : str, default is "PodSecurityPolicyList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PodSecurityPolicyList: kind: "PodSecurityPolicyList" = "PodSecurityPolicyList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.18/api/rbac/v1/aggregation_rule.k b/k8s/1.18/api/rbac/v1/aggregation_rule.k index c7969ee4..b6898869 100644 --- a/k8s/1.18/api/rbac/v1/aggregation_rule.k +++ b/k8s/1.18/api/rbac/v1/aggregation_rule.k @@ -3,7 +3,7 @@ This is the aggregation_rule module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema AggregationRule: @@ -12,11 +12,11 @@ schema AggregationRule: Attributes ---------- - clusterRoleSelectors : [v1.LabelSelector], default is Undefined, optional + clusterRoleSelectors : [metav1.LabelSelector], default is Undefined, optional ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added """ - clusterRoleSelectors?: [v1.LabelSelector] + clusterRoleSelectors?: [metav1.LabelSelector] diff --git a/k8s/1.18/api/rbac/v1/cluster_role.k b/k8s/1.18/api/rbac/v1/cluster_role.k index fcf42d1b..d32837ea 100644 --- a/k8s/1.18/api/rbac/v1/cluster_role.k +++ b/k8s/1.18/api/rbac/v1/cluster_role.k @@ -3,7 +3,7 @@ This is the cluster_role module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRole: @@ -18,7 +18,7 @@ schema ClusterRole: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ClusterRole", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. rules : [PolicyRule], default is Undefined, optional Rules holds all the PolicyRules for this ClusterRole @@ -31,7 +31,7 @@ schema ClusterRole: kind: "ClusterRole" = "ClusterRole" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta rules?: [PolicyRule] diff --git a/k8s/1.18/api/rbac/v1/cluster_role_binding.k b/k8s/1.18/api/rbac/v1/cluster_role_binding.k index e670588e..1b2c4294 100644 --- a/k8s/1.18/api/rbac/v1/cluster_role_binding.k +++ b/k8s/1.18/api/rbac/v1/cluster_role_binding.k @@ -3,7 +3,7 @@ This is the cluster_role_binding module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleBinding: @@ -16,7 +16,7 @@ schema ClusterRoleBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ClusterRoleBinding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. roleRef : RoleRef, default is Undefined, required RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. @@ -29,7 +29,7 @@ schema ClusterRoleBinding: kind: "ClusterRoleBinding" = "ClusterRoleBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta roleRef: RoleRef diff --git a/k8s/1.18/api/rbac/v1/cluster_role_binding_list.k b/k8s/1.18/api/rbac/v1/cluster_role_binding_list.k index fd53865a..bd13f6fa 100644 --- a/k8s/1.18/api/rbac/v1/cluster_role_binding_list.k +++ b/k8s/1.18/api/rbac/v1/cluster_role_binding_list.k @@ -3,7 +3,7 @@ This is the cluster_role_binding_list module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleBindingList: @@ -18,7 +18,7 @@ schema ClusterRoleBindingList: Items is a list of ClusterRoleBindings kind : str, default is "ClusterRoleBindingList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema ClusterRoleBindingList: kind: "ClusterRoleBindingList" = "ClusterRoleBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.18/api/rbac/v1/cluster_role_list.k b/k8s/1.18/api/rbac/v1/cluster_role_list.k index 8be0e1a6..303e00aa 100644 --- a/k8s/1.18/api/rbac/v1/cluster_role_list.k +++ b/k8s/1.18/api/rbac/v1/cluster_role_list.k @@ -3,7 +3,7 @@ This is the cluster_role_list module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleList: @@ -18,7 +18,7 @@ schema ClusterRoleList: Items is a list of ClusterRoles kind : str, default is "ClusterRoleList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema ClusterRoleList: kind: "ClusterRoleList" = "ClusterRoleList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.18/api/rbac/v1/role.k b/k8s/1.18/api/rbac/v1/role.k index f72c1ab0..db02dfef 100644 --- a/k8s/1.18/api/rbac/v1/role.k +++ b/k8s/1.18/api/rbac/v1/role.k @@ -3,7 +3,7 @@ This is the role module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Role: @@ -16,7 +16,7 @@ schema Role: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Role", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. rules : [PolicyRule], default is Undefined, optional Rules holds all the PolicyRules for this Role @@ -27,7 +27,7 @@ schema Role: kind: "Role" = "Role" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta rules?: [PolicyRule] diff --git a/k8s/1.18/api/rbac/v1/role_binding.k b/k8s/1.18/api/rbac/v1/role_binding.k index a305e8b1..efa93d8c 100644 --- a/k8s/1.18/api/rbac/v1/role_binding.k +++ b/k8s/1.18/api/rbac/v1/role_binding.k @@ -3,7 +3,7 @@ This is the role_binding module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleBinding: @@ -16,7 +16,7 @@ schema RoleBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "RoleBinding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. roleRef : RoleRef, default is Undefined, required RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. @@ -29,7 +29,7 @@ schema RoleBinding: kind: "RoleBinding" = "RoleBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta roleRef: RoleRef diff --git a/k8s/1.18/api/rbac/v1/role_binding_list.k b/k8s/1.18/api/rbac/v1/role_binding_list.k index ef8b7fc8..cb8d7400 100644 --- a/k8s/1.18/api/rbac/v1/role_binding_list.k +++ b/k8s/1.18/api/rbac/v1/role_binding_list.k @@ -3,7 +3,7 @@ This is the role_binding_list module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleBindingList: @@ -18,7 +18,7 @@ schema RoleBindingList: Items is a list of RoleBindings kind : str, default is "RoleBindingList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema RoleBindingList: kind: "RoleBindingList" = "RoleBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.18/api/rbac/v1/role_list.k b/k8s/1.18/api/rbac/v1/role_list.k index 6e7826e6..d102bc0c 100644 --- a/k8s/1.18/api/rbac/v1/role_list.k +++ b/k8s/1.18/api/rbac/v1/role_list.k @@ -3,7 +3,7 @@ This is the role_list module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleList: @@ -18,7 +18,7 @@ schema RoleList: Items is a list of Roles kind : str, default is "RoleList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema RoleList: kind: "RoleList" = "RoleList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.18/api/rbac/v1alpha1/aggregation_rule.k b/k8s/1.18/api/rbac/v1alpha1/aggregation_rule.k index 528fe561..c9b2af20 100644 --- a/k8s/1.18/api/rbac/v1alpha1/aggregation_rule.k +++ b/k8s/1.18/api/rbac/v1alpha1/aggregation_rule.k @@ -3,7 +3,7 @@ This is the aggregation_rule module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema AggregationRule: @@ -12,11 +12,11 @@ schema AggregationRule: Attributes ---------- - clusterRoleSelectors : [v1.LabelSelector], default is Undefined, optional + clusterRoleSelectors : [metav1.LabelSelector], default is Undefined, optional ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added """ - clusterRoleSelectors?: [v1.LabelSelector] + clusterRoleSelectors?: [metav1.LabelSelector] diff --git a/k8s/1.18/api/rbac/v1alpha1/cluster_role.k b/k8s/1.18/api/rbac/v1alpha1/cluster_role.k index a032a44c..997297fe 100644 --- a/k8s/1.18/api/rbac/v1alpha1/cluster_role.k +++ b/k8s/1.18/api/rbac/v1alpha1/cluster_role.k @@ -3,7 +3,7 @@ This is the cluster_role module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRole: @@ -18,7 +18,7 @@ schema ClusterRole: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ClusterRole", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. rules : [PolicyRule], default is Undefined, optional Rules holds all the PolicyRules for this ClusterRole @@ -31,7 +31,7 @@ schema ClusterRole: kind: "ClusterRole" = "ClusterRole" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta rules?: [PolicyRule] diff --git a/k8s/1.18/api/rbac/v1alpha1/cluster_role_binding.k b/k8s/1.18/api/rbac/v1alpha1/cluster_role_binding.k index 507caed3..e6c9ffc0 100644 --- a/k8s/1.18/api/rbac/v1alpha1/cluster_role_binding.k +++ b/k8s/1.18/api/rbac/v1alpha1/cluster_role_binding.k @@ -3,7 +3,7 @@ This is the cluster_role_binding module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleBinding: @@ -16,7 +16,7 @@ schema ClusterRoleBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ClusterRoleBinding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. roleRef : RoleRef, default is Undefined, required RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. @@ -29,7 +29,7 @@ schema ClusterRoleBinding: kind: "ClusterRoleBinding" = "ClusterRoleBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta roleRef: RoleRef diff --git a/k8s/1.18/api/rbac/v1alpha1/cluster_role_binding_list.k b/k8s/1.18/api/rbac/v1alpha1/cluster_role_binding_list.k index b6a8f7a5..1ce61b31 100644 --- a/k8s/1.18/api/rbac/v1alpha1/cluster_role_binding_list.k +++ b/k8s/1.18/api/rbac/v1alpha1/cluster_role_binding_list.k @@ -3,7 +3,7 @@ This is the cluster_role_binding_list module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleBindingList: @@ -18,7 +18,7 @@ schema ClusterRoleBindingList: Items is a list of ClusterRoleBindings kind : str, default is "ClusterRoleBindingList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema ClusterRoleBindingList: kind: "ClusterRoleBindingList" = "ClusterRoleBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.18/api/rbac/v1alpha1/cluster_role_list.k b/k8s/1.18/api/rbac/v1alpha1/cluster_role_list.k index 3161f6b9..3e252359 100644 --- a/k8s/1.18/api/rbac/v1alpha1/cluster_role_list.k +++ b/k8s/1.18/api/rbac/v1alpha1/cluster_role_list.k @@ -3,7 +3,7 @@ This is the cluster_role_list module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleList: @@ -18,7 +18,7 @@ schema ClusterRoleList: Items is a list of ClusterRoles kind : str, default is "ClusterRoleList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema ClusterRoleList: kind: "ClusterRoleList" = "ClusterRoleList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.18/api/rbac/v1alpha1/role.k b/k8s/1.18/api/rbac/v1alpha1/role.k index fc717453..82aa859b 100644 --- a/k8s/1.18/api/rbac/v1alpha1/role.k +++ b/k8s/1.18/api/rbac/v1alpha1/role.k @@ -3,7 +3,7 @@ This is the role module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Role: @@ -16,7 +16,7 @@ schema Role: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Role", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. rules : [PolicyRule], default is Undefined, optional Rules holds all the PolicyRules for this Role @@ -27,7 +27,7 @@ schema Role: kind: "Role" = "Role" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta rules?: [PolicyRule] diff --git a/k8s/1.18/api/rbac/v1alpha1/role_binding.k b/k8s/1.18/api/rbac/v1alpha1/role_binding.k index fb9a8c8f..60d928b5 100644 --- a/k8s/1.18/api/rbac/v1alpha1/role_binding.k +++ b/k8s/1.18/api/rbac/v1alpha1/role_binding.k @@ -3,7 +3,7 @@ This is the role_binding module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleBinding: @@ -16,7 +16,7 @@ schema RoleBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "RoleBinding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. roleRef : RoleRef, default is Undefined, required RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. @@ -29,7 +29,7 @@ schema RoleBinding: kind: "RoleBinding" = "RoleBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta roleRef: RoleRef diff --git a/k8s/1.18/api/rbac/v1alpha1/role_binding_list.k b/k8s/1.18/api/rbac/v1alpha1/role_binding_list.k index d53cb185..dc0bedaa 100644 --- a/k8s/1.18/api/rbac/v1alpha1/role_binding_list.k +++ b/k8s/1.18/api/rbac/v1alpha1/role_binding_list.k @@ -3,7 +3,7 @@ This is the role_binding_list module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleBindingList: @@ -18,7 +18,7 @@ schema RoleBindingList: Items is a list of RoleBindings kind : str, default is "RoleBindingList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema RoleBindingList: kind: "RoleBindingList" = "RoleBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.18/api/rbac/v1alpha1/role_list.k b/k8s/1.18/api/rbac/v1alpha1/role_list.k index 21c79fe5..08ffc071 100644 --- a/k8s/1.18/api/rbac/v1alpha1/role_list.k +++ b/k8s/1.18/api/rbac/v1alpha1/role_list.k @@ -3,7 +3,7 @@ This is the role_list module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleList: @@ -18,7 +18,7 @@ schema RoleList: Items is a list of Roles kind : str, default is "RoleList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema RoleList: kind: "RoleList" = "RoleList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.18/api/rbac/v1beta1/aggregation_rule.k b/k8s/1.18/api/rbac/v1beta1/aggregation_rule.k index cd7ef918..41e15e52 100644 --- a/k8s/1.18/api/rbac/v1beta1/aggregation_rule.k +++ b/k8s/1.18/api/rbac/v1beta1/aggregation_rule.k @@ -3,7 +3,7 @@ This is the aggregation_rule module in k8s.api.rbac.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema AggregationRule: @@ -12,11 +12,11 @@ schema AggregationRule: Attributes ---------- - clusterRoleSelectors : [v1.LabelSelector], default is Undefined, optional + clusterRoleSelectors : [metav1.LabelSelector], default is Undefined, optional ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added """ - clusterRoleSelectors?: [v1.LabelSelector] + clusterRoleSelectors?: [metav1.LabelSelector] diff --git a/k8s/1.18/api/rbac/v1beta1/cluster_role.k b/k8s/1.18/api/rbac/v1beta1/cluster_role.k index aa79b1ca..d0e97275 100644 --- a/k8s/1.18/api/rbac/v1beta1/cluster_role.k +++ b/k8s/1.18/api/rbac/v1beta1/cluster_role.k @@ -3,7 +3,7 @@ This is the cluster_role module in k8s.api.rbac.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRole: @@ -18,7 +18,7 @@ schema ClusterRole: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ClusterRole", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. rules : [PolicyRule], default is Undefined, optional Rules holds all the PolicyRules for this ClusterRole @@ -31,7 +31,7 @@ schema ClusterRole: kind: "ClusterRole" = "ClusterRole" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta rules?: [PolicyRule] diff --git a/k8s/1.18/api/rbac/v1beta1/cluster_role_binding.k b/k8s/1.18/api/rbac/v1beta1/cluster_role_binding.k index a58003b0..05f43543 100644 --- a/k8s/1.18/api/rbac/v1beta1/cluster_role_binding.k +++ b/k8s/1.18/api/rbac/v1beta1/cluster_role_binding.k @@ -3,7 +3,7 @@ This is the cluster_role_binding module in k8s.api.rbac.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleBinding: @@ -16,7 +16,7 @@ schema ClusterRoleBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ClusterRoleBinding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. roleRef : RoleRef, default is Undefined, required RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. @@ -29,7 +29,7 @@ schema ClusterRoleBinding: kind: "ClusterRoleBinding" = "ClusterRoleBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta roleRef: RoleRef diff --git a/k8s/1.18/api/rbac/v1beta1/cluster_role_binding_list.k b/k8s/1.18/api/rbac/v1beta1/cluster_role_binding_list.k index c27cd390..c948ca2a 100644 --- a/k8s/1.18/api/rbac/v1beta1/cluster_role_binding_list.k +++ b/k8s/1.18/api/rbac/v1beta1/cluster_role_binding_list.k @@ -3,7 +3,7 @@ This is the cluster_role_binding_list module in k8s.api.rbac.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleBindingList: @@ -18,7 +18,7 @@ schema ClusterRoleBindingList: Items is a list of ClusterRoleBindings kind : str, default is "ClusterRoleBindingList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema ClusterRoleBindingList: kind: "ClusterRoleBindingList" = "ClusterRoleBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.18/api/rbac/v1beta1/cluster_role_list.k b/k8s/1.18/api/rbac/v1beta1/cluster_role_list.k index f60902f0..3ad4d634 100644 --- a/k8s/1.18/api/rbac/v1beta1/cluster_role_list.k +++ b/k8s/1.18/api/rbac/v1beta1/cluster_role_list.k @@ -3,7 +3,7 @@ This is the cluster_role_list module in k8s.api.rbac.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleList: @@ -18,7 +18,7 @@ schema ClusterRoleList: Items is a list of ClusterRoles kind : str, default is "ClusterRoleList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema ClusterRoleList: kind: "ClusterRoleList" = "ClusterRoleList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.18/api/rbac/v1beta1/role.k b/k8s/1.18/api/rbac/v1beta1/role.k index 720b56b3..f0460e6c 100644 --- a/k8s/1.18/api/rbac/v1beta1/role.k +++ b/k8s/1.18/api/rbac/v1beta1/role.k @@ -3,7 +3,7 @@ This is the role module in k8s.api.rbac.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Role: @@ -16,7 +16,7 @@ schema Role: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Role", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. rules : [PolicyRule], default is Undefined, optional Rules holds all the PolicyRules for this Role @@ -27,7 +27,7 @@ schema Role: kind: "Role" = "Role" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta rules?: [PolicyRule] diff --git a/k8s/1.18/api/rbac/v1beta1/role_binding.k b/k8s/1.18/api/rbac/v1beta1/role_binding.k index fc4f5f53..0c9b9695 100644 --- a/k8s/1.18/api/rbac/v1beta1/role_binding.k +++ b/k8s/1.18/api/rbac/v1beta1/role_binding.k @@ -3,7 +3,7 @@ This is the role_binding module in k8s.api.rbac.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleBinding: @@ -16,7 +16,7 @@ schema RoleBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "RoleBinding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. roleRef : RoleRef, default is Undefined, required RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. @@ -29,7 +29,7 @@ schema RoleBinding: kind: "RoleBinding" = "RoleBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta roleRef: RoleRef diff --git a/k8s/1.18/api/rbac/v1beta1/role_binding_list.k b/k8s/1.18/api/rbac/v1beta1/role_binding_list.k index 40fbf62e..97a812b1 100644 --- a/k8s/1.18/api/rbac/v1beta1/role_binding_list.k +++ b/k8s/1.18/api/rbac/v1beta1/role_binding_list.k @@ -3,7 +3,7 @@ This is the role_binding_list module in k8s.api.rbac.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleBindingList: @@ -18,7 +18,7 @@ schema RoleBindingList: Items is a list of RoleBindings kind : str, default is "RoleBindingList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema RoleBindingList: kind: "RoleBindingList" = "RoleBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.18/api/rbac/v1beta1/role_list.k b/k8s/1.18/api/rbac/v1beta1/role_list.k index 9a38ad72..15775ef1 100644 --- a/k8s/1.18/api/rbac/v1beta1/role_list.k +++ b/k8s/1.18/api/rbac/v1beta1/role_list.k @@ -3,7 +3,7 @@ This is the role_list module in k8s.api.rbac.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleList: @@ -18,7 +18,7 @@ schema RoleList: Items is a list of Roles kind : str, default is "RoleList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema RoleList: kind: "RoleList" = "RoleList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.18/api/scheduling/v1/priority_class.k b/k8s/1.18/api/scheduling/v1/priority_class.k index 8d5e65f5..2fa40899 100644 --- a/k8s/1.18/api/scheduling/v1/priority_class.k +++ b/k8s/1.18/api/scheduling/v1/priority_class.k @@ -3,7 +3,7 @@ This is the priority_class module in k8s.api.scheduling.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityClass: @@ -20,7 +20,7 @@ schema PriorityClass: globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority. kind : str, default is "PriorityClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata preemptionPolicy : str, default is Undefined, optional PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is alpha-level and is only honored by servers that enable the NonPreemptingPriority feature. @@ -37,7 +37,7 @@ schema PriorityClass: kind: "PriorityClass" = "PriorityClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta preemptionPolicy?: str diff --git a/k8s/1.18/api/scheduling/v1/priority_class_list.k b/k8s/1.18/api/scheduling/v1/priority_class_list.k index ff802048..6d514f6b 100644 --- a/k8s/1.18/api/scheduling/v1/priority_class_list.k +++ b/k8s/1.18/api/scheduling/v1/priority_class_list.k @@ -3,7 +3,7 @@ This is the priority_class_list module in k8s.api.scheduling.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityClassList: @@ -18,7 +18,7 @@ schema PriorityClassList: items is the list of PriorityClasses kind : str, default is "PriorityClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PriorityClassList: kind: "PriorityClassList" = "PriorityClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.18/api/scheduling/v1alpha1/priority_class.k b/k8s/1.18/api/scheduling/v1alpha1/priority_class.k index 8ad4a1ae..64498898 100644 --- a/k8s/1.18/api/scheduling/v1alpha1/priority_class.k +++ b/k8s/1.18/api/scheduling/v1alpha1/priority_class.k @@ -3,7 +3,7 @@ This is the priority_class module in k8s.api.scheduling.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityClass: @@ -20,7 +20,7 @@ schema PriorityClass: globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority. kind : str, default is "PriorityClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata preemptionPolicy : str, default is Undefined, optional PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is alpha-level and is only honored by servers that enable the NonPreemptingPriority feature. @@ -37,7 +37,7 @@ schema PriorityClass: kind: "PriorityClass" = "PriorityClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta preemptionPolicy?: str diff --git a/k8s/1.18/api/scheduling/v1alpha1/priority_class_list.k b/k8s/1.18/api/scheduling/v1alpha1/priority_class_list.k index f4d8cbfa..97b08586 100644 --- a/k8s/1.18/api/scheduling/v1alpha1/priority_class_list.k +++ b/k8s/1.18/api/scheduling/v1alpha1/priority_class_list.k @@ -3,7 +3,7 @@ This is the priority_class_list module in k8s.api.scheduling.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityClassList: @@ -18,7 +18,7 @@ schema PriorityClassList: items is the list of PriorityClasses kind : str, default is "PriorityClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PriorityClassList: kind: "PriorityClassList" = "PriorityClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.18/api/scheduling/v1beta1/priority_class.k b/k8s/1.18/api/scheduling/v1beta1/priority_class.k index 5879adb2..f9040dec 100644 --- a/k8s/1.18/api/scheduling/v1beta1/priority_class.k +++ b/k8s/1.18/api/scheduling/v1beta1/priority_class.k @@ -3,7 +3,7 @@ This is the priority_class module in k8s.api.scheduling.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityClass: @@ -20,7 +20,7 @@ schema PriorityClass: globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority. kind : str, default is "PriorityClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata preemptionPolicy : str, default is Undefined, optional PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is alpha-level and is only honored by servers that enable the NonPreemptingPriority feature. @@ -37,7 +37,7 @@ schema PriorityClass: kind: "PriorityClass" = "PriorityClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta preemptionPolicy?: str diff --git a/k8s/1.18/api/scheduling/v1beta1/priority_class_list.k b/k8s/1.18/api/scheduling/v1beta1/priority_class_list.k index 2788d02c..2187fd8e 100644 --- a/k8s/1.18/api/scheduling/v1beta1/priority_class_list.k +++ b/k8s/1.18/api/scheduling/v1beta1/priority_class_list.k @@ -3,7 +3,7 @@ This is the priority_class_list module in k8s.api.scheduling.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityClassList: @@ -18,7 +18,7 @@ schema PriorityClassList: items is the list of PriorityClasses kind : str, default is "PriorityClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PriorityClassList: kind: "PriorityClassList" = "PriorityClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.18/api/settings/v1alpha1/pod_preset.k b/k8s/1.18/api/settings/v1alpha1/pod_preset.k index 955322f1..53bc0dfa 100644 --- a/k8s/1.18/api/settings/v1alpha1/pod_preset.k +++ b/k8s/1.18/api/settings/v1alpha1/pod_preset.k @@ -3,7 +3,7 @@ This is the pod_preset module in k8s.api.settings.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodPreset: @@ -16,7 +16,7 @@ schema PodPreset: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PodPreset", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : PodPresetSpec, default is Undefined, optional spec @@ -27,7 +27,7 @@ schema PodPreset: kind: "PodPreset" = "PodPreset" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PodPresetSpec diff --git a/k8s/1.18/api/settings/v1alpha1/pod_preset_list.k b/k8s/1.18/api/settings/v1alpha1/pod_preset_list.k index f27331c7..5d94304f 100644 --- a/k8s/1.18/api/settings/v1alpha1/pod_preset_list.k +++ b/k8s/1.18/api/settings/v1alpha1/pod_preset_list.k @@ -3,7 +3,7 @@ This is the pod_preset_list module in k8s.api.settings.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodPresetList: @@ -18,7 +18,7 @@ schema PodPresetList: Items is a list of schema objects. kind : str, default is "PodPresetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PodPresetList: kind: "PodPresetList" = "PodPresetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.18/api/storage/v1/csi_driver.k b/k8s/1.18/api/storage/v1/csi_driver.k index 3302994b..cd222b2a 100644 --- a/k8s/1.18/api/storage/v1/csi_driver.k +++ b/k8s/1.18/api/storage/v1/csi_driver.k @@ -3,7 +3,7 @@ This is the csi_driver module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSIDriver: @@ -16,7 +16,7 @@ schema CSIDriver: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CSIDriver", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. metadata.Name indicates the name of the CSI driver that this object refers to; it MUST be the same name returned by the CSI GetPluginName() call for that driver. The driver name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and alphanumerics between. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : CSIDriverSpec, default is Undefined, required Specification of the CSI Driver. @@ -27,7 +27,7 @@ schema CSIDriver: kind: "CSIDriver" = "CSIDriver" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CSIDriverSpec diff --git a/k8s/1.18/api/storage/v1/csi_driver_list.k b/k8s/1.18/api/storage/v1/csi_driver_list.k index 91531b39..8b09e0f6 100644 --- a/k8s/1.18/api/storage/v1/csi_driver_list.k +++ b/k8s/1.18/api/storage/v1/csi_driver_list.k @@ -3,7 +3,7 @@ This is the csi_driver_list module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSIDriverList: @@ -18,7 +18,7 @@ schema CSIDriverList: items is the list of CSIDriver kind : str, default is "CSIDriverList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CSIDriverList: kind: "CSIDriverList" = "CSIDriverList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.18/api/storage/v1/csi_node.k b/k8s/1.18/api/storage/v1/csi_node.k index 055f8653..6557da03 100644 --- a/k8s/1.18/api/storage/v1/csi_node.k +++ b/k8s/1.18/api/storage/v1/csi_node.k @@ -3,7 +3,7 @@ This is the csi_node module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSINode: @@ -16,7 +16,7 @@ schema CSINode: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CSINode", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata.name must be the Kubernetes node name. spec : CSINodeSpec, default is Undefined, required spec is the specification of CSINode @@ -27,7 +27,7 @@ schema CSINode: kind: "CSINode" = "CSINode" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CSINodeSpec diff --git a/k8s/1.18/api/storage/v1/csi_node_list.k b/k8s/1.18/api/storage/v1/csi_node_list.k index ce5793c1..3a93da71 100644 --- a/k8s/1.18/api/storage/v1/csi_node_list.k +++ b/k8s/1.18/api/storage/v1/csi_node_list.k @@ -3,7 +3,7 @@ This is the csi_node_list module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSINodeList: @@ -18,7 +18,7 @@ schema CSINodeList: items is the list of CSINode kind : str, default is "CSINodeList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CSINodeList: kind: "CSINodeList" = "CSINodeList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.18/api/storage/v1/storage_class_list.k b/k8s/1.18/api/storage/v1/storage_class_list.k index 365e1386..284d43e8 100644 --- a/k8s/1.18/api/storage/v1/storage_class_list.k +++ b/k8s/1.18/api/storage/v1/storage_class_list.k @@ -3,7 +3,7 @@ This is the storage_class_list module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StorageClassList: @@ -18,7 +18,7 @@ schema StorageClassList: Items is the list of StorageClasses kind : str, default is "StorageClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema StorageClassList: kind: "StorageClassList" = "StorageClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.18/api/storage/v1/volume_attachment.k b/k8s/1.18/api/storage/v1/volume_attachment.k index e4b9149f..f98beff1 100644 --- a/k8s/1.18/api/storage/v1/volume_attachment.k +++ b/k8s/1.18/api/storage/v1/volume_attachment.k @@ -3,7 +3,7 @@ This is the volume_attachment module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema VolumeAttachment: @@ -18,7 +18,7 @@ schema VolumeAttachment: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "VolumeAttachment", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : VolumeAttachmentSpec, default is Undefined, required Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system. @@ -29,7 +29,7 @@ schema VolumeAttachment: kind: "VolumeAttachment" = "VolumeAttachment" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: VolumeAttachmentSpec diff --git a/k8s/1.18/api/storage/v1/volume_attachment_list.k b/k8s/1.18/api/storage/v1/volume_attachment_list.k index ef702d0d..0719d0bc 100644 --- a/k8s/1.18/api/storage/v1/volume_attachment_list.k +++ b/k8s/1.18/api/storage/v1/volume_attachment_list.k @@ -3,7 +3,7 @@ This is the volume_attachment_list module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema VolumeAttachmentList: @@ -18,7 +18,7 @@ schema VolumeAttachmentList: Items is the list of VolumeAttachments kind : str, default is "VolumeAttachmentList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema VolumeAttachmentList: kind: "VolumeAttachmentList" = "VolumeAttachmentList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.18/api/storage/v1alpha1/volume_attachment.k b/k8s/1.18/api/storage/v1alpha1/volume_attachment.k index ac3e542b..69bcab61 100644 --- a/k8s/1.18/api/storage/v1alpha1/volume_attachment.k +++ b/k8s/1.18/api/storage/v1alpha1/volume_attachment.k @@ -3,7 +3,7 @@ This is the volume_attachment module in k8s.api.storage.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema VolumeAttachment: @@ -18,7 +18,7 @@ schema VolumeAttachment: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "VolumeAttachment", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : VolumeAttachmentSpec, default is Undefined, required Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system. @@ -29,7 +29,7 @@ schema VolumeAttachment: kind: "VolumeAttachment" = "VolumeAttachment" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: VolumeAttachmentSpec diff --git a/k8s/1.18/api/storage/v1alpha1/volume_attachment_list.k b/k8s/1.18/api/storage/v1alpha1/volume_attachment_list.k index ddb512e0..f89560d9 100644 --- a/k8s/1.18/api/storage/v1alpha1/volume_attachment_list.k +++ b/k8s/1.18/api/storage/v1alpha1/volume_attachment_list.k @@ -3,7 +3,7 @@ This is the volume_attachment_list module in k8s.api.storage.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema VolumeAttachmentList: @@ -18,7 +18,7 @@ schema VolumeAttachmentList: Items is the list of VolumeAttachments kind : str, default is "VolumeAttachmentList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema VolumeAttachmentList: kind: "VolumeAttachmentList" = "VolumeAttachmentList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.18/api/storage/v1beta1/csi_driver.k b/k8s/1.18/api/storage/v1beta1/csi_driver.k index e4145edc..be666b1b 100644 --- a/k8s/1.18/api/storage/v1beta1/csi_driver.k +++ b/k8s/1.18/api/storage/v1beta1/csi_driver.k @@ -3,7 +3,7 @@ This is the csi_driver module in k8s.api.storage.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSIDriver: @@ -16,7 +16,7 @@ schema CSIDriver: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CSIDriver", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. metadata.Name indicates the name of the CSI driver that this object refers to; it MUST be the same name returned by the CSI GetPluginName() call for that driver. The driver name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and alphanumerics between. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : CSIDriverSpec, default is Undefined, required Specification of the CSI Driver. @@ -27,7 +27,7 @@ schema CSIDriver: kind: "CSIDriver" = "CSIDriver" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CSIDriverSpec diff --git a/k8s/1.18/api/storage/v1beta1/csi_driver_list.k b/k8s/1.18/api/storage/v1beta1/csi_driver_list.k index 209f62b2..215906d8 100644 --- a/k8s/1.18/api/storage/v1beta1/csi_driver_list.k +++ b/k8s/1.18/api/storage/v1beta1/csi_driver_list.k @@ -3,7 +3,7 @@ This is the csi_driver_list module in k8s.api.storage.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSIDriverList: @@ -18,7 +18,7 @@ schema CSIDriverList: items is the list of CSIDriver kind : str, default is "CSIDriverList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CSIDriverList: kind: "CSIDriverList" = "CSIDriverList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.18/api/storage/v1beta1/csi_node.k b/k8s/1.18/api/storage/v1beta1/csi_node.k index f5ba6611..ec6f1aff 100644 --- a/k8s/1.18/api/storage/v1beta1/csi_node.k +++ b/k8s/1.18/api/storage/v1beta1/csi_node.k @@ -3,7 +3,7 @@ This is the csi_node module in k8s.api.storage.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSINode: @@ -16,7 +16,7 @@ schema CSINode: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CSINode", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata.name must be the Kubernetes node name. spec : CSINodeSpec, default is Undefined, required spec is the specification of CSINode @@ -27,7 +27,7 @@ schema CSINode: kind: "CSINode" = "CSINode" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CSINodeSpec diff --git a/k8s/1.18/api/storage/v1beta1/csi_node_list.k b/k8s/1.18/api/storage/v1beta1/csi_node_list.k index 3f0ca6ce..f80a6c6a 100644 --- a/k8s/1.18/api/storage/v1beta1/csi_node_list.k +++ b/k8s/1.18/api/storage/v1beta1/csi_node_list.k @@ -3,7 +3,7 @@ This is the csi_node_list module in k8s.api.storage.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSINodeList: @@ -18,7 +18,7 @@ schema CSINodeList: items is the list of CSINode kind : str, default is "CSINodeList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CSINodeList: kind: "CSINodeList" = "CSINodeList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.18/api/storage/v1beta1/storage_class_list.k b/k8s/1.18/api/storage/v1beta1/storage_class_list.k index 0dcbe241..ec9cb902 100644 --- a/k8s/1.18/api/storage/v1beta1/storage_class_list.k +++ b/k8s/1.18/api/storage/v1beta1/storage_class_list.k @@ -3,7 +3,7 @@ This is the storage_class_list module in k8s.api.storage.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StorageClassList: @@ -18,7 +18,7 @@ schema StorageClassList: Items is the list of StorageClasses kind : str, default is "StorageClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema StorageClassList: kind: "StorageClassList" = "StorageClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.18/api/storage/v1beta1/volume_attachment.k b/k8s/1.18/api/storage/v1beta1/volume_attachment.k index e0a72030..4a4768bf 100644 --- a/k8s/1.18/api/storage/v1beta1/volume_attachment.k +++ b/k8s/1.18/api/storage/v1beta1/volume_attachment.k @@ -3,7 +3,7 @@ This is the volume_attachment module in k8s.api.storage.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema VolumeAttachment: @@ -18,7 +18,7 @@ schema VolumeAttachment: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "VolumeAttachment", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : VolumeAttachmentSpec, default is Undefined, required Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system. @@ -29,7 +29,7 @@ schema VolumeAttachment: kind: "VolumeAttachment" = "VolumeAttachment" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: VolumeAttachmentSpec diff --git a/k8s/1.18/api/storage/v1beta1/volume_attachment_list.k b/k8s/1.18/api/storage/v1beta1/volume_attachment_list.k index cdc91322..4650e400 100644 --- a/k8s/1.18/api/storage/v1beta1/volume_attachment_list.k +++ b/k8s/1.18/api/storage/v1beta1/volume_attachment_list.k @@ -3,7 +3,7 @@ This is the volume_attachment_list module in k8s.api.storage.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema VolumeAttachmentList: @@ -18,7 +18,7 @@ schema VolumeAttachmentList: Items is the list of VolumeAttachments kind : str, default is "VolumeAttachmentList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema VolumeAttachmentList: kind: "VolumeAttachmentList" = "VolumeAttachmentList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.18/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition.k b/k8s/1.18/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition.k index 4d421b4d..a401f819 100644 --- a/k8s/1.18/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition.k +++ b/k8s/1.18/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition.k @@ -3,7 +3,7 @@ This is the custom_resource_definition module in k8s.apiextensions_apiserver.pkg This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CustomResourceDefinition: @@ -16,7 +16,7 @@ schema CustomResourceDefinition: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CustomResourceDefinition", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : CustomResourceDefinitionSpec, default is Undefined, required spec describes how the user wants the resources to appear @@ -27,7 +27,7 @@ schema CustomResourceDefinition: kind: "CustomResourceDefinition" = "CustomResourceDefinition" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CustomResourceDefinitionSpec diff --git a/k8s/1.18/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition_list.k b/k8s/1.18/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition_list.k index d380cb53..720e5de8 100644 --- a/k8s/1.18/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition_list.k +++ b/k8s/1.18/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition_list.k @@ -3,7 +3,7 @@ This is the custom_resource_definition_list module in k8s.apiextensions_apiserve This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CustomResourceDefinitionList: @@ -18,7 +18,7 @@ schema CustomResourceDefinitionList: items list individual CustomResourceDefinition objects kind : str, default is "CustomResourceDefinitionList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema CustomResourceDefinitionList: kind: "CustomResourceDefinitionList" = "CustomResourceDefinitionList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.18/apiextensions_apiserver/pkg/apis/apiextensions/v1beta1/custom_resource_definition.k b/k8s/1.18/apiextensions_apiserver/pkg/apis/apiextensions/v1beta1/custom_resource_definition.k index 8dd4e46a..8966dcaa 100644 --- a/k8s/1.18/apiextensions_apiserver/pkg/apis/apiextensions/v1beta1/custom_resource_definition.k +++ b/k8s/1.18/apiextensions_apiserver/pkg/apis/apiextensions/v1beta1/custom_resource_definition.k @@ -3,7 +3,7 @@ This is the custom_resource_definition module in k8s.apiextensions_apiserver.pkg This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CustomResourceDefinition: @@ -16,7 +16,7 @@ schema CustomResourceDefinition: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CustomResourceDefinition", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : CustomResourceDefinitionSpec, default is Undefined, required spec describes how the user wants the resources to appear @@ -27,7 +27,7 @@ schema CustomResourceDefinition: kind: "CustomResourceDefinition" = "CustomResourceDefinition" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CustomResourceDefinitionSpec diff --git a/k8s/1.18/apiextensions_apiserver/pkg/apis/apiextensions/v1beta1/custom_resource_definition_list.k b/k8s/1.18/apiextensions_apiserver/pkg/apis/apiextensions/v1beta1/custom_resource_definition_list.k index df4417b5..8d4519cd 100644 --- a/k8s/1.18/apiextensions_apiserver/pkg/apis/apiextensions/v1beta1/custom_resource_definition_list.k +++ b/k8s/1.18/apiextensions_apiserver/pkg/apis/apiextensions/v1beta1/custom_resource_definition_list.k @@ -3,7 +3,7 @@ This is the custom_resource_definition_list module in k8s.apiextensions_apiserve This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CustomResourceDefinitionList: @@ -18,7 +18,7 @@ schema CustomResourceDefinitionList: items list individual CustomResourceDefinition objects kind : str, default is "CustomResourceDefinitionList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema CustomResourceDefinitionList: kind: "CustomResourceDefinitionList" = "CustomResourceDefinitionList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.18/kcl.mod b/k8s/1.18/kcl.mod index 0d6994f1..856c019a 100644 --- a/k8s/1.18/kcl.mod +++ b/k8s/1.18/kcl.mod @@ -1,6 +1,6 @@ [package] name = "k8s" edition = "*" -version = "1.18.1" +version = "1.18.2" description = "`k8s` is a KCL module contains all the built-in Kubernetes resource models (the CRDs are not included here)." diff --git a/k8s/1.18/kube_aggregator/pkg/apis/apiregistration/v1/api_service.k b/k8s/1.18/kube_aggregator/pkg/apis/apiregistration/v1/api_service.k index d7575e41..b9fd5e11 100644 --- a/k8s/1.18/kube_aggregator/pkg/apis/apiregistration/v1/api_service.k +++ b/k8s/1.18/kube_aggregator/pkg/apis/apiregistration/v1/api_service.k @@ -3,7 +3,7 @@ This is the api_service module in k8s.kube_aggregator.pkg.apis.apiregistration.v This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema APIService: @@ -16,7 +16,7 @@ schema APIService: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "APIService", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : APIServiceSpec, default is Undefined, optional Spec contains information for locating and communicating with a server @@ -27,7 +27,7 @@ schema APIService: kind: "APIService" = "APIService" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: APIServiceSpec diff --git a/k8s/1.18/kube_aggregator/pkg/apis/apiregistration/v1/api_service_list.k b/k8s/1.18/kube_aggregator/pkg/apis/apiregistration/v1/api_service_list.k index a4190ded..5f850817 100644 --- a/k8s/1.18/kube_aggregator/pkg/apis/apiregistration/v1/api_service_list.k +++ b/k8s/1.18/kube_aggregator/pkg/apis/apiregistration/v1/api_service_list.k @@ -3,7 +3,7 @@ This is the api_service_list module in k8s.kube_aggregator.pkg.apis.apiregistrat This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema APIServiceList: @@ -18,7 +18,7 @@ schema APIServiceList: items kind : str, default is "APIServiceList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema APIServiceList: kind: "APIServiceList" = "APIServiceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.18/kube_aggregator/pkg/apis/apiregistration/v1beta1/api_service.k b/k8s/1.18/kube_aggregator/pkg/apis/apiregistration/v1beta1/api_service.k index 5c0348eb..d88e6dfc 100644 --- a/k8s/1.18/kube_aggregator/pkg/apis/apiregistration/v1beta1/api_service.k +++ b/k8s/1.18/kube_aggregator/pkg/apis/apiregistration/v1beta1/api_service.k @@ -3,7 +3,7 @@ This is the api_service module in k8s.kube_aggregator.pkg.apis.apiregistration.v This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema APIService: @@ -16,7 +16,7 @@ schema APIService: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "APIService", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : APIServiceSpec, default is Undefined, optional Spec contains information for locating and communicating with a server @@ -27,7 +27,7 @@ schema APIService: kind: "APIService" = "APIService" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: APIServiceSpec diff --git a/k8s/1.18/kube_aggregator/pkg/apis/apiregistration/v1beta1/api_service_list.k b/k8s/1.18/kube_aggregator/pkg/apis/apiregistration/v1beta1/api_service_list.k index f829e37d..75989315 100644 --- a/k8s/1.18/kube_aggregator/pkg/apis/apiregistration/v1beta1/api_service_list.k +++ b/k8s/1.18/kube_aggregator/pkg/apis/apiregistration/v1beta1/api_service_list.k @@ -3,7 +3,7 @@ This is the api_service_list module in k8s.kube_aggregator.pkg.apis.apiregistrat This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema APIServiceList: @@ -18,7 +18,7 @@ schema APIServiceList: items kind : str, default is "APIServiceList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema APIServiceList: kind: "APIServiceList" = "APIServiceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.19/api/admissionregistration/v1/mutating_webhook.k b/k8s/1.19/api/admissionregistration/v1/mutating_webhook.k index dad9a26f..14dff1c3 100644 --- a/k8s/1.19/api/admissionregistration/v1/mutating_webhook.k +++ b/k8s/1.19/api/admissionregistration/v1/mutating_webhook.k @@ -3,7 +3,7 @@ This is the mutating_webhook module in k8s.api.admissionregistration.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MutatingWebhook: @@ -28,7 +28,7 @@ schema MutatingWebhook: Defaults to "Equivalent" name : str, default is Undefined, required The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook. For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1"; you will set the selector as follows: "namespaceSelector": { @@ -60,7 +60,7 @@ schema MutatingWebhook: See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors. Default to the empty LabelSelector, which matches everything. - objectSelector : v1.LabelSelector, default is Undefined, optional + objectSelector : metav1.LabelSelector, default is Undefined, optional ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything. reinvocationPolicy : str, default is Undefined, optional reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded". @@ -89,9 +89,9 @@ schema MutatingWebhook: name: str - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector - objectSelector?: v1.LabelSelector + objectSelector?: metav1.LabelSelector reinvocationPolicy?: str diff --git a/k8s/1.19/api/admissionregistration/v1/mutating_webhook_configuration.k b/k8s/1.19/api/admissionregistration/v1/mutating_webhook_configuration.k index a9864b32..0c970740 100644 --- a/k8s/1.19/api/admissionregistration/v1/mutating_webhook_configuration.k +++ b/k8s/1.19/api/admissionregistration/v1/mutating_webhook_configuration.k @@ -3,7 +3,7 @@ This is the mutating_webhook_configuration module in k8s.api.admissionregistrati This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MutatingWebhookConfiguration: @@ -16,7 +16,7 @@ schema MutatingWebhookConfiguration: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "MutatingWebhookConfiguration", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. webhooks : [MutatingWebhook], default is Undefined, optional Webhooks is a list of webhooks and the affected resources and operations. @@ -27,7 +27,7 @@ schema MutatingWebhookConfiguration: kind: "MutatingWebhookConfiguration" = "MutatingWebhookConfiguration" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta webhooks?: [MutatingWebhook] diff --git a/k8s/1.19/api/admissionregistration/v1/mutating_webhook_configuration_list.k b/k8s/1.19/api/admissionregistration/v1/mutating_webhook_configuration_list.k index d4e15e81..b6fd6022 100644 --- a/k8s/1.19/api/admissionregistration/v1/mutating_webhook_configuration_list.k +++ b/k8s/1.19/api/admissionregistration/v1/mutating_webhook_configuration_list.k @@ -3,7 +3,7 @@ This is the mutating_webhook_configuration_list module in k8s.api.admissionregis This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MutatingWebhookConfigurationList: @@ -18,7 +18,7 @@ schema MutatingWebhookConfigurationList: List of MutatingWebhookConfiguration. kind : str, default is "MutatingWebhookConfigurationList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema MutatingWebhookConfigurationList: kind: "MutatingWebhookConfigurationList" = "MutatingWebhookConfigurationList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.19/api/admissionregistration/v1/validating_webhook.k b/k8s/1.19/api/admissionregistration/v1/validating_webhook.k index 112ca984..dc45ba72 100644 --- a/k8s/1.19/api/admissionregistration/v1/validating_webhook.k +++ b/k8s/1.19/api/admissionregistration/v1/validating_webhook.k @@ -3,7 +3,7 @@ This is the validating_webhook module in k8s.api.admissionregistration.v1 packag This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingWebhook: @@ -28,7 +28,7 @@ schema ValidatingWebhook: Defaults to "Equivalent" name : str, default is Undefined, required The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook. For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1"; you will set the selector as follows: "namespaceSelector": { @@ -60,7 +60,7 @@ schema ValidatingWebhook: See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels for more examples of label selectors. Default to the empty LabelSelector, which matches everything. - objectSelector : v1.LabelSelector, default is Undefined, optional + objectSelector : metav1.LabelSelector, default is Undefined, optional ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything. rules : [RuleWithOperations], default is Undefined, optional Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects. @@ -81,9 +81,9 @@ schema ValidatingWebhook: name: str - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector - objectSelector?: v1.LabelSelector + objectSelector?: metav1.LabelSelector rules?: [RuleWithOperations] diff --git a/k8s/1.19/api/admissionregistration/v1/validating_webhook_configuration.k b/k8s/1.19/api/admissionregistration/v1/validating_webhook_configuration.k index 2b45293a..e35bb335 100644 --- a/k8s/1.19/api/admissionregistration/v1/validating_webhook_configuration.k +++ b/k8s/1.19/api/admissionregistration/v1/validating_webhook_configuration.k @@ -3,7 +3,7 @@ This is the validating_webhook_configuration module in k8s.api.admissionregistra This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingWebhookConfiguration: @@ -16,7 +16,7 @@ schema ValidatingWebhookConfiguration: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ValidatingWebhookConfiguration", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. webhooks : [ValidatingWebhook], default is Undefined, optional Webhooks is a list of webhooks and the affected resources and operations. @@ -27,7 +27,7 @@ schema ValidatingWebhookConfiguration: kind: "ValidatingWebhookConfiguration" = "ValidatingWebhookConfiguration" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta webhooks?: [ValidatingWebhook] diff --git a/k8s/1.19/api/admissionregistration/v1/validating_webhook_configuration_list.k b/k8s/1.19/api/admissionregistration/v1/validating_webhook_configuration_list.k index 0515b188..2691da1c 100644 --- a/k8s/1.19/api/admissionregistration/v1/validating_webhook_configuration_list.k +++ b/k8s/1.19/api/admissionregistration/v1/validating_webhook_configuration_list.k @@ -3,7 +3,7 @@ This is the validating_webhook_configuration_list module in k8s.api.admissionreg This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingWebhookConfigurationList: @@ -18,7 +18,7 @@ schema ValidatingWebhookConfigurationList: List of ValidatingWebhookConfiguration. kind : str, default is "ValidatingWebhookConfigurationList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ValidatingWebhookConfigurationList: kind: "ValidatingWebhookConfigurationList" = "ValidatingWebhookConfigurationList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.19/api/admissionregistration/v1beta1/mutating_webhook.k b/k8s/1.19/api/admissionregistration/v1beta1/mutating_webhook.k index d8f6f60e..67eb1d6c 100644 --- a/k8s/1.19/api/admissionregistration/v1beta1/mutating_webhook.k +++ b/k8s/1.19/api/admissionregistration/v1beta1/mutating_webhook.k @@ -3,7 +3,7 @@ This is the mutating_webhook module in k8s.api.admissionregistration.v1beta1 pac This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MutatingWebhook: @@ -28,7 +28,7 @@ schema MutatingWebhook: Defaults to "Exact" name : str, default is Undefined, required The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook. For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1"; you will set the selector as follows: "namespaceSelector": { @@ -60,7 +60,7 @@ schema MutatingWebhook: See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors. Default to the empty LabelSelector, which matches everything. - objectSelector : v1.LabelSelector, default is Undefined, optional + objectSelector : metav1.LabelSelector, default is Undefined, optional ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything. reinvocationPolicy : str, default is Undefined, optional reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded". @@ -89,9 +89,9 @@ schema MutatingWebhook: name: str - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector - objectSelector?: v1.LabelSelector + objectSelector?: metav1.LabelSelector reinvocationPolicy?: str diff --git a/k8s/1.19/api/admissionregistration/v1beta1/mutating_webhook_configuration.k b/k8s/1.19/api/admissionregistration/v1beta1/mutating_webhook_configuration.k index 6393b519..25598a7d 100644 --- a/k8s/1.19/api/admissionregistration/v1beta1/mutating_webhook_configuration.k +++ b/k8s/1.19/api/admissionregistration/v1beta1/mutating_webhook_configuration.k @@ -3,7 +3,7 @@ This is the mutating_webhook_configuration module in k8s.api.admissionregistrati This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MutatingWebhookConfiguration: @@ -16,7 +16,7 @@ schema MutatingWebhookConfiguration: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "MutatingWebhookConfiguration", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. webhooks : [MutatingWebhook], default is Undefined, optional Webhooks is a list of webhooks and the affected resources and operations. @@ -27,7 +27,7 @@ schema MutatingWebhookConfiguration: kind: "MutatingWebhookConfiguration" = "MutatingWebhookConfiguration" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta webhooks?: [MutatingWebhook] diff --git a/k8s/1.19/api/admissionregistration/v1beta1/mutating_webhook_configuration_list.k b/k8s/1.19/api/admissionregistration/v1beta1/mutating_webhook_configuration_list.k index 12c40d69..a56f0976 100644 --- a/k8s/1.19/api/admissionregistration/v1beta1/mutating_webhook_configuration_list.k +++ b/k8s/1.19/api/admissionregistration/v1beta1/mutating_webhook_configuration_list.k @@ -3,7 +3,7 @@ This is the mutating_webhook_configuration_list module in k8s.api.admissionregis This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MutatingWebhookConfigurationList: @@ -18,7 +18,7 @@ schema MutatingWebhookConfigurationList: List of MutatingWebhookConfiguration. kind : str, default is "MutatingWebhookConfigurationList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema MutatingWebhookConfigurationList: kind: "MutatingWebhookConfigurationList" = "MutatingWebhookConfigurationList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.19/api/admissionregistration/v1beta1/validating_webhook.k b/k8s/1.19/api/admissionregistration/v1beta1/validating_webhook.k index e4e2e47f..df5b8775 100644 --- a/k8s/1.19/api/admissionregistration/v1beta1/validating_webhook.k +++ b/k8s/1.19/api/admissionregistration/v1beta1/validating_webhook.k @@ -3,7 +3,7 @@ This is the validating_webhook module in k8s.api.admissionregistration.v1beta1 p This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingWebhook: @@ -28,7 +28,7 @@ schema ValidatingWebhook: Defaults to "Exact" name : str, default is Undefined, required The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook. For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1"; you will set the selector as follows: "namespaceSelector": { @@ -60,7 +60,7 @@ schema ValidatingWebhook: See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels for more examples of label selectors. Default to the empty LabelSelector, which matches everything. - objectSelector : v1.LabelSelector, default is Undefined, optional + objectSelector : metav1.LabelSelector, default is Undefined, optional ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything. rules : [RuleWithOperations], default is Undefined, optional Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects. @@ -81,9 +81,9 @@ schema ValidatingWebhook: name: str - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector - objectSelector?: v1.LabelSelector + objectSelector?: metav1.LabelSelector rules?: [RuleWithOperations] diff --git a/k8s/1.19/api/admissionregistration/v1beta1/validating_webhook_configuration.k b/k8s/1.19/api/admissionregistration/v1beta1/validating_webhook_configuration.k index 9aff9003..9d848985 100644 --- a/k8s/1.19/api/admissionregistration/v1beta1/validating_webhook_configuration.k +++ b/k8s/1.19/api/admissionregistration/v1beta1/validating_webhook_configuration.k @@ -3,7 +3,7 @@ This is the validating_webhook_configuration module in k8s.api.admissionregistra This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingWebhookConfiguration: @@ -16,7 +16,7 @@ schema ValidatingWebhookConfiguration: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ValidatingWebhookConfiguration", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. webhooks : [ValidatingWebhook], default is Undefined, optional Webhooks is a list of webhooks and the affected resources and operations. @@ -27,7 +27,7 @@ schema ValidatingWebhookConfiguration: kind: "ValidatingWebhookConfiguration" = "ValidatingWebhookConfiguration" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta webhooks?: [ValidatingWebhook] diff --git a/k8s/1.19/api/admissionregistration/v1beta1/validating_webhook_configuration_list.k b/k8s/1.19/api/admissionregistration/v1beta1/validating_webhook_configuration_list.k index 53370083..64780e0f 100644 --- a/k8s/1.19/api/admissionregistration/v1beta1/validating_webhook_configuration_list.k +++ b/k8s/1.19/api/admissionregistration/v1beta1/validating_webhook_configuration_list.k @@ -3,7 +3,7 @@ This is the validating_webhook_configuration_list module in k8s.api.admissionreg This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingWebhookConfigurationList: @@ -18,7 +18,7 @@ schema ValidatingWebhookConfigurationList: List of ValidatingWebhookConfiguration. kind : str, default is "ValidatingWebhookConfigurationList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ValidatingWebhookConfigurationList: kind: "ValidatingWebhookConfigurationList" = "ValidatingWebhookConfigurationList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.19/api/apps/v1/controller_revision.k b/k8s/1.19/api/apps/v1/controller_revision.k index dbb3d441..56163182 100644 --- a/k8s/1.19/api/apps/v1/controller_revision.k +++ b/k8s/1.19/api/apps/v1/controller_revision.k @@ -3,7 +3,7 @@ This is the controller_revision module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ControllerRevision: @@ -18,7 +18,7 @@ schema ControllerRevision: Data is the serialized representation of the state. kind : str, default is "ControllerRevision", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata revision : int, default is Undefined, required Revision indicates the revision of the state represented by Data. @@ -31,7 +31,7 @@ schema ControllerRevision: kind: "ControllerRevision" = "ControllerRevision" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta revision: int diff --git a/k8s/1.19/api/apps/v1/controller_revision_list.k b/k8s/1.19/api/apps/v1/controller_revision_list.k index e145fcff..bb64d1fe 100644 --- a/k8s/1.19/api/apps/v1/controller_revision_list.k +++ b/k8s/1.19/api/apps/v1/controller_revision_list.k @@ -3,7 +3,7 @@ This is the controller_revision_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ControllerRevisionList: @@ -18,7 +18,7 @@ schema ControllerRevisionList: Items is the list of ControllerRevisions kind : str, default is "ControllerRevisionList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema ControllerRevisionList: kind: "ControllerRevisionList" = "ControllerRevisionList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.19/api/apps/v1/daemon_set.k b/k8s/1.19/api/apps/v1/daemon_set.k index 33e7b68b..fd1c7c20 100644 --- a/k8s/1.19/api/apps/v1/daemon_set.k +++ b/k8s/1.19/api/apps/v1/daemon_set.k @@ -3,7 +3,7 @@ This is the daemon_set module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DaemonSet: @@ -16,7 +16,7 @@ schema DaemonSet: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "DaemonSet", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : DaemonSetSpec, default is Undefined, optional The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema DaemonSet: kind: "DaemonSet" = "DaemonSet" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: DaemonSetSpec diff --git a/k8s/1.19/api/apps/v1/daemon_set_list.k b/k8s/1.19/api/apps/v1/daemon_set_list.k index 3515d999..795c26f8 100644 --- a/k8s/1.19/api/apps/v1/daemon_set_list.k +++ b/k8s/1.19/api/apps/v1/daemon_set_list.k @@ -3,7 +3,7 @@ This is the daemon_set_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DaemonSetList: @@ -18,7 +18,7 @@ schema DaemonSetList: A list of daemon sets. kind : str, default is "DaemonSetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema DaemonSetList: kind: "DaemonSetList" = "DaemonSetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.19/api/apps/v1/daemon_set_spec.k b/k8s/1.19/api/apps/v1/daemon_set_spec.k index caf3faf8..352f849c 100644 --- a/k8s/1.19/api/apps/v1/daemon_set_spec.k +++ b/k8s/1.19/api/apps/v1/daemon_set_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DaemonSetSpec: @@ -17,7 +17,7 @@ schema DaemonSetSpec: The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready). revisionHistoryLimit : int, default is Undefined, optional The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required A label query over pods that are managed by the daemon set. Must match in order to be controlled. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors template : corev1.PodTemplateSpec, default is Undefined, required An object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template @@ -30,7 +30,7 @@ schema DaemonSetSpec: revisionHistoryLimit?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector template: corev1.PodTemplateSpec diff --git a/k8s/1.19/api/apps/v1/deployment.k b/k8s/1.19/api/apps/v1/deployment.k index 9b4af78c..6572679c 100644 --- a/k8s/1.19/api/apps/v1/deployment.k +++ b/k8s/1.19/api/apps/v1/deployment.k @@ -3,7 +3,7 @@ This is the deployment module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Deployment: @@ -16,7 +16,7 @@ schema Deployment: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Deployment", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. spec : DeploymentSpec, default is Undefined, optional Specification of the desired behavior of the Deployment. @@ -27,7 +27,7 @@ schema Deployment: kind: "Deployment" = "Deployment" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: DeploymentSpec diff --git a/k8s/1.19/api/apps/v1/deployment_list.k b/k8s/1.19/api/apps/v1/deployment_list.k index a83ce0d5..8fa44e9b 100644 --- a/k8s/1.19/api/apps/v1/deployment_list.k +++ b/k8s/1.19/api/apps/v1/deployment_list.k @@ -3,7 +3,7 @@ This is the deployment_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DeploymentList: @@ -18,7 +18,7 @@ schema DeploymentList: Items is the list of Deployments. kind : str, default is "DeploymentList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema DeploymentList: kind: "DeploymentList" = "DeploymentList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.19/api/apps/v1/deployment_spec.k b/k8s/1.19/api/apps/v1/deployment_spec.k index b8591d9a..c0f14ef0 100644 --- a/k8s/1.19/api/apps/v1/deployment_spec.k +++ b/k8s/1.19/api/apps/v1/deployment_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DeploymentSpec: @@ -23,7 +23,7 @@ schema DeploymentSpec: Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1. revisionHistoryLimit : int, default is Undefined, optional The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. It must match the pod template's labels. strategy : DeploymentStrategy, default is Undefined, optional The deployment strategy to use to replace existing pods with new ones. @@ -42,7 +42,7 @@ schema DeploymentSpec: revisionHistoryLimit?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector strategy?: DeploymentStrategy diff --git a/k8s/1.19/api/apps/v1/replica_set.k b/k8s/1.19/api/apps/v1/replica_set.k index 0497ff66..79552175 100644 --- a/k8s/1.19/api/apps/v1/replica_set.k +++ b/k8s/1.19/api/apps/v1/replica_set.k @@ -3,7 +3,7 @@ This is the replica_set module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicaSet: @@ -16,7 +16,7 @@ schema ReplicaSet: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ReplicaSet", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : ReplicaSetSpec, default is Undefined, optional Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema ReplicaSet: kind: "ReplicaSet" = "ReplicaSet" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ReplicaSetSpec diff --git a/k8s/1.19/api/apps/v1/replica_set_list.k b/k8s/1.19/api/apps/v1/replica_set_list.k index 0e25bef7..689ca9bb 100644 --- a/k8s/1.19/api/apps/v1/replica_set_list.k +++ b/k8s/1.19/api/apps/v1/replica_set_list.k @@ -3,7 +3,7 @@ This is the replica_set_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicaSetList: @@ -18,7 +18,7 @@ schema ReplicaSetList: List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller kind : str, default is "ReplicaSetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ReplicaSetList: kind: "ReplicaSetList" = "ReplicaSetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.19/api/apps/v1/replica_set_spec.k b/k8s/1.19/api/apps/v1/replica_set_spec.k index 700810d3..53ae3f6f 100644 --- a/k8s/1.19/api/apps/v1/replica_set_spec.k +++ b/k8s/1.19/api/apps/v1/replica_set_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicaSetSpec: @@ -17,7 +17,7 @@ schema ReplicaSetSpec: Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) replicas : int, default is Undefined, optional Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required Selector is a label query over pods that should match the replica count. Label keys and values that must match in order to be controlled by this replica set. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors template : corev1.PodTemplateSpec, default is Undefined, optional Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template @@ -28,7 +28,7 @@ schema ReplicaSetSpec: replicas?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector template?: corev1.PodTemplateSpec diff --git a/k8s/1.19/api/apps/v1/stateful_set.k b/k8s/1.19/api/apps/v1/stateful_set.k index d069bd3c..1ae50fc7 100644 --- a/k8s/1.19/api/apps/v1/stateful_set.k +++ b/k8s/1.19/api/apps/v1/stateful_set.k @@ -3,7 +3,7 @@ This is the stateful_set module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StatefulSet: @@ -19,7 +19,7 @@ schema StatefulSet: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "StatefulSet", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : StatefulSetSpec, default is Undefined, optional Spec defines the desired identities of pods in this set. @@ -30,7 +30,7 @@ schema StatefulSet: kind: "StatefulSet" = "StatefulSet" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: StatefulSetSpec diff --git a/k8s/1.19/api/apps/v1/stateful_set_list.k b/k8s/1.19/api/apps/v1/stateful_set_list.k index cb8e7543..96301762 100644 --- a/k8s/1.19/api/apps/v1/stateful_set_list.k +++ b/k8s/1.19/api/apps/v1/stateful_set_list.k @@ -3,7 +3,7 @@ This is the stateful_set_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StatefulSetList: @@ -18,7 +18,7 @@ schema StatefulSetList: items kind : str, default is "StatefulSetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema StatefulSetList: kind: "StatefulSetList" = "StatefulSetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.19/api/apps/v1/stateful_set_spec.k b/k8s/1.19/api/apps/v1/stateful_set_spec.k index 4deeb5ed..14e6e0ee 100644 --- a/k8s/1.19/api/apps/v1/stateful_set_spec.k +++ b/k8s/1.19/api/apps/v1/stateful_set_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StatefulSetSpec: @@ -19,7 +19,7 @@ schema StatefulSetSpec: replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1. revisionHistoryLimit : int, default is Undefined, optional revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10. - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required selector is a label query over pods that should match the replica count. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors serviceName : str, default is Undefined, required serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where "pod-specific-string" is managed by the StatefulSet controller. @@ -38,7 +38,7 @@ schema StatefulSetSpec: revisionHistoryLimit?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector serviceName: str diff --git a/k8s/1.19/api/authentication/v1/token_request.k b/k8s/1.19/api/authentication/v1/token_request.k index 66d2e5e8..42e94dd8 100644 --- a/k8s/1.19/api/authentication/v1/token_request.k +++ b/k8s/1.19/api/authentication/v1/token_request.k @@ -3,7 +3,7 @@ This is the token_request module in k8s.api.authentication.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema TokenRequest: @@ -16,7 +16,7 @@ schema TokenRequest: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "TokenRequest", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : TokenRequestSpec, default is Undefined, required spec @@ -27,7 +27,7 @@ schema TokenRequest: kind: "TokenRequest" = "TokenRequest" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: TokenRequestSpec diff --git a/k8s/1.19/api/authentication/v1/token_review.k b/k8s/1.19/api/authentication/v1/token_review.k index c125cf34..eccc8ac7 100644 --- a/k8s/1.19/api/authentication/v1/token_review.k +++ b/k8s/1.19/api/authentication/v1/token_review.k @@ -3,7 +3,7 @@ This is the token_review module in k8s.api.authentication.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema TokenReview: @@ -16,7 +16,7 @@ schema TokenReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "TokenReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : TokenReviewSpec, default is Undefined, required Spec holds information about the request being evaluated @@ -27,7 +27,7 @@ schema TokenReview: kind: "TokenReview" = "TokenReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: TokenReviewSpec diff --git a/k8s/1.19/api/authentication/v1beta1/token_review.k b/k8s/1.19/api/authentication/v1beta1/token_review.k index 99abe8f4..b35b35ae 100644 --- a/k8s/1.19/api/authentication/v1beta1/token_review.k +++ b/k8s/1.19/api/authentication/v1beta1/token_review.k @@ -3,7 +3,7 @@ This is the token_review module in k8s.api.authentication.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema TokenReview: @@ -16,7 +16,7 @@ schema TokenReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "TokenReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : TokenReviewSpec, default is Undefined, required Spec holds information about the request being evaluated @@ -27,7 +27,7 @@ schema TokenReview: kind: "TokenReview" = "TokenReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: TokenReviewSpec diff --git a/k8s/1.19/api/authorization/v1/local_subject_access_review.k b/k8s/1.19/api/authorization/v1/local_subject_access_review.k index c9626db7..1c64a48c 100644 --- a/k8s/1.19/api/authorization/v1/local_subject_access_review.k +++ b/k8s/1.19/api/authorization/v1/local_subject_access_review.k @@ -3,7 +3,7 @@ This is the local_subject_access_review module in k8s.api.authorization.v1 packa This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LocalSubjectAccessReview: @@ -16,7 +16,7 @@ schema LocalSubjectAccessReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "LocalSubjectAccessReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : SubjectAccessReviewSpec, default is Undefined, required Spec holds information about the request being evaluated. spec.namespace must be equal to the namespace you made the request against. If empty, it is defaulted. @@ -27,7 +27,7 @@ schema LocalSubjectAccessReview: kind: "LocalSubjectAccessReview" = "LocalSubjectAccessReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SubjectAccessReviewSpec diff --git a/k8s/1.19/api/authorization/v1/self_subject_access_review.k b/k8s/1.19/api/authorization/v1/self_subject_access_review.k index 3de47c38..8ddd2611 100644 --- a/k8s/1.19/api/authorization/v1/self_subject_access_review.k +++ b/k8s/1.19/api/authorization/v1/self_subject_access_review.k @@ -3,7 +3,7 @@ This is the self_subject_access_review module in k8s.api.authorization.v1 packag This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SelfSubjectAccessReview: @@ -16,7 +16,7 @@ schema SelfSubjectAccessReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SelfSubjectAccessReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : SelfSubjectAccessReviewSpec, default is Undefined, required Spec holds information about the request being evaluated. user and groups must be empty @@ -27,7 +27,7 @@ schema SelfSubjectAccessReview: kind: "SelfSubjectAccessReview" = "SelfSubjectAccessReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SelfSubjectAccessReviewSpec diff --git a/k8s/1.19/api/authorization/v1/self_subject_rules_review.k b/k8s/1.19/api/authorization/v1/self_subject_rules_review.k index ad99c589..16ec3f9f 100644 --- a/k8s/1.19/api/authorization/v1/self_subject_rules_review.k +++ b/k8s/1.19/api/authorization/v1/self_subject_rules_review.k @@ -3,7 +3,7 @@ This is the self_subject_rules_review module in k8s.api.authorization.v1 package This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SelfSubjectRulesReview: @@ -16,7 +16,7 @@ schema SelfSubjectRulesReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SelfSubjectRulesReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : SelfSubjectRulesReviewSpec, default is Undefined, required Spec holds information about the request being evaluated. @@ -27,7 +27,7 @@ schema SelfSubjectRulesReview: kind: "SelfSubjectRulesReview" = "SelfSubjectRulesReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SelfSubjectRulesReviewSpec diff --git a/k8s/1.19/api/authorization/v1/subject_access_review.k b/k8s/1.19/api/authorization/v1/subject_access_review.k index 63054bce..92ace799 100644 --- a/k8s/1.19/api/authorization/v1/subject_access_review.k +++ b/k8s/1.19/api/authorization/v1/subject_access_review.k @@ -3,7 +3,7 @@ This is the subject_access_review module in k8s.api.authorization.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SubjectAccessReview: @@ -16,7 +16,7 @@ schema SubjectAccessReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SubjectAccessReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : SubjectAccessReviewSpec, default is Undefined, required Spec holds information about the request being evaluated @@ -27,7 +27,7 @@ schema SubjectAccessReview: kind: "SubjectAccessReview" = "SubjectAccessReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SubjectAccessReviewSpec diff --git a/k8s/1.19/api/authorization/v1beta1/local_subject_access_review.k b/k8s/1.19/api/authorization/v1beta1/local_subject_access_review.k index 687ff5e1..54883a47 100644 --- a/k8s/1.19/api/authorization/v1beta1/local_subject_access_review.k +++ b/k8s/1.19/api/authorization/v1beta1/local_subject_access_review.k @@ -3,7 +3,7 @@ This is the local_subject_access_review module in k8s.api.authorization.v1beta1 This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LocalSubjectAccessReview: @@ -16,7 +16,7 @@ schema LocalSubjectAccessReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "LocalSubjectAccessReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : SubjectAccessReviewSpec, default is Undefined, required Spec holds information about the request being evaluated. spec.namespace must be equal to the namespace you made the request against. If empty, it is defaulted. @@ -27,7 +27,7 @@ schema LocalSubjectAccessReview: kind: "LocalSubjectAccessReview" = "LocalSubjectAccessReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SubjectAccessReviewSpec diff --git a/k8s/1.19/api/authorization/v1beta1/self_subject_access_review.k b/k8s/1.19/api/authorization/v1beta1/self_subject_access_review.k index 05c83084..ee819623 100644 --- a/k8s/1.19/api/authorization/v1beta1/self_subject_access_review.k +++ b/k8s/1.19/api/authorization/v1beta1/self_subject_access_review.k @@ -3,7 +3,7 @@ This is the self_subject_access_review module in k8s.api.authorization.v1beta1 p This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SelfSubjectAccessReview: @@ -16,7 +16,7 @@ schema SelfSubjectAccessReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SelfSubjectAccessReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : SelfSubjectAccessReviewSpec, default is Undefined, required Spec holds information about the request being evaluated. user and groups must be empty @@ -27,7 +27,7 @@ schema SelfSubjectAccessReview: kind: "SelfSubjectAccessReview" = "SelfSubjectAccessReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SelfSubjectAccessReviewSpec diff --git a/k8s/1.19/api/authorization/v1beta1/self_subject_rules_review.k b/k8s/1.19/api/authorization/v1beta1/self_subject_rules_review.k index a71edd4d..51a41f51 100644 --- a/k8s/1.19/api/authorization/v1beta1/self_subject_rules_review.k +++ b/k8s/1.19/api/authorization/v1beta1/self_subject_rules_review.k @@ -3,7 +3,7 @@ This is the self_subject_rules_review module in k8s.api.authorization.v1beta1 pa This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SelfSubjectRulesReview: @@ -16,7 +16,7 @@ schema SelfSubjectRulesReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SelfSubjectRulesReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : SelfSubjectRulesReviewSpec, default is Undefined, required Spec holds information about the request being evaluated. @@ -27,7 +27,7 @@ schema SelfSubjectRulesReview: kind: "SelfSubjectRulesReview" = "SelfSubjectRulesReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SelfSubjectRulesReviewSpec diff --git a/k8s/1.19/api/authorization/v1beta1/subject_access_review.k b/k8s/1.19/api/authorization/v1beta1/subject_access_review.k index e28f6eed..9dcea762 100644 --- a/k8s/1.19/api/authorization/v1beta1/subject_access_review.k +++ b/k8s/1.19/api/authorization/v1beta1/subject_access_review.k @@ -3,7 +3,7 @@ This is the subject_access_review module in k8s.api.authorization.v1beta1 packag This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SubjectAccessReview: @@ -16,7 +16,7 @@ schema SubjectAccessReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SubjectAccessReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : SubjectAccessReviewSpec, default is Undefined, required Spec holds information about the request being evaluated @@ -27,7 +27,7 @@ schema SubjectAccessReview: kind: "SubjectAccessReview" = "SubjectAccessReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SubjectAccessReviewSpec diff --git a/k8s/1.19/api/autoscaling/v1/horizontal_pod_autoscaler.k b/k8s/1.19/api/autoscaling/v1/horizontal_pod_autoscaler.k index eea68027..b81a2839 100644 --- a/k8s/1.19/api/autoscaling/v1/horizontal_pod_autoscaler.k +++ b/k8s/1.19/api/autoscaling/v1/horizontal_pod_autoscaler.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler module in k8s.api.autoscaling.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscaler: @@ -16,7 +16,7 @@ schema HorizontalPodAutoscaler: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "HorizontalPodAutoscaler", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : HorizontalPodAutoscalerSpec, default is Undefined, optional behaviour of autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema HorizontalPodAutoscaler: kind: "HorizontalPodAutoscaler" = "HorizontalPodAutoscaler" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: HorizontalPodAutoscalerSpec diff --git a/k8s/1.19/api/autoscaling/v1/horizontal_pod_autoscaler_list.k b/k8s/1.19/api/autoscaling/v1/horizontal_pod_autoscaler_list.k index 829f7b8b..40a58fe3 100644 --- a/k8s/1.19/api/autoscaling/v1/horizontal_pod_autoscaler_list.k +++ b/k8s/1.19/api/autoscaling/v1/horizontal_pod_autoscaler_list.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler_list module in k8s.api.autoscaling.v1 pack This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscalerList: @@ -18,7 +18,7 @@ schema HorizontalPodAutoscalerList: list of horizontal pod autoscaler objects. kind : str, default is "HorizontalPodAutoscalerList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema HorizontalPodAutoscalerList: kind: "HorizontalPodAutoscalerList" = "HorizontalPodAutoscalerList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.19/api/autoscaling/v1/scale.k b/k8s/1.19/api/autoscaling/v1/scale.k index d9bbdae4..1466aa0e 100644 --- a/k8s/1.19/api/autoscaling/v1/scale.k +++ b/k8s/1.19/api/autoscaling/v1/scale.k @@ -3,7 +3,7 @@ This is the scale module in k8s.api.autoscaling.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Scale: @@ -16,7 +16,7 @@ schema Scale: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Scale", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. spec : ScaleSpec, default is Undefined, optional defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema Scale: kind: "Scale" = "Scale" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ScaleSpec diff --git a/k8s/1.19/api/autoscaling/v2beta1/external_metric_source.k b/k8s/1.19/api/autoscaling/v2beta1/external_metric_source.k index 23887048..b1ff85f3 100644 --- a/k8s/1.19/api/autoscaling/v2beta1/external_metric_source.k +++ b/k8s/1.19/api/autoscaling/v2beta1/external_metric_source.k @@ -3,7 +3,7 @@ This is the external_metric_source module in k8s.api.autoscaling.v2beta1 package This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ExternalMetricSource: @@ -14,7 +14,7 @@ schema ExternalMetricSource: ---------- metricName : str, default is Undefined, required metricName is the name of the metric in question. - metricSelector : v1.LabelSelector, default is Undefined, optional + metricSelector : metav1.LabelSelector, default is Undefined, optional metricSelector is used to identify a specific time series within a given metric. targetAverageValue : str, default is Undefined, optional targetAverageValue is the target per-pod value of global metric (as a quantity). Mutually exclusive with TargetValue. @@ -25,7 +25,7 @@ schema ExternalMetricSource: metricName: str - metricSelector?: v1.LabelSelector + metricSelector?: metav1.LabelSelector targetAverageValue?: str diff --git a/k8s/1.19/api/autoscaling/v2beta1/external_metric_status.k b/k8s/1.19/api/autoscaling/v2beta1/external_metric_status.k index 507ffd14..39a87bad 100644 --- a/k8s/1.19/api/autoscaling/v2beta1/external_metric_status.k +++ b/k8s/1.19/api/autoscaling/v2beta1/external_metric_status.k @@ -3,7 +3,7 @@ This is the external_metric_status module in k8s.api.autoscaling.v2beta1 package This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ExternalMetricStatus: @@ -18,7 +18,7 @@ schema ExternalMetricStatus: currentValue is the current value of the metric (as a quantity) metricName : str, default is Undefined, required metricName is the name of a metric used for autoscaling in metric system. - metricSelector : v1.LabelSelector, default is Undefined, optional + metricSelector : metav1.LabelSelector, default is Undefined, optional metricSelector is used to identify a specific time series within a given metric. """ @@ -29,6 +29,6 @@ schema ExternalMetricStatus: metricName: str - metricSelector?: v1.LabelSelector + metricSelector?: metav1.LabelSelector diff --git a/k8s/1.19/api/autoscaling/v2beta1/horizontal_pod_autoscaler.k b/k8s/1.19/api/autoscaling/v2beta1/horizontal_pod_autoscaler.k index 47c8b64c..4ea3ff99 100644 --- a/k8s/1.19/api/autoscaling/v2beta1/horizontal_pod_autoscaler.k +++ b/k8s/1.19/api/autoscaling/v2beta1/horizontal_pod_autoscaler.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler module in k8s.api.autoscaling.v2beta1 pack This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscaler: @@ -16,7 +16,7 @@ schema HorizontalPodAutoscaler: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "HorizontalPodAutoscaler", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : HorizontalPodAutoscalerSpec, default is Undefined, optional spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema HorizontalPodAutoscaler: kind: "HorizontalPodAutoscaler" = "HorizontalPodAutoscaler" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: HorizontalPodAutoscalerSpec diff --git a/k8s/1.19/api/autoscaling/v2beta1/horizontal_pod_autoscaler_list.k b/k8s/1.19/api/autoscaling/v2beta1/horizontal_pod_autoscaler_list.k index 95381428..4629310f 100644 --- a/k8s/1.19/api/autoscaling/v2beta1/horizontal_pod_autoscaler_list.k +++ b/k8s/1.19/api/autoscaling/v2beta1/horizontal_pod_autoscaler_list.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler_list module in k8s.api.autoscaling.v2beta1 This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscalerList: @@ -18,7 +18,7 @@ schema HorizontalPodAutoscalerList: items is the list of horizontal pod autoscaler objects. kind : str, default is "HorizontalPodAutoscalerList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata is the standard list metadata. """ @@ -29,6 +29,6 @@ schema HorizontalPodAutoscalerList: kind: "HorizontalPodAutoscalerList" = "HorizontalPodAutoscalerList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.19/api/autoscaling/v2beta1/object_metric_source.k b/k8s/1.19/api/autoscaling/v2beta1/object_metric_source.k index a8ff4213..af8d307f 100644 --- a/k8s/1.19/api/autoscaling/v2beta1/object_metric_source.k +++ b/k8s/1.19/api/autoscaling/v2beta1/object_metric_source.k @@ -3,7 +3,7 @@ This is the object_metric_source module in k8s.api.autoscaling.v2beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ObjectMetricSource: @@ -16,7 +16,7 @@ schema ObjectMetricSource: averageValue is the target value of the average of the metric across all relevant pods (as a quantity) metricName : str, default is Undefined, required metricName is the name of the metric in question. - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics. target : CrossVersionObjectReference, default is Undefined, required target is the described Kubernetes object. @@ -29,7 +29,7 @@ schema ObjectMetricSource: metricName: str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector target: CrossVersionObjectReference diff --git a/k8s/1.19/api/autoscaling/v2beta1/object_metric_status.k b/k8s/1.19/api/autoscaling/v2beta1/object_metric_status.k index 39aeb9de..b7054bd5 100644 --- a/k8s/1.19/api/autoscaling/v2beta1/object_metric_status.k +++ b/k8s/1.19/api/autoscaling/v2beta1/object_metric_status.k @@ -3,7 +3,7 @@ This is the object_metric_status module in k8s.api.autoscaling.v2beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ObjectMetricStatus: @@ -18,7 +18,7 @@ schema ObjectMetricStatus: currentValue is the current value of the metric (as a quantity). metricName : str, default is Undefined, required metricName is the name of the metric in question. - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the ObjectMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics. target : CrossVersionObjectReference, default is Undefined, required target is the described Kubernetes object. @@ -31,7 +31,7 @@ schema ObjectMetricStatus: metricName: str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector target: CrossVersionObjectReference diff --git a/k8s/1.19/api/autoscaling/v2beta1/pods_metric_source.k b/k8s/1.19/api/autoscaling/v2beta1/pods_metric_source.k index ee0111ef..850fcd7b 100644 --- a/k8s/1.19/api/autoscaling/v2beta1/pods_metric_source.k +++ b/k8s/1.19/api/autoscaling/v2beta1/pods_metric_source.k @@ -3,7 +3,7 @@ This is the pods_metric_source module in k8s.api.autoscaling.v2beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodsMetricSource: @@ -14,7 +14,7 @@ schema PodsMetricSource: ---------- metricName : str, default is Undefined, required metricName is the name of the metric in question - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics. targetAverageValue : str, default is Undefined, required targetAverageValue is the target value of the average of the metric across all relevant pods (as a quantity) @@ -23,7 +23,7 @@ schema PodsMetricSource: metricName: str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector targetAverageValue: str diff --git a/k8s/1.19/api/autoscaling/v2beta1/pods_metric_status.k b/k8s/1.19/api/autoscaling/v2beta1/pods_metric_status.k index 2d8c30c0..0792b4d4 100644 --- a/k8s/1.19/api/autoscaling/v2beta1/pods_metric_status.k +++ b/k8s/1.19/api/autoscaling/v2beta1/pods_metric_status.k @@ -3,7 +3,7 @@ This is the pods_metric_status module in k8s.api.autoscaling.v2beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodsMetricStatus: @@ -16,7 +16,7 @@ schema PodsMetricStatus: currentAverageValue is the current value of the average of the metric across all relevant pods (as a quantity) metricName : str, default is Undefined, required metricName is the name of the metric in question - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the PodsMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics. """ @@ -25,6 +25,6 @@ schema PodsMetricStatus: metricName: str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector diff --git a/k8s/1.19/api/autoscaling/v2beta2/horizontal_pod_autoscaler.k b/k8s/1.19/api/autoscaling/v2beta2/horizontal_pod_autoscaler.k index 9ab9ca42..fb10b245 100644 --- a/k8s/1.19/api/autoscaling/v2beta2/horizontal_pod_autoscaler.k +++ b/k8s/1.19/api/autoscaling/v2beta2/horizontal_pod_autoscaler.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler module in k8s.api.autoscaling.v2beta2 pack This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscaler: @@ -16,7 +16,7 @@ schema HorizontalPodAutoscaler: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "HorizontalPodAutoscaler", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : HorizontalPodAutoscalerSpec, default is Undefined, optional spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema HorizontalPodAutoscaler: kind: "HorizontalPodAutoscaler" = "HorizontalPodAutoscaler" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: HorizontalPodAutoscalerSpec diff --git a/k8s/1.19/api/autoscaling/v2beta2/horizontal_pod_autoscaler_list.k b/k8s/1.19/api/autoscaling/v2beta2/horizontal_pod_autoscaler_list.k index ad127934..152be58d 100644 --- a/k8s/1.19/api/autoscaling/v2beta2/horizontal_pod_autoscaler_list.k +++ b/k8s/1.19/api/autoscaling/v2beta2/horizontal_pod_autoscaler_list.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler_list module in k8s.api.autoscaling.v2beta2 This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscalerList: @@ -18,7 +18,7 @@ schema HorizontalPodAutoscalerList: items is the list of horizontal pod autoscaler objects. kind : str, default is "HorizontalPodAutoscalerList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata is the standard list metadata. """ @@ -29,6 +29,6 @@ schema HorizontalPodAutoscalerList: kind: "HorizontalPodAutoscalerList" = "HorizontalPodAutoscalerList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.19/api/autoscaling/v2beta2/metric_identifier.k b/k8s/1.19/api/autoscaling/v2beta2/metric_identifier.k index 18d313d2..06be0dff 100644 --- a/k8s/1.19/api/autoscaling/v2beta2/metric_identifier.k +++ b/k8s/1.19/api/autoscaling/v2beta2/metric_identifier.k @@ -3,7 +3,7 @@ This is the metric_identifier module in k8s.api.autoscaling.v2beta2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MetricIdentifier: @@ -14,13 +14,13 @@ schema MetricIdentifier: ---------- name : str, default is Undefined, required name is the name of the given metric - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics. """ name: str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector diff --git a/k8s/1.19/api/batch/v1/job.k b/k8s/1.19/api/batch/v1/job.k index 44fbc917..3e545aac 100644 --- a/k8s/1.19/api/batch/v1/job.k +++ b/k8s/1.19/api/batch/v1/job.k @@ -3,7 +3,7 @@ This is the job module in k8s.api.batch.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Job: @@ -16,7 +16,7 @@ schema Job: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Job", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : JobSpec, default is Undefined, optional Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Job: kind: "Job" = "Job" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: JobSpec diff --git a/k8s/1.19/api/batch/v1/job_list.k b/k8s/1.19/api/batch/v1/job_list.k index 88588804..e2f8aee6 100644 --- a/k8s/1.19/api/batch/v1/job_list.k +++ b/k8s/1.19/api/batch/v1/job_list.k @@ -3,7 +3,7 @@ This is the job_list module in k8s.api.batch.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema JobList: @@ -18,7 +18,7 @@ schema JobList: items is the list of Jobs. kind : str, default is "JobList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema JobList: kind: "JobList" = "JobList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.19/api/batch/v1/job_spec.k b/k8s/1.19/api/batch/v1/job_spec.k index 085f981e..732d97f5 100644 --- a/k8s/1.19/api/batch/v1/job_spec.k +++ b/k8s/1.19/api/batch/v1/job_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema JobSpec: @@ -23,7 +23,7 @@ schema JobSpec: manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector parallelism : int, default is Undefined, optional Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional A label query over pods that should match the pod count. Normally, the system sets this field for you. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors template : corev1.PodTemplateSpec, default is Undefined, required Describes the pod that will be created when executing a job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ @@ -42,7 +42,7 @@ schema JobSpec: parallelism?: int - selector?: v1.LabelSelector + selector?: metav1.LabelSelector template: corev1.PodTemplateSpec diff --git a/k8s/1.19/api/batch/v1beta1/cron_job.k b/k8s/1.19/api/batch/v1beta1/cron_job.k index 74c14606..d5d2aa07 100644 --- a/k8s/1.19/api/batch/v1beta1/cron_job.k +++ b/k8s/1.19/api/batch/v1beta1/cron_job.k @@ -3,7 +3,7 @@ This is the cron_job module in k8s.api.batch.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CronJob: @@ -16,7 +16,7 @@ schema CronJob: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CronJob", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : CronJobSpec, default is Undefined, optional Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema CronJob: kind: "CronJob" = "CronJob" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: CronJobSpec diff --git a/k8s/1.19/api/batch/v1beta1/cron_job_list.k b/k8s/1.19/api/batch/v1beta1/cron_job_list.k index cf174c33..4067f805 100644 --- a/k8s/1.19/api/batch/v1beta1/cron_job_list.k +++ b/k8s/1.19/api/batch/v1beta1/cron_job_list.k @@ -3,7 +3,7 @@ This is the cron_job_list module in k8s.api.batch.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CronJobList: @@ -18,7 +18,7 @@ schema CronJobList: items is the list of CronJobs. kind : str, default is "CronJobList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CronJobList: kind: "CronJobList" = "CronJobList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.19/api/batch/v1beta1/job_template_spec.k b/k8s/1.19/api/batch/v1beta1/job_template_spec.k index e032a659..733d4410 100644 --- a/k8s/1.19/api/batch/v1beta1/job_template_spec.k +++ b/k8s/1.19/api/batch/v1beta1/job_template_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.batch.v1 as batchV1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema JobTemplateSpec: @@ -13,14 +13,14 @@ schema JobTemplateSpec: Attributes ---------- - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : batchV1.JobSpec, default is Undefined, optional Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status """ - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: batchV1.JobSpec diff --git a/k8s/1.19/api/batch/v2alpha1/cron_job.k b/k8s/1.19/api/batch/v2alpha1/cron_job.k index 8668aa8b..7fb5f4c2 100644 --- a/k8s/1.19/api/batch/v2alpha1/cron_job.k +++ b/k8s/1.19/api/batch/v2alpha1/cron_job.k @@ -3,7 +3,7 @@ This is the cron_job module in k8s.api.batch.v2alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CronJob: @@ -16,7 +16,7 @@ schema CronJob: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CronJob", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : CronJobSpec, default is Undefined, optional Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema CronJob: kind: "CronJob" = "CronJob" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: CronJobSpec diff --git a/k8s/1.19/api/batch/v2alpha1/cron_job_list.k b/k8s/1.19/api/batch/v2alpha1/cron_job_list.k index c8b4031c..c6dbdcb5 100644 --- a/k8s/1.19/api/batch/v2alpha1/cron_job_list.k +++ b/k8s/1.19/api/batch/v2alpha1/cron_job_list.k @@ -3,7 +3,7 @@ This is the cron_job_list module in k8s.api.batch.v2alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CronJobList: @@ -18,7 +18,7 @@ schema CronJobList: items is the list of CronJobs. kind : str, default is "CronJobList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CronJobList: kind: "CronJobList" = "CronJobList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.19/api/batch/v2alpha1/job_template_spec.k b/k8s/1.19/api/batch/v2alpha1/job_template_spec.k index cb013cd7..53df89e9 100644 --- a/k8s/1.19/api/batch/v2alpha1/job_template_spec.k +++ b/k8s/1.19/api/batch/v2alpha1/job_template_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.batch.v1 as batchV1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema JobTemplateSpec: @@ -13,14 +13,14 @@ schema JobTemplateSpec: Attributes ---------- - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : batchV1.JobSpec, default is Undefined, optional Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status """ - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: batchV1.JobSpec diff --git a/k8s/1.19/api/certificates/v1/certificate_signing_request.k b/k8s/1.19/api/certificates/v1/certificate_signing_request.k index 3d6930c2..c6713e7a 100644 --- a/k8s/1.19/api/certificates/v1/certificate_signing_request.k +++ b/k8s/1.19/api/certificates/v1/certificate_signing_request.k @@ -3,7 +3,7 @@ This is the certificate_signing_request module in k8s.api.certificates.v1 packag This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CertificateSigningRequest: @@ -22,7 +22,7 @@ schema CertificateSigningRequest: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CertificateSigningRequest", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : CertificateSigningRequestSpec, default is Undefined, required spec contains the certificate request, and is immutable after creation. Only the request, signerName, and usages fields can be set on creation. Other fields are derived by Kubernetes and cannot be modified by users. @@ -33,7 +33,7 @@ schema CertificateSigningRequest: kind: "CertificateSigningRequest" = "CertificateSigningRequest" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CertificateSigningRequestSpec diff --git a/k8s/1.19/api/certificates/v1/certificate_signing_request_list.k b/k8s/1.19/api/certificates/v1/certificate_signing_request_list.k index bef8b509..dcf72eab 100644 --- a/k8s/1.19/api/certificates/v1/certificate_signing_request_list.k +++ b/k8s/1.19/api/certificates/v1/certificate_signing_request_list.k @@ -3,7 +3,7 @@ This is the certificate_signing_request_list module in k8s.api.certificates.v1 p This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CertificateSigningRequestList: @@ -18,7 +18,7 @@ schema CertificateSigningRequestList: items is a collection of CertificateSigningRequest objects kind : str, default is "CertificateSigningRequestList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema CertificateSigningRequestList: kind: "CertificateSigningRequestList" = "CertificateSigningRequestList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.19/api/certificates/v1beta1/certificate_signing_request.k b/k8s/1.19/api/certificates/v1beta1/certificate_signing_request.k index 2e5b2121..5b363aa8 100644 --- a/k8s/1.19/api/certificates/v1beta1/certificate_signing_request.k +++ b/k8s/1.19/api/certificates/v1beta1/certificate_signing_request.k @@ -3,7 +3,7 @@ This is the certificate_signing_request module in k8s.api.certificates.v1beta1 p This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CertificateSigningRequest: @@ -16,7 +16,7 @@ schema CertificateSigningRequest: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CertificateSigningRequest", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : CertificateSigningRequestSpec, default is Undefined, optional The certificate request itself and any additional information. @@ -27,7 +27,7 @@ schema CertificateSigningRequest: kind: "CertificateSigningRequest" = "CertificateSigningRequest" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: CertificateSigningRequestSpec diff --git a/k8s/1.19/api/certificates/v1beta1/certificate_signing_request_list.k b/k8s/1.19/api/certificates/v1beta1/certificate_signing_request_list.k index cc6c6ea4..80fde64b 100644 --- a/k8s/1.19/api/certificates/v1beta1/certificate_signing_request_list.k +++ b/k8s/1.19/api/certificates/v1beta1/certificate_signing_request_list.k @@ -3,7 +3,7 @@ This is the certificate_signing_request_list module in k8s.api.certificates.v1be This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CertificateSigningRequestList: @@ -18,7 +18,7 @@ schema CertificateSigningRequestList: items kind : str, default is "CertificateSigningRequestList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema CertificateSigningRequestList: kind: "CertificateSigningRequestList" = "CertificateSigningRequestList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.19/api/coordination/v1/lease.k b/k8s/1.19/api/coordination/v1/lease.k index f9d243c9..b3722c9a 100644 --- a/k8s/1.19/api/coordination/v1/lease.k +++ b/k8s/1.19/api/coordination/v1/lease.k @@ -3,7 +3,7 @@ This is the lease module in k8s.api.coordination.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Lease: @@ -16,7 +16,7 @@ schema Lease: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Lease", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : LeaseSpec, default is Undefined, optional Specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Lease: kind: "Lease" = "Lease" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: LeaseSpec diff --git a/k8s/1.19/api/coordination/v1/lease_list.k b/k8s/1.19/api/coordination/v1/lease_list.k index 64932a19..93a01ab6 100644 --- a/k8s/1.19/api/coordination/v1/lease_list.k +++ b/k8s/1.19/api/coordination/v1/lease_list.k @@ -3,7 +3,7 @@ This is the lease_list module in k8s.api.coordination.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LeaseList: @@ -18,7 +18,7 @@ schema LeaseList: Items is a list of schema objects. kind : str, default is "LeaseList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema LeaseList: kind: "LeaseList" = "LeaseList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.19/api/coordination/v1beta1/lease.k b/k8s/1.19/api/coordination/v1beta1/lease.k index b587d90e..b2095eed 100644 --- a/k8s/1.19/api/coordination/v1beta1/lease.k +++ b/k8s/1.19/api/coordination/v1beta1/lease.k @@ -3,7 +3,7 @@ This is the lease module in k8s.api.coordination.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Lease: @@ -16,7 +16,7 @@ schema Lease: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Lease", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : LeaseSpec, default is Undefined, optional Specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Lease: kind: "Lease" = "Lease" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: LeaseSpec diff --git a/k8s/1.19/api/coordination/v1beta1/lease_list.k b/k8s/1.19/api/coordination/v1beta1/lease_list.k index 2b78fddf..21212cfc 100644 --- a/k8s/1.19/api/coordination/v1beta1/lease_list.k +++ b/k8s/1.19/api/coordination/v1beta1/lease_list.k @@ -3,7 +3,7 @@ This is the lease_list module in k8s.api.coordination.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LeaseList: @@ -18,7 +18,7 @@ schema LeaseList: Items is a list of schema objects. kind : str, default is "LeaseList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema LeaseList: kind: "LeaseList" = "LeaseList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.19/api/core/v1/binding.k b/k8s/1.19/api/core/v1/binding.k index e6e478fe..077459fa 100644 --- a/k8s/1.19/api/core/v1/binding.k +++ b/k8s/1.19/api/core/v1/binding.k @@ -3,7 +3,7 @@ This is the binding module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Binding: @@ -16,7 +16,7 @@ schema Binding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Binding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata target : ObjectReference, default is Undefined, required The target object that you want to bind to the standard object. @@ -27,7 +27,7 @@ schema Binding: kind: "Binding" = "Binding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta target: ObjectReference diff --git a/k8s/1.19/api/core/v1/component_status.k b/k8s/1.19/api/core/v1/component_status.k index 19549c61..0d6862b5 100644 --- a/k8s/1.19/api/core/v1/component_status.k +++ b/k8s/1.19/api/core/v1/component_status.k @@ -3,7 +3,7 @@ This is the component_status module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ComponentStatus: @@ -18,7 +18,7 @@ schema ComponentStatus: List of component conditions observed kind : str, default is "ComponentStatus", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema ComponentStatus: kind: "ComponentStatus" = "ComponentStatus" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta diff --git a/k8s/1.19/api/core/v1/component_status_list.k b/k8s/1.19/api/core/v1/component_status_list.k index 0c8fa890..f76a9a62 100644 --- a/k8s/1.19/api/core/v1/component_status_list.k +++ b/k8s/1.19/api/core/v1/component_status_list.k @@ -3,7 +3,7 @@ This is the component_status_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ComponentStatusList: @@ -18,7 +18,7 @@ schema ComponentStatusList: List of ComponentStatus objects. kind : str, default is "ComponentStatusList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ComponentStatusList: kind: "ComponentStatusList" = "ComponentStatusList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.19/api/core/v1/config_map.k b/k8s/1.19/api/core/v1/config_map.k index cad509dd..d9cc2f27 100644 --- a/k8s/1.19/api/core/v1/config_map.k +++ b/k8s/1.19/api/core/v1/config_map.k @@ -3,7 +3,7 @@ This is the config_map module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ConfigMap: @@ -22,7 +22,7 @@ schema ConfigMap: Immutable, if set to true, ensures that data stored in the ConfigMap cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil. This is a beta field enabled by ImmutableEphemeralVolumes feature gate. kind : str, default is "ConfigMap", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -37,6 +37,6 @@ schema ConfigMap: kind: "ConfigMap" = "ConfigMap" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta diff --git a/k8s/1.19/api/core/v1/config_map_list.k b/k8s/1.19/api/core/v1/config_map_list.k index 5712f514..35df0e4b 100644 --- a/k8s/1.19/api/core/v1/config_map_list.k +++ b/k8s/1.19/api/core/v1/config_map_list.k @@ -3,7 +3,7 @@ This is the config_map_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ConfigMapList: @@ -18,7 +18,7 @@ schema ConfigMapList: Items is the list of ConfigMaps. kind : str, default is "ConfigMapList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema ConfigMapList: kind: "ConfigMapList" = "ConfigMapList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.19/api/core/v1/endpoints.k b/k8s/1.19/api/core/v1/endpoints.k index d123d8d8..3ac0d6cd 100644 --- a/k8s/1.19/api/core/v1/endpoints.k +++ b/k8s/1.19/api/core/v1/endpoints.k @@ -3,7 +3,7 @@ This is the endpoints module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Endpoints: @@ -27,7 +27,7 @@ schema Endpoints: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Endpoints", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata subsets : [EndpointSubset], default is Undefined, optional The set of all endpoints is the union of all subsets. Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service. @@ -38,7 +38,7 @@ schema Endpoints: kind: "Endpoints" = "Endpoints" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta subsets?: [EndpointSubset] diff --git a/k8s/1.19/api/core/v1/endpoints_list.k b/k8s/1.19/api/core/v1/endpoints_list.k index 7ccf6442..f019c842 100644 --- a/k8s/1.19/api/core/v1/endpoints_list.k +++ b/k8s/1.19/api/core/v1/endpoints_list.k @@ -3,7 +3,7 @@ This is the endpoints_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EndpointsList: @@ -18,7 +18,7 @@ schema EndpointsList: List of endpoints. kind : str, default is "EndpointsList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema EndpointsList: kind: "EndpointsList" = "EndpointsList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.19/api/core/v1/event.k b/k8s/1.19/api/core/v1/event.k index 41172283..7888457e 100644 --- a/k8s/1.19/api/core/v1/event.k +++ b/k8s/1.19/api/core/v1/event.k @@ -3,7 +3,7 @@ This is the event module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Event: @@ -30,7 +30,7 @@ schema Event: The time at which the most recent occurrence of this event was recorded. message : str, default is Undefined, optional A human-readable description of the status of this operation. - metadata : v1.ObjectMeta, default is Undefined, required + metadata : metav1.ObjectMeta, default is Undefined, required Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata reason : str, default is Undefined, optional This should be a short, machine understandable string that gives the reason for the transition into the object's current status. @@ -67,7 +67,7 @@ schema Event: message?: str - metadata: v1.ObjectMeta + metadata: metav1.ObjectMeta reason?: str diff --git a/k8s/1.19/api/core/v1/event_list.k b/k8s/1.19/api/core/v1/event_list.k index e543b7cf..d4ed6ffa 100644 --- a/k8s/1.19/api/core/v1/event_list.k +++ b/k8s/1.19/api/core/v1/event_list.k @@ -3,7 +3,7 @@ This is the event_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EventList: @@ -18,7 +18,7 @@ schema EventList: List of events kind : str, default is "EventList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema EventList: kind: "EventList" = "EventList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.19/api/core/v1/limit_range.k b/k8s/1.19/api/core/v1/limit_range.k index 5de64019..3c476447 100644 --- a/k8s/1.19/api/core/v1/limit_range.k +++ b/k8s/1.19/api/core/v1/limit_range.k @@ -3,7 +3,7 @@ This is the limit_range module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LimitRange: @@ -16,7 +16,7 @@ schema LimitRange: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "LimitRange", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : LimitRangeSpec, default is Undefined, optional Spec defines the limits enforced. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema LimitRange: kind: "LimitRange" = "LimitRange" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: LimitRangeSpec diff --git a/k8s/1.19/api/core/v1/limit_range_list.k b/k8s/1.19/api/core/v1/limit_range_list.k index 93063870..13be4b4b 100644 --- a/k8s/1.19/api/core/v1/limit_range_list.k +++ b/k8s/1.19/api/core/v1/limit_range_list.k @@ -3,7 +3,7 @@ This is the limit_range_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LimitRangeList: @@ -18,7 +18,7 @@ schema LimitRangeList: Items is a list of LimitRange objects. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ kind : str, default is "LimitRangeList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema LimitRangeList: kind: "LimitRangeList" = "LimitRangeList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.19/api/core/v1/namespace.k b/k8s/1.19/api/core/v1/namespace.k index 52b6b94f..66125388 100644 --- a/k8s/1.19/api/core/v1/namespace.k +++ b/k8s/1.19/api/core/v1/namespace.k @@ -3,7 +3,7 @@ This is the namespace module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Namespace: @@ -16,7 +16,7 @@ schema Namespace: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Namespace", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : NamespaceSpec, default is Undefined, optional Spec defines the behavior of the Namespace. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Namespace: kind: "Namespace" = "Namespace" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: NamespaceSpec diff --git a/k8s/1.19/api/core/v1/namespace_list.k b/k8s/1.19/api/core/v1/namespace_list.k index 0a362eac..1783b0bc 100644 --- a/k8s/1.19/api/core/v1/namespace_list.k +++ b/k8s/1.19/api/core/v1/namespace_list.k @@ -3,7 +3,7 @@ This is the namespace_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NamespaceList: @@ -18,7 +18,7 @@ schema NamespaceList: Items is the list of Namespace objects in the list. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ kind : str, default is "NamespaceList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema NamespaceList: kind: "NamespaceList" = "NamespaceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.19/api/core/v1/node.k b/k8s/1.19/api/core/v1/node.k index 99f9cab9..dcfea158 100644 --- a/k8s/1.19/api/core/v1/node.k +++ b/k8s/1.19/api/core/v1/node.k @@ -3,7 +3,7 @@ This is the node module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Node: @@ -16,7 +16,7 @@ schema Node: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Node", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : NodeSpec, default is Undefined, optional Spec defines the behavior of a node. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Node: kind: "Node" = "Node" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: NodeSpec diff --git a/k8s/1.19/api/core/v1/node_list.k b/k8s/1.19/api/core/v1/node_list.k index 40992f99..26fe9968 100644 --- a/k8s/1.19/api/core/v1/node_list.k +++ b/k8s/1.19/api/core/v1/node_list.k @@ -3,7 +3,7 @@ This is the node_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NodeList: @@ -18,7 +18,7 @@ schema NodeList: List of nodes kind : str, default is "NodeList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema NodeList: kind: "NodeList" = "NodeList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.19/api/core/v1/persistent_volume.k b/k8s/1.19/api/core/v1/persistent_volume.k index 259223a6..2c6d5ee6 100644 --- a/k8s/1.19/api/core/v1/persistent_volume.k +++ b/k8s/1.19/api/core/v1/persistent_volume.k @@ -3,7 +3,7 @@ This is the persistent_volume module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolume: @@ -16,7 +16,7 @@ schema PersistentVolume: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PersistentVolume", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PersistentVolumeSpec, default is Undefined, optional Spec defines a specification of a persistent volume owned by the cluster. Provisioned by an administrator. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes @@ -27,7 +27,7 @@ schema PersistentVolume: kind: "PersistentVolume" = "PersistentVolume" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PersistentVolumeSpec diff --git a/k8s/1.19/api/core/v1/persistent_volume_claim.k b/k8s/1.19/api/core/v1/persistent_volume_claim.k index eb057e81..02735f90 100644 --- a/k8s/1.19/api/core/v1/persistent_volume_claim.k +++ b/k8s/1.19/api/core/v1/persistent_volume_claim.k @@ -3,7 +3,7 @@ This is the persistent_volume_claim module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeClaim: @@ -16,7 +16,7 @@ schema PersistentVolumeClaim: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PersistentVolumeClaim", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PersistentVolumeClaimSpec, default is Undefined, optional Spec defines the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims @@ -27,7 +27,7 @@ schema PersistentVolumeClaim: kind: "PersistentVolumeClaim" = "PersistentVolumeClaim" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PersistentVolumeClaimSpec diff --git a/k8s/1.19/api/core/v1/persistent_volume_claim_list.k b/k8s/1.19/api/core/v1/persistent_volume_claim_list.k index 85ccc1ee..96669996 100644 --- a/k8s/1.19/api/core/v1/persistent_volume_claim_list.k +++ b/k8s/1.19/api/core/v1/persistent_volume_claim_list.k @@ -3,7 +3,7 @@ This is the persistent_volume_claim_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeClaimList: @@ -18,7 +18,7 @@ schema PersistentVolumeClaimList: A list of persistent volume claims. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims kind : str, default is "PersistentVolumeClaimList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema PersistentVolumeClaimList: kind: "PersistentVolumeClaimList" = "PersistentVolumeClaimList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.19/api/core/v1/persistent_volume_claim_spec.k b/k8s/1.19/api/core/v1/persistent_volume_claim_spec.k index 0c799ea2..1108087e 100644 --- a/k8s/1.19/api/core/v1/persistent_volume_claim_spec.k +++ b/k8s/1.19/api/core/v1/persistent_volume_claim_spec.k @@ -3,7 +3,7 @@ This is the persistent_volume_claim_spec module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeClaimSpec: @@ -18,7 +18,7 @@ schema PersistentVolumeClaimSpec: This field can be used to specify either: * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot - Beta) * An existing PVC (PersistentVolumeClaim) * An existing custom resource/object that implements data population (Alpha) In order to use VolumeSnapshot object types, the appropriate feature gate must be enabled (VolumeSnapshotDataSource or AnyVolumeDataSource) If the provisioner or an external controller can support the specified data source, it will create a new volume based on the contents of the specified data source. If the specified data source is not supported, the volume will not be created and the failure will be reported as an event. In the future, we plan to support more data source types and the behavior of the provisioner may change. resources : ResourceRequirements, default is Undefined, optional Resources represents the minimum resources the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional A label query over volumes to consider for binding. storageClassName : str, default is Undefined, optional Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1 @@ -35,7 +35,7 @@ schema PersistentVolumeClaimSpec: resources?: ResourceRequirements - selector?: v1.LabelSelector + selector?: metav1.LabelSelector storageClassName?: str diff --git a/k8s/1.19/api/core/v1/persistent_volume_claim_template.k b/k8s/1.19/api/core/v1/persistent_volume_claim_template.k index e6758b96..a8a010df 100644 --- a/k8s/1.19/api/core/v1/persistent_volume_claim_template.k +++ b/k8s/1.19/api/core/v1/persistent_volume_claim_template.k @@ -3,7 +3,7 @@ This is the persistent_volume_claim_template module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeClaimTemplate: @@ -12,14 +12,14 @@ schema PersistentVolumeClaimTemplate: Attributes ---------- - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. spec : PersistentVolumeClaimSpec, default is Undefined, required The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here. """ - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: PersistentVolumeClaimSpec diff --git a/k8s/1.19/api/core/v1/persistent_volume_list.k b/k8s/1.19/api/core/v1/persistent_volume_list.k index c34d9abb..21a2a32a 100644 --- a/k8s/1.19/api/core/v1/persistent_volume_list.k +++ b/k8s/1.19/api/core/v1/persistent_volume_list.k @@ -3,7 +3,7 @@ This is the persistent_volume_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeList: @@ -18,7 +18,7 @@ schema PersistentVolumeList: List of persistent volumes. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes kind : str, default is "PersistentVolumeList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema PersistentVolumeList: kind: "PersistentVolumeList" = "PersistentVolumeList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.19/api/core/v1/pod.k b/k8s/1.19/api/core/v1/pod.k index 659a9e99..66568628 100644 --- a/k8s/1.19/api/core/v1/pod.k +++ b/k8s/1.19/api/core/v1/pod.k @@ -3,7 +3,7 @@ This is the pod module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Pod: @@ -16,7 +16,7 @@ schema Pod: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Pod", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PodSpec, default is Undefined, optional Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Pod: kind: "Pod" = "Pod" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PodSpec diff --git a/k8s/1.19/api/core/v1/pod_affinity_term.k b/k8s/1.19/api/core/v1/pod_affinity_term.k index dccd6ef9..0cbd595d 100644 --- a/k8s/1.19/api/core/v1/pod_affinity_term.k +++ b/k8s/1.19/api/core/v1/pod_affinity_term.k @@ -3,7 +3,7 @@ This is the pod_affinity_term module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodAffinityTerm: @@ -12,7 +12,7 @@ schema PodAffinityTerm: Attributes ---------- - labelSelector : v1.LabelSelector, default is Undefined, optional + labelSelector : metav1.LabelSelector, default is Undefined, optional A label query over a set of resources, in this case pods. namespaces : [str], default is Undefined, optional namespaces specifies which namespaces the labelSelector applies to (matches against); null or empty list means "this pod's namespace" @@ -21,7 +21,7 @@ schema PodAffinityTerm: """ - labelSelector?: v1.LabelSelector + labelSelector?: metav1.LabelSelector namespaces?: [str] diff --git a/k8s/1.19/api/core/v1/pod_list.k b/k8s/1.19/api/core/v1/pod_list.k index 10ad5eb9..4c031d05 100644 --- a/k8s/1.19/api/core/v1/pod_list.k +++ b/k8s/1.19/api/core/v1/pod_list.k @@ -3,7 +3,7 @@ This is the pod_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodList: @@ -18,7 +18,7 @@ schema PodList: List of pods. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md kind : str, default is "PodList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema PodList: kind: "PodList" = "PodList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.19/api/core/v1/pod_template.k b/k8s/1.19/api/core/v1/pod_template.k index 98e64f70..6ffbfa64 100644 --- a/k8s/1.19/api/core/v1/pod_template.k +++ b/k8s/1.19/api/core/v1/pod_template.k @@ -3,7 +3,7 @@ This is the pod_template module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodTemplate: @@ -16,7 +16,7 @@ schema PodTemplate: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PodTemplate", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata template : PodTemplateSpec, default is Undefined, optional Template defines the pods that will be created from this pod template. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema PodTemplate: kind: "PodTemplate" = "PodTemplate" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta template?: PodTemplateSpec diff --git a/k8s/1.19/api/core/v1/pod_template_list.k b/k8s/1.19/api/core/v1/pod_template_list.k index 8bb1827f..94024175 100644 --- a/k8s/1.19/api/core/v1/pod_template_list.k +++ b/k8s/1.19/api/core/v1/pod_template_list.k @@ -3,7 +3,7 @@ This is the pod_template_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodTemplateList: @@ -18,7 +18,7 @@ schema PodTemplateList: List of pod templates kind : str, default is "PodTemplateList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema PodTemplateList: kind: "PodTemplateList" = "PodTemplateList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.19/api/core/v1/pod_template_spec.k b/k8s/1.19/api/core/v1/pod_template_spec.k index 1274c88b..6011ef81 100644 --- a/k8s/1.19/api/core/v1/pod_template_spec.k +++ b/k8s/1.19/api/core/v1/pod_template_spec.k @@ -3,7 +3,7 @@ This is the pod_template_spec module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodTemplateSpec: @@ -12,14 +12,14 @@ schema PodTemplateSpec: Attributes ---------- - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PodSpec, default is Undefined, optional Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status """ - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PodSpec diff --git a/k8s/1.19/api/core/v1/replication_controller.k b/k8s/1.19/api/core/v1/replication_controller.k index 08b091e8..37724706 100644 --- a/k8s/1.19/api/core/v1/replication_controller.k +++ b/k8s/1.19/api/core/v1/replication_controller.k @@ -3,7 +3,7 @@ This is the replication_controller module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicationController: @@ -16,7 +16,7 @@ schema ReplicationController: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ReplicationController", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional If the Labels of a ReplicationController are empty, they are defaulted to be the same as the Pod(s) that the replication controller manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : ReplicationControllerSpec, default is Undefined, optional Spec defines the specification of the desired behavior of the replication controller. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema ReplicationController: kind: "ReplicationController" = "ReplicationController" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ReplicationControllerSpec diff --git a/k8s/1.19/api/core/v1/replication_controller_list.k b/k8s/1.19/api/core/v1/replication_controller_list.k index 64afa179..63f9d4b2 100644 --- a/k8s/1.19/api/core/v1/replication_controller_list.k +++ b/k8s/1.19/api/core/v1/replication_controller_list.k @@ -3,7 +3,7 @@ This is the replication_controller_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicationControllerList: @@ -18,7 +18,7 @@ schema ReplicationControllerList: List of replication controllers. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller kind : str, default is "ReplicationControllerList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ReplicationControllerList: kind: "ReplicationControllerList" = "ReplicationControllerList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.19/api/core/v1/resource_quota.k b/k8s/1.19/api/core/v1/resource_quota.k index b7da49d1..0ec7c409 100644 --- a/k8s/1.19/api/core/v1/resource_quota.k +++ b/k8s/1.19/api/core/v1/resource_quota.k @@ -3,7 +3,7 @@ This is the resource_quota module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceQuota: @@ -16,7 +16,7 @@ schema ResourceQuota: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ResourceQuota", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : ResourceQuotaSpec, default is Undefined, optional Spec defines the desired quota. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema ResourceQuota: kind: "ResourceQuota" = "ResourceQuota" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ResourceQuotaSpec diff --git a/k8s/1.19/api/core/v1/resource_quota_list.k b/k8s/1.19/api/core/v1/resource_quota_list.k index ca1424b8..f8dbc87d 100644 --- a/k8s/1.19/api/core/v1/resource_quota_list.k +++ b/k8s/1.19/api/core/v1/resource_quota_list.k @@ -3,7 +3,7 @@ This is the resource_quota_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceQuotaList: @@ -18,7 +18,7 @@ schema ResourceQuotaList: Items is a list of ResourceQuota objects. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/ kind : str, default is "ResourceQuotaList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ResourceQuotaList: kind: "ResourceQuotaList" = "ResourceQuotaList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.19/api/core/v1/secret.k b/k8s/1.19/api/core/v1/secret.k index 0a38ed13..2a7d40db 100644 --- a/k8s/1.19/api/core/v1/secret.k +++ b/k8s/1.19/api/core/v1/secret.k @@ -3,7 +3,7 @@ This is the secret module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Secret: @@ -20,7 +20,7 @@ schema Secret: Immutable, if set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil. This is a beta field enabled by ImmutableEphemeralVolumes feature gate. kind : str, default is "Secret", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata stringData : {str:str}, default is Undefined, optional stringData allows specifying non-binary secret data in string form. It is provided as a write-only convenience method. All keys and values are merged into the data field on write, overwriting any existing values. It is never output when reading from the API. @@ -37,7 +37,7 @@ schema Secret: kind: "Secret" = "Secret" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta stringData?: {str:str} diff --git a/k8s/1.19/api/core/v1/secret_list.k b/k8s/1.19/api/core/v1/secret_list.k index 335c47b4..9e80806b 100644 --- a/k8s/1.19/api/core/v1/secret_list.k +++ b/k8s/1.19/api/core/v1/secret_list.k @@ -3,7 +3,7 @@ This is the secret_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SecretList: @@ -18,7 +18,7 @@ schema SecretList: Items is a list of secret objects. More info: https://kubernetes.io/docs/concepts/configuration/secret kind : str, default is "SecretList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema SecretList: kind: "SecretList" = "SecretList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.19/api/core/v1/service.k b/k8s/1.19/api/core/v1/service.k index 1f259a80..3b86c8ef 100644 --- a/k8s/1.19/api/core/v1/service.k +++ b/k8s/1.19/api/core/v1/service.k @@ -3,7 +3,7 @@ This is the service module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Service: @@ -16,7 +16,7 @@ schema Service: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Service", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : ServiceSpec, default is Undefined, optional Spec defines the behavior of a service. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Service: kind: "Service" = "Service" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ServiceSpec diff --git a/k8s/1.19/api/core/v1/service_account.k b/k8s/1.19/api/core/v1/service_account.k index fc039e4f..c93748eb 100644 --- a/k8s/1.19/api/core/v1/service_account.k +++ b/k8s/1.19/api/core/v1/service_account.k @@ -3,7 +3,7 @@ This is the service_account module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ServiceAccount: @@ -20,7 +20,7 @@ schema ServiceAccount: ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod kind : str, default is "ServiceAccount", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata secrets : [ObjectReference], default is Undefined, optional Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount. More info: https://kubernetes.io/docs/concepts/configuration/secret @@ -35,7 +35,7 @@ schema ServiceAccount: kind: "ServiceAccount" = "ServiceAccount" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta secrets?: [ObjectReference] diff --git a/k8s/1.19/api/core/v1/service_account_list.k b/k8s/1.19/api/core/v1/service_account_list.k index 26a9319a..d8cd46b8 100644 --- a/k8s/1.19/api/core/v1/service_account_list.k +++ b/k8s/1.19/api/core/v1/service_account_list.k @@ -3,7 +3,7 @@ This is the service_account_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ServiceAccountList: @@ -18,7 +18,7 @@ schema ServiceAccountList: List of ServiceAccounts. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ kind : str, default is "ServiceAccountList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ServiceAccountList: kind: "ServiceAccountList" = "ServiceAccountList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.19/api/core/v1/service_list.k b/k8s/1.19/api/core/v1/service_list.k index 0c1e31be..5c4fae8a 100644 --- a/k8s/1.19/api/core/v1/service_list.k +++ b/k8s/1.19/api/core/v1/service_list.k @@ -3,7 +3,7 @@ This is the service_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ServiceList: @@ -18,7 +18,7 @@ schema ServiceList: List of services kind : str, default is "ServiceList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ServiceList: kind: "ServiceList" = "ServiceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.19/api/core/v1/topology_spread_constraint.k b/k8s/1.19/api/core/v1/topology_spread_constraint.k index df9140a1..a2179492 100644 --- a/k8s/1.19/api/core/v1/topology_spread_constraint.k +++ b/k8s/1.19/api/core/v1/topology_spread_constraint.k @@ -3,7 +3,7 @@ This is the topology_spread_constraint module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema TopologySpreadConstraint: @@ -12,7 +12,7 @@ schema TopologySpreadConstraint: Attributes ---------- - labelSelector : v1.LabelSelector, default is Undefined, optional + labelSelector : metav1.LabelSelector, default is Undefined, optional LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain. maxSkew : int, default is Undefined, required MaxSkew describes the degree to which pods may be unevenly distributed. When `whenUnsatisfiable=DoNotSchedule`, it is the maximum permitted difference between the number of matching pods in the target topology and the global minimum. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 1/1/0: | zone1 | zone2 | zone3 | | P | P | | - if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 1/1/1; scheduling it onto zone1(zone2) would make the ActualSkew(2-0) on zone1(zone2) violate MaxSkew(1). - if MaxSkew is 2, incoming pod can be scheduled onto any zone. When `whenUnsatisfiable=ScheduleAnyway`, it is used to give higher precedence to topologies that satisfy it. It's a required field. Default value is 1 and 0 is not allowed. @@ -26,7 +26,7 @@ schema TopologySpreadConstraint: """ - labelSelector?: v1.LabelSelector + labelSelector?: metav1.LabelSelector maxSkew: int diff --git a/k8s/1.19/api/discovery/v1beta1/endpoint_slice.k b/k8s/1.19/api/discovery/v1beta1/endpoint_slice.k index e5bc4f96..c3e65402 100644 --- a/k8s/1.19/api/discovery/v1beta1/endpoint_slice.k +++ b/k8s/1.19/api/discovery/v1beta1/endpoint_slice.k @@ -3,7 +3,7 @@ This is the endpoint_slice module in k8s.api.discovery.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EndpointSlice: @@ -20,7 +20,7 @@ schema EndpointSlice: endpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints. kind : str, default is "EndpointSlice", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. ports : [EndpointPort], default is Undefined, optional ports specifies the list of network ports exposed by each endpoint in this slice. Each port must have a unique name. When ports is empty, it indicates that there are no defined ports. When a port is defined with a nil port value, it indicates "all ports". Each slice may include a maximum of 100 ports. @@ -35,7 +35,7 @@ schema EndpointSlice: kind: "EndpointSlice" = "EndpointSlice" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta ports?: [EndpointPort] diff --git a/k8s/1.19/api/discovery/v1beta1/endpoint_slice_list.k b/k8s/1.19/api/discovery/v1beta1/endpoint_slice_list.k index ad1e929c..62019eae 100644 --- a/k8s/1.19/api/discovery/v1beta1/endpoint_slice_list.k +++ b/k8s/1.19/api/discovery/v1beta1/endpoint_slice_list.k @@ -3,7 +3,7 @@ This is the endpoint_slice_list module in k8s.api.discovery.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EndpointSliceList: @@ -18,7 +18,7 @@ schema EndpointSliceList: List of endpoint slices kind : str, default is "EndpointSliceList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema EndpointSliceList: kind: "EndpointSliceList" = "EndpointSliceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.19/api/events/v1/event_list.k b/k8s/1.19/api/events/v1/event_list.k index 6d5e7dad..4c4d96ba 100644 --- a/k8s/1.19/api/events/v1/event_list.k +++ b/k8s/1.19/api/events/v1/event_list.k @@ -3,7 +3,7 @@ This is the event_list module in k8s.api.events.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EventList: @@ -18,7 +18,7 @@ schema EventList: items is a list of schema objects. kind : str, default is "EventList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema EventList: kind: "EventList" = "EventList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.19/api/events/v1beta1/event_list.k b/k8s/1.19/api/events/v1beta1/event_list.k index fbb9bfa6..85c27cd9 100644 --- a/k8s/1.19/api/events/v1beta1/event_list.k +++ b/k8s/1.19/api/events/v1beta1/event_list.k @@ -3,7 +3,7 @@ This is the event_list module in k8s.api.events.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EventList: @@ -18,7 +18,7 @@ schema EventList: items is a list of schema objects. kind : str, default is "EventList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema EventList: kind: "EventList" = "EventList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.19/api/extensions/v1beta1/ingress.k b/k8s/1.19/api/extensions/v1beta1/ingress.k index 1935ccd4..b92dfced 100644 --- a/k8s/1.19/api/extensions/v1beta1/ingress.k +++ b/k8s/1.19/api/extensions/v1beta1/ingress.k @@ -3,7 +3,7 @@ This is the ingress module in k8s.api.extensions.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Ingress: @@ -16,7 +16,7 @@ schema Ingress: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Ingress", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : IngressSpec, default is Undefined, optional Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Ingress: kind: "Ingress" = "Ingress" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: IngressSpec diff --git a/k8s/1.19/api/extensions/v1beta1/ingress_list.k b/k8s/1.19/api/extensions/v1beta1/ingress_list.k index 03151415..03dbbdd1 100644 --- a/k8s/1.19/api/extensions/v1beta1/ingress_list.k +++ b/k8s/1.19/api/extensions/v1beta1/ingress_list.k @@ -3,7 +3,7 @@ This is the ingress_list module in k8s.api.extensions.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema IngressList: @@ -18,7 +18,7 @@ schema IngressList: Items is the list of Ingress. kind : str, default is "IngressList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema IngressList: kind: "IngressList" = "IngressList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.19/api/flowcontrol/v1alpha1/flow_schema.k b/k8s/1.19/api/flowcontrol/v1alpha1/flow_schema.k index e49512f1..31b0cf5e 100644 --- a/k8s/1.19/api/flowcontrol/v1alpha1/flow_schema.k +++ b/k8s/1.19/api/flowcontrol/v1alpha1/flow_schema.k @@ -3,7 +3,7 @@ This is the flow_schema module in k8s.api.flowcontrol.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema FlowSchema: @@ -16,7 +16,7 @@ schema FlowSchema: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "FlowSchema", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : FlowSchemaSpec, default is Undefined, optional `spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema FlowSchema: kind: "FlowSchema" = "FlowSchema" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: FlowSchemaSpec diff --git a/k8s/1.19/api/flowcontrol/v1alpha1/flow_schema_list.k b/k8s/1.19/api/flowcontrol/v1alpha1/flow_schema_list.k index 7b766b93..ba34bd81 100644 --- a/k8s/1.19/api/flowcontrol/v1alpha1/flow_schema_list.k +++ b/k8s/1.19/api/flowcontrol/v1alpha1/flow_schema_list.k @@ -3,7 +3,7 @@ This is the flow_schema_list module in k8s.api.flowcontrol.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema FlowSchemaList: @@ -18,7 +18,7 @@ schema FlowSchemaList: `items` is a list of FlowSchemas. kind : str, default is "FlowSchemaList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional `metadata` is the standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema FlowSchemaList: kind: "FlowSchemaList" = "FlowSchemaList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.19/api/flowcontrol/v1alpha1/priority_level_configuration.k b/k8s/1.19/api/flowcontrol/v1alpha1/priority_level_configuration.k index e9e5c356..b8f05088 100644 --- a/k8s/1.19/api/flowcontrol/v1alpha1/priority_level_configuration.k +++ b/k8s/1.19/api/flowcontrol/v1alpha1/priority_level_configuration.k @@ -3,7 +3,7 @@ This is the priority_level_configuration module in k8s.api.flowcontrol.v1alpha1 This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityLevelConfiguration: @@ -16,7 +16,7 @@ schema PriorityLevelConfiguration: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PriorityLevelConfiguration", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PriorityLevelConfigurationSpec, default is Undefined, optional `spec` is the specification of the desired behavior of a "request-priority". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema PriorityLevelConfiguration: kind: "PriorityLevelConfiguration" = "PriorityLevelConfiguration" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PriorityLevelConfigurationSpec diff --git a/k8s/1.19/api/flowcontrol/v1alpha1/priority_level_configuration_list.k b/k8s/1.19/api/flowcontrol/v1alpha1/priority_level_configuration_list.k index 2b0a475e..28aa93e2 100644 --- a/k8s/1.19/api/flowcontrol/v1alpha1/priority_level_configuration_list.k +++ b/k8s/1.19/api/flowcontrol/v1alpha1/priority_level_configuration_list.k @@ -3,7 +3,7 @@ This is the priority_level_configuration_list module in k8s.api.flowcontrol.v1al This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityLevelConfigurationList: @@ -18,7 +18,7 @@ schema PriorityLevelConfigurationList: `items` is a list of request-priorities. kind : str, default is "PriorityLevelConfigurationList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PriorityLevelConfigurationList: kind: "PriorityLevelConfigurationList" = "PriorityLevelConfigurationList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.19/api/networking/v1/ingress.k b/k8s/1.19/api/networking/v1/ingress.k index 84067c5f..7429b93d 100644 --- a/k8s/1.19/api/networking/v1/ingress.k +++ b/k8s/1.19/api/networking/v1/ingress.k @@ -3,7 +3,7 @@ This is the ingress module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Ingress: @@ -16,7 +16,7 @@ schema Ingress: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Ingress", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : IngressSpec, default is Undefined, optional Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Ingress: kind: "Ingress" = "Ingress" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: IngressSpec diff --git a/k8s/1.19/api/networking/v1/ingress_class.k b/k8s/1.19/api/networking/v1/ingress_class.k index 53cf2398..ad2f67bd 100644 --- a/k8s/1.19/api/networking/v1/ingress_class.k +++ b/k8s/1.19/api/networking/v1/ingress_class.k @@ -3,7 +3,7 @@ This is the ingress_class module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema IngressClass: @@ -16,7 +16,7 @@ schema IngressClass: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "IngressClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : IngressClassSpec, default is Undefined, optional Spec is the desired state of the IngressClass. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema IngressClass: kind: "IngressClass" = "IngressClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: IngressClassSpec diff --git a/k8s/1.19/api/networking/v1/ingress_class_list.k b/k8s/1.19/api/networking/v1/ingress_class_list.k index 7a8dfb45..432a667e 100644 --- a/k8s/1.19/api/networking/v1/ingress_class_list.k +++ b/k8s/1.19/api/networking/v1/ingress_class_list.k @@ -3,7 +3,7 @@ This is the ingress_class_list module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema IngressClassList: @@ -18,7 +18,7 @@ schema IngressClassList: Items is the list of IngressClasses. kind : str, default is "IngressClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema IngressClassList: kind: "IngressClassList" = "IngressClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.19/api/networking/v1/ingress_list.k b/k8s/1.19/api/networking/v1/ingress_list.k index 5fc2315f..a73781b0 100644 --- a/k8s/1.19/api/networking/v1/ingress_list.k +++ b/k8s/1.19/api/networking/v1/ingress_list.k @@ -3,7 +3,7 @@ This is the ingress_list module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema IngressList: @@ -18,7 +18,7 @@ schema IngressList: Items is the list of Ingress. kind : str, default is "IngressList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema IngressList: kind: "IngressList" = "IngressList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.19/api/networking/v1/network_policy.k b/k8s/1.19/api/networking/v1/network_policy.k index 888fc8a4..f4ffe0ea 100644 --- a/k8s/1.19/api/networking/v1/network_policy.k +++ b/k8s/1.19/api/networking/v1/network_policy.k @@ -3,7 +3,7 @@ This is the network_policy module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicy: @@ -16,7 +16,7 @@ schema NetworkPolicy: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "NetworkPolicy", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : NetworkPolicySpec, default is Undefined, optional Specification of the desired behavior for this NetworkPolicy. @@ -27,7 +27,7 @@ schema NetworkPolicy: kind: "NetworkPolicy" = "NetworkPolicy" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: NetworkPolicySpec diff --git a/k8s/1.19/api/networking/v1/network_policy_list.k b/k8s/1.19/api/networking/v1/network_policy_list.k index 7a05cb37..8e21e919 100644 --- a/k8s/1.19/api/networking/v1/network_policy_list.k +++ b/k8s/1.19/api/networking/v1/network_policy_list.k @@ -3,7 +3,7 @@ This is the network_policy_list module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicyList: @@ -18,7 +18,7 @@ schema NetworkPolicyList: Items is a list of schema objects. kind : str, default is "NetworkPolicyList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema NetworkPolicyList: kind: "NetworkPolicyList" = "NetworkPolicyList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.19/api/networking/v1/network_policy_peer.k b/k8s/1.19/api/networking/v1/network_policy_peer.k index c579477f..57c680fb 100644 --- a/k8s/1.19/api/networking/v1/network_policy_peer.k +++ b/k8s/1.19/api/networking/v1/network_policy_peer.k @@ -3,7 +3,7 @@ This is the network_policy_peer module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicyPeer: @@ -14,11 +14,11 @@ schema NetworkPolicyPeer: ---------- ipBlock : IPBlock, default is Undefined, optional IPBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional Selects Namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces. If PodSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects all Pods in the Namespaces selected by NamespaceSelector. - podSelector : v1.LabelSelector, default is Undefined, optional + podSelector : metav1.LabelSelector, default is Undefined, optional This is a label selector which selects Pods. This field follows standard label selector semantics; if present but empty, it selects all pods. If NamespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the Pods matching PodSelector in the policy's own Namespace. @@ -27,8 +27,8 @@ schema NetworkPolicyPeer: ipBlock?: IPBlock - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector - podSelector?: v1.LabelSelector + podSelector?: metav1.LabelSelector diff --git a/k8s/1.19/api/networking/v1/network_policy_spec.k b/k8s/1.19/api/networking/v1/network_policy_spec.k index d730dee3..5a848ef9 100644 --- a/k8s/1.19/api/networking/v1/network_policy_spec.k +++ b/k8s/1.19/api/networking/v1/network_policy_spec.k @@ -3,7 +3,7 @@ This is the network_policy_spec module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicySpec: @@ -16,7 +16,7 @@ schema NetworkPolicySpec: List of egress rules to be applied to the selected pods. Outgoing traffic is allowed if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic matches at least one egress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy limits all outgoing traffic (and serves solely to ensure that the pods it selects are isolated by default). This field is beta-level in 1.8 ingress : [NetworkPolicyIngressRule], default is Undefined, optional List of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not allow any traffic (and serves solely to ensure that the pods it selects are isolated by default) - podSelector : v1.LabelSelector, default is Undefined, required + podSelector : metav1.LabelSelector, default is Undefined, required Selects the pods to which this NetworkPolicy object applies. The array of ingress rules is applied to any pods selected by this field. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is NOT optional and follows standard label selector semantics. An empty podSelector matches all pods in this namespace. policyTypes : [str], default is Undefined, optional List of rule types that the NetworkPolicy relates to. Valid options are "Ingress", "Egress", or "Ingress,Egress". If this field is not specified, it will default based on the existence of Ingress or Egress rules; policies that contain an Egress section are assumed to affect Egress, and all policies (whether or not they contain an Ingress section) are assumed to affect Ingress. If you want to write an egress-only policy, you must explicitly specify policyTypes [ "Egress" ]. Likewise, if you want to write a policy that specifies that no egress is allowed, you must specify a policyTypes value that include "Egress" (since such a policy would not include an Egress section and would otherwise default to just [ "Ingress" ]). This field is beta-level in 1.8 @@ -27,7 +27,7 @@ schema NetworkPolicySpec: ingress?: [NetworkPolicyIngressRule] - podSelector: v1.LabelSelector + podSelector: metav1.LabelSelector policyTypes?: [str] diff --git a/k8s/1.19/api/networking/v1beta1/ingress.k b/k8s/1.19/api/networking/v1beta1/ingress.k index 6569ad3f..5eec23bd 100644 --- a/k8s/1.19/api/networking/v1beta1/ingress.k +++ b/k8s/1.19/api/networking/v1beta1/ingress.k @@ -3,7 +3,7 @@ This is the ingress module in k8s.api.networking.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Ingress: @@ -16,7 +16,7 @@ schema Ingress: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Ingress", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : IngressSpec, default is Undefined, optional Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Ingress: kind: "Ingress" = "Ingress" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: IngressSpec diff --git a/k8s/1.19/api/networking/v1beta1/ingress_class.k b/k8s/1.19/api/networking/v1beta1/ingress_class.k index f560f8bd..c359bfa6 100644 --- a/k8s/1.19/api/networking/v1beta1/ingress_class.k +++ b/k8s/1.19/api/networking/v1beta1/ingress_class.k @@ -3,7 +3,7 @@ This is the ingress_class module in k8s.api.networking.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema IngressClass: @@ -16,7 +16,7 @@ schema IngressClass: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "IngressClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : IngressClassSpec, default is Undefined, optional Spec is the desired state of the IngressClass. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema IngressClass: kind: "IngressClass" = "IngressClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: IngressClassSpec diff --git a/k8s/1.19/api/networking/v1beta1/ingress_class_list.k b/k8s/1.19/api/networking/v1beta1/ingress_class_list.k index 72e420ba..89464976 100644 --- a/k8s/1.19/api/networking/v1beta1/ingress_class_list.k +++ b/k8s/1.19/api/networking/v1beta1/ingress_class_list.k @@ -3,7 +3,7 @@ This is the ingress_class_list module in k8s.api.networking.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema IngressClassList: @@ -18,7 +18,7 @@ schema IngressClassList: Items is the list of IngressClasses. kind : str, default is "IngressClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema IngressClassList: kind: "IngressClassList" = "IngressClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.19/api/networking/v1beta1/ingress_list.k b/k8s/1.19/api/networking/v1beta1/ingress_list.k index 5f4b222c..f4249052 100644 --- a/k8s/1.19/api/networking/v1beta1/ingress_list.k +++ b/k8s/1.19/api/networking/v1beta1/ingress_list.k @@ -3,7 +3,7 @@ This is the ingress_list module in k8s.api.networking.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema IngressList: @@ -18,7 +18,7 @@ schema IngressList: Items is the list of Ingress. kind : str, default is "IngressList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema IngressList: kind: "IngressList" = "IngressList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.19/api/node/v1alpha1/runtime_class.k b/k8s/1.19/api/node/v1alpha1/runtime_class.k index 32997d20..24b160c8 100644 --- a/k8s/1.19/api/node/v1alpha1/runtime_class.k +++ b/k8s/1.19/api/node/v1alpha1/runtime_class.k @@ -3,7 +3,7 @@ This is the runtime_class module in k8s.api.node.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RuntimeClass: @@ -16,7 +16,7 @@ schema RuntimeClass: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "RuntimeClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : RuntimeClassSpec, default is Undefined, required Specification of the RuntimeClass More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema RuntimeClass: kind: "RuntimeClass" = "RuntimeClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: RuntimeClassSpec diff --git a/k8s/1.19/api/node/v1alpha1/runtime_class_list.k b/k8s/1.19/api/node/v1alpha1/runtime_class_list.k index 9a7cbb22..6db85ede 100644 --- a/k8s/1.19/api/node/v1alpha1/runtime_class_list.k +++ b/k8s/1.19/api/node/v1alpha1/runtime_class_list.k @@ -3,7 +3,7 @@ This is the runtime_class_list module in k8s.api.node.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RuntimeClassList: @@ -18,7 +18,7 @@ schema RuntimeClassList: Items is a list of schema objects. kind : str, default is "RuntimeClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema RuntimeClassList: kind: "RuntimeClassList" = "RuntimeClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.19/api/node/v1beta1/runtime_class.k b/k8s/1.19/api/node/v1beta1/runtime_class.k index 515e643e..477c5fa2 100644 --- a/k8s/1.19/api/node/v1beta1/runtime_class.k +++ b/k8s/1.19/api/node/v1beta1/runtime_class.k @@ -3,7 +3,7 @@ This is the runtime_class module in k8s.api.node.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RuntimeClass: @@ -18,7 +18,7 @@ schema RuntimeClass: Handler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration. It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called "runc" might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The Handler must conform to the DNS Label (RFC 1123) requirements, and is immutable. kind : str, default is "RuntimeClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata overhead : Overhead, default is Undefined, optional Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see https://git.k8s.io/enhancements/keps/sig-node/20190226-pod-overhead.md This field is alpha-level as of Kubernetes v1.15, and is only honored by servers that enable the PodOverhead feature. @@ -33,7 +33,7 @@ schema RuntimeClass: kind: "RuntimeClass" = "RuntimeClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta overhead?: Overhead diff --git a/k8s/1.19/api/node/v1beta1/runtime_class_list.k b/k8s/1.19/api/node/v1beta1/runtime_class_list.k index 19de4405..96178e8c 100644 --- a/k8s/1.19/api/node/v1beta1/runtime_class_list.k +++ b/k8s/1.19/api/node/v1beta1/runtime_class_list.k @@ -3,7 +3,7 @@ This is the runtime_class_list module in k8s.api.node.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RuntimeClassList: @@ -18,7 +18,7 @@ schema RuntimeClassList: Items is a list of schema objects. kind : str, default is "RuntimeClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema RuntimeClassList: kind: "RuntimeClassList" = "RuntimeClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.19/api/policy/v1beta1/eviction.k b/k8s/1.19/api/policy/v1beta1/eviction.k index 7f8d1a0b..af6f9667 100644 --- a/k8s/1.19/api/policy/v1beta1/eviction.k +++ b/k8s/1.19/api/policy/v1beta1/eviction.k @@ -3,7 +3,7 @@ This is the eviction module in k8s.api.policy.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Eviction: @@ -14,21 +14,21 @@ schema Eviction: ---------- apiVersion : str, default is "policy/v1beta1", required APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - deleteOptions : v1.DeleteOptions, default is Undefined, optional + deleteOptions : metav1.DeleteOptions, default is Undefined, optional DeleteOptions may be provided kind : str, default is "Eviction", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional ObjectMeta describes the pod that is being evicted. """ apiVersion: "policy/v1beta1" = "policy/v1beta1" - deleteOptions?: v1.DeleteOptions + deleteOptions?: metav1.DeleteOptions kind: "Eviction" = "Eviction" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta diff --git a/k8s/1.19/api/policy/v1beta1/pod_disruption_budget.k b/k8s/1.19/api/policy/v1beta1/pod_disruption_budget.k index 4bd867ee..8ec33062 100644 --- a/k8s/1.19/api/policy/v1beta1/pod_disruption_budget.k +++ b/k8s/1.19/api/policy/v1beta1/pod_disruption_budget.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget module in k8s.api.policy.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudget: @@ -16,7 +16,7 @@ schema PodDisruptionBudget: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PodDisruptionBudget", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : PodDisruptionBudgetSpec, default is Undefined, optional Specification of the desired behavior of the PodDisruptionBudget. @@ -27,7 +27,7 @@ schema PodDisruptionBudget: kind: "PodDisruptionBudget" = "PodDisruptionBudget" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PodDisruptionBudgetSpec diff --git a/k8s/1.19/api/policy/v1beta1/pod_disruption_budget_list.k b/k8s/1.19/api/policy/v1beta1/pod_disruption_budget_list.k index 7c9ed9f2..76dc4f1f 100644 --- a/k8s/1.19/api/policy/v1beta1/pod_disruption_budget_list.k +++ b/k8s/1.19/api/policy/v1beta1/pod_disruption_budget_list.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget_list module in k8s.api.policy.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudgetList: @@ -18,7 +18,7 @@ schema PodDisruptionBudgetList: items kind : str, default is "PodDisruptionBudgetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema PodDisruptionBudgetList: kind: "PodDisruptionBudgetList" = "PodDisruptionBudgetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.19/api/policy/v1beta1/pod_disruption_budget_spec.k b/k8s/1.19/api/policy/v1beta1/pod_disruption_budget_spec.k index 59207d7d..f58a030c 100644 --- a/k8s/1.19/api/policy/v1beta1/pod_disruption_budget_spec.k +++ b/k8s/1.19/api/policy/v1beta1/pod_disruption_budget_spec.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget_spec module in k8s.api.policy.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudgetSpec: @@ -16,7 +16,7 @@ schema PodDisruptionBudgetSpec: An eviction is allowed if at most "maxUnavailable" pods selected by "selector" are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with "minAvailable". minAvailable : int | str, default is Undefined, optional An eviction is allowed if at least "minAvailable" pods selected by "selector" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying "100%". - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional Label query over pods whose evictions are managed by the disruption budget. """ @@ -25,6 +25,6 @@ schema PodDisruptionBudgetSpec: minAvailable?: int | str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector diff --git a/k8s/1.19/api/policy/v1beta1/pod_security_policy.k b/k8s/1.19/api/policy/v1beta1/pod_security_policy.k index 1fb89bf0..26f77779 100644 --- a/k8s/1.19/api/policy/v1beta1/pod_security_policy.k +++ b/k8s/1.19/api/policy/v1beta1/pod_security_policy.k @@ -3,7 +3,7 @@ This is the pod_security_policy module in k8s.api.policy.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodSecurityPolicy: @@ -16,7 +16,7 @@ schema PodSecurityPolicy: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PodSecurityPolicy", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PodSecurityPolicySpec, default is Undefined, optional spec defines the policy enforced. @@ -27,7 +27,7 @@ schema PodSecurityPolicy: kind: "PodSecurityPolicy" = "PodSecurityPolicy" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PodSecurityPolicySpec diff --git a/k8s/1.19/api/policy/v1beta1/pod_security_policy_list.k b/k8s/1.19/api/policy/v1beta1/pod_security_policy_list.k index 72500195..422fdc1a 100644 --- a/k8s/1.19/api/policy/v1beta1/pod_security_policy_list.k +++ b/k8s/1.19/api/policy/v1beta1/pod_security_policy_list.k @@ -3,7 +3,7 @@ This is the pod_security_policy_list module in k8s.api.policy.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodSecurityPolicyList: @@ -18,7 +18,7 @@ schema PodSecurityPolicyList: items is a list of schema objects. kind : str, default is "PodSecurityPolicyList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PodSecurityPolicyList: kind: "PodSecurityPolicyList" = "PodSecurityPolicyList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.19/api/rbac/v1/aggregation_rule.k b/k8s/1.19/api/rbac/v1/aggregation_rule.k index c7969ee4..b6898869 100644 --- a/k8s/1.19/api/rbac/v1/aggregation_rule.k +++ b/k8s/1.19/api/rbac/v1/aggregation_rule.k @@ -3,7 +3,7 @@ This is the aggregation_rule module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema AggregationRule: @@ -12,11 +12,11 @@ schema AggregationRule: Attributes ---------- - clusterRoleSelectors : [v1.LabelSelector], default is Undefined, optional + clusterRoleSelectors : [metav1.LabelSelector], default is Undefined, optional ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added """ - clusterRoleSelectors?: [v1.LabelSelector] + clusterRoleSelectors?: [metav1.LabelSelector] diff --git a/k8s/1.19/api/rbac/v1/cluster_role.k b/k8s/1.19/api/rbac/v1/cluster_role.k index fcf42d1b..d32837ea 100644 --- a/k8s/1.19/api/rbac/v1/cluster_role.k +++ b/k8s/1.19/api/rbac/v1/cluster_role.k @@ -3,7 +3,7 @@ This is the cluster_role module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRole: @@ -18,7 +18,7 @@ schema ClusterRole: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ClusterRole", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. rules : [PolicyRule], default is Undefined, optional Rules holds all the PolicyRules for this ClusterRole @@ -31,7 +31,7 @@ schema ClusterRole: kind: "ClusterRole" = "ClusterRole" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta rules?: [PolicyRule] diff --git a/k8s/1.19/api/rbac/v1/cluster_role_binding.k b/k8s/1.19/api/rbac/v1/cluster_role_binding.k index e670588e..1b2c4294 100644 --- a/k8s/1.19/api/rbac/v1/cluster_role_binding.k +++ b/k8s/1.19/api/rbac/v1/cluster_role_binding.k @@ -3,7 +3,7 @@ This is the cluster_role_binding module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleBinding: @@ -16,7 +16,7 @@ schema ClusterRoleBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ClusterRoleBinding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. roleRef : RoleRef, default is Undefined, required RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. @@ -29,7 +29,7 @@ schema ClusterRoleBinding: kind: "ClusterRoleBinding" = "ClusterRoleBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta roleRef: RoleRef diff --git a/k8s/1.19/api/rbac/v1/cluster_role_binding_list.k b/k8s/1.19/api/rbac/v1/cluster_role_binding_list.k index fd53865a..bd13f6fa 100644 --- a/k8s/1.19/api/rbac/v1/cluster_role_binding_list.k +++ b/k8s/1.19/api/rbac/v1/cluster_role_binding_list.k @@ -3,7 +3,7 @@ This is the cluster_role_binding_list module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleBindingList: @@ -18,7 +18,7 @@ schema ClusterRoleBindingList: Items is a list of ClusterRoleBindings kind : str, default is "ClusterRoleBindingList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema ClusterRoleBindingList: kind: "ClusterRoleBindingList" = "ClusterRoleBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.19/api/rbac/v1/cluster_role_list.k b/k8s/1.19/api/rbac/v1/cluster_role_list.k index 8be0e1a6..303e00aa 100644 --- a/k8s/1.19/api/rbac/v1/cluster_role_list.k +++ b/k8s/1.19/api/rbac/v1/cluster_role_list.k @@ -3,7 +3,7 @@ This is the cluster_role_list module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleList: @@ -18,7 +18,7 @@ schema ClusterRoleList: Items is a list of ClusterRoles kind : str, default is "ClusterRoleList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema ClusterRoleList: kind: "ClusterRoleList" = "ClusterRoleList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.19/api/rbac/v1/role.k b/k8s/1.19/api/rbac/v1/role.k index f72c1ab0..db02dfef 100644 --- a/k8s/1.19/api/rbac/v1/role.k +++ b/k8s/1.19/api/rbac/v1/role.k @@ -3,7 +3,7 @@ This is the role module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Role: @@ -16,7 +16,7 @@ schema Role: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Role", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. rules : [PolicyRule], default is Undefined, optional Rules holds all the PolicyRules for this Role @@ -27,7 +27,7 @@ schema Role: kind: "Role" = "Role" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta rules?: [PolicyRule] diff --git a/k8s/1.19/api/rbac/v1/role_binding.k b/k8s/1.19/api/rbac/v1/role_binding.k index a305e8b1..efa93d8c 100644 --- a/k8s/1.19/api/rbac/v1/role_binding.k +++ b/k8s/1.19/api/rbac/v1/role_binding.k @@ -3,7 +3,7 @@ This is the role_binding module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleBinding: @@ -16,7 +16,7 @@ schema RoleBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "RoleBinding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. roleRef : RoleRef, default is Undefined, required RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. @@ -29,7 +29,7 @@ schema RoleBinding: kind: "RoleBinding" = "RoleBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta roleRef: RoleRef diff --git a/k8s/1.19/api/rbac/v1/role_binding_list.k b/k8s/1.19/api/rbac/v1/role_binding_list.k index ef8b7fc8..cb8d7400 100644 --- a/k8s/1.19/api/rbac/v1/role_binding_list.k +++ b/k8s/1.19/api/rbac/v1/role_binding_list.k @@ -3,7 +3,7 @@ This is the role_binding_list module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleBindingList: @@ -18,7 +18,7 @@ schema RoleBindingList: Items is a list of RoleBindings kind : str, default is "RoleBindingList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema RoleBindingList: kind: "RoleBindingList" = "RoleBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.19/api/rbac/v1/role_list.k b/k8s/1.19/api/rbac/v1/role_list.k index 6e7826e6..d102bc0c 100644 --- a/k8s/1.19/api/rbac/v1/role_list.k +++ b/k8s/1.19/api/rbac/v1/role_list.k @@ -3,7 +3,7 @@ This is the role_list module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleList: @@ -18,7 +18,7 @@ schema RoleList: Items is a list of Roles kind : str, default is "RoleList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema RoleList: kind: "RoleList" = "RoleList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.19/api/rbac/v1alpha1/aggregation_rule.k b/k8s/1.19/api/rbac/v1alpha1/aggregation_rule.k index 528fe561..c9b2af20 100644 --- a/k8s/1.19/api/rbac/v1alpha1/aggregation_rule.k +++ b/k8s/1.19/api/rbac/v1alpha1/aggregation_rule.k @@ -3,7 +3,7 @@ This is the aggregation_rule module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema AggregationRule: @@ -12,11 +12,11 @@ schema AggregationRule: Attributes ---------- - clusterRoleSelectors : [v1.LabelSelector], default is Undefined, optional + clusterRoleSelectors : [metav1.LabelSelector], default is Undefined, optional ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added """ - clusterRoleSelectors?: [v1.LabelSelector] + clusterRoleSelectors?: [metav1.LabelSelector] diff --git a/k8s/1.19/api/rbac/v1alpha1/cluster_role.k b/k8s/1.19/api/rbac/v1alpha1/cluster_role.k index 575a9cc7..657dbc2f 100644 --- a/k8s/1.19/api/rbac/v1alpha1/cluster_role.k +++ b/k8s/1.19/api/rbac/v1alpha1/cluster_role.k @@ -3,7 +3,7 @@ This is the cluster_role module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRole: @@ -18,7 +18,7 @@ schema ClusterRole: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ClusterRole", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. rules : [PolicyRule], default is Undefined, optional Rules holds all the PolicyRules for this ClusterRole @@ -31,7 +31,7 @@ schema ClusterRole: kind: "ClusterRole" = "ClusterRole" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta rules?: [PolicyRule] diff --git a/k8s/1.19/api/rbac/v1alpha1/cluster_role_binding.k b/k8s/1.19/api/rbac/v1alpha1/cluster_role_binding.k index 52d3d37f..f8461b42 100644 --- a/k8s/1.19/api/rbac/v1alpha1/cluster_role_binding.k +++ b/k8s/1.19/api/rbac/v1alpha1/cluster_role_binding.k @@ -3,7 +3,7 @@ This is the cluster_role_binding module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleBinding: @@ -16,7 +16,7 @@ schema ClusterRoleBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ClusterRoleBinding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. roleRef : RoleRef, default is Undefined, required RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. @@ -29,7 +29,7 @@ schema ClusterRoleBinding: kind: "ClusterRoleBinding" = "ClusterRoleBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta roleRef: RoleRef diff --git a/k8s/1.19/api/rbac/v1alpha1/cluster_role_binding_list.k b/k8s/1.19/api/rbac/v1alpha1/cluster_role_binding_list.k index 2bfe341d..b56526be 100644 --- a/k8s/1.19/api/rbac/v1alpha1/cluster_role_binding_list.k +++ b/k8s/1.19/api/rbac/v1alpha1/cluster_role_binding_list.k @@ -3,7 +3,7 @@ This is the cluster_role_binding_list module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleBindingList: @@ -18,7 +18,7 @@ schema ClusterRoleBindingList: Items is a list of ClusterRoleBindings kind : str, default is "ClusterRoleBindingList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema ClusterRoleBindingList: kind: "ClusterRoleBindingList" = "ClusterRoleBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.19/api/rbac/v1alpha1/cluster_role_list.k b/k8s/1.19/api/rbac/v1alpha1/cluster_role_list.k index 1618ae56..24f24ffb 100644 --- a/k8s/1.19/api/rbac/v1alpha1/cluster_role_list.k +++ b/k8s/1.19/api/rbac/v1alpha1/cluster_role_list.k @@ -3,7 +3,7 @@ This is the cluster_role_list module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleList: @@ -18,7 +18,7 @@ schema ClusterRoleList: Items is a list of ClusterRoles kind : str, default is "ClusterRoleList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema ClusterRoleList: kind: "ClusterRoleList" = "ClusterRoleList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.19/api/rbac/v1alpha1/role.k b/k8s/1.19/api/rbac/v1alpha1/role.k index 04b73319..d77aa86d 100644 --- a/k8s/1.19/api/rbac/v1alpha1/role.k +++ b/k8s/1.19/api/rbac/v1alpha1/role.k @@ -3,7 +3,7 @@ This is the role module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Role: @@ -16,7 +16,7 @@ schema Role: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Role", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. rules : [PolicyRule], default is Undefined, optional Rules holds all the PolicyRules for this Role @@ -27,7 +27,7 @@ schema Role: kind: "Role" = "Role" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta rules?: [PolicyRule] diff --git a/k8s/1.19/api/rbac/v1alpha1/role_binding.k b/k8s/1.19/api/rbac/v1alpha1/role_binding.k index 4d8b1be7..54a70911 100644 --- a/k8s/1.19/api/rbac/v1alpha1/role_binding.k +++ b/k8s/1.19/api/rbac/v1alpha1/role_binding.k @@ -3,7 +3,7 @@ This is the role_binding module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleBinding: @@ -16,7 +16,7 @@ schema RoleBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "RoleBinding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. roleRef : RoleRef, default is Undefined, required RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. @@ -29,7 +29,7 @@ schema RoleBinding: kind: "RoleBinding" = "RoleBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta roleRef: RoleRef diff --git a/k8s/1.19/api/rbac/v1alpha1/role_binding_list.k b/k8s/1.19/api/rbac/v1alpha1/role_binding_list.k index 4e041bf4..488775b1 100644 --- a/k8s/1.19/api/rbac/v1alpha1/role_binding_list.k +++ b/k8s/1.19/api/rbac/v1alpha1/role_binding_list.k @@ -3,7 +3,7 @@ This is the role_binding_list module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleBindingList: @@ -18,7 +18,7 @@ schema RoleBindingList: Items is a list of RoleBindings kind : str, default is "RoleBindingList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema RoleBindingList: kind: "RoleBindingList" = "RoleBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.19/api/rbac/v1alpha1/role_list.k b/k8s/1.19/api/rbac/v1alpha1/role_list.k index 0f4b5901..57cb790f 100644 --- a/k8s/1.19/api/rbac/v1alpha1/role_list.k +++ b/k8s/1.19/api/rbac/v1alpha1/role_list.k @@ -3,7 +3,7 @@ This is the role_list module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleList: @@ -18,7 +18,7 @@ schema RoleList: Items is a list of Roles kind : str, default is "RoleList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema RoleList: kind: "RoleList" = "RoleList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.19/api/rbac/v1beta1/aggregation_rule.k b/k8s/1.19/api/rbac/v1beta1/aggregation_rule.k index cd7ef918..41e15e52 100644 --- a/k8s/1.19/api/rbac/v1beta1/aggregation_rule.k +++ b/k8s/1.19/api/rbac/v1beta1/aggregation_rule.k @@ -3,7 +3,7 @@ This is the aggregation_rule module in k8s.api.rbac.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema AggregationRule: @@ -12,11 +12,11 @@ schema AggregationRule: Attributes ---------- - clusterRoleSelectors : [v1.LabelSelector], default is Undefined, optional + clusterRoleSelectors : [metav1.LabelSelector], default is Undefined, optional ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added """ - clusterRoleSelectors?: [v1.LabelSelector] + clusterRoleSelectors?: [metav1.LabelSelector] diff --git a/k8s/1.19/api/rbac/v1beta1/cluster_role.k b/k8s/1.19/api/rbac/v1beta1/cluster_role.k index 9e512e94..217b7a79 100644 --- a/k8s/1.19/api/rbac/v1beta1/cluster_role.k +++ b/k8s/1.19/api/rbac/v1beta1/cluster_role.k @@ -3,7 +3,7 @@ This is the cluster_role module in k8s.api.rbac.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRole: @@ -18,7 +18,7 @@ schema ClusterRole: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ClusterRole", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. rules : [PolicyRule], default is Undefined, optional Rules holds all the PolicyRules for this ClusterRole @@ -31,7 +31,7 @@ schema ClusterRole: kind: "ClusterRole" = "ClusterRole" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta rules?: [PolicyRule] diff --git a/k8s/1.19/api/rbac/v1beta1/cluster_role_binding.k b/k8s/1.19/api/rbac/v1beta1/cluster_role_binding.k index 27bce424..2b22db72 100644 --- a/k8s/1.19/api/rbac/v1beta1/cluster_role_binding.k +++ b/k8s/1.19/api/rbac/v1beta1/cluster_role_binding.k @@ -3,7 +3,7 @@ This is the cluster_role_binding module in k8s.api.rbac.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleBinding: @@ -16,7 +16,7 @@ schema ClusterRoleBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ClusterRoleBinding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. roleRef : RoleRef, default is Undefined, required RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. @@ -29,7 +29,7 @@ schema ClusterRoleBinding: kind: "ClusterRoleBinding" = "ClusterRoleBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta roleRef: RoleRef diff --git a/k8s/1.19/api/rbac/v1beta1/cluster_role_binding_list.k b/k8s/1.19/api/rbac/v1beta1/cluster_role_binding_list.k index ae9124bf..47d89ef4 100644 --- a/k8s/1.19/api/rbac/v1beta1/cluster_role_binding_list.k +++ b/k8s/1.19/api/rbac/v1beta1/cluster_role_binding_list.k @@ -3,7 +3,7 @@ This is the cluster_role_binding_list module in k8s.api.rbac.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleBindingList: @@ -18,7 +18,7 @@ schema ClusterRoleBindingList: Items is a list of ClusterRoleBindings kind : str, default is "ClusterRoleBindingList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema ClusterRoleBindingList: kind: "ClusterRoleBindingList" = "ClusterRoleBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.19/api/rbac/v1beta1/cluster_role_list.k b/k8s/1.19/api/rbac/v1beta1/cluster_role_list.k index 0ca126e5..ccb1e5d9 100644 --- a/k8s/1.19/api/rbac/v1beta1/cluster_role_list.k +++ b/k8s/1.19/api/rbac/v1beta1/cluster_role_list.k @@ -3,7 +3,7 @@ This is the cluster_role_list module in k8s.api.rbac.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleList: @@ -18,7 +18,7 @@ schema ClusterRoleList: Items is a list of ClusterRoles kind : str, default is "ClusterRoleList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema ClusterRoleList: kind: "ClusterRoleList" = "ClusterRoleList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.19/api/rbac/v1beta1/role.k b/k8s/1.19/api/rbac/v1beta1/role.k index 067918f5..dd0b94cd 100644 --- a/k8s/1.19/api/rbac/v1beta1/role.k +++ b/k8s/1.19/api/rbac/v1beta1/role.k @@ -3,7 +3,7 @@ This is the role module in k8s.api.rbac.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Role: @@ -16,7 +16,7 @@ schema Role: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Role", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. rules : [PolicyRule], default is Undefined, optional Rules holds all the PolicyRules for this Role @@ -27,7 +27,7 @@ schema Role: kind: "Role" = "Role" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta rules?: [PolicyRule] diff --git a/k8s/1.19/api/rbac/v1beta1/role_binding.k b/k8s/1.19/api/rbac/v1beta1/role_binding.k index ce51cc7c..3926fdfe 100644 --- a/k8s/1.19/api/rbac/v1beta1/role_binding.k +++ b/k8s/1.19/api/rbac/v1beta1/role_binding.k @@ -3,7 +3,7 @@ This is the role_binding module in k8s.api.rbac.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleBinding: @@ -16,7 +16,7 @@ schema RoleBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "RoleBinding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. roleRef : RoleRef, default is Undefined, required RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. @@ -29,7 +29,7 @@ schema RoleBinding: kind: "RoleBinding" = "RoleBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta roleRef: RoleRef diff --git a/k8s/1.19/api/rbac/v1beta1/role_binding_list.k b/k8s/1.19/api/rbac/v1beta1/role_binding_list.k index 2b2dfc75..4fc800bd 100644 --- a/k8s/1.19/api/rbac/v1beta1/role_binding_list.k +++ b/k8s/1.19/api/rbac/v1beta1/role_binding_list.k @@ -3,7 +3,7 @@ This is the role_binding_list module in k8s.api.rbac.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleBindingList: @@ -18,7 +18,7 @@ schema RoleBindingList: Items is a list of RoleBindings kind : str, default is "RoleBindingList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema RoleBindingList: kind: "RoleBindingList" = "RoleBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.19/api/rbac/v1beta1/role_list.k b/k8s/1.19/api/rbac/v1beta1/role_list.k index a9adf4cb..389c46aa 100644 --- a/k8s/1.19/api/rbac/v1beta1/role_list.k +++ b/k8s/1.19/api/rbac/v1beta1/role_list.k @@ -3,7 +3,7 @@ This is the role_list module in k8s.api.rbac.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleList: @@ -18,7 +18,7 @@ schema RoleList: Items is a list of Roles kind : str, default is "RoleList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema RoleList: kind: "RoleList" = "RoleList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.19/api/scheduling/v1/priority_class.k b/k8s/1.19/api/scheduling/v1/priority_class.k index 1bf1a065..06085c45 100644 --- a/k8s/1.19/api/scheduling/v1/priority_class.k +++ b/k8s/1.19/api/scheduling/v1/priority_class.k @@ -3,7 +3,7 @@ This is the priority_class module in k8s.api.scheduling.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityClass: @@ -20,7 +20,7 @@ schema PriorityClass: globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority. kind : str, default is "PriorityClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata preemptionPolicy : str, default is Undefined, optional PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is beta-level, gated by the NonPreemptingPriority feature-gate. @@ -37,7 +37,7 @@ schema PriorityClass: kind: "PriorityClass" = "PriorityClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta preemptionPolicy?: str diff --git a/k8s/1.19/api/scheduling/v1/priority_class_list.k b/k8s/1.19/api/scheduling/v1/priority_class_list.k index ff802048..6d514f6b 100644 --- a/k8s/1.19/api/scheduling/v1/priority_class_list.k +++ b/k8s/1.19/api/scheduling/v1/priority_class_list.k @@ -3,7 +3,7 @@ This is the priority_class_list module in k8s.api.scheduling.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityClassList: @@ -18,7 +18,7 @@ schema PriorityClassList: items is the list of PriorityClasses kind : str, default is "PriorityClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PriorityClassList: kind: "PriorityClassList" = "PriorityClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.19/api/scheduling/v1alpha1/priority_class.k b/k8s/1.19/api/scheduling/v1alpha1/priority_class.k index 59462076..87789133 100644 --- a/k8s/1.19/api/scheduling/v1alpha1/priority_class.k +++ b/k8s/1.19/api/scheduling/v1alpha1/priority_class.k @@ -3,7 +3,7 @@ This is the priority_class module in k8s.api.scheduling.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityClass: @@ -20,7 +20,7 @@ schema PriorityClass: globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority. kind : str, default is "PriorityClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata preemptionPolicy : str, default is Undefined, optional PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is beta-level, gated by the NonPreemptingPriority feature-gate. @@ -37,7 +37,7 @@ schema PriorityClass: kind: "PriorityClass" = "PriorityClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta preemptionPolicy?: str diff --git a/k8s/1.19/api/scheduling/v1alpha1/priority_class_list.k b/k8s/1.19/api/scheduling/v1alpha1/priority_class_list.k index f4d8cbfa..97b08586 100644 --- a/k8s/1.19/api/scheduling/v1alpha1/priority_class_list.k +++ b/k8s/1.19/api/scheduling/v1alpha1/priority_class_list.k @@ -3,7 +3,7 @@ This is the priority_class_list module in k8s.api.scheduling.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityClassList: @@ -18,7 +18,7 @@ schema PriorityClassList: items is the list of PriorityClasses kind : str, default is "PriorityClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PriorityClassList: kind: "PriorityClassList" = "PriorityClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.19/api/scheduling/v1beta1/priority_class.k b/k8s/1.19/api/scheduling/v1beta1/priority_class.k index 626dc250..61b1859c 100644 --- a/k8s/1.19/api/scheduling/v1beta1/priority_class.k +++ b/k8s/1.19/api/scheduling/v1beta1/priority_class.k @@ -3,7 +3,7 @@ This is the priority_class module in k8s.api.scheduling.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityClass: @@ -20,7 +20,7 @@ schema PriorityClass: globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority. kind : str, default is "PriorityClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata preemptionPolicy : str, default is Undefined, optional PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is beta-level, gated by the NonPreemptingPriority feature-gate. @@ -37,7 +37,7 @@ schema PriorityClass: kind: "PriorityClass" = "PriorityClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta preemptionPolicy?: str diff --git a/k8s/1.19/api/scheduling/v1beta1/priority_class_list.k b/k8s/1.19/api/scheduling/v1beta1/priority_class_list.k index 2788d02c..2187fd8e 100644 --- a/k8s/1.19/api/scheduling/v1beta1/priority_class_list.k +++ b/k8s/1.19/api/scheduling/v1beta1/priority_class_list.k @@ -3,7 +3,7 @@ This is the priority_class_list module in k8s.api.scheduling.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityClassList: @@ -18,7 +18,7 @@ schema PriorityClassList: items is the list of PriorityClasses kind : str, default is "PriorityClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PriorityClassList: kind: "PriorityClassList" = "PriorityClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.19/api/settings/v1alpha1/pod_preset.k b/k8s/1.19/api/settings/v1alpha1/pod_preset.k index 955322f1..53bc0dfa 100644 --- a/k8s/1.19/api/settings/v1alpha1/pod_preset.k +++ b/k8s/1.19/api/settings/v1alpha1/pod_preset.k @@ -3,7 +3,7 @@ This is the pod_preset module in k8s.api.settings.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodPreset: @@ -16,7 +16,7 @@ schema PodPreset: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PodPreset", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : PodPresetSpec, default is Undefined, optional spec @@ -27,7 +27,7 @@ schema PodPreset: kind: "PodPreset" = "PodPreset" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PodPresetSpec diff --git a/k8s/1.19/api/settings/v1alpha1/pod_preset_list.k b/k8s/1.19/api/settings/v1alpha1/pod_preset_list.k index f27331c7..5d94304f 100644 --- a/k8s/1.19/api/settings/v1alpha1/pod_preset_list.k +++ b/k8s/1.19/api/settings/v1alpha1/pod_preset_list.k @@ -3,7 +3,7 @@ This is the pod_preset_list module in k8s.api.settings.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodPresetList: @@ -18,7 +18,7 @@ schema PodPresetList: Items is a list of schema objects. kind : str, default is "PodPresetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PodPresetList: kind: "PodPresetList" = "PodPresetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.19/api/storage/v1/csi_driver.k b/k8s/1.19/api/storage/v1/csi_driver.k index 3302994b..cd222b2a 100644 --- a/k8s/1.19/api/storage/v1/csi_driver.k +++ b/k8s/1.19/api/storage/v1/csi_driver.k @@ -3,7 +3,7 @@ This is the csi_driver module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSIDriver: @@ -16,7 +16,7 @@ schema CSIDriver: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CSIDriver", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. metadata.Name indicates the name of the CSI driver that this object refers to; it MUST be the same name returned by the CSI GetPluginName() call for that driver. The driver name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and alphanumerics between. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : CSIDriverSpec, default is Undefined, required Specification of the CSI Driver. @@ -27,7 +27,7 @@ schema CSIDriver: kind: "CSIDriver" = "CSIDriver" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CSIDriverSpec diff --git a/k8s/1.19/api/storage/v1/csi_driver_list.k b/k8s/1.19/api/storage/v1/csi_driver_list.k index 91531b39..8b09e0f6 100644 --- a/k8s/1.19/api/storage/v1/csi_driver_list.k +++ b/k8s/1.19/api/storage/v1/csi_driver_list.k @@ -3,7 +3,7 @@ This is the csi_driver_list module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSIDriverList: @@ -18,7 +18,7 @@ schema CSIDriverList: items is the list of CSIDriver kind : str, default is "CSIDriverList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CSIDriverList: kind: "CSIDriverList" = "CSIDriverList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.19/api/storage/v1/csi_node.k b/k8s/1.19/api/storage/v1/csi_node.k index 055f8653..6557da03 100644 --- a/k8s/1.19/api/storage/v1/csi_node.k +++ b/k8s/1.19/api/storage/v1/csi_node.k @@ -3,7 +3,7 @@ This is the csi_node module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSINode: @@ -16,7 +16,7 @@ schema CSINode: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CSINode", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata.name must be the Kubernetes node name. spec : CSINodeSpec, default is Undefined, required spec is the specification of CSINode @@ -27,7 +27,7 @@ schema CSINode: kind: "CSINode" = "CSINode" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CSINodeSpec diff --git a/k8s/1.19/api/storage/v1/csi_node_list.k b/k8s/1.19/api/storage/v1/csi_node_list.k index ce5793c1..3a93da71 100644 --- a/k8s/1.19/api/storage/v1/csi_node_list.k +++ b/k8s/1.19/api/storage/v1/csi_node_list.k @@ -3,7 +3,7 @@ This is the csi_node_list module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSINodeList: @@ -18,7 +18,7 @@ schema CSINodeList: items is the list of CSINode kind : str, default is "CSINodeList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CSINodeList: kind: "CSINodeList" = "CSINodeList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.19/api/storage/v1/storage_class_list.k b/k8s/1.19/api/storage/v1/storage_class_list.k index 365e1386..284d43e8 100644 --- a/k8s/1.19/api/storage/v1/storage_class_list.k +++ b/k8s/1.19/api/storage/v1/storage_class_list.k @@ -3,7 +3,7 @@ This is the storage_class_list module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StorageClassList: @@ -18,7 +18,7 @@ schema StorageClassList: Items is the list of StorageClasses kind : str, default is "StorageClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema StorageClassList: kind: "StorageClassList" = "StorageClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.19/api/storage/v1/volume_attachment.k b/k8s/1.19/api/storage/v1/volume_attachment.k index e4b9149f..f98beff1 100644 --- a/k8s/1.19/api/storage/v1/volume_attachment.k +++ b/k8s/1.19/api/storage/v1/volume_attachment.k @@ -3,7 +3,7 @@ This is the volume_attachment module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema VolumeAttachment: @@ -18,7 +18,7 @@ schema VolumeAttachment: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "VolumeAttachment", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : VolumeAttachmentSpec, default is Undefined, required Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system. @@ -29,7 +29,7 @@ schema VolumeAttachment: kind: "VolumeAttachment" = "VolumeAttachment" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: VolumeAttachmentSpec diff --git a/k8s/1.19/api/storage/v1/volume_attachment_list.k b/k8s/1.19/api/storage/v1/volume_attachment_list.k index ef702d0d..0719d0bc 100644 --- a/k8s/1.19/api/storage/v1/volume_attachment_list.k +++ b/k8s/1.19/api/storage/v1/volume_attachment_list.k @@ -3,7 +3,7 @@ This is the volume_attachment_list module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema VolumeAttachmentList: @@ -18,7 +18,7 @@ schema VolumeAttachmentList: Items is the list of VolumeAttachments kind : str, default is "VolumeAttachmentList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema VolumeAttachmentList: kind: "VolumeAttachmentList" = "VolumeAttachmentList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.19/api/storage/v1alpha1/volume_attachment.k b/k8s/1.19/api/storage/v1alpha1/volume_attachment.k index ac3e542b..69bcab61 100644 --- a/k8s/1.19/api/storage/v1alpha1/volume_attachment.k +++ b/k8s/1.19/api/storage/v1alpha1/volume_attachment.k @@ -3,7 +3,7 @@ This is the volume_attachment module in k8s.api.storage.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema VolumeAttachment: @@ -18,7 +18,7 @@ schema VolumeAttachment: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "VolumeAttachment", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : VolumeAttachmentSpec, default is Undefined, required Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system. @@ -29,7 +29,7 @@ schema VolumeAttachment: kind: "VolumeAttachment" = "VolumeAttachment" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: VolumeAttachmentSpec diff --git a/k8s/1.19/api/storage/v1alpha1/volume_attachment_list.k b/k8s/1.19/api/storage/v1alpha1/volume_attachment_list.k index ddb512e0..f89560d9 100644 --- a/k8s/1.19/api/storage/v1alpha1/volume_attachment_list.k +++ b/k8s/1.19/api/storage/v1alpha1/volume_attachment_list.k @@ -3,7 +3,7 @@ This is the volume_attachment_list module in k8s.api.storage.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema VolumeAttachmentList: @@ -18,7 +18,7 @@ schema VolumeAttachmentList: Items is the list of VolumeAttachments kind : str, default is "VolumeAttachmentList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema VolumeAttachmentList: kind: "VolumeAttachmentList" = "VolumeAttachmentList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.19/api/storage/v1beta1/csi_driver.k b/k8s/1.19/api/storage/v1beta1/csi_driver.k index e4145edc..be666b1b 100644 --- a/k8s/1.19/api/storage/v1beta1/csi_driver.k +++ b/k8s/1.19/api/storage/v1beta1/csi_driver.k @@ -3,7 +3,7 @@ This is the csi_driver module in k8s.api.storage.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSIDriver: @@ -16,7 +16,7 @@ schema CSIDriver: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CSIDriver", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. metadata.Name indicates the name of the CSI driver that this object refers to; it MUST be the same name returned by the CSI GetPluginName() call for that driver. The driver name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and alphanumerics between. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : CSIDriverSpec, default is Undefined, required Specification of the CSI Driver. @@ -27,7 +27,7 @@ schema CSIDriver: kind: "CSIDriver" = "CSIDriver" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CSIDriverSpec diff --git a/k8s/1.19/api/storage/v1beta1/csi_driver_list.k b/k8s/1.19/api/storage/v1beta1/csi_driver_list.k index 209f62b2..215906d8 100644 --- a/k8s/1.19/api/storage/v1beta1/csi_driver_list.k +++ b/k8s/1.19/api/storage/v1beta1/csi_driver_list.k @@ -3,7 +3,7 @@ This is the csi_driver_list module in k8s.api.storage.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSIDriverList: @@ -18,7 +18,7 @@ schema CSIDriverList: items is the list of CSIDriver kind : str, default is "CSIDriverList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CSIDriverList: kind: "CSIDriverList" = "CSIDriverList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.19/api/storage/v1beta1/csi_node.k b/k8s/1.19/api/storage/v1beta1/csi_node.k index f5ba6611..ec6f1aff 100644 --- a/k8s/1.19/api/storage/v1beta1/csi_node.k +++ b/k8s/1.19/api/storage/v1beta1/csi_node.k @@ -3,7 +3,7 @@ This is the csi_node module in k8s.api.storage.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSINode: @@ -16,7 +16,7 @@ schema CSINode: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CSINode", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata.name must be the Kubernetes node name. spec : CSINodeSpec, default is Undefined, required spec is the specification of CSINode @@ -27,7 +27,7 @@ schema CSINode: kind: "CSINode" = "CSINode" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CSINodeSpec diff --git a/k8s/1.19/api/storage/v1beta1/csi_node_list.k b/k8s/1.19/api/storage/v1beta1/csi_node_list.k index 3f0ca6ce..f80a6c6a 100644 --- a/k8s/1.19/api/storage/v1beta1/csi_node_list.k +++ b/k8s/1.19/api/storage/v1beta1/csi_node_list.k @@ -3,7 +3,7 @@ This is the csi_node_list module in k8s.api.storage.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSINodeList: @@ -18,7 +18,7 @@ schema CSINodeList: items is the list of CSINode kind : str, default is "CSINodeList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CSINodeList: kind: "CSINodeList" = "CSINodeList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.19/api/storage/v1beta1/storage_class_list.k b/k8s/1.19/api/storage/v1beta1/storage_class_list.k index 0dcbe241..ec9cb902 100644 --- a/k8s/1.19/api/storage/v1beta1/storage_class_list.k +++ b/k8s/1.19/api/storage/v1beta1/storage_class_list.k @@ -3,7 +3,7 @@ This is the storage_class_list module in k8s.api.storage.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StorageClassList: @@ -18,7 +18,7 @@ schema StorageClassList: Items is the list of StorageClasses kind : str, default is "StorageClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema StorageClassList: kind: "StorageClassList" = "StorageClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.19/api/storage/v1beta1/volume_attachment.k b/k8s/1.19/api/storage/v1beta1/volume_attachment.k index e0a72030..4a4768bf 100644 --- a/k8s/1.19/api/storage/v1beta1/volume_attachment.k +++ b/k8s/1.19/api/storage/v1beta1/volume_attachment.k @@ -3,7 +3,7 @@ This is the volume_attachment module in k8s.api.storage.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema VolumeAttachment: @@ -18,7 +18,7 @@ schema VolumeAttachment: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "VolumeAttachment", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : VolumeAttachmentSpec, default is Undefined, required Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system. @@ -29,7 +29,7 @@ schema VolumeAttachment: kind: "VolumeAttachment" = "VolumeAttachment" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: VolumeAttachmentSpec diff --git a/k8s/1.19/api/storage/v1beta1/volume_attachment_list.k b/k8s/1.19/api/storage/v1beta1/volume_attachment_list.k index cdc91322..4650e400 100644 --- a/k8s/1.19/api/storage/v1beta1/volume_attachment_list.k +++ b/k8s/1.19/api/storage/v1beta1/volume_attachment_list.k @@ -3,7 +3,7 @@ This is the volume_attachment_list module in k8s.api.storage.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema VolumeAttachmentList: @@ -18,7 +18,7 @@ schema VolumeAttachmentList: Items is the list of VolumeAttachments kind : str, default is "VolumeAttachmentList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema VolumeAttachmentList: kind: "VolumeAttachmentList" = "VolumeAttachmentList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.19/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition.k b/k8s/1.19/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition.k index 4d421b4d..a401f819 100644 --- a/k8s/1.19/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition.k +++ b/k8s/1.19/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition.k @@ -3,7 +3,7 @@ This is the custom_resource_definition module in k8s.apiextensions_apiserver.pkg This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CustomResourceDefinition: @@ -16,7 +16,7 @@ schema CustomResourceDefinition: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CustomResourceDefinition", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : CustomResourceDefinitionSpec, default is Undefined, required spec describes how the user wants the resources to appear @@ -27,7 +27,7 @@ schema CustomResourceDefinition: kind: "CustomResourceDefinition" = "CustomResourceDefinition" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CustomResourceDefinitionSpec diff --git a/k8s/1.19/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition_list.k b/k8s/1.19/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition_list.k index d380cb53..720e5de8 100644 --- a/k8s/1.19/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition_list.k +++ b/k8s/1.19/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition_list.k @@ -3,7 +3,7 @@ This is the custom_resource_definition_list module in k8s.apiextensions_apiserve This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CustomResourceDefinitionList: @@ -18,7 +18,7 @@ schema CustomResourceDefinitionList: items list individual CustomResourceDefinition objects kind : str, default is "CustomResourceDefinitionList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema CustomResourceDefinitionList: kind: "CustomResourceDefinitionList" = "CustomResourceDefinitionList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.19/apiextensions_apiserver/pkg/apis/apiextensions/v1beta1/custom_resource_definition.k b/k8s/1.19/apiextensions_apiserver/pkg/apis/apiextensions/v1beta1/custom_resource_definition.k index f8bca0d0..5815d61a 100644 --- a/k8s/1.19/apiextensions_apiserver/pkg/apis/apiextensions/v1beta1/custom_resource_definition.k +++ b/k8s/1.19/apiextensions_apiserver/pkg/apis/apiextensions/v1beta1/custom_resource_definition.k @@ -3,7 +3,7 @@ This is the custom_resource_definition module in k8s.apiextensions_apiserver.pkg This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CustomResourceDefinition: @@ -16,7 +16,7 @@ schema CustomResourceDefinition: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CustomResourceDefinition", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : CustomResourceDefinitionSpec, default is Undefined, required spec describes how the user wants the resources to appear @@ -27,7 +27,7 @@ schema CustomResourceDefinition: kind: "CustomResourceDefinition" = "CustomResourceDefinition" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CustomResourceDefinitionSpec diff --git a/k8s/1.19/apiextensions_apiserver/pkg/apis/apiextensions/v1beta1/custom_resource_definition_list.k b/k8s/1.19/apiextensions_apiserver/pkg/apis/apiextensions/v1beta1/custom_resource_definition_list.k index df4417b5..8d4519cd 100644 --- a/k8s/1.19/apiextensions_apiserver/pkg/apis/apiextensions/v1beta1/custom_resource_definition_list.k +++ b/k8s/1.19/apiextensions_apiserver/pkg/apis/apiextensions/v1beta1/custom_resource_definition_list.k @@ -3,7 +3,7 @@ This is the custom_resource_definition_list module in k8s.apiextensions_apiserve This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CustomResourceDefinitionList: @@ -18,7 +18,7 @@ schema CustomResourceDefinitionList: items list individual CustomResourceDefinition objects kind : str, default is "CustomResourceDefinitionList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema CustomResourceDefinitionList: kind: "CustomResourceDefinitionList" = "CustomResourceDefinitionList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.19/kcl.mod b/k8s/1.19/kcl.mod index 1ea93d10..8f005501 100644 --- a/k8s/1.19/kcl.mod +++ b/k8s/1.19/kcl.mod @@ -1,5 +1,5 @@ [package] name = "k8s" edition = "*" -version = "1.19.1" +version = "1.19.2" description = "`k8s` is a KCL module contains all the built-in Kubernetes resource models (the CRDs are not included here)." diff --git a/k8s/1.19/kube_aggregator/pkg/apis/apiregistration/v1/api_service.k b/k8s/1.19/kube_aggregator/pkg/apis/apiregistration/v1/api_service.k index d7575e41..b9fd5e11 100644 --- a/k8s/1.19/kube_aggregator/pkg/apis/apiregistration/v1/api_service.k +++ b/k8s/1.19/kube_aggregator/pkg/apis/apiregistration/v1/api_service.k @@ -3,7 +3,7 @@ This is the api_service module in k8s.kube_aggregator.pkg.apis.apiregistration.v This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema APIService: @@ -16,7 +16,7 @@ schema APIService: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "APIService", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : APIServiceSpec, default is Undefined, optional Spec contains information for locating and communicating with a server @@ -27,7 +27,7 @@ schema APIService: kind: "APIService" = "APIService" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: APIServiceSpec diff --git a/k8s/1.19/kube_aggregator/pkg/apis/apiregistration/v1/api_service_list.k b/k8s/1.19/kube_aggregator/pkg/apis/apiregistration/v1/api_service_list.k index a4190ded..5f850817 100644 --- a/k8s/1.19/kube_aggregator/pkg/apis/apiregistration/v1/api_service_list.k +++ b/k8s/1.19/kube_aggregator/pkg/apis/apiregistration/v1/api_service_list.k @@ -3,7 +3,7 @@ This is the api_service_list module in k8s.kube_aggregator.pkg.apis.apiregistrat This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema APIServiceList: @@ -18,7 +18,7 @@ schema APIServiceList: items kind : str, default is "APIServiceList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema APIServiceList: kind: "APIServiceList" = "APIServiceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.19/kube_aggregator/pkg/apis/apiregistration/v1beta1/api_service.k b/k8s/1.19/kube_aggregator/pkg/apis/apiregistration/v1beta1/api_service.k index 5c0348eb..d88e6dfc 100644 --- a/k8s/1.19/kube_aggregator/pkg/apis/apiregistration/v1beta1/api_service.k +++ b/k8s/1.19/kube_aggregator/pkg/apis/apiregistration/v1beta1/api_service.k @@ -3,7 +3,7 @@ This is the api_service module in k8s.kube_aggregator.pkg.apis.apiregistration.v This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema APIService: @@ -16,7 +16,7 @@ schema APIService: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "APIService", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : APIServiceSpec, default is Undefined, optional Spec contains information for locating and communicating with a server @@ -27,7 +27,7 @@ schema APIService: kind: "APIService" = "APIService" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: APIServiceSpec diff --git a/k8s/1.19/kube_aggregator/pkg/apis/apiregistration/v1beta1/api_service_list.k b/k8s/1.19/kube_aggregator/pkg/apis/apiregistration/v1beta1/api_service_list.k index f829e37d..75989315 100644 --- a/k8s/1.19/kube_aggregator/pkg/apis/apiregistration/v1beta1/api_service_list.k +++ b/k8s/1.19/kube_aggregator/pkg/apis/apiregistration/v1beta1/api_service_list.k @@ -3,7 +3,7 @@ This is the api_service_list module in k8s.kube_aggregator.pkg.apis.apiregistrat This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema APIServiceList: @@ -18,7 +18,7 @@ schema APIServiceList: items kind : str, default is "APIServiceList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema APIServiceList: kind: "APIServiceList" = "APIServiceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/api/admissionregistration/v1/mutating_webhook.k b/k8s/1.20/api/admissionregistration/v1/mutating_webhook.k index dad9a26f..14dff1c3 100644 --- a/k8s/1.20/api/admissionregistration/v1/mutating_webhook.k +++ b/k8s/1.20/api/admissionregistration/v1/mutating_webhook.k @@ -3,7 +3,7 @@ This is the mutating_webhook module in k8s.api.admissionregistration.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MutatingWebhook: @@ -28,7 +28,7 @@ schema MutatingWebhook: Defaults to "Equivalent" name : str, default is Undefined, required The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook. For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1"; you will set the selector as follows: "namespaceSelector": { @@ -60,7 +60,7 @@ schema MutatingWebhook: See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors. Default to the empty LabelSelector, which matches everything. - objectSelector : v1.LabelSelector, default is Undefined, optional + objectSelector : metav1.LabelSelector, default is Undefined, optional ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything. reinvocationPolicy : str, default is Undefined, optional reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded". @@ -89,9 +89,9 @@ schema MutatingWebhook: name: str - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector - objectSelector?: v1.LabelSelector + objectSelector?: metav1.LabelSelector reinvocationPolicy?: str diff --git a/k8s/1.20/api/admissionregistration/v1/mutating_webhook_configuration.k b/k8s/1.20/api/admissionregistration/v1/mutating_webhook_configuration.k index a9864b32..0c970740 100644 --- a/k8s/1.20/api/admissionregistration/v1/mutating_webhook_configuration.k +++ b/k8s/1.20/api/admissionregistration/v1/mutating_webhook_configuration.k @@ -3,7 +3,7 @@ This is the mutating_webhook_configuration module in k8s.api.admissionregistrati This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MutatingWebhookConfiguration: @@ -16,7 +16,7 @@ schema MutatingWebhookConfiguration: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "MutatingWebhookConfiguration", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. webhooks : [MutatingWebhook], default is Undefined, optional Webhooks is a list of webhooks and the affected resources and operations. @@ -27,7 +27,7 @@ schema MutatingWebhookConfiguration: kind: "MutatingWebhookConfiguration" = "MutatingWebhookConfiguration" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta webhooks?: [MutatingWebhook] diff --git a/k8s/1.20/api/admissionregistration/v1/mutating_webhook_configuration_list.k b/k8s/1.20/api/admissionregistration/v1/mutating_webhook_configuration_list.k index d4e15e81..b6fd6022 100644 --- a/k8s/1.20/api/admissionregistration/v1/mutating_webhook_configuration_list.k +++ b/k8s/1.20/api/admissionregistration/v1/mutating_webhook_configuration_list.k @@ -3,7 +3,7 @@ This is the mutating_webhook_configuration_list module in k8s.api.admissionregis This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MutatingWebhookConfigurationList: @@ -18,7 +18,7 @@ schema MutatingWebhookConfigurationList: List of MutatingWebhookConfiguration. kind : str, default is "MutatingWebhookConfigurationList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema MutatingWebhookConfigurationList: kind: "MutatingWebhookConfigurationList" = "MutatingWebhookConfigurationList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/api/admissionregistration/v1/validating_webhook.k b/k8s/1.20/api/admissionregistration/v1/validating_webhook.k index 112ca984..dc45ba72 100644 --- a/k8s/1.20/api/admissionregistration/v1/validating_webhook.k +++ b/k8s/1.20/api/admissionregistration/v1/validating_webhook.k @@ -3,7 +3,7 @@ This is the validating_webhook module in k8s.api.admissionregistration.v1 packag This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingWebhook: @@ -28,7 +28,7 @@ schema ValidatingWebhook: Defaults to "Equivalent" name : str, default is Undefined, required The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook. For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1"; you will set the selector as follows: "namespaceSelector": { @@ -60,7 +60,7 @@ schema ValidatingWebhook: See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels for more examples of label selectors. Default to the empty LabelSelector, which matches everything. - objectSelector : v1.LabelSelector, default is Undefined, optional + objectSelector : metav1.LabelSelector, default is Undefined, optional ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything. rules : [RuleWithOperations], default is Undefined, optional Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects. @@ -81,9 +81,9 @@ schema ValidatingWebhook: name: str - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector - objectSelector?: v1.LabelSelector + objectSelector?: metav1.LabelSelector rules?: [RuleWithOperations] diff --git a/k8s/1.20/api/admissionregistration/v1/validating_webhook_configuration.k b/k8s/1.20/api/admissionregistration/v1/validating_webhook_configuration.k index 2b45293a..e35bb335 100644 --- a/k8s/1.20/api/admissionregistration/v1/validating_webhook_configuration.k +++ b/k8s/1.20/api/admissionregistration/v1/validating_webhook_configuration.k @@ -3,7 +3,7 @@ This is the validating_webhook_configuration module in k8s.api.admissionregistra This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingWebhookConfiguration: @@ -16,7 +16,7 @@ schema ValidatingWebhookConfiguration: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ValidatingWebhookConfiguration", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. webhooks : [ValidatingWebhook], default is Undefined, optional Webhooks is a list of webhooks and the affected resources and operations. @@ -27,7 +27,7 @@ schema ValidatingWebhookConfiguration: kind: "ValidatingWebhookConfiguration" = "ValidatingWebhookConfiguration" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta webhooks?: [ValidatingWebhook] diff --git a/k8s/1.20/api/admissionregistration/v1/validating_webhook_configuration_list.k b/k8s/1.20/api/admissionregistration/v1/validating_webhook_configuration_list.k index 0515b188..2691da1c 100644 --- a/k8s/1.20/api/admissionregistration/v1/validating_webhook_configuration_list.k +++ b/k8s/1.20/api/admissionregistration/v1/validating_webhook_configuration_list.k @@ -3,7 +3,7 @@ This is the validating_webhook_configuration_list module in k8s.api.admissionreg This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingWebhookConfigurationList: @@ -18,7 +18,7 @@ schema ValidatingWebhookConfigurationList: List of ValidatingWebhookConfiguration. kind : str, default is "ValidatingWebhookConfigurationList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ValidatingWebhookConfigurationList: kind: "ValidatingWebhookConfigurationList" = "ValidatingWebhookConfigurationList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/api/admissionregistration/v1beta1/mutating_webhook.k b/k8s/1.20/api/admissionregistration/v1beta1/mutating_webhook.k index d8f6f60e..67eb1d6c 100644 --- a/k8s/1.20/api/admissionregistration/v1beta1/mutating_webhook.k +++ b/k8s/1.20/api/admissionregistration/v1beta1/mutating_webhook.k @@ -3,7 +3,7 @@ This is the mutating_webhook module in k8s.api.admissionregistration.v1beta1 pac This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MutatingWebhook: @@ -28,7 +28,7 @@ schema MutatingWebhook: Defaults to "Exact" name : str, default is Undefined, required The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook. For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1"; you will set the selector as follows: "namespaceSelector": { @@ -60,7 +60,7 @@ schema MutatingWebhook: See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors. Default to the empty LabelSelector, which matches everything. - objectSelector : v1.LabelSelector, default is Undefined, optional + objectSelector : metav1.LabelSelector, default is Undefined, optional ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything. reinvocationPolicy : str, default is Undefined, optional reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded". @@ -89,9 +89,9 @@ schema MutatingWebhook: name: str - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector - objectSelector?: v1.LabelSelector + objectSelector?: metav1.LabelSelector reinvocationPolicy?: str diff --git a/k8s/1.20/api/admissionregistration/v1beta1/mutating_webhook_configuration.k b/k8s/1.20/api/admissionregistration/v1beta1/mutating_webhook_configuration.k index 6393b519..25598a7d 100644 --- a/k8s/1.20/api/admissionregistration/v1beta1/mutating_webhook_configuration.k +++ b/k8s/1.20/api/admissionregistration/v1beta1/mutating_webhook_configuration.k @@ -3,7 +3,7 @@ This is the mutating_webhook_configuration module in k8s.api.admissionregistrati This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MutatingWebhookConfiguration: @@ -16,7 +16,7 @@ schema MutatingWebhookConfiguration: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "MutatingWebhookConfiguration", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. webhooks : [MutatingWebhook], default is Undefined, optional Webhooks is a list of webhooks and the affected resources and operations. @@ -27,7 +27,7 @@ schema MutatingWebhookConfiguration: kind: "MutatingWebhookConfiguration" = "MutatingWebhookConfiguration" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta webhooks?: [MutatingWebhook] diff --git a/k8s/1.20/api/admissionregistration/v1beta1/mutating_webhook_configuration_list.k b/k8s/1.20/api/admissionregistration/v1beta1/mutating_webhook_configuration_list.k index 12c40d69..a56f0976 100644 --- a/k8s/1.20/api/admissionregistration/v1beta1/mutating_webhook_configuration_list.k +++ b/k8s/1.20/api/admissionregistration/v1beta1/mutating_webhook_configuration_list.k @@ -3,7 +3,7 @@ This is the mutating_webhook_configuration_list module in k8s.api.admissionregis This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MutatingWebhookConfigurationList: @@ -18,7 +18,7 @@ schema MutatingWebhookConfigurationList: List of MutatingWebhookConfiguration. kind : str, default is "MutatingWebhookConfigurationList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema MutatingWebhookConfigurationList: kind: "MutatingWebhookConfigurationList" = "MutatingWebhookConfigurationList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/api/admissionregistration/v1beta1/validating_webhook.k b/k8s/1.20/api/admissionregistration/v1beta1/validating_webhook.k index e4e2e47f..df5b8775 100644 --- a/k8s/1.20/api/admissionregistration/v1beta1/validating_webhook.k +++ b/k8s/1.20/api/admissionregistration/v1beta1/validating_webhook.k @@ -3,7 +3,7 @@ This is the validating_webhook module in k8s.api.admissionregistration.v1beta1 p This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingWebhook: @@ -28,7 +28,7 @@ schema ValidatingWebhook: Defaults to "Exact" name : str, default is Undefined, required The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook. For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1"; you will set the selector as follows: "namespaceSelector": { @@ -60,7 +60,7 @@ schema ValidatingWebhook: See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels for more examples of label selectors. Default to the empty LabelSelector, which matches everything. - objectSelector : v1.LabelSelector, default is Undefined, optional + objectSelector : metav1.LabelSelector, default is Undefined, optional ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything. rules : [RuleWithOperations], default is Undefined, optional Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects. @@ -81,9 +81,9 @@ schema ValidatingWebhook: name: str - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector - objectSelector?: v1.LabelSelector + objectSelector?: metav1.LabelSelector rules?: [RuleWithOperations] diff --git a/k8s/1.20/api/admissionregistration/v1beta1/validating_webhook_configuration.k b/k8s/1.20/api/admissionregistration/v1beta1/validating_webhook_configuration.k index 9aff9003..9d848985 100644 --- a/k8s/1.20/api/admissionregistration/v1beta1/validating_webhook_configuration.k +++ b/k8s/1.20/api/admissionregistration/v1beta1/validating_webhook_configuration.k @@ -3,7 +3,7 @@ This is the validating_webhook_configuration module in k8s.api.admissionregistra This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingWebhookConfiguration: @@ -16,7 +16,7 @@ schema ValidatingWebhookConfiguration: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ValidatingWebhookConfiguration", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. webhooks : [ValidatingWebhook], default is Undefined, optional Webhooks is a list of webhooks and the affected resources and operations. @@ -27,7 +27,7 @@ schema ValidatingWebhookConfiguration: kind: "ValidatingWebhookConfiguration" = "ValidatingWebhookConfiguration" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta webhooks?: [ValidatingWebhook] diff --git a/k8s/1.20/api/admissionregistration/v1beta1/validating_webhook_configuration_list.k b/k8s/1.20/api/admissionregistration/v1beta1/validating_webhook_configuration_list.k index 53370083..64780e0f 100644 --- a/k8s/1.20/api/admissionregistration/v1beta1/validating_webhook_configuration_list.k +++ b/k8s/1.20/api/admissionregistration/v1beta1/validating_webhook_configuration_list.k @@ -3,7 +3,7 @@ This is the validating_webhook_configuration_list module in k8s.api.admissionreg This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingWebhookConfigurationList: @@ -18,7 +18,7 @@ schema ValidatingWebhookConfigurationList: List of ValidatingWebhookConfiguration. kind : str, default is "ValidatingWebhookConfigurationList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ValidatingWebhookConfigurationList: kind: "ValidatingWebhookConfigurationList" = "ValidatingWebhookConfigurationList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/api/apiserverinternal/v1alpha1/storage_version.k b/k8s/1.20/api/apiserverinternal/v1alpha1/storage_version.k index fbc9f49e..b596ba45 100644 --- a/k8s/1.20/api/apiserverinternal/v1alpha1/storage_version.k +++ b/k8s/1.20/api/apiserverinternal/v1alpha1/storage_version.k @@ -3,7 +3,7 @@ This is the storage_version module in k8s.api.apiserverinternal.v1alpha1 package This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StorageVersion: @@ -17,7 +17,7 @@ schema StorageVersion: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "StorageVersion", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional The name is .. spec : any, default is Undefined, required Spec is an empty spec. It is here to comply with Kubernetes API style. @@ -28,7 +28,7 @@ schema StorageVersion: kind: "StorageVersion" = "StorageVersion" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: any diff --git a/k8s/1.20/api/apiserverinternal/v1alpha1/storage_version_list.k b/k8s/1.20/api/apiserverinternal/v1alpha1/storage_version_list.k index ef1c227e..1e93af91 100644 --- a/k8s/1.20/api/apiserverinternal/v1alpha1/storage_version_list.k +++ b/k8s/1.20/api/apiserverinternal/v1alpha1/storage_version_list.k @@ -3,7 +3,7 @@ This is the storage_version_list module in k8s.api.apiserverinternal.v1alpha1 pa This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StorageVersionList: @@ -18,7 +18,7 @@ schema StorageVersionList: items kind : str, default is "StorageVersionList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema StorageVersionList: kind: "StorageVersionList" = "StorageVersionList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/api/apps/v1/controller_revision.k b/k8s/1.20/api/apps/v1/controller_revision.k index dbb3d441..56163182 100644 --- a/k8s/1.20/api/apps/v1/controller_revision.k +++ b/k8s/1.20/api/apps/v1/controller_revision.k @@ -3,7 +3,7 @@ This is the controller_revision module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ControllerRevision: @@ -18,7 +18,7 @@ schema ControllerRevision: Data is the serialized representation of the state. kind : str, default is "ControllerRevision", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata revision : int, default is Undefined, required Revision indicates the revision of the state represented by Data. @@ -31,7 +31,7 @@ schema ControllerRevision: kind: "ControllerRevision" = "ControllerRevision" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta revision: int diff --git a/k8s/1.20/api/apps/v1/controller_revision_list.k b/k8s/1.20/api/apps/v1/controller_revision_list.k index e145fcff..bb64d1fe 100644 --- a/k8s/1.20/api/apps/v1/controller_revision_list.k +++ b/k8s/1.20/api/apps/v1/controller_revision_list.k @@ -3,7 +3,7 @@ This is the controller_revision_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ControllerRevisionList: @@ -18,7 +18,7 @@ schema ControllerRevisionList: Items is the list of ControllerRevisions kind : str, default is "ControllerRevisionList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema ControllerRevisionList: kind: "ControllerRevisionList" = "ControllerRevisionList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/api/apps/v1/daemon_set.k b/k8s/1.20/api/apps/v1/daemon_set.k index 33e7b68b..fd1c7c20 100644 --- a/k8s/1.20/api/apps/v1/daemon_set.k +++ b/k8s/1.20/api/apps/v1/daemon_set.k @@ -3,7 +3,7 @@ This is the daemon_set module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DaemonSet: @@ -16,7 +16,7 @@ schema DaemonSet: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "DaemonSet", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : DaemonSetSpec, default is Undefined, optional The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema DaemonSet: kind: "DaemonSet" = "DaemonSet" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: DaemonSetSpec diff --git a/k8s/1.20/api/apps/v1/daemon_set_list.k b/k8s/1.20/api/apps/v1/daemon_set_list.k index 3515d999..795c26f8 100644 --- a/k8s/1.20/api/apps/v1/daemon_set_list.k +++ b/k8s/1.20/api/apps/v1/daemon_set_list.k @@ -3,7 +3,7 @@ This is the daemon_set_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DaemonSetList: @@ -18,7 +18,7 @@ schema DaemonSetList: A list of daemon sets. kind : str, default is "DaemonSetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema DaemonSetList: kind: "DaemonSetList" = "DaemonSetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/api/apps/v1/daemon_set_spec.k b/k8s/1.20/api/apps/v1/daemon_set_spec.k index caf3faf8..352f849c 100644 --- a/k8s/1.20/api/apps/v1/daemon_set_spec.k +++ b/k8s/1.20/api/apps/v1/daemon_set_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DaemonSetSpec: @@ -17,7 +17,7 @@ schema DaemonSetSpec: The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready). revisionHistoryLimit : int, default is Undefined, optional The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required A label query over pods that are managed by the daemon set. Must match in order to be controlled. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors template : corev1.PodTemplateSpec, default is Undefined, required An object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template @@ -30,7 +30,7 @@ schema DaemonSetSpec: revisionHistoryLimit?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector template: corev1.PodTemplateSpec diff --git a/k8s/1.20/api/apps/v1/deployment.k b/k8s/1.20/api/apps/v1/deployment.k index 9b4af78c..6572679c 100644 --- a/k8s/1.20/api/apps/v1/deployment.k +++ b/k8s/1.20/api/apps/v1/deployment.k @@ -3,7 +3,7 @@ This is the deployment module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Deployment: @@ -16,7 +16,7 @@ schema Deployment: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Deployment", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. spec : DeploymentSpec, default is Undefined, optional Specification of the desired behavior of the Deployment. @@ -27,7 +27,7 @@ schema Deployment: kind: "Deployment" = "Deployment" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: DeploymentSpec diff --git a/k8s/1.20/api/apps/v1/deployment_list.k b/k8s/1.20/api/apps/v1/deployment_list.k index a83ce0d5..8fa44e9b 100644 --- a/k8s/1.20/api/apps/v1/deployment_list.k +++ b/k8s/1.20/api/apps/v1/deployment_list.k @@ -3,7 +3,7 @@ This is the deployment_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DeploymentList: @@ -18,7 +18,7 @@ schema DeploymentList: Items is the list of Deployments. kind : str, default is "DeploymentList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema DeploymentList: kind: "DeploymentList" = "DeploymentList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/api/apps/v1/deployment_spec.k b/k8s/1.20/api/apps/v1/deployment_spec.k index b8591d9a..c0f14ef0 100644 --- a/k8s/1.20/api/apps/v1/deployment_spec.k +++ b/k8s/1.20/api/apps/v1/deployment_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DeploymentSpec: @@ -23,7 +23,7 @@ schema DeploymentSpec: Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1. revisionHistoryLimit : int, default is Undefined, optional The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. It must match the pod template's labels. strategy : DeploymentStrategy, default is Undefined, optional The deployment strategy to use to replace existing pods with new ones. @@ -42,7 +42,7 @@ schema DeploymentSpec: revisionHistoryLimit?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector strategy?: DeploymentStrategy diff --git a/k8s/1.20/api/apps/v1/replica_set.k b/k8s/1.20/api/apps/v1/replica_set.k index 0497ff66..79552175 100644 --- a/k8s/1.20/api/apps/v1/replica_set.k +++ b/k8s/1.20/api/apps/v1/replica_set.k @@ -3,7 +3,7 @@ This is the replica_set module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicaSet: @@ -16,7 +16,7 @@ schema ReplicaSet: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ReplicaSet", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : ReplicaSetSpec, default is Undefined, optional Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema ReplicaSet: kind: "ReplicaSet" = "ReplicaSet" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ReplicaSetSpec diff --git a/k8s/1.20/api/apps/v1/replica_set_list.k b/k8s/1.20/api/apps/v1/replica_set_list.k index 0e25bef7..689ca9bb 100644 --- a/k8s/1.20/api/apps/v1/replica_set_list.k +++ b/k8s/1.20/api/apps/v1/replica_set_list.k @@ -3,7 +3,7 @@ This is the replica_set_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicaSetList: @@ -18,7 +18,7 @@ schema ReplicaSetList: List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller kind : str, default is "ReplicaSetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ReplicaSetList: kind: "ReplicaSetList" = "ReplicaSetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/api/apps/v1/replica_set_spec.k b/k8s/1.20/api/apps/v1/replica_set_spec.k index 700810d3..53ae3f6f 100644 --- a/k8s/1.20/api/apps/v1/replica_set_spec.k +++ b/k8s/1.20/api/apps/v1/replica_set_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicaSetSpec: @@ -17,7 +17,7 @@ schema ReplicaSetSpec: Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) replicas : int, default is Undefined, optional Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required Selector is a label query over pods that should match the replica count. Label keys and values that must match in order to be controlled by this replica set. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors template : corev1.PodTemplateSpec, default is Undefined, optional Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template @@ -28,7 +28,7 @@ schema ReplicaSetSpec: replicas?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector template?: corev1.PodTemplateSpec diff --git a/k8s/1.20/api/apps/v1/stateful_set.k b/k8s/1.20/api/apps/v1/stateful_set.k index d069bd3c..1ae50fc7 100644 --- a/k8s/1.20/api/apps/v1/stateful_set.k +++ b/k8s/1.20/api/apps/v1/stateful_set.k @@ -3,7 +3,7 @@ This is the stateful_set module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StatefulSet: @@ -19,7 +19,7 @@ schema StatefulSet: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "StatefulSet", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : StatefulSetSpec, default is Undefined, optional Spec defines the desired identities of pods in this set. @@ -30,7 +30,7 @@ schema StatefulSet: kind: "StatefulSet" = "StatefulSet" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: StatefulSetSpec diff --git a/k8s/1.20/api/apps/v1/stateful_set_list.k b/k8s/1.20/api/apps/v1/stateful_set_list.k index cb8e7543..96301762 100644 --- a/k8s/1.20/api/apps/v1/stateful_set_list.k +++ b/k8s/1.20/api/apps/v1/stateful_set_list.k @@ -3,7 +3,7 @@ This is the stateful_set_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StatefulSetList: @@ -18,7 +18,7 @@ schema StatefulSetList: items kind : str, default is "StatefulSetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema StatefulSetList: kind: "StatefulSetList" = "StatefulSetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/api/apps/v1/stateful_set_spec.k b/k8s/1.20/api/apps/v1/stateful_set_spec.k index 4deeb5ed..14e6e0ee 100644 --- a/k8s/1.20/api/apps/v1/stateful_set_spec.k +++ b/k8s/1.20/api/apps/v1/stateful_set_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StatefulSetSpec: @@ -19,7 +19,7 @@ schema StatefulSetSpec: replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1. revisionHistoryLimit : int, default is Undefined, optional revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10. - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required selector is a label query over pods that should match the replica count. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors serviceName : str, default is Undefined, required serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where "pod-specific-string" is managed by the StatefulSet controller. @@ -38,7 +38,7 @@ schema StatefulSetSpec: revisionHistoryLimit?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector serviceName: str diff --git a/k8s/1.20/api/authentication/v1/token_request.k b/k8s/1.20/api/authentication/v1/token_request.k index 66d2e5e8..42e94dd8 100644 --- a/k8s/1.20/api/authentication/v1/token_request.k +++ b/k8s/1.20/api/authentication/v1/token_request.k @@ -3,7 +3,7 @@ This is the token_request module in k8s.api.authentication.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema TokenRequest: @@ -16,7 +16,7 @@ schema TokenRequest: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "TokenRequest", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : TokenRequestSpec, default is Undefined, required spec @@ -27,7 +27,7 @@ schema TokenRequest: kind: "TokenRequest" = "TokenRequest" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: TokenRequestSpec diff --git a/k8s/1.20/api/authentication/v1/token_review.k b/k8s/1.20/api/authentication/v1/token_review.k index c125cf34..eccc8ac7 100644 --- a/k8s/1.20/api/authentication/v1/token_review.k +++ b/k8s/1.20/api/authentication/v1/token_review.k @@ -3,7 +3,7 @@ This is the token_review module in k8s.api.authentication.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema TokenReview: @@ -16,7 +16,7 @@ schema TokenReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "TokenReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : TokenReviewSpec, default is Undefined, required Spec holds information about the request being evaluated @@ -27,7 +27,7 @@ schema TokenReview: kind: "TokenReview" = "TokenReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: TokenReviewSpec diff --git a/k8s/1.20/api/authentication/v1beta1/token_review.k b/k8s/1.20/api/authentication/v1beta1/token_review.k index 99abe8f4..b35b35ae 100644 --- a/k8s/1.20/api/authentication/v1beta1/token_review.k +++ b/k8s/1.20/api/authentication/v1beta1/token_review.k @@ -3,7 +3,7 @@ This is the token_review module in k8s.api.authentication.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema TokenReview: @@ -16,7 +16,7 @@ schema TokenReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "TokenReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : TokenReviewSpec, default is Undefined, required Spec holds information about the request being evaluated @@ -27,7 +27,7 @@ schema TokenReview: kind: "TokenReview" = "TokenReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: TokenReviewSpec diff --git a/k8s/1.20/api/authorization/v1/local_subject_access_review.k b/k8s/1.20/api/authorization/v1/local_subject_access_review.k index c9626db7..1c64a48c 100644 --- a/k8s/1.20/api/authorization/v1/local_subject_access_review.k +++ b/k8s/1.20/api/authorization/v1/local_subject_access_review.k @@ -3,7 +3,7 @@ This is the local_subject_access_review module in k8s.api.authorization.v1 packa This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LocalSubjectAccessReview: @@ -16,7 +16,7 @@ schema LocalSubjectAccessReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "LocalSubjectAccessReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : SubjectAccessReviewSpec, default is Undefined, required Spec holds information about the request being evaluated. spec.namespace must be equal to the namespace you made the request against. If empty, it is defaulted. @@ -27,7 +27,7 @@ schema LocalSubjectAccessReview: kind: "LocalSubjectAccessReview" = "LocalSubjectAccessReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SubjectAccessReviewSpec diff --git a/k8s/1.20/api/authorization/v1/self_subject_access_review.k b/k8s/1.20/api/authorization/v1/self_subject_access_review.k index 3de47c38..8ddd2611 100644 --- a/k8s/1.20/api/authorization/v1/self_subject_access_review.k +++ b/k8s/1.20/api/authorization/v1/self_subject_access_review.k @@ -3,7 +3,7 @@ This is the self_subject_access_review module in k8s.api.authorization.v1 packag This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SelfSubjectAccessReview: @@ -16,7 +16,7 @@ schema SelfSubjectAccessReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SelfSubjectAccessReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : SelfSubjectAccessReviewSpec, default is Undefined, required Spec holds information about the request being evaluated. user and groups must be empty @@ -27,7 +27,7 @@ schema SelfSubjectAccessReview: kind: "SelfSubjectAccessReview" = "SelfSubjectAccessReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SelfSubjectAccessReviewSpec diff --git a/k8s/1.20/api/authorization/v1/self_subject_rules_review.k b/k8s/1.20/api/authorization/v1/self_subject_rules_review.k index ad99c589..16ec3f9f 100644 --- a/k8s/1.20/api/authorization/v1/self_subject_rules_review.k +++ b/k8s/1.20/api/authorization/v1/self_subject_rules_review.k @@ -3,7 +3,7 @@ This is the self_subject_rules_review module in k8s.api.authorization.v1 package This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SelfSubjectRulesReview: @@ -16,7 +16,7 @@ schema SelfSubjectRulesReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SelfSubjectRulesReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : SelfSubjectRulesReviewSpec, default is Undefined, required Spec holds information about the request being evaluated. @@ -27,7 +27,7 @@ schema SelfSubjectRulesReview: kind: "SelfSubjectRulesReview" = "SelfSubjectRulesReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SelfSubjectRulesReviewSpec diff --git a/k8s/1.20/api/authorization/v1/subject_access_review.k b/k8s/1.20/api/authorization/v1/subject_access_review.k index 63054bce..92ace799 100644 --- a/k8s/1.20/api/authorization/v1/subject_access_review.k +++ b/k8s/1.20/api/authorization/v1/subject_access_review.k @@ -3,7 +3,7 @@ This is the subject_access_review module in k8s.api.authorization.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SubjectAccessReview: @@ -16,7 +16,7 @@ schema SubjectAccessReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SubjectAccessReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : SubjectAccessReviewSpec, default is Undefined, required Spec holds information about the request being evaluated @@ -27,7 +27,7 @@ schema SubjectAccessReview: kind: "SubjectAccessReview" = "SubjectAccessReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SubjectAccessReviewSpec diff --git a/k8s/1.20/api/authorization/v1beta1/local_subject_access_review.k b/k8s/1.20/api/authorization/v1beta1/local_subject_access_review.k index 687ff5e1..54883a47 100644 --- a/k8s/1.20/api/authorization/v1beta1/local_subject_access_review.k +++ b/k8s/1.20/api/authorization/v1beta1/local_subject_access_review.k @@ -3,7 +3,7 @@ This is the local_subject_access_review module in k8s.api.authorization.v1beta1 This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LocalSubjectAccessReview: @@ -16,7 +16,7 @@ schema LocalSubjectAccessReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "LocalSubjectAccessReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : SubjectAccessReviewSpec, default is Undefined, required Spec holds information about the request being evaluated. spec.namespace must be equal to the namespace you made the request against. If empty, it is defaulted. @@ -27,7 +27,7 @@ schema LocalSubjectAccessReview: kind: "LocalSubjectAccessReview" = "LocalSubjectAccessReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SubjectAccessReviewSpec diff --git a/k8s/1.20/api/authorization/v1beta1/self_subject_access_review.k b/k8s/1.20/api/authorization/v1beta1/self_subject_access_review.k index 05c83084..ee819623 100644 --- a/k8s/1.20/api/authorization/v1beta1/self_subject_access_review.k +++ b/k8s/1.20/api/authorization/v1beta1/self_subject_access_review.k @@ -3,7 +3,7 @@ This is the self_subject_access_review module in k8s.api.authorization.v1beta1 p This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SelfSubjectAccessReview: @@ -16,7 +16,7 @@ schema SelfSubjectAccessReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SelfSubjectAccessReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : SelfSubjectAccessReviewSpec, default is Undefined, required Spec holds information about the request being evaluated. user and groups must be empty @@ -27,7 +27,7 @@ schema SelfSubjectAccessReview: kind: "SelfSubjectAccessReview" = "SelfSubjectAccessReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SelfSubjectAccessReviewSpec diff --git a/k8s/1.20/api/authorization/v1beta1/self_subject_rules_review.k b/k8s/1.20/api/authorization/v1beta1/self_subject_rules_review.k index a71edd4d..51a41f51 100644 --- a/k8s/1.20/api/authorization/v1beta1/self_subject_rules_review.k +++ b/k8s/1.20/api/authorization/v1beta1/self_subject_rules_review.k @@ -3,7 +3,7 @@ This is the self_subject_rules_review module in k8s.api.authorization.v1beta1 pa This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SelfSubjectRulesReview: @@ -16,7 +16,7 @@ schema SelfSubjectRulesReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SelfSubjectRulesReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : SelfSubjectRulesReviewSpec, default is Undefined, required Spec holds information about the request being evaluated. @@ -27,7 +27,7 @@ schema SelfSubjectRulesReview: kind: "SelfSubjectRulesReview" = "SelfSubjectRulesReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SelfSubjectRulesReviewSpec diff --git a/k8s/1.20/api/authorization/v1beta1/subject_access_review.k b/k8s/1.20/api/authorization/v1beta1/subject_access_review.k index e28f6eed..9dcea762 100644 --- a/k8s/1.20/api/authorization/v1beta1/subject_access_review.k +++ b/k8s/1.20/api/authorization/v1beta1/subject_access_review.k @@ -3,7 +3,7 @@ This is the subject_access_review module in k8s.api.authorization.v1beta1 packag This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SubjectAccessReview: @@ -16,7 +16,7 @@ schema SubjectAccessReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SubjectAccessReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : SubjectAccessReviewSpec, default is Undefined, required Spec holds information about the request being evaluated @@ -27,7 +27,7 @@ schema SubjectAccessReview: kind: "SubjectAccessReview" = "SubjectAccessReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SubjectAccessReviewSpec diff --git a/k8s/1.20/api/autoscaling/v1/horizontal_pod_autoscaler.k b/k8s/1.20/api/autoscaling/v1/horizontal_pod_autoscaler.k index eea68027..b81a2839 100644 --- a/k8s/1.20/api/autoscaling/v1/horizontal_pod_autoscaler.k +++ b/k8s/1.20/api/autoscaling/v1/horizontal_pod_autoscaler.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler module in k8s.api.autoscaling.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscaler: @@ -16,7 +16,7 @@ schema HorizontalPodAutoscaler: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "HorizontalPodAutoscaler", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : HorizontalPodAutoscalerSpec, default is Undefined, optional behaviour of autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema HorizontalPodAutoscaler: kind: "HorizontalPodAutoscaler" = "HorizontalPodAutoscaler" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: HorizontalPodAutoscalerSpec diff --git a/k8s/1.20/api/autoscaling/v1/horizontal_pod_autoscaler_list.k b/k8s/1.20/api/autoscaling/v1/horizontal_pod_autoscaler_list.k index 829f7b8b..40a58fe3 100644 --- a/k8s/1.20/api/autoscaling/v1/horizontal_pod_autoscaler_list.k +++ b/k8s/1.20/api/autoscaling/v1/horizontal_pod_autoscaler_list.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler_list module in k8s.api.autoscaling.v1 pack This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscalerList: @@ -18,7 +18,7 @@ schema HorizontalPodAutoscalerList: list of horizontal pod autoscaler objects. kind : str, default is "HorizontalPodAutoscalerList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema HorizontalPodAutoscalerList: kind: "HorizontalPodAutoscalerList" = "HorizontalPodAutoscalerList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/api/autoscaling/v1/scale.k b/k8s/1.20/api/autoscaling/v1/scale.k index d9bbdae4..1466aa0e 100644 --- a/k8s/1.20/api/autoscaling/v1/scale.k +++ b/k8s/1.20/api/autoscaling/v1/scale.k @@ -3,7 +3,7 @@ This is the scale module in k8s.api.autoscaling.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Scale: @@ -16,7 +16,7 @@ schema Scale: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Scale", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. spec : ScaleSpec, default is Undefined, optional defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema Scale: kind: "Scale" = "Scale" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ScaleSpec diff --git a/k8s/1.20/api/autoscaling/v2beta1/external_metric_source.k b/k8s/1.20/api/autoscaling/v2beta1/external_metric_source.k index 23887048..b1ff85f3 100644 --- a/k8s/1.20/api/autoscaling/v2beta1/external_metric_source.k +++ b/k8s/1.20/api/autoscaling/v2beta1/external_metric_source.k @@ -3,7 +3,7 @@ This is the external_metric_source module in k8s.api.autoscaling.v2beta1 package This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ExternalMetricSource: @@ -14,7 +14,7 @@ schema ExternalMetricSource: ---------- metricName : str, default is Undefined, required metricName is the name of the metric in question. - metricSelector : v1.LabelSelector, default is Undefined, optional + metricSelector : metav1.LabelSelector, default is Undefined, optional metricSelector is used to identify a specific time series within a given metric. targetAverageValue : str, default is Undefined, optional targetAverageValue is the target per-pod value of global metric (as a quantity). Mutually exclusive with TargetValue. @@ -25,7 +25,7 @@ schema ExternalMetricSource: metricName: str - metricSelector?: v1.LabelSelector + metricSelector?: metav1.LabelSelector targetAverageValue?: str diff --git a/k8s/1.20/api/autoscaling/v2beta1/external_metric_status.k b/k8s/1.20/api/autoscaling/v2beta1/external_metric_status.k index 507ffd14..39a87bad 100644 --- a/k8s/1.20/api/autoscaling/v2beta1/external_metric_status.k +++ b/k8s/1.20/api/autoscaling/v2beta1/external_metric_status.k @@ -3,7 +3,7 @@ This is the external_metric_status module in k8s.api.autoscaling.v2beta1 package This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ExternalMetricStatus: @@ -18,7 +18,7 @@ schema ExternalMetricStatus: currentValue is the current value of the metric (as a quantity) metricName : str, default is Undefined, required metricName is the name of a metric used for autoscaling in metric system. - metricSelector : v1.LabelSelector, default is Undefined, optional + metricSelector : metav1.LabelSelector, default is Undefined, optional metricSelector is used to identify a specific time series within a given metric. """ @@ -29,6 +29,6 @@ schema ExternalMetricStatus: metricName: str - metricSelector?: v1.LabelSelector + metricSelector?: metav1.LabelSelector diff --git a/k8s/1.20/api/autoscaling/v2beta1/horizontal_pod_autoscaler.k b/k8s/1.20/api/autoscaling/v2beta1/horizontal_pod_autoscaler.k index 47c8b64c..4ea3ff99 100644 --- a/k8s/1.20/api/autoscaling/v2beta1/horizontal_pod_autoscaler.k +++ b/k8s/1.20/api/autoscaling/v2beta1/horizontal_pod_autoscaler.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler module in k8s.api.autoscaling.v2beta1 pack This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscaler: @@ -16,7 +16,7 @@ schema HorizontalPodAutoscaler: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "HorizontalPodAutoscaler", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : HorizontalPodAutoscalerSpec, default is Undefined, optional spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema HorizontalPodAutoscaler: kind: "HorizontalPodAutoscaler" = "HorizontalPodAutoscaler" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: HorizontalPodAutoscalerSpec diff --git a/k8s/1.20/api/autoscaling/v2beta1/horizontal_pod_autoscaler_list.k b/k8s/1.20/api/autoscaling/v2beta1/horizontal_pod_autoscaler_list.k index 95381428..4629310f 100644 --- a/k8s/1.20/api/autoscaling/v2beta1/horizontal_pod_autoscaler_list.k +++ b/k8s/1.20/api/autoscaling/v2beta1/horizontal_pod_autoscaler_list.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler_list module in k8s.api.autoscaling.v2beta1 This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscalerList: @@ -18,7 +18,7 @@ schema HorizontalPodAutoscalerList: items is the list of horizontal pod autoscaler objects. kind : str, default is "HorizontalPodAutoscalerList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata is the standard list metadata. """ @@ -29,6 +29,6 @@ schema HorizontalPodAutoscalerList: kind: "HorizontalPodAutoscalerList" = "HorizontalPodAutoscalerList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/api/autoscaling/v2beta1/object_metric_source.k b/k8s/1.20/api/autoscaling/v2beta1/object_metric_source.k index a8ff4213..af8d307f 100644 --- a/k8s/1.20/api/autoscaling/v2beta1/object_metric_source.k +++ b/k8s/1.20/api/autoscaling/v2beta1/object_metric_source.k @@ -3,7 +3,7 @@ This is the object_metric_source module in k8s.api.autoscaling.v2beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ObjectMetricSource: @@ -16,7 +16,7 @@ schema ObjectMetricSource: averageValue is the target value of the average of the metric across all relevant pods (as a quantity) metricName : str, default is Undefined, required metricName is the name of the metric in question. - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics. target : CrossVersionObjectReference, default is Undefined, required target is the described Kubernetes object. @@ -29,7 +29,7 @@ schema ObjectMetricSource: metricName: str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector target: CrossVersionObjectReference diff --git a/k8s/1.20/api/autoscaling/v2beta1/object_metric_status.k b/k8s/1.20/api/autoscaling/v2beta1/object_metric_status.k index 39aeb9de..b7054bd5 100644 --- a/k8s/1.20/api/autoscaling/v2beta1/object_metric_status.k +++ b/k8s/1.20/api/autoscaling/v2beta1/object_metric_status.k @@ -3,7 +3,7 @@ This is the object_metric_status module in k8s.api.autoscaling.v2beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ObjectMetricStatus: @@ -18,7 +18,7 @@ schema ObjectMetricStatus: currentValue is the current value of the metric (as a quantity). metricName : str, default is Undefined, required metricName is the name of the metric in question. - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the ObjectMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics. target : CrossVersionObjectReference, default is Undefined, required target is the described Kubernetes object. @@ -31,7 +31,7 @@ schema ObjectMetricStatus: metricName: str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector target: CrossVersionObjectReference diff --git a/k8s/1.20/api/autoscaling/v2beta1/pods_metric_source.k b/k8s/1.20/api/autoscaling/v2beta1/pods_metric_source.k index ee0111ef..850fcd7b 100644 --- a/k8s/1.20/api/autoscaling/v2beta1/pods_metric_source.k +++ b/k8s/1.20/api/autoscaling/v2beta1/pods_metric_source.k @@ -3,7 +3,7 @@ This is the pods_metric_source module in k8s.api.autoscaling.v2beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodsMetricSource: @@ -14,7 +14,7 @@ schema PodsMetricSource: ---------- metricName : str, default is Undefined, required metricName is the name of the metric in question - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics. targetAverageValue : str, default is Undefined, required targetAverageValue is the target value of the average of the metric across all relevant pods (as a quantity) @@ -23,7 +23,7 @@ schema PodsMetricSource: metricName: str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector targetAverageValue: str diff --git a/k8s/1.20/api/autoscaling/v2beta1/pods_metric_status.k b/k8s/1.20/api/autoscaling/v2beta1/pods_metric_status.k index 2d8c30c0..0792b4d4 100644 --- a/k8s/1.20/api/autoscaling/v2beta1/pods_metric_status.k +++ b/k8s/1.20/api/autoscaling/v2beta1/pods_metric_status.k @@ -3,7 +3,7 @@ This is the pods_metric_status module in k8s.api.autoscaling.v2beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodsMetricStatus: @@ -16,7 +16,7 @@ schema PodsMetricStatus: currentAverageValue is the current value of the average of the metric across all relevant pods (as a quantity) metricName : str, default is Undefined, required metricName is the name of the metric in question - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the PodsMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics. """ @@ -25,6 +25,6 @@ schema PodsMetricStatus: metricName: str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector diff --git a/k8s/1.20/api/autoscaling/v2beta2/horizontal_pod_autoscaler.k b/k8s/1.20/api/autoscaling/v2beta2/horizontal_pod_autoscaler.k index 9ab9ca42..fb10b245 100644 --- a/k8s/1.20/api/autoscaling/v2beta2/horizontal_pod_autoscaler.k +++ b/k8s/1.20/api/autoscaling/v2beta2/horizontal_pod_autoscaler.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler module in k8s.api.autoscaling.v2beta2 pack This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscaler: @@ -16,7 +16,7 @@ schema HorizontalPodAutoscaler: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "HorizontalPodAutoscaler", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : HorizontalPodAutoscalerSpec, default is Undefined, optional spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema HorizontalPodAutoscaler: kind: "HorizontalPodAutoscaler" = "HorizontalPodAutoscaler" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: HorizontalPodAutoscalerSpec diff --git a/k8s/1.20/api/autoscaling/v2beta2/horizontal_pod_autoscaler_list.k b/k8s/1.20/api/autoscaling/v2beta2/horizontal_pod_autoscaler_list.k index ad127934..152be58d 100644 --- a/k8s/1.20/api/autoscaling/v2beta2/horizontal_pod_autoscaler_list.k +++ b/k8s/1.20/api/autoscaling/v2beta2/horizontal_pod_autoscaler_list.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler_list module in k8s.api.autoscaling.v2beta2 This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscalerList: @@ -18,7 +18,7 @@ schema HorizontalPodAutoscalerList: items is the list of horizontal pod autoscaler objects. kind : str, default is "HorizontalPodAutoscalerList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata is the standard list metadata. """ @@ -29,6 +29,6 @@ schema HorizontalPodAutoscalerList: kind: "HorizontalPodAutoscalerList" = "HorizontalPodAutoscalerList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/api/autoscaling/v2beta2/metric_identifier.k b/k8s/1.20/api/autoscaling/v2beta2/metric_identifier.k index 18d313d2..06be0dff 100644 --- a/k8s/1.20/api/autoscaling/v2beta2/metric_identifier.k +++ b/k8s/1.20/api/autoscaling/v2beta2/metric_identifier.k @@ -3,7 +3,7 @@ This is the metric_identifier module in k8s.api.autoscaling.v2beta2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MetricIdentifier: @@ -14,13 +14,13 @@ schema MetricIdentifier: ---------- name : str, default is Undefined, required name is the name of the given metric - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics. """ name: str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector diff --git a/k8s/1.20/api/batch/v1/job.k b/k8s/1.20/api/batch/v1/job.k index 44fbc917..3e545aac 100644 --- a/k8s/1.20/api/batch/v1/job.k +++ b/k8s/1.20/api/batch/v1/job.k @@ -3,7 +3,7 @@ This is the job module in k8s.api.batch.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Job: @@ -16,7 +16,7 @@ schema Job: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Job", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : JobSpec, default is Undefined, optional Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Job: kind: "Job" = "Job" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: JobSpec diff --git a/k8s/1.20/api/batch/v1/job_list.k b/k8s/1.20/api/batch/v1/job_list.k index 88588804..e2f8aee6 100644 --- a/k8s/1.20/api/batch/v1/job_list.k +++ b/k8s/1.20/api/batch/v1/job_list.k @@ -3,7 +3,7 @@ This is the job_list module in k8s.api.batch.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema JobList: @@ -18,7 +18,7 @@ schema JobList: items is the list of Jobs. kind : str, default is "JobList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema JobList: kind: "JobList" = "JobList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/api/batch/v1/job_spec.k b/k8s/1.20/api/batch/v1/job_spec.k index 085f981e..732d97f5 100644 --- a/k8s/1.20/api/batch/v1/job_spec.k +++ b/k8s/1.20/api/batch/v1/job_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema JobSpec: @@ -23,7 +23,7 @@ schema JobSpec: manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector parallelism : int, default is Undefined, optional Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional A label query over pods that should match the pod count. Normally, the system sets this field for you. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors template : corev1.PodTemplateSpec, default is Undefined, required Describes the pod that will be created when executing a job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ @@ -42,7 +42,7 @@ schema JobSpec: parallelism?: int - selector?: v1.LabelSelector + selector?: metav1.LabelSelector template: corev1.PodTemplateSpec diff --git a/k8s/1.20/api/batch/v1beta1/cron_job.k b/k8s/1.20/api/batch/v1beta1/cron_job.k index 74c14606..d5d2aa07 100644 --- a/k8s/1.20/api/batch/v1beta1/cron_job.k +++ b/k8s/1.20/api/batch/v1beta1/cron_job.k @@ -3,7 +3,7 @@ This is the cron_job module in k8s.api.batch.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CronJob: @@ -16,7 +16,7 @@ schema CronJob: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CronJob", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : CronJobSpec, default is Undefined, optional Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema CronJob: kind: "CronJob" = "CronJob" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: CronJobSpec diff --git a/k8s/1.20/api/batch/v1beta1/cron_job_list.k b/k8s/1.20/api/batch/v1beta1/cron_job_list.k index cf174c33..4067f805 100644 --- a/k8s/1.20/api/batch/v1beta1/cron_job_list.k +++ b/k8s/1.20/api/batch/v1beta1/cron_job_list.k @@ -3,7 +3,7 @@ This is the cron_job_list module in k8s.api.batch.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CronJobList: @@ -18,7 +18,7 @@ schema CronJobList: items is the list of CronJobs. kind : str, default is "CronJobList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CronJobList: kind: "CronJobList" = "CronJobList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/api/batch/v1beta1/job_template_spec.k b/k8s/1.20/api/batch/v1beta1/job_template_spec.k index e032a659..733d4410 100644 --- a/k8s/1.20/api/batch/v1beta1/job_template_spec.k +++ b/k8s/1.20/api/batch/v1beta1/job_template_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.batch.v1 as batchV1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema JobTemplateSpec: @@ -13,14 +13,14 @@ schema JobTemplateSpec: Attributes ---------- - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : batchV1.JobSpec, default is Undefined, optional Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status """ - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: batchV1.JobSpec diff --git a/k8s/1.20/api/batch/v2alpha1/cron_job.k b/k8s/1.20/api/batch/v2alpha1/cron_job.k index 8668aa8b..7fb5f4c2 100644 --- a/k8s/1.20/api/batch/v2alpha1/cron_job.k +++ b/k8s/1.20/api/batch/v2alpha1/cron_job.k @@ -3,7 +3,7 @@ This is the cron_job module in k8s.api.batch.v2alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CronJob: @@ -16,7 +16,7 @@ schema CronJob: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CronJob", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : CronJobSpec, default is Undefined, optional Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema CronJob: kind: "CronJob" = "CronJob" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: CronJobSpec diff --git a/k8s/1.20/api/batch/v2alpha1/cron_job_list.k b/k8s/1.20/api/batch/v2alpha1/cron_job_list.k index c8b4031c..c6dbdcb5 100644 --- a/k8s/1.20/api/batch/v2alpha1/cron_job_list.k +++ b/k8s/1.20/api/batch/v2alpha1/cron_job_list.k @@ -3,7 +3,7 @@ This is the cron_job_list module in k8s.api.batch.v2alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CronJobList: @@ -18,7 +18,7 @@ schema CronJobList: items is the list of CronJobs. kind : str, default is "CronJobList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CronJobList: kind: "CronJobList" = "CronJobList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/api/batch/v2alpha1/job_template_spec.k b/k8s/1.20/api/batch/v2alpha1/job_template_spec.k index cb013cd7..53df89e9 100644 --- a/k8s/1.20/api/batch/v2alpha1/job_template_spec.k +++ b/k8s/1.20/api/batch/v2alpha1/job_template_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.batch.v1 as batchV1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema JobTemplateSpec: @@ -13,14 +13,14 @@ schema JobTemplateSpec: Attributes ---------- - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : batchV1.JobSpec, default is Undefined, optional Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status """ - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: batchV1.JobSpec diff --git a/k8s/1.20/api/certificates/v1/certificate_signing_request.k b/k8s/1.20/api/certificates/v1/certificate_signing_request.k index 3d6930c2..c6713e7a 100644 --- a/k8s/1.20/api/certificates/v1/certificate_signing_request.k +++ b/k8s/1.20/api/certificates/v1/certificate_signing_request.k @@ -3,7 +3,7 @@ This is the certificate_signing_request module in k8s.api.certificates.v1 packag This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CertificateSigningRequest: @@ -22,7 +22,7 @@ schema CertificateSigningRequest: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CertificateSigningRequest", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : CertificateSigningRequestSpec, default is Undefined, required spec contains the certificate request, and is immutable after creation. Only the request, signerName, and usages fields can be set on creation. Other fields are derived by Kubernetes and cannot be modified by users. @@ -33,7 +33,7 @@ schema CertificateSigningRequest: kind: "CertificateSigningRequest" = "CertificateSigningRequest" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CertificateSigningRequestSpec diff --git a/k8s/1.20/api/certificates/v1/certificate_signing_request_list.k b/k8s/1.20/api/certificates/v1/certificate_signing_request_list.k index bef8b509..dcf72eab 100644 --- a/k8s/1.20/api/certificates/v1/certificate_signing_request_list.k +++ b/k8s/1.20/api/certificates/v1/certificate_signing_request_list.k @@ -3,7 +3,7 @@ This is the certificate_signing_request_list module in k8s.api.certificates.v1 p This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CertificateSigningRequestList: @@ -18,7 +18,7 @@ schema CertificateSigningRequestList: items is a collection of CertificateSigningRequest objects kind : str, default is "CertificateSigningRequestList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema CertificateSigningRequestList: kind: "CertificateSigningRequestList" = "CertificateSigningRequestList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/api/certificates/v1beta1/certificate_signing_request.k b/k8s/1.20/api/certificates/v1beta1/certificate_signing_request.k index 2e5b2121..5b363aa8 100644 --- a/k8s/1.20/api/certificates/v1beta1/certificate_signing_request.k +++ b/k8s/1.20/api/certificates/v1beta1/certificate_signing_request.k @@ -3,7 +3,7 @@ This is the certificate_signing_request module in k8s.api.certificates.v1beta1 p This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CertificateSigningRequest: @@ -16,7 +16,7 @@ schema CertificateSigningRequest: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CertificateSigningRequest", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : CertificateSigningRequestSpec, default is Undefined, optional The certificate request itself and any additional information. @@ -27,7 +27,7 @@ schema CertificateSigningRequest: kind: "CertificateSigningRequest" = "CertificateSigningRequest" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: CertificateSigningRequestSpec diff --git a/k8s/1.20/api/certificates/v1beta1/certificate_signing_request_list.k b/k8s/1.20/api/certificates/v1beta1/certificate_signing_request_list.k index cc6c6ea4..80fde64b 100644 --- a/k8s/1.20/api/certificates/v1beta1/certificate_signing_request_list.k +++ b/k8s/1.20/api/certificates/v1beta1/certificate_signing_request_list.k @@ -3,7 +3,7 @@ This is the certificate_signing_request_list module in k8s.api.certificates.v1be This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CertificateSigningRequestList: @@ -18,7 +18,7 @@ schema CertificateSigningRequestList: items kind : str, default is "CertificateSigningRequestList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema CertificateSigningRequestList: kind: "CertificateSigningRequestList" = "CertificateSigningRequestList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/api/coordination/v1/lease.k b/k8s/1.20/api/coordination/v1/lease.k index f9d243c9..b3722c9a 100644 --- a/k8s/1.20/api/coordination/v1/lease.k +++ b/k8s/1.20/api/coordination/v1/lease.k @@ -3,7 +3,7 @@ This is the lease module in k8s.api.coordination.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Lease: @@ -16,7 +16,7 @@ schema Lease: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Lease", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : LeaseSpec, default is Undefined, optional Specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Lease: kind: "Lease" = "Lease" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: LeaseSpec diff --git a/k8s/1.20/api/coordination/v1/lease_list.k b/k8s/1.20/api/coordination/v1/lease_list.k index 64932a19..93a01ab6 100644 --- a/k8s/1.20/api/coordination/v1/lease_list.k +++ b/k8s/1.20/api/coordination/v1/lease_list.k @@ -3,7 +3,7 @@ This is the lease_list module in k8s.api.coordination.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LeaseList: @@ -18,7 +18,7 @@ schema LeaseList: Items is a list of schema objects. kind : str, default is "LeaseList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema LeaseList: kind: "LeaseList" = "LeaseList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/api/coordination/v1beta1/lease.k b/k8s/1.20/api/coordination/v1beta1/lease.k index b587d90e..b2095eed 100644 --- a/k8s/1.20/api/coordination/v1beta1/lease.k +++ b/k8s/1.20/api/coordination/v1beta1/lease.k @@ -3,7 +3,7 @@ This is the lease module in k8s.api.coordination.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Lease: @@ -16,7 +16,7 @@ schema Lease: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Lease", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : LeaseSpec, default is Undefined, optional Specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Lease: kind: "Lease" = "Lease" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: LeaseSpec diff --git a/k8s/1.20/api/coordination/v1beta1/lease_list.k b/k8s/1.20/api/coordination/v1beta1/lease_list.k index 2b78fddf..21212cfc 100644 --- a/k8s/1.20/api/coordination/v1beta1/lease_list.k +++ b/k8s/1.20/api/coordination/v1beta1/lease_list.k @@ -3,7 +3,7 @@ This is the lease_list module in k8s.api.coordination.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LeaseList: @@ -18,7 +18,7 @@ schema LeaseList: Items is a list of schema objects. kind : str, default is "LeaseList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema LeaseList: kind: "LeaseList" = "LeaseList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/api/core/v1/binding.k b/k8s/1.20/api/core/v1/binding.k index e6e478fe..077459fa 100644 --- a/k8s/1.20/api/core/v1/binding.k +++ b/k8s/1.20/api/core/v1/binding.k @@ -3,7 +3,7 @@ This is the binding module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Binding: @@ -16,7 +16,7 @@ schema Binding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Binding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata target : ObjectReference, default is Undefined, required The target object that you want to bind to the standard object. @@ -27,7 +27,7 @@ schema Binding: kind: "Binding" = "Binding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta target: ObjectReference diff --git a/k8s/1.20/api/core/v1/component_status.k b/k8s/1.20/api/core/v1/component_status.k index 19549c61..0d6862b5 100644 --- a/k8s/1.20/api/core/v1/component_status.k +++ b/k8s/1.20/api/core/v1/component_status.k @@ -3,7 +3,7 @@ This is the component_status module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ComponentStatus: @@ -18,7 +18,7 @@ schema ComponentStatus: List of component conditions observed kind : str, default is "ComponentStatus", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema ComponentStatus: kind: "ComponentStatus" = "ComponentStatus" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta diff --git a/k8s/1.20/api/core/v1/component_status_list.k b/k8s/1.20/api/core/v1/component_status_list.k index 0c8fa890..f76a9a62 100644 --- a/k8s/1.20/api/core/v1/component_status_list.k +++ b/k8s/1.20/api/core/v1/component_status_list.k @@ -3,7 +3,7 @@ This is the component_status_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ComponentStatusList: @@ -18,7 +18,7 @@ schema ComponentStatusList: List of ComponentStatus objects. kind : str, default is "ComponentStatusList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ComponentStatusList: kind: "ComponentStatusList" = "ComponentStatusList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/api/core/v1/config_map.k b/k8s/1.20/api/core/v1/config_map.k index cad509dd..d9cc2f27 100644 --- a/k8s/1.20/api/core/v1/config_map.k +++ b/k8s/1.20/api/core/v1/config_map.k @@ -3,7 +3,7 @@ This is the config_map module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ConfigMap: @@ -22,7 +22,7 @@ schema ConfigMap: Immutable, if set to true, ensures that data stored in the ConfigMap cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil. This is a beta field enabled by ImmutableEphemeralVolumes feature gate. kind : str, default is "ConfigMap", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -37,6 +37,6 @@ schema ConfigMap: kind: "ConfigMap" = "ConfigMap" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta diff --git a/k8s/1.20/api/core/v1/config_map_list.k b/k8s/1.20/api/core/v1/config_map_list.k index 5712f514..35df0e4b 100644 --- a/k8s/1.20/api/core/v1/config_map_list.k +++ b/k8s/1.20/api/core/v1/config_map_list.k @@ -3,7 +3,7 @@ This is the config_map_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ConfigMapList: @@ -18,7 +18,7 @@ schema ConfigMapList: Items is the list of ConfigMaps. kind : str, default is "ConfigMapList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema ConfigMapList: kind: "ConfigMapList" = "ConfigMapList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/api/core/v1/endpoints.k b/k8s/1.20/api/core/v1/endpoints.k index d123d8d8..3ac0d6cd 100644 --- a/k8s/1.20/api/core/v1/endpoints.k +++ b/k8s/1.20/api/core/v1/endpoints.k @@ -3,7 +3,7 @@ This is the endpoints module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Endpoints: @@ -27,7 +27,7 @@ schema Endpoints: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Endpoints", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata subsets : [EndpointSubset], default is Undefined, optional The set of all endpoints is the union of all subsets. Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service. @@ -38,7 +38,7 @@ schema Endpoints: kind: "Endpoints" = "Endpoints" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta subsets?: [EndpointSubset] diff --git a/k8s/1.20/api/core/v1/endpoints_list.k b/k8s/1.20/api/core/v1/endpoints_list.k index 7ccf6442..f019c842 100644 --- a/k8s/1.20/api/core/v1/endpoints_list.k +++ b/k8s/1.20/api/core/v1/endpoints_list.k @@ -3,7 +3,7 @@ This is the endpoints_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EndpointsList: @@ -18,7 +18,7 @@ schema EndpointsList: List of endpoints. kind : str, default is "EndpointsList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema EndpointsList: kind: "EndpointsList" = "EndpointsList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/api/core/v1/event.k b/k8s/1.20/api/core/v1/event.k index 0cc2ba81..f1564c4b 100644 --- a/k8s/1.20/api/core/v1/event.k +++ b/k8s/1.20/api/core/v1/event.k @@ -3,7 +3,7 @@ This is the event module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Event: @@ -30,7 +30,7 @@ schema Event: The time at which the most recent occurrence of this event was recorded. message : str, default is Undefined, optional A human-readable description of the status of this operation. - metadata : v1.ObjectMeta, default is Undefined, required + metadata : metav1.ObjectMeta, default is Undefined, required Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata reason : str, default is Undefined, optional This should be a short, machine understandable string that gives the reason for the transition into the object's current status. @@ -67,7 +67,7 @@ schema Event: message?: str - metadata: v1.ObjectMeta + metadata: metav1.ObjectMeta reason?: str diff --git a/k8s/1.20/api/core/v1/event_list.k b/k8s/1.20/api/core/v1/event_list.k index e543b7cf..d4ed6ffa 100644 --- a/k8s/1.20/api/core/v1/event_list.k +++ b/k8s/1.20/api/core/v1/event_list.k @@ -3,7 +3,7 @@ This is the event_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EventList: @@ -18,7 +18,7 @@ schema EventList: List of events kind : str, default is "EventList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema EventList: kind: "EventList" = "EventList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/api/core/v1/limit_range.k b/k8s/1.20/api/core/v1/limit_range.k index 5de64019..3c476447 100644 --- a/k8s/1.20/api/core/v1/limit_range.k +++ b/k8s/1.20/api/core/v1/limit_range.k @@ -3,7 +3,7 @@ This is the limit_range module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LimitRange: @@ -16,7 +16,7 @@ schema LimitRange: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "LimitRange", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : LimitRangeSpec, default is Undefined, optional Spec defines the limits enforced. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema LimitRange: kind: "LimitRange" = "LimitRange" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: LimitRangeSpec diff --git a/k8s/1.20/api/core/v1/limit_range_list.k b/k8s/1.20/api/core/v1/limit_range_list.k index 93063870..13be4b4b 100644 --- a/k8s/1.20/api/core/v1/limit_range_list.k +++ b/k8s/1.20/api/core/v1/limit_range_list.k @@ -3,7 +3,7 @@ This is the limit_range_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LimitRangeList: @@ -18,7 +18,7 @@ schema LimitRangeList: Items is a list of LimitRange objects. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ kind : str, default is "LimitRangeList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema LimitRangeList: kind: "LimitRangeList" = "LimitRangeList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/api/core/v1/namespace.k b/k8s/1.20/api/core/v1/namespace.k index 52b6b94f..66125388 100644 --- a/k8s/1.20/api/core/v1/namespace.k +++ b/k8s/1.20/api/core/v1/namespace.k @@ -3,7 +3,7 @@ This is the namespace module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Namespace: @@ -16,7 +16,7 @@ schema Namespace: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Namespace", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : NamespaceSpec, default is Undefined, optional Spec defines the behavior of the Namespace. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Namespace: kind: "Namespace" = "Namespace" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: NamespaceSpec diff --git a/k8s/1.20/api/core/v1/namespace_list.k b/k8s/1.20/api/core/v1/namespace_list.k index 0a362eac..1783b0bc 100644 --- a/k8s/1.20/api/core/v1/namespace_list.k +++ b/k8s/1.20/api/core/v1/namespace_list.k @@ -3,7 +3,7 @@ This is the namespace_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NamespaceList: @@ -18,7 +18,7 @@ schema NamespaceList: Items is the list of Namespace objects in the list. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ kind : str, default is "NamespaceList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema NamespaceList: kind: "NamespaceList" = "NamespaceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/api/core/v1/node.k b/k8s/1.20/api/core/v1/node.k index 99f9cab9..dcfea158 100644 --- a/k8s/1.20/api/core/v1/node.k +++ b/k8s/1.20/api/core/v1/node.k @@ -3,7 +3,7 @@ This is the node module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Node: @@ -16,7 +16,7 @@ schema Node: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Node", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : NodeSpec, default is Undefined, optional Spec defines the behavior of a node. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Node: kind: "Node" = "Node" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: NodeSpec diff --git a/k8s/1.20/api/core/v1/node_list.k b/k8s/1.20/api/core/v1/node_list.k index 40992f99..26fe9968 100644 --- a/k8s/1.20/api/core/v1/node_list.k +++ b/k8s/1.20/api/core/v1/node_list.k @@ -3,7 +3,7 @@ This is the node_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NodeList: @@ -18,7 +18,7 @@ schema NodeList: List of nodes kind : str, default is "NodeList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema NodeList: kind: "NodeList" = "NodeList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/api/core/v1/persistent_volume.k b/k8s/1.20/api/core/v1/persistent_volume.k index 259223a6..2c6d5ee6 100644 --- a/k8s/1.20/api/core/v1/persistent_volume.k +++ b/k8s/1.20/api/core/v1/persistent_volume.k @@ -3,7 +3,7 @@ This is the persistent_volume module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolume: @@ -16,7 +16,7 @@ schema PersistentVolume: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PersistentVolume", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PersistentVolumeSpec, default is Undefined, optional Spec defines a specification of a persistent volume owned by the cluster. Provisioned by an administrator. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes @@ -27,7 +27,7 @@ schema PersistentVolume: kind: "PersistentVolume" = "PersistentVolume" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PersistentVolumeSpec diff --git a/k8s/1.20/api/core/v1/persistent_volume_claim.k b/k8s/1.20/api/core/v1/persistent_volume_claim.k index eb057e81..02735f90 100644 --- a/k8s/1.20/api/core/v1/persistent_volume_claim.k +++ b/k8s/1.20/api/core/v1/persistent_volume_claim.k @@ -3,7 +3,7 @@ This is the persistent_volume_claim module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeClaim: @@ -16,7 +16,7 @@ schema PersistentVolumeClaim: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PersistentVolumeClaim", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PersistentVolumeClaimSpec, default is Undefined, optional Spec defines the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims @@ -27,7 +27,7 @@ schema PersistentVolumeClaim: kind: "PersistentVolumeClaim" = "PersistentVolumeClaim" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PersistentVolumeClaimSpec diff --git a/k8s/1.20/api/core/v1/persistent_volume_claim_list.k b/k8s/1.20/api/core/v1/persistent_volume_claim_list.k index 85ccc1ee..96669996 100644 --- a/k8s/1.20/api/core/v1/persistent_volume_claim_list.k +++ b/k8s/1.20/api/core/v1/persistent_volume_claim_list.k @@ -3,7 +3,7 @@ This is the persistent_volume_claim_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeClaimList: @@ -18,7 +18,7 @@ schema PersistentVolumeClaimList: A list of persistent volume claims. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims kind : str, default is "PersistentVolumeClaimList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema PersistentVolumeClaimList: kind: "PersistentVolumeClaimList" = "PersistentVolumeClaimList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/api/core/v1/persistent_volume_claim_spec.k b/k8s/1.20/api/core/v1/persistent_volume_claim_spec.k index 469b9510..217e0dee 100644 --- a/k8s/1.20/api/core/v1/persistent_volume_claim_spec.k +++ b/k8s/1.20/api/core/v1/persistent_volume_claim_spec.k @@ -3,7 +3,7 @@ This is the persistent_volume_claim_spec module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeClaimSpec: @@ -18,7 +18,7 @@ schema PersistentVolumeClaimSpec: This field can be used to specify either: * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) * An existing PVC (PersistentVolumeClaim) * An existing custom resource that implements data population (Alpha) In order to use custom resource types that implement data population, the AnyVolumeDataSource feature gate must be enabled. If the provisioner or an external controller can support the specified data source, it will create a new volume based on the contents of the specified data source. resources : ResourceRequirements, default is Undefined, optional Resources represents the minimum resources the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional A label query over volumes to consider for binding. storageClassName : str, default is Undefined, optional Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1 @@ -35,7 +35,7 @@ schema PersistentVolumeClaimSpec: resources?: ResourceRequirements - selector?: v1.LabelSelector + selector?: metav1.LabelSelector storageClassName?: str diff --git a/k8s/1.20/api/core/v1/persistent_volume_claim_template.k b/k8s/1.20/api/core/v1/persistent_volume_claim_template.k index e6758b96..a8a010df 100644 --- a/k8s/1.20/api/core/v1/persistent_volume_claim_template.k +++ b/k8s/1.20/api/core/v1/persistent_volume_claim_template.k @@ -3,7 +3,7 @@ This is the persistent_volume_claim_template module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeClaimTemplate: @@ -12,14 +12,14 @@ schema PersistentVolumeClaimTemplate: Attributes ---------- - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. spec : PersistentVolumeClaimSpec, default is Undefined, required The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here. """ - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: PersistentVolumeClaimSpec diff --git a/k8s/1.20/api/core/v1/persistent_volume_list.k b/k8s/1.20/api/core/v1/persistent_volume_list.k index c34d9abb..21a2a32a 100644 --- a/k8s/1.20/api/core/v1/persistent_volume_list.k +++ b/k8s/1.20/api/core/v1/persistent_volume_list.k @@ -3,7 +3,7 @@ This is the persistent_volume_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeList: @@ -18,7 +18,7 @@ schema PersistentVolumeList: List of persistent volumes. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes kind : str, default is "PersistentVolumeList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema PersistentVolumeList: kind: "PersistentVolumeList" = "PersistentVolumeList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/api/core/v1/pod.k b/k8s/1.20/api/core/v1/pod.k index 659a9e99..66568628 100644 --- a/k8s/1.20/api/core/v1/pod.k +++ b/k8s/1.20/api/core/v1/pod.k @@ -3,7 +3,7 @@ This is the pod module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Pod: @@ -16,7 +16,7 @@ schema Pod: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Pod", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PodSpec, default is Undefined, optional Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Pod: kind: "Pod" = "Pod" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PodSpec diff --git a/k8s/1.20/api/core/v1/pod_affinity_term.k b/k8s/1.20/api/core/v1/pod_affinity_term.k index dccd6ef9..0cbd595d 100644 --- a/k8s/1.20/api/core/v1/pod_affinity_term.k +++ b/k8s/1.20/api/core/v1/pod_affinity_term.k @@ -3,7 +3,7 @@ This is the pod_affinity_term module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodAffinityTerm: @@ -12,7 +12,7 @@ schema PodAffinityTerm: Attributes ---------- - labelSelector : v1.LabelSelector, default is Undefined, optional + labelSelector : metav1.LabelSelector, default is Undefined, optional A label query over a set of resources, in this case pods. namespaces : [str], default is Undefined, optional namespaces specifies which namespaces the labelSelector applies to (matches against); null or empty list means "this pod's namespace" @@ -21,7 +21,7 @@ schema PodAffinityTerm: """ - labelSelector?: v1.LabelSelector + labelSelector?: metav1.LabelSelector namespaces?: [str] diff --git a/k8s/1.20/api/core/v1/pod_list.k b/k8s/1.20/api/core/v1/pod_list.k index 10ad5eb9..4c031d05 100644 --- a/k8s/1.20/api/core/v1/pod_list.k +++ b/k8s/1.20/api/core/v1/pod_list.k @@ -3,7 +3,7 @@ This is the pod_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodList: @@ -18,7 +18,7 @@ schema PodList: List of pods. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md kind : str, default is "PodList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema PodList: kind: "PodList" = "PodList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/api/core/v1/pod_template.k b/k8s/1.20/api/core/v1/pod_template.k index 98e64f70..6ffbfa64 100644 --- a/k8s/1.20/api/core/v1/pod_template.k +++ b/k8s/1.20/api/core/v1/pod_template.k @@ -3,7 +3,7 @@ This is the pod_template module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodTemplate: @@ -16,7 +16,7 @@ schema PodTemplate: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PodTemplate", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata template : PodTemplateSpec, default is Undefined, optional Template defines the pods that will be created from this pod template. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema PodTemplate: kind: "PodTemplate" = "PodTemplate" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta template?: PodTemplateSpec diff --git a/k8s/1.20/api/core/v1/pod_template_list.k b/k8s/1.20/api/core/v1/pod_template_list.k index 8bb1827f..94024175 100644 --- a/k8s/1.20/api/core/v1/pod_template_list.k +++ b/k8s/1.20/api/core/v1/pod_template_list.k @@ -3,7 +3,7 @@ This is the pod_template_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodTemplateList: @@ -18,7 +18,7 @@ schema PodTemplateList: List of pod templates kind : str, default is "PodTemplateList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema PodTemplateList: kind: "PodTemplateList" = "PodTemplateList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/api/core/v1/pod_template_spec.k b/k8s/1.20/api/core/v1/pod_template_spec.k index 1274c88b..6011ef81 100644 --- a/k8s/1.20/api/core/v1/pod_template_spec.k +++ b/k8s/1.20/api/core/v1/pod_template_spec.k @@ -3,7 +3,7 @@ This is the pod_template_spec module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodTemplateSpec: @@ -12,14 +12,14 @@ schema PodTemplateSpec: Attributes ---------- - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PodSpec, default is Undefined, optional Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status """ - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PodSpec diff --git a/k8s/1.20/api/core/v1/replication_controller.k b/k8s/1.20/api/core/v1/replication_controller.k index 08b091e8..37724706 100644 --- a/k8s/1.20/api/core/v1/replication_controller.k +++ b/k8s/1.20/api/core/v1/replication_controller.k @@ -3,7 +3,7 @@ This is the replication_controller module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicationController: @@ -16,7 +16,7 @@ schema ReplicationController: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ReplicationController", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional If the Labels of a ReplicationController are empty, they are defaulted to be the same as the Pod(s) that the replication controller manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : ReplicationControllerSpec, default is Undefined, optional Spec defines the specification of the desired behavior of the replication controller. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema ReplicationController: kind: "ReplicationController" = "ReplicationController" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ReplicationControllerSpec diff --git a/k8s/1.20/api/core/v1/replication_controller_list.k b/k8s/1.20/api/core/v1/replication_controller_list.k index 64afa179..63f9d4b2 100644 --- a/k8s/1.20/api/core/v1/replication_controller_list.k +++ b/k8s/1.20/api/core/v1/replication_controller_list.k @@ -3,7 +3,7 @@ This is the replication_controller_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicationControllerList: @@ -18,7 +18,7 @@ schema ReplicationControllerList: List of replication controllers. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller kind : str, default is "ReplicationControllerList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ReplicationControllerList: kind: "ReplicationControllerList" = "ReplicationControllerList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/api/core/v1/resource_quota.k b/k8s/1.20/api/core/v1/resource_quota.k index b7da49d1..0ec7c409 100644 --- a/k8s/1.20/api/core/v1/resource_quota.k +++ b/k8s/1.20/api/core/v1/resource_quota.k @@ -3,7 +3,7 @@ This is the resource_quota module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceQuota: @@ -16,7 +16,7 @@ schema ResourceQuota: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ResourceQuota", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : ResourceQuotaSpec, default is Undefined, optional Spec defines the desired quota. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema ResourceQuota: kind: "ResourceQuota" = "ResourceQuota" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ResourceQuotaSpec diff --git a/k8s/1.20/api/core/v1/resource_quota_list.k b/k8s/1.20/api/core/v1/resource_quota_list.k index ca1424b8..f8dbc87d 100644 --- a/k8s/1.20/api/core/v1/resource_quota_list.k +++ b/k8s/1.20/api/core/v1/resource_quota_list.k @@ -3,7 +3,7 @@ This is the resource_quota_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceQuotaList: @@ -18,7 +18,7 @@ schema ResourceQuotaList: Items is a list of ResourceQuota objects. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/ kind : str, default is "ResourceQuotaList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ResourceQuotaList: kind: "ResourceQuotaList" = "ResourceQuotaList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/api/core/v1/secret.k b/k8s/1.20/api/core/v1/secret.k index 0a38ed13..2a7d40db 100644 --- a/k8s/1.20/api/core/v1/secret.k +++ b/k8s/1.20/api/core/v1/secret.k @@ -3,7 +3,7 @@ This is the secret module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Secret: @@ -20,7 +20,7 @@ schema Secret: Immutable, if set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil. This is a beta field enabled by ImmutableEphemeralVolumes feature gate. kind : str, default is "Secret", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata stringData : {str:str}, default is Undefined, optional stringData allows specifying non-binary secret data in string form. It is provided as a write-only convenience method. All keys and values are merged into the data field on write, overwriting any existing values. It is never output when reading from the API. @@ -37,7 +37,7 @@ schema Secret: kind: "Secret" = "Secret" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta stringData?: {str:str} diff --git a/k8s/1.20/api/core/v1/secret_list.k b/k8s/1.20/api/core/v1/secret_list.k index 335c47b4..9e80806b 100644 --- a/k8s/1.20/api/core/v1/secret_list.k +++ b/k8s/1.20/api/core/v1/secret_list.k @@ -3,7 +3,7 @@ This is the secret_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SecretList: @@ -18,7 +18,7 @@ schema SecretList: Items is a list of secret objects. More info: https://kubernetes.io/docs/concepts/configuration/secret kind : str, default is "SecretList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema SecretList: kind: "SecretList" = "SecretList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/api/core/v1/service.k b/k8s/1.20/api/core/v1/service.k index 1f259a80..3b86c8ef 100644 --- a/k8s/1.20/api/core/v1/service.k +++ b/k8s/1.20/api/core/v1/service.k @@ -3,7 +3,7 @@ This is the service module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Service: @@ -16,7 +16,7 @@ schema Service: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Service", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : ServiceSpec, default is Undefined, optional Spec defines the behavior of a service. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Service: kind: "Service" = "Service" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ServiceSpec diff --git a/k8s/1.20/api/core/v1/service_account.k b/k8s/1.20/api/core/v1/service_account.k index fc039e4f..c93748eb 100644 --- a/k8s/1.20/api/core/v1/service_account.k +++ b/k8s/1.20/api/core/v1/service_account.k @@ -3,7 +3,7 @@ This is the service_account module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ServiceAccount: @@ -20,7 +20,7 @@ schema ServiceAccount: ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod kind : str, default is "ServiceAccount", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata secrets : [ObjectReference], default is Undefined, optional Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount. More info: https://kubernetes.io/docs/concepts/configuration/secret @@ -35,7 +35,7 @@ schema ServiceAccount: kind: "ServiceAccount" = "ServiceAccount" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta secrets?: [ObjectReference] diff --git a/k8s/1.20/api/core/v1/service_account_list.k b/k8s/1.20/api/core/v1/service_account_list.k index 26a9319a..d8cd46b8 100644 --- a/k8s/1.20/api/core/v1/service_account_list.k +++ b/k8s/1.20/api/core/v1/service_account_list.k @@ -3,7 +3,7 @@ This is the service_account_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ServiceAccountList: @@ -18,7 +18,7 @@ schema ServiceAccountList: List of ServiceAccounts. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ kind : str, default is "ServiceAccountList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ServiceAccountList: kind: "ServiceAccountList" = "ServiceAccountList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/api/core/v1/service_list.k b/k8s/1.20/api/core/v1/service_list.k index 0c1e31be..5c4fae8a 100644 --- a/k8s/1.20/api/core/v1/service_list.k +++ b/k8s/1.20/api/core/v1/service_list.k @@ -3,7 +3,7 @@ This is the service_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ServiceList: @@ -18,7 +18,7 @@ schema ServiceList: List of services kind : str, default is "ServiceList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ServiceList: kind: "ServiceList" = "ServiceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/api/core/v1/service_status.k b/k8s/1.20/api/core/v1/service_status.k index 029dda86..f1fc66e6 100644 --- a/k8s/1.20/api/core/v1/service_status.k +++ b/k8s/1.20/api/core/v1/service_status.k @@ -3,7 +3,7 @@ This is the service_status module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ServiceStatus: @@ -12,14 +12,14 @@ schema ServiceStatus: Attributes ---------- - conditions : [v1.Condition], default is Undefined, optional + conditions : [metav1.Condition], default is Undefined, optional Current service state loadBalancer : LoadBalancerStatus, default is Undefined, optional LoadBalancer contains the current status of the load-balancer, if one is present. """ - conditions?: [v1.Condition] + conditions?: [metav1.Condition] loadBalancer?: LoadBalancerStatus diff --git a/k8s/1.20/api/core/v1/topology_spread_constraint.k b/k8s/1.20/api/core/v1/topology_spread_constraint.k index df9140a1..a2179492 100644 --- a/k8s/1.20/api/core/v1/topology_spread_constraint.k +++ b/k8s/1.20/api/core/v1/topology_spread_constraint.k @@ -3,7 +3,7 @@ This is the topology_spread_constraint module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema TopologySpreadConstraint: @@ -12,7 +12,7 @@ schema TopologySpreadConstraint: Attributes ---------- - labelSelector : v1.LabelSelector, default is Undefined, optional + labelSelector : metav1.LabelSelector, default is Undefined, optional LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain. maxSkew : int, default is Undefined, required MaxSkew describes the degree to which pods may be unevenly distributed. When `whenUnsatisfiable=DoNotSchedule`, it is the maximum permitted difference between the number of matching pods in the target topology and the global minimum. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 1/1/0: | zone1 | zone2 | zone3 | | P | P | | - if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 1/1/1; scheduling it onto zone1(zone2) would make the ActualSkew(2-0) on zone1(zone2) violate MaxSkew(1). - if MaxSkew is 2, incoming pod can be scheduled onto any zone. When `whenUnsatisfiable=ScheduleAnyway`, it is used to give higher precedence to topologies that satisfy it. It's a required field. Default value is 1 and 0 is not allowed. @@ -26,7 +26,7 @@ schema TopologySpreadConstraint: """ - labelSelector?: v1.LabelSelector + labelSelector?: metav1.LabelSelector maxSkew: int diff --git a/k8s/1.20/api/discovery/v1beta1/endpoint_slice.k b/k8s/1.20/api/discovery/v1beta1/endpoint_slice.k index e5bc4f96..c3e65402 100644 --- a/k8s/1.20/api/discovery/v1beta1/endpoint_slice.k +++ b/k8s/1.20/api/discovery/v1beta1/endpoint_slice.k @@ -3,7 +3,7 @@ This is the endpoint_slice module in k8s.api.discovery.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EndpointSlice: @@ -20,7 +20,7 @@ schema EndpointSlice: endpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints. kind : str, default is "EndpointSlice", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. ports : [EndpointPort], default is Undefined, optional ports specifies the list of network ports exposed by each endpoint in this slice. Each port must have a unique name. When ports is empty, it indicates that there are no defined ports. When a port is defined with a nil port value, it indicates "all ports". Each slice may include a maximum of 100 ports. @@ -35,7 +35,7 @@ schema EndpointSlice: kind: "EndpointSlice" = "EndpointSlice" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta ports?: [EndpointPort] diff --git a/k8s/1.20/api/discovery/v1beta1/endpoint_slice_list.k b/k8s/1.20/api/discovery/v1beta1/endpoint_slice_list.k index ad1e929c..62019eae 100644 --- a/k8s/1.20/api/discovery/v1beta1/endpoint_slice_list.k +++ b/k8s/1.20/api/discovery/v1beta1/endpoint_slice_list.k @@ -3,7 +3,7 @@ This is the endpoint_slice_list module in k8s.api.discovery.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EndpointSliceList: @@ -18,7 +18,7 @@ schema EndpointSliceList: List of endpoint slices kind : str, default is "EndpointSliceList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema EndpointSliceList: kind: "EndpointSliceList" = "EndpointSliceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/api/events/v1/event_list.k b/k8s/1.20/api/events/v1/event_list.k index 6d5e7dad..4c4d96ba 100644 --- a/k8s/1.20/api/events/v1/event_list.k +++ b/k8s/1.20/api/events/v1/event_list.k @@ -3,7 +3,7 @@ This is the event_list module in k8s.api.events.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EventList: @@ -18,7 +18,7 @@ schema EventList: items is a list of schema objects. kind : str, default is "EventList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema EventList: kind: "EventList" = "EventList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/api/events/v1beta1/event_list.k b/k8s/1.20/api/events/v1beta1/event_list.k index fbb9bfa6..85c27cd9 100644 --- a/k8s/1.20/api/events/v1beta1/event_list.k +++ b/k8s/1.20/api/events/v1beta1/event_list.k @@ -3,7 +3,7 @@ This is the event_list module in k8s.api.events.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EventList: @@ -18,7 +18,7 @@ schema EventList: items is a list of schema objects. kind : str, default is "EventList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema EventList: kind: "EventList" = "EventList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/api/extensions/v1beta1/ingress.k b/k8s/1.20/api/extensions/v1beta1/ingress.k index 1935ccd4..b92dfced 100644 --- a/k8s/1.20/api/extensions/v1beta1/ingress.k +++ b/k8s/1.20/api/extensions/v1beta1/ingress.k @@ -3,7 +3,7 @@ This is the ingress module in k8s.api.extensions.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Ingress: @@ -16,7 +16,7 @@ schema Ingress: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Ingress", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : IngressSpec, default is Undefined, optional Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Ingress: kind: "Ingress" = "Ingress" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: IngressSpec diff --git a/k8s/1.20/api/extensions/v1beta1/ingress_list.k b/k8s/1.20/api/extensions/v1beta1/ingress_list.k index 03151415..03dbbdd1 100644 --- a/k8s/1.20/api/extensions/v1beta1/ingress_list.k +++ b/k8s/1.20/api/extensions/v1beta1/ingress_list.k @@ -3,7 +3,7 @@ This is the ingress_list module in k8s.api.extensions.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema IngressList: @@ -18,7 +18,7 @@ schema IngressList: Items is the list of Ingress. kind : str, default is "IngressList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema IngressList: kind: "IngressList" = "IngressList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/api/flowcontrol/v1alpha1/flow_schema.k b/k8s/1.20/api/flowcontrol/v1alpha1/flow_schema.k index e49512f1..31b0cf5e 100644 --- a/k8s/1.20/api/flowcontrol/v1alpha1/flow_schema.k +++ b/k8s/1.20/api/flowcontrol/v1alpha1/flow_schema.k @@ -3,7 +3,7 @@ This is the flow_schema module in k8s.api.flowcontrol.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema FlowSchema: @@ -16,7 +16,7 @@ schema FlowSchema: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "FlowSchema", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : FlowSchemaSpec, default is Undefined, optional `spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema FlowSchema: kind: "FlowSchema" = "FlowSchema" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: FlowSchemaSpec diff --git a/k8s/1.20/api/flowcontrol/v1alpha1/flow_schema_list.k b/k8s/1.20/api/flowcontrol/v1alpha1/flow_schema_list.k index 7b766b93..ba34bd81 100644 --- a/k8s/1.20/api/flowcontrol/v1alpha1/flow_schema_list.k +++ b/k8s/1.20/api/flowcontrol/v1alpha1/flow_schema_list.k @@ -3,7 +3,7 @@ This is the flow_schema_list module in k8s.api.flowcontrol.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema FlowSchemaList: @@ -18,7 +18,7 @@ schema FlowSchemaList: `items` is a list of FlowSchemas. kind : str, default is "FlowSchemaList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional `metadata` is the standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema FlowSchemaList: kind: "FlowSchemaList" = "FlowSchemaList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/api/flowcontrol/v1alpha1/priority_level_configuration.k b/k8s/1.20/api/flowcontrol/v1alpha1/priority_level_configuration.k index e9e5c356..b8f05088 100644 --- a/k8s/1.20/api/flowcontrol/v1alpha1/priority_level_configuration.k +++ b/k8s/1.20/api/flowcontrol/v1alpha1/priority_level_configuration.k @@ -3,7 +3,7 @@ This is the priority_level_configuration module in k8s.api.flowcontrol.v1alpha1 This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityLevelConfiguration: @@ -16,7 +16,7 @@ schema PriorityLevelConfiguration: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PriorityLevelConfiguration", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PriorityLevelConfigurationSpec, default is Undefined, optional `spec` is the specification of the desired behavior of a "request-priority". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema PriorityLevelConfiguration: kind: "PriorityLevelConfiguration" = "PriorityLevelConfiguration" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PriorityLevelConfigurationSpec diff --git a/k8s/1.20/api/flowcontrol/v1alpha1/priority_level_configuration_list.k b/k8s/1.20/api/flowcontrol/v1alpha1/priority_level_configuration_list.k index 2b0a475e..28aa93e2 100644 --- a/k8s/1.20/api/flowcontrol/v1alpha1/priority_level_configuration_list.k +++ b/k8s/1.20/api/flowcontrol/v1alpha1/priority_level_configuration_list.k @@ -3,7 +3,7 @@ This is the priority_level_configuration_list module in k8s.api.flowcontrol.v1al This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityLevelConfigurationList: @@ -18,7 +18,7 @@ schema PriorityLevelConfigurationList: `items` is a list of request-priorities. kind : str, default is "PriorityLevelConfigurationList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PriorityLevelConfigurationList: kind: "PriorityLevelConfigurationList" = "PriorityLevelConfigurationList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/api/flowcontrol/v1beta1/flow_schema.k b/k8s/1.20/api/flowcontrol/v1beta1/flow_schema.k index 55faf528..cf4974cd 100644 --- a/k8s/1.20/api/flowcontrol/v1beta1/flow_schema.k +++ b/k8s/1.20/api/flowcontrol/v1beta1/flow_schema.k @@ -3,7 +3,7 @@ This is the flow_schema module in k8s.api.flowcontrol.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema FlowSchema: @@ -16,7 +16,7 @@ schema FlowSchema: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "FlowSchema", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : FlowSchemaSpec, default is Undefined, optional `spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema FlowSchema: kind: "FlowSchema" = "FlowSchema" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: FlowSchemaSpec diff --git a/k8s/1.20/api/flowcontrol/v1beta1/flow_schema_list.k b/k8s/1.20/api/flowcontrol/v1beta1/flow_schema_list.k index 4f91a66c..740f3aa2 100644 --- a/k8s/1.20/api/flowcontrol/v1beta1/flow_schema_list.k +++ b/k8s/1.20/api/flowcontrol/v1beta1/flow_schema_list.k @@ -3,7 +3,7 @@ This is the flow_schema_list module in k8s.api.flowcontrol.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema FlowSchemaList: @@ -18,7 +18,7 @@ schema FlowSchemaList: `items` is a list of FlowSchemas. kind : str, default is "FlowSchemaList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional `metadata` is the standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema FlowSchemaList: kind: "FlowSchemaList" = "FlowSchemaList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/api/flowcontrol/v1beta1/priority_level_configuration.k b/k8s/1.20/api/flowcontrol/v1beta1/priority_level_configuration.k index 46ae1bf4..3068b4ac 100644 --- a/k8s/1.20/api/flowcontrol/v1beta1/priority_level_configuration.k +++ b/k8s/1.20/api/flowcontrol/v1beta1/priority_level_configuration.k @@ -3,7 +3,7 @@ This is the priority_level_configuration module in k8s.api.flowcontrol.v1beta1 p This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityLevelConfiguration: @@ -16,7 +16,7 @@ schema PriorityLevelConfiguration: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PriorityLevelConfiguration", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PriorityLevelConfigurationSpec, default is Undefined, optional `spec` is the specification of the desired behavior of a "request-priority". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema PriorityLevelConfiguration: kind: "PriorityLevelConfiguration" = "PriorityLevelConfiguration" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PriorityLevelConfigurationSpec diff --git a/k8s/1.20/api/flowcontrol/v1beta1/priority_level_configuration_list.k b/k8s/1.20/api/flowcontrol/v1beta1/priority_level_configuration_list.k index fbc0a3d7..de2e7738 100644 --- a/k8s/1.20/api/flowcontrol/v1beta1/priority_level_configuration_list.k +++ b/k8s/1.20/api/flowcontrol/v1beta1/priority_level_configuration_list.k @@ -3,7 +3,7 @@ This is the priority_level_configuration_list module in k8s.api.flowcontrol.v1be This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityLevelConfigurationList: @@ -18,7 +18,7 @@ schema PriorityLevelConfigurationList: `items` is a list of request-priorities. kind : str, default is "PriorityLevelConfigurationList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PriorityLevelConfigurationList: kind: "PriorityLevelConfigurationList" = "PriorityLevelConfigurationList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/api/networking/v1/ingress.k b/k8s/1.20/api/networking/v1/ingress.k index 84067c5f..7429b93d 100644 --- a/k8s/1.20/api/networking/v1/ingress.k +++ b/k8s/1.20/api/networking/v1/ingress.k @@ -3,7 +3,7 @@ This is the ingress module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Ingress: @@ -16,7 +16,7 @@ schema Ingress: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Ingress", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : IngressSpec, default is Undefined, optional Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Ingress: kind: "Ingress" = "Ingress" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: IngressSpec diff --git a/k8s/1.20/api/networking/v1/ingress_class.k b/k8s/1.20/api/networking/v1/ingress_class.k index 53cf2398..ad2f67bd 100644 --- a/k8s/1.20/api/networking/v1/ingress_class.k +++ b/k8s/1.20/api/networking/v1/ingress_class.k @@ -3,7 +3,7 @@ This is the ingress_class module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema IngressClass: @@ -16,7 +16,7 @@ schema IngressClass: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "IngressClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : IngressClassSpec, default is Undefined, optional Spec is the desired state of the IngressClass. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema IngressClass: kind: "IngressClass" = "IngressClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: IngressClassSpec diff --git a/k8s/1.20/api/networking/v1/ingress_class_list.k b/k8s/1.20/api/networking/v1/ingress_class_list.k index 7a8dfb45..432a667e 100644 --- a/k8s/1.20/api/networking/v1/ingress_class_list.k +++ b/k8s/1.20/api/networking/v1/ingress_class_list.k @@ -3,7 +3,7 @@ This is the ingress_class_list module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema IngressClassList: @@ -18,7 +18,7 @@ schema IngressClassList: Items is the list of IngressClasses. kind : str, default is "IngressClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema IngressClassList: kind: "IngressClassList" = "IngressClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/api/networking/v1/ingress_list.k b/k8s/1.20/api/networking/v1/ingress_list.k index 5fc2315f..a73781b0 100644 --- a/k8s/1.20/api/networking/v1/ingress_list.k +++ b/k8s/1.20/api/networking/v1/ingress_list.k @@ -3,7 +3,7 @@ This is the ingress_list module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema IngressList: @@ -18,7 +18,7 @@ schema IngressList: Items is the list of Ingress. kind : str, default is "IngressList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema IngressList: kind: "IngressList" = "IngressList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/api/networking/v1/network_policy.k b/k8s/1.20/api/networking/v1/network_policy.k index 888fc8a4..f4ffe0ea 100644 --- a/k8s/1.20/api/networking/v1/network_policy.k +++ b/k8s/1.20/api/networking/v1/network_policy.k @@ -3,7 +3,7 @@ This is the network_policy module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicy: @@ -16,7 +16,7 @@ schema NetworkPolicy: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "NetworkPolicy", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : NetworkPolicySpec, default is Undefined, optional Specification of the desired behavior for this NetworkPolicy. @@ -27,7 +27,7 @@ schema NetworkPolicy: kind: "NetworkPolicy" = "NetworkPolicy" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: NetworkPolicySpec diff --git a/k8s/1.20/api/networking/v1/network_policy_list.k b/k8s/1.20/api/networking/v1/network_policy_list.k index 7a05cb37..8e21e919 100644 --- a/k8s/1.20/api/networking/v1/network_policy_list.k +++ b/k8s/1.20/api/networking/v1/network_policy_list.k @@ -3,7 +3,7 @@ This is the network_policy_list module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicyList: @@ -18,7 +18,7 @@ schema NetworkPolicyList: Items is a list of schema objects. kind : str, default is "NetworkPolicyList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema NetworkPolicyList: kind: "NetworkPolicyList" = "NetworkPolicyList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/api/networking/v1/network_policy_peer.k b/k8s/1.20/api/networking/v1/network_policy_peer.k index c579477f..57c680fb 100644 --- a/k8s/1.20/api/networking/v1/network_policy_peer.k +++ b/k8s/1.20/api/networking/v1/network_policy_peer.k @@ -3,7 +3,7 @@ This is the network_policy_peer module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicyPeer: @@ -14,11 +14,11 @@ schema NetworkPolicyPeer: ---------- ipBlock : IPBlock, default is Undefined, optional IPBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional Selects Namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces. If PodSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects all Pods in the Namespaces selected by NamespaceSelector. - podSelector : v1.LabelSelector, default is Undefined, optional + podSelector : metav1.LabelSelector, default is Undefined, optional This is a label selector which selects Pods. This field follows standard label selector semantics; if present but empty, it selects all pods. If NamespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the Pods matching PodSelector in the policy's own Namespace. @@ -27,8 +27,8 @@ schema NetworkPolicyPeer: ipBlock?: IPBlock - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector - podSelector?: v1.LabelSelector + podSelector?: metav1.LabelSelector diff --git a/k8s/1.20/api/networking/v1/network_policy_spec.k b/k8s/1.20/api/networking/v1/network_policy_spec.k index d730dee3..5a848ef9 100644 --- a/k8s/1.20/api/networking/v1/network_policy_spec.k +++ b/k8s/1.20/api/networking/v1/network_policy_spec.k @@ -3,7 +3,7 @@ This is the network_policy_spec module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicySpec: @@ -16,7 +16,7 @@ schema NetworkPolicySpec: List of egress rules to be applied to the selected pods. Outgoing traffic is allowed if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic matches at least one egress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy limits all outgoing traffic (and serves solely to ensure that the pods it selects are isolated by default). This field is beta-level in 1.8 ingress : [NetworkPolicyIngressRule], default is Undefined, optional List of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not allow any traffic (and serves solely to ensure that the pods it selects are isolated by default) - podSelector : v1.LabelSelector, default is Undefined, required + podSelector : metav1.LabelSelector, default is Undefined, required Selects the pods to which this NetworkPolicy object applies. The array of ingress rules is applied to any pods selected by this field. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is NOT optional and follows standard label selector semantics. An empty podSelector matches all pods in this namespace. policyTypes : [str], default is Undefined, optional List of rule types that the NetworkPolicy relates to. Valid options are "Ingress", "Egress", or "Ingress,Egress". If this field is not specified, it will default based on the existence of Ingress or Egress rules; policies that contain an Egress section are assumed to affect Egress, and all policies (whether or not they contain an Ingress section) are assumed to affect Ingress. If you want to write an egress-only policy, you must explicitly specify policyTypes [ "Egress" ]. Likewise, if you want to write a policy that specifies that no egress is allowed, you must specify a policyTypes value that include "Egress" (since such a policy would not include an Egress section and would otherwise default to just [ "Ingress" ]). This field is beta-level in 1.8 @@ -27,7 +27,7 @@ schema NetworkPolicySpec: ingress?: [NetworkPolicyIngressRule] - podSelector: v1.LabelSelector + podSelector: metav1.LabelSelector policyTypes?: [str] diff --git a/k8s/1.20/api/networking/v1beta1/ingress.k b/k8s/1.20/api/networking/v1beta1/ingress.k index 6569ad3f..5eec23bd 100644 --- a/k8s/1.20/api/networking/v1beta1/ingress.k +++ b/k8s/1.20/api/networking/v1beta1/ingress.k @@ -3,7 +3,7 @@ This is the ingress module in k8s.api.networking.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Ingress: @@ -16,7 +16,7 @@ schema Ingress: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Ingress", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : IngressSpec, default is Undefined, optional Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Ingress: kind: "Ingress" = "Ingress" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: IngressSpec diff --git a/k8s/1.20/api/networking/v1beta1/ingress_class.k b/k8s/1.20/api/networking/v1beta1/ingress_class.k index f560f8bd..c359bfa6 100644 --- a/k8s/1.20/api/networking/v1beta1/ingress_class.k +++ b/k8s/1.20/api/networking/v1beta1/ingress_class.k @@ -3,7 +3,7 @@ This is the ingress_class module in k8s.api.networking.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema IngressClass: @@ -16,7 +16,7 @@ schema IngressClass: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "IngressClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : IngressClassSpec, default is Undefined, optional Spec is the desired state of the IngressClass. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema IngressClass: kind: "IngressClass" = "IngressClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: IngressClassSpec diff --git a/k8s/1.20/api/networking/v1beta1/ingress_class_list.k b/k8s/1.20/api/networking/v1beta1/ingress_class_list.k index 72e420ba..89464976 100644 --- a/k8s/1.20/api/networking/v1beta1/ingress_class_list.k +++ b/k8s/1.20/api/networking/v1beta1/ingress_class_list.k @@ -3,7 +3,7 @@ This is the ingress_class_list module in k8s.api.networking.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema IngressClassList: @@ -18,7 +18,7 @@ schema IngressClassList: Items is the list of IngressClasses. kind : str, default is "IngressClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema IngressClassList: kind: "IngressClassList" = "IngressClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/api/networking/v1beta1/ingress_list.k b/k8s/1.20/api/networking/v1beta1/ingress_list.k index 5f4b222c..f4249052 100644 --- a/k8s/1.20/api/networking/v1beta1/ingress_list.k +++ b/k8s/1.20/api/networking/v1beta1/ingress_list.k @@ -3,7 +3,7 @@ This is the ingress_list module in k8s.api.networking.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema IngressList: @@ -18,7 +18,7 @@ schema IngressList: Items is the list of Ingress. kind : str, default is "IngressList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema IngressList: kind: "IngressList" = "IngressList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/api/node/v1/runtime_class.k b/k8s/1.20/api/node/v1/runtime_class.k index c40f1039..718cd8b9 100644 --- a/k8s/1.20/api/node/v1/runtime_class.k +++ b/k8s/1.20/api/node/v1/runtime_class.k @@ -3,7 +3,7 @@ This is the runtime_class module in k8s.api.node.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RuntimeClass: @@ -18,7 +18,7 @@ schema RuntimeClass: Handler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration. It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called "runc" might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The Handler must be lowercase, conform to the DNS Label (RFC 1123) requirements, and is immutable. kind : str, default is "RuntimeClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata overhead : Overhead, default is Undefined, optional Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see @@ -35,7 +35,7 @@ schema RuntimeClass: kind: "RuntimeClass" = "RuntimeClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta overhead?: Overhead diff --git a/k8s/1.20/api/node/v1/runtime_class_list.k b/k8s/1.20/api/node/v1/runtime_class_list.k index 66bfea91..4f1ac3f5 100644 --- a/k8s/1.20/api/node/v1/runtime_class_list.k +++ b/k8s/1.20/api/node/v1/runtime_class_list.k @@ -3,7 +3,7 @@ This is the runtime_class_list module in k8s.api.node.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RuntimeClassList: @@ -18,7 +18,7 @@ schema RuntimeClassList: Items is a list of schema objects. kind : str, default is "RuntimeClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema RuntimeClassList: kind: "RuntimeClassList" = "RuntimeClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/api/node/v1alpha1/runtime_class.k b/k8s/1.20/api/node/v1alpha1/runtime_class.k index 32997d20..24b160c8 100644 --- a/k8s/1.20/api/node/v1alpha1/runtime_class.k +++ b/k8s/1.20/api/node/v1alpha1/runtime_class.k @@ -3,7 +3,7 @@ This is the runtime_class module in k8s.api.node.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RuntimeClass: @@ -16,7 +16,7 @@ schema RuntimeClass: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "RuntimeClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : RuntimeClassSpec, default is Undefined, required Specification of the RuntimeClass More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema RuntimeClass: kind: "RuntimeClass" = "RuntimeClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: RuntimeClassSpec diff --git a/k8s/1.20/api/node/v1alpha1/runtime_class_list.k b/k8s/1.20/api/node/v1alpha1/runtime_class_list.k index 9a7cbb22..6db85ede 100644 --- a/k8s/1.20/api/node/v1alpha1/runtime_class_list.k +++ b/k8s/1.20/api/node/v1alpha1/runtime_class_list.k @@ -3,7 +3,7 @@ This is the runtime_class_list module in k8s.api.node.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RuntimeClassList: @@ -18,7 +18,7 @@ schema RuntimeClassList: Items is a list of schema objects. kind : str, default is "RuntimeClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema RuntimeClassList: kind: "RuntimeClassList" = "RuntimeClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/api/node/v1beta1/runtime_class.k b/k8s/1.20/api/node/v1beta1/runtime_class.k index 501b4a5e..da6cc7fc 100644 --- a/k8s/1.20/api/node/v1beta1/runtime_class.k +++ b/k8s/1.20/api/node/v1beta1/runtime_class.k @@ -3,7 +3,7 @@ This is the runtime_class module in k8s.api.node.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RuntimeClass: @@ -18,7 +18,7 @@ schema RuntimeClass: Handler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration. It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called "runc" might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The Handler must be lowercase, conform to the DNS Label (RFC 1123) requirements, and is immutable. kind : str, default is "RuntimeClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata overhead : Overhead, default is Undefined, optional Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see https://git.k8s.io/enhancements/keps/sig-node/20190226-pod-overhead.md This field is alpha-level as of Kubernetes v1.15, and is only honored by servers that enable the PodOverhead feature. @@ -33,7 +33,7 @@ schema RuntimeClass: kind: "RuntimeClass" = "RuntimeClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta overhead?: Overhead diff --git a/k8s/1.20/api/node/v1beta1/runtime_class_list.k b/k8s/1.20/api/node/v1beta1/runtime_class_list.k index 19de4405..96178e8c 100644 --- a/k8s/1.20/api/node/v1beta1/runtime_class_list.k +++ b/k8s/1.20/api/node/v1beta1/runtime_class_list.k @@ -3,7 +3,7 @@ This is the runtime_class_list module in k8s.api.node.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RuntimeClassList: @@ -18,7 +18,7 @@ schema RuntimeClassList: Items is a list of schema objects. kind : str, default is "RuntimeClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema RuntimeClassList: kind: "RuntimeClassList" = "RuntimeClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/api/policy/v1beta1/eviction.k b/k8s/1.20/api/policy/v1beta1/eviction.k index 7f8d1a0b..af6f9667 100644 --- a/k8s/1.20/api/policy/v1beta1/eviction.k +++ b/k8s/1.20/api/policy/v1beta1/eviction.k @@ -3,7 +3,7 @@ This is the eviction module in k8s.api.policy.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Eviction: @@ -14,21 +14,21 @@ schema Eviction: ---------- apiVersion : str, default is "policy/v1beta1", required APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - deleteOptions : v1.DeleteOptions, default is Undefined, optional + deleteOptions : metav1.DeleteOptions, default is Undefined, optional DeleteOptions may be provided kind : str, default is "Eviction", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional ObjectMeta describes the pod that is being evicted. """ apiVersion: "policy/v1beta1" = "policy/v1beta1" - deleteOptions?: v1.DeleteOptions + deleteOptions?: metav1.DeleteOptions kind: "Eviction" = "Eviction" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta diff --git a/k8s/1.20/api/policy/v1beta1/pod_disruption_budget.k b/k8s/1.20/api/policy/v1beta1/pod_disruption_budget.k index 4bd867ee..8ec33062 100644 --- a/k8s/1.20/api/policy/v1beta1/pod_disruption_budget.k +++ b/k8s/1.20/api/policy/v1beta1/pod_disruption_budget.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget module in k8s.api.policy.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudget: @@ -16,7 +16,7 @@ schema PodDisruptionBudget: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PodDisruptionBudget", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : PodDisruptionBudgetSpec, default is Undefined, optional Specification of the desired behavior of the PodDisruptionBudget. @@ -27,7 +27,7 @@ schema PodDisruptionBudget: kind: "PodDisruptionBudget" = "PodDisruptionBudget" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PodDisruptionBudgetSpec diff --git a/k8s/1.20/api/policy/v1beta1/pod_disruption_budget_list.k b/k8s/1.20/api/policy/v1beta1/pod_disruption_budget_list.k index 7c9ed9f2..76dc4f1f 100644 --- a/k8s/1.20/api/policy/v1beta1/pod_disruption_budget_list.k +++ b/k8s/1.20/api/policy/v1beta1/pod_disruption_budget_list.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget_list module in k8s.api.policy.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudgetList: @@ -18,7 +18,7 @@ schema PodDisruptionBudgetList: items kind : str, default is "PodDisruptionBudgetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema PodDisruptionBudgetList: kind: "PodDisruptionBudgetList" = "PodDisruptionBudgetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/api/policy/v1beta1/pod_disruption_budget_spec.k b/k8s/1.20/api/policy/v1beta1/pod_disruption_budget_spec.k index 59207d7d..f58a030c 100644 --- a/k8s/1.20/api/policy/v1beta1/pod_disruption_budget_spec.k +++ b/k8s/1.20/api/policy/v1beta1/pod_disruption_budget_spec.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget_spec module in k8s.api.policy.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudgetSpec: @@ -16,7 +16,7 @@ schema PodDisruptionBudgetSpec: An eviction is allowed if at most "maxUnavailable" pods selected by "selector" are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with "minAvailable". minAvailable : int | str, default is Undefined, optional An eviction is allowed if at least "minAvailable" pods selected by "selector" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying "100%". - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional Label query over pods whose evictions are managed by the disruption budget. """ @@ -25,6 +25,6 @@ schema PodDisruptionBudgetSpec: minAvailable?: int | str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector diff --git a/k8s/1.20/api/policy/v1beta1/pod_security_policy.k b/k8s/1.20/api/policy/v1beta1/pod_security_policy.k index 1fb89bf0..26f77779 100644 --- a/k8s/1.20/api/policy/v1beta1/pod_security_policy.k +++ b/k8s/1.20/api/policy/v1beta1/pod_security_policy.k @@ -3,7 +3,7 @@ This is the pod_security_policy module in k8s.api.policy.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodSecurityPolicy: @@ -16,7 +16,7 @@ schema PodSecurityPolicy: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PodSecurityPolicy", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PodSecurityPolicySpec, default is Undefined, optional spec defines the policy enforced. @@ -27,7 +27,7 @@ schema PodSecurityPolicy: kind: "PodSecurityPolicy" = "PodSecurityPolicy" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PodSecurityPolicySpec diff --git a/k8s/1.20/api/policy/v1beta1/pod_security_policy_list.k b/k8s/1.20/api/policy/v1beta1/pod_security_policy_list.k index 72500195..422fdc1a 100644 --- a/k8s/1.20/api/policy/v1beta1/pod_security_policy_list.k +++ b/k8s/1.20/api/policy/v1beta1/pod_security_policy_list.k @@ -3,7 +3,7 @@ This is the pod_security_policy_list module in k8s.api.policy.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodSecurityPolicyList: @@ -18,7 +18,7 @@ schema PodSecurityPolicyList: items is a list of schema objects. kind : str, default is "PodSecurityPolicyList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PodSecurityPolicyList: kind: "PodSecurityPolicyList" = "PodSecurityPolicyList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/api/rbac/v1/aggregation_rule.k b/k8s/1.20/api/rbac/v1/aggregation_rule.k index c7969ee4..b6898869 100644 --- a/k8s/1.20/api/rbac/v1/aggregation_rule.k +++ b/k8s/1.20/api/rbac/v1/aggregation_rule.k @@ -3,7 +3,7 @@ This is the aggregation_rule module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema AggregationRule: @@ -12,11 +12,11 @@ schema AggregationRule: Attributes ---------- - clusterRoleSelectors : [v1.LabelSelector], default is Undefined, optional + clusterRoleSelectors : [metav1.LabelSelector], default is Undefined, optional ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added """ - clusterRoleSelectors?: [v1.LabelSelector] + clusterRoleSelectors?: [metav1.LabelSelector] diff --git a/k8s/1.20/api/rbac/v1/cluster_role.k b/k8s/1.20/api/rbac/v1/cluster_role.k index fcf42d1b..d32837ea 100644 --- a/k8s/1.20/api/rbac/v1/cluster_role.k +++ b/k8s/1.20/api/rbac/v1/cluster_role.k @@ -3,7 +3,7 @@ This is the cluster_role module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRole: @@ -18,7 +18,7 @@ schema ClusterRole: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ClusterRole", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. rules : [PolicyRule], default is Undefined, optional Rules holds all the PolicyRules for this ClusterRole @@ -31,7 +31,7 @@ schema ClusterRole: kind: "ClusterRole" = "ClusterRole" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta rules?: [PolicyRule] diff --git a/k8s/1.20/api/rbac/v1/cluster_role_binding.k b/k8s/1.20/api/rbac/v1/cluster_role_binding.k index e670588e..1b2c4294 100644 --- a/k8s/1.20/api/rbac/v1/cluster_role_binding.k +++ b/k8s/1.20/api/rbac/v1/cluster_role_binding.k @@ -3,7 +3,7 @@ This is the cluster_role_binding module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleBinding: @@ -16,7 +16,7 @@ schema ClusterRoleBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ClusterRoleBinding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. roleRef : RoleRef, default is Undefined, required RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. @@ -29,7 +29,7 @@ schema ClusterRoleBinding: kind: "ClusterRoleBinding" = "ClusterRoleBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta roleRef: RoleRef diff --git a/k8s/1.20/api/rbac/v1/cluster_role_binding_list.k b/k8s/1.20/api/rbac/v1/cluster_role_binding_list.k index fd53865a..bd13f6fa 100644 --- a/k8s/1.20/api/rbac/v1/cluster_role_binding_list.k +++ b/k8s/1.20/api/rbac/v1/cluster_role_binding_list.k @@ -3,7 +3,7 @@ This is the cluster_role_binding_list module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleBindingList: @@ -18,7 +18,7 @@ schema ClusterRoleBindingList: Items is a list of ClusterRoleBindings kind : str, default is "ClusterRoleBindingList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema ClusterRoleBindingList: kind: "ClusterRoleBindingList" = "ClusterRoleBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/api/rbac/v1/cluster_role_list.k b/k8s/1.20/api/rbac/v1/cluster_role_list.k index 8be0e1a6..303e00aa 100644 --- a/k8s/1.20/api/rbac/v1/cluster_role_list.k +++ b/k8s/1.20/api/rbac/v1/cluster_role_list.k @@ -3,7 +3,7 @@ This is the cluster_role_list module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleList: @@ -18,7 +18,7 @@ schema ClusterRoleList: Items is a list of ClusterRoles kind : str, default is "ClusterRoleList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema ClusterRoleList: kind: "ClusterRoleList" = "ClusterRoleList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/api/rbac/v1/role.k b/k8s/1.20/api/rbac/v1/role.k index f72c1ab0..db02dfef 100644 --- a/k8s/1.20/api/rbac/v1/role.k +++ b/k8s/1.20/api/rbac/v1/role.k @@ -3,7 +3,7 @@ This is the role module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Role: @@ -16,7 +16,7 @@ schema Role: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Role", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. rules : [PolicyRule], default is Undefined, optional Rules holds all the PolicyRules for this Role @@ -27,7 +27,7 @@ schema Role: kind: "Role" = "Role" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta rules?: [PolicyRule] diff --git a/k8s/1.20/api/rbac/v1/role_binding.k b/k8s/1.20/api/rbac/v1/role_binding.k index a305e8b1..efa93d8c 100644 --- a/k8s/1.20/api/rbac/v1/role_binding.k +++ b/k8s/1.20/api/rbac/v1/role_binding.k @@ -3,7 +3,7 @@ This is the role_binding module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleBinding: @@ -16,7 +16,7 @@ schema RoleBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "RoleBinding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. roleRef : RoleRef, default is Undefined, required RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. @@ -29,7 +29,7 @@ schema RoleBinding: kind: "RoleBinding" = "RoleBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta roleRef: RoleRef diff --git a/k8s/1.20/api/rbac/v1/role_binding_list.k b/k8s/1.20/api/rbac/v1/role_binding_list.k index ef8b7fc8..cb8d7400 100644 --- a/k8s/1.20/api/rbac/v1/role_binding_list.k +++ b/k8s/1.20/api/rbac/v1/role_binding_list.k @@ -3,7 +3,7 @@ This is the role_binding_list module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleBindingList: @@ -18,7 +18,7 @@ schema RoleBindingList: Items is a list of RoleBindings kind : str, default is "RoleBindingList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema RoleBindingList: kind: "RoleBindingList" = "RoleBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/api/rbac/v1/role_list.k b/k8s/1.20/api/rbac/v1/role_list.k index 6e7826e6..d102bc0c 100644 --- a/k8s/1.20/api/rbac/v1/role_list.k +++ b/k8s/1.20/api/rbac/v1/role_list.k @@ -3,7 +3,7 @@ This is the role_list module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleList: @@ -18,7 +18,7 @@ schema RoleList: Items is a list of Roles kind : str, default is "RoleList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema RoleList: kind: "RoleList" = "RoleList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/api/rbac/v1alpha1/aggregation_rule.k b/k8s/1.20/api/rbac/v1alpha1/aggregation_rule.k index 528fe561..c9b2af20 100644 --- a/k8s/1.20/api/rbac/v1alpha1/aggregation_rule.k +++ b/k8s/1.20/api/rbac/v1alpha1/aggregation_rule.k @@ -3,7 +3,7 @@ This is the aggregation_rule module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema AggregationRule: @@ -12,11 +12,11 @@ schema AggregationRule: Attributes ---------- - clusterRoleSelectors : [v1.LabelSelector], default is Undefined, optional + clusterRoleSelectors : [metav1.LabelSelector], default is Undefined, optional ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added """ - clusterRoleSelectors?: [v1.LabelSelector] + clusterRoleSelectors?: [metav1.LabelSelector] diff --git a/k8s/1.20/api/rbac/v1alpha1/cluster_role.k b/k8s/1.20/api/rbac/v1alpha1/cluster_role.k index 575a9cc7..657dbc2f 100644 --- a/k8s/1.20/api/rbac/v1alpha1/cluster_role.k +++ b/k8s/1.20/api/rbac/v1alpha1/cluster_role.k @@ -3,7 +3,7 @@ This is the cluster_role module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRole: @@ -18,7 +18,7 @@ schema ClusterRole: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ClusterRole", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. rules : [PolicyRule], default is Undefined, optional Rules holds all the PolicyRules for this ClusterRole @@ -31,7 +31,7 @@ schema ClusterRole: kind: "ClusterRole" = "ClusterRole" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta rules?: [PolicyRule] diff --git a/k8s/1.20/api/rbac/v1alpha1/cluster_role_binding.k b/k8s/1.20/api/rbac/v1alpha1/cluster_role_binding.k index 52d3d37f..f8461b42 100644 --- a/k8s/1.20/api/rbac/v1alpha1/cluster_role_binding.k +++ b/k8s/1.20/api/rbac/v1alpha1/cluster_role_binding.k @@ -3,7 +3,7 @@ This is the cluster_role_binding module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleBinding: @@ -16,7 +16,7 @@ schema ClusterRoleBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ClusterRoleBinding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. roleRef : RoleRef, default is Undefined, required RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. @@ -29,7 +29,7 @@ schema ClusterRoleBinding: kind: "ClusterRoleBinding" = "ClusterRoleBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta roleRef: RoleRef diff --git a/k8s/1.20/api/rbac/v1alpha1/cluster_role_binding_list.k b/k8s/1.20/api/rbac/v1alpha1/cluster_role_binding_list.k index 2bfe341d..b56526be 100644 --- a/k8s/1.20/api/rbac/v1alpha1/cluster_role_binding_list.k +++ b/k8s/1.20/api/rbac/v1alpha1/cluster_role_binding_list.k @@ -3,7 +3,7 @@ This is the cluster_role_binding_list module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleBindingList: @@ -18,7 +18,7 @@ schema ClusterRoleBindingList: Items is a list of ClusterRoleBindings kind : str, default is "ClusterRoleBindingList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema ClusterRoleBindingList: kind: "ClusterRoleBindingList" = "ClusterRoleBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/api/rbac/v1alpha1/cluster_role_list.k b/k8s/1.20/api/rbac/v1alpha1/cluster_role_list.k index 1618ae56..24f24ffb 100644 --- a/k8s/1.20/api/rbac/v1alpha1/cluster_role_list.k +++ b/k8s/1.20/api/rbac/v1alpha1/cluster_role_list.k @@ -3,7 +3,7 @@ This is the cluster_role_list module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleList: @@ -18,7 +18,7 @@ schema ClusterRoleList: Items is a list of ClusterRoles kind : str, default is "ClusterRoleList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema ClusterRoleList: kind: "ClusterRoleList" = "ClusterRoleList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/api/rbac/v1alpha1/role.k b/k8s/1.20/api/rbac/v1alpha1/role.k index 04b73319..d77aa86d 100644 --- a/k8s/1.20/api/rbac/v1alpha1/role.k +++ b/k8s/1.20/api/rbac/v1alpha1/role.k @@ -3,7 +3,7 @@ This is the role module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Role: @@ -16,7 +16,7 @@ schema Role: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Role", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. rules : [PolicyRule], default is Undefined, optional Rules holds all the PolicyRules for this Role @@ -27,7 +27,7 @@ schema Role: kind: "Role" = "Role" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta rules?: [PolicyRule] diff --git a/k8s/1.20/api/rbac/v1alpha1/role_binding.k b/k8s/1.20/api/rbac/v1alpha1/role_binding.k index 4d8b1be7..54a70911 100644 --- a/k8s/1.20/api/rbac/v1alpha1/role_binding.k +++ b/k8s/1.20/api/rbac/v1alpha1/role_binding.k @@ -3,7 +3,7 @@ This is the role_binding module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleBinding: @@ -16,7 +16,7 @@ schema RoleBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "RoleBinding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. roleRef : RoleRef, default is Undefined, required RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. @@ -29,7 +29,7 @@ schema RoleBinding: kind: "RoleBinding" = "RoleBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta roleRef: RoleRef diff --git a/k8s/1.20/api/rbac/v1alpha1/role_binding_list.k b/k8s/1.20/api/rbac/v1alpha1/role_binding_list.k index 4e041bf4..488775b1 100644 --- a/k8s/1.20/api/rbac/v1alpha1/role_binding_list.k +++ b/k8s/1.20/api/rbac/v1alpha1/role_binding_list.k @@ -3,7 +3,7 @@ This is the role_binding_list module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleBindingList: @@ -18,7 +18,7 @@ schema RoleBindingList: Items is a list of RoleBindings kind : str, default is "RoleBindingList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema RoleBindingList: kind: "RoleBindingList" = "RoleBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/api/rbac/v1alpha1/role_list.k b/k8s/1.20/api/rbac/v1alpha1/role_list.k index 0f4b5901..57cb790f 100644 --- a/k8s/1.20/api/rbac/v1alpha1/role_list.k +++ b/k8s/1.20/api/rbac/v1alpha1/role_list.k @@ -3,7 +3,7 @@ This is the role_list module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleList: @@ -18,7 +18,7 @@ schema RoleList: Items is a list of Roles kind : str, default is "RoleList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema RoleList: kind: "RoleList" = "RoleList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/api/rbac/v1beta1/aggregation_rule.k b/k8s/1.20/api/rbac/v1beta1/aggregation_rule.k index cd7ef918..41e15e52 100644 --- a/k8s/1.20/api/rbac/v1beta1/aggregation_rule.k +++ b/k8s/1.20/api/rbac/v1beta1/aggregation_rule.k @@ -3,7 +3,7 @@ This is the aggregation_rule module in k8s.api.rbac.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema AggregationRule: @@ -12,11 +12,11 @@ schema AggregationRule: Attributes ---------- - clusterRoleSelectors : [v1.LabelSelector], default is Undefined, optional + clusterRoleSelectors : [metav1.LabelSelector], default is Undefined, optional ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added """ - clusterRoleSelectors?: [v1.LabelSelector] + clusterRoleSelectors?: [metav1.LabelSelector] diff --git a/k8s/1.20/api/rbac/v1beta1/cluster_role.k b/k8s/1.20/api/rbac/v1beta1/cluster_role.k index 9e512e94..217b7a79 100644 --- a/k8s/1.20/api/rbac/v1beta1/cluster_role.k +++ b/k8s/1.20/api/rbac/v1beta1/cluster_role.k @@ -3,7 +3,7 @@ This is the cluster_role module in k8s.api.rbac.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRole: @@ -18,7 +18,7 @@ schema ClusterRole: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ClusterRole", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. rules : [PolicyRule], default is Undefined, optional Rules holds all the PolicyRules for this ClusterRole @@ -31,7 +31,7 @@ schema ClusterRole: kind: "ClusterRole" = "ClusterRole" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta rules?: [PolicyRule] diff --git a/k8s/1.20/api/rbac/v1beta1/cluster_role_binding.k b/k8s/1.20/api/rbac/v1beta1/cluster_role_binding.k index 27bce424..2b22db72 100644 --- a/k8s/1.20/api/rbac/v1beta1/cluster_role_binding.k +++ b/k8s/1.20/api/rbac/v1beta1/cluster_role_binding.k @@ -3,7 +3,7 @@ This is the cluster_role_binding module in k8s.api.rbac.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleBinding: @@ -16,7 +16,7 @@ schema ClusterRoleBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ClusterRoleBinding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. roleRef : RoleRef, default is Undefined, required RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. @@ -29,7 +29,7 @@ schema ClusterRoleBinding: kind: "ClusterRoleBinding" = "ClusterRoleBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta roleRef: RoleRef diff --git a/k8s/1.20/api/rbac/v1beta1/cluster_role_binding_list.k b/k8s/1.20/api/rbac/v1beta1/cluster_role_binding_list.k index ae9124bf..47d89ef4 100644 --- a/k8s/1.20/api/rbac/v1beta1/cluster_role_binding_list.k +++ b/k8s/1.20/api/rbac/v1beta1/cluster_role_binding_list.k @@ -3,7 +3,7 @@ This is the cluster_role_binding_list module in k8s.api.rbac.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleBindingList: @@ -18,7 +18,7 @@ schema ClusterRoleBindingList: Items is a list of ClusterRoleBindings kind : str, default is "ClusterRoleBindingList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema ClusterRoleBindingList: kind: "ClusterRoleBindingList" = "ClusterRoleBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/api/rbac/v1beta1/cluster_role_list.k b/k8s/1.20/api/rbac/v1beta1/cluster_role_list.k index 0ca126e5..ccb1e5d9 100644 --- a/k8s/1.20/api/rbac/v1beta1/cluster_role_list.k +++ b/k8s/1.20/api/rbac/v1beta1/cluster_role_list.k @@ -3,7 +3,7 @@ This is the cluster_role_list module in k8s.api.rbac.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleList: @@ -18,7 +18,7 @@ schema ClusterRoleList: Items is a list of ClusterRoles kind : str, default is "ClusterRoleList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema ClusterRoleList: kind: "ClusterRoleList" = "ClusterRoleList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/api/rbac/v1beta1/role.k b/k8s/1.20/api/rbac/v1beta1/role.k index 067918f5..dd0b94cd 100644 --- a/k8s/1.20/api/rbac/v1beta1/role.k +++ b/k8s/1.20/api/rbac/v1beta1/role.k @@ -3,7 +3,7 @@ This is the role module in k8s.api.rbac.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Role: @@ -16,7 +16,7 @@ schema Role: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Role", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. rules : [PolicyRule], default is Undefined, optional Rules holds all the PolicyRules for this Role @@ -27,7 +27,7 @@ schema Role: kind: "Role" = "Role" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta rules?: [PolicyRule] diff --git a/k8s/1.20/api/rbac/v1beta1/role_binding.k b/k8s/1.20/api/rbac/v1beta1/role_binding.k index ce51cc7c..3926fdfe 100644 --- a/k8s/1.20/api/rbac/v1beta1/role_binding.k +++ b/k8s/1.20/api/rbac/v1beta1/role_binding.k @@ -3,7 +3,7 @@ This is the role_binding module in k8s.api.rbac.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleBinding: @@ -16,7 +16,7 @@ schema RoleBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "RoleBinding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. roleRef : RoleRef, default is Undefined, required RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. @@ -29,7 +29,7 @@ schema RoleBinding: kind: "RoleBinding" = "RoleBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta roleRef: RoleRef diff --git a/k8s/1.20/api/rbac/v1beta1/role_binding_list.k b/k8s/1.20/api/rbac/v1beta1/role_binding_list.k index 2b2dfc75..4fc800bd 100644 --- a/k8s/1.20/api/rbac/v1beta1/role_binding_list.k +++ b/k8s/1.20/api/rbac/v1beta1/role_binding_list.k @@ -3,7 +3,7 @@ This is the role_binding_list module in k8s.api.rbac.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleBindingList: @@ -18,7 +18,7 @@ schema RoleBindingList: Items is a list of RoleBindings kind : str, default is "RoleBindingList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema RoleBindingList: kind: "RoleBindingList" = "RoleBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/api/rbac/v1beta1/role_list.k b/k8s/1.20/api/rbac/v1beta1/role_list.k index a9adf4cb..389c46aa 100644 --- a/k8s/1.20/api/rbac/v1beta1/role_list.k +++ b/k8s/1.20/api/rbac/v1beta1/role_list.k @@ -3,7 +3,7 @@ This is the role_list module in k8s.api.rbac.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleList: @@ -18,7 +18,7 @@ schema RoleList: Items is a list of Roles kind : str, default is "RoleList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema RoleList: kind: "RoleList" = "RoleList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/api/scheduling/v1/priority_class.k b/k8s/1.20/api/scheduling/v1/priority_class.k index 1bf1a065..06085c45 100644 --- a/k8s/1.20/api/scheduling/v1/priority_class.k +++ b/k8s/1.20/api/scheduling/v1/priority_class.k @@ -3,7 +3,7 @@ This is the priority_class module in k8s.api.scheduling.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityClass: @@ -20,7 +20,7 @@ schema PriorityClass: globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority. kind : str, default is "PriorityClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata preemptionPolicy : str, default is Undefined, optional PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is beta-level, gated by the NonPreemptingPriority feature-gate. @@ -37,7 +37,7 @@ schema PriorityClass: kind: "PriorityClass" = "PriorityClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta preemptionPolicy?: str diff --git a/k8s/1.20/api/scheduling/v1/priority_class_list.k b/k8s/1.20/api/scheduling/v1/priority_class_list.k index ff802048..6d514f6b 100644 --- a/k8s/1.20/api/scheduling/v1/priority_class_list.k +++ b/k8s/1.20/api/scheduling/v1/priority_class_list.k @@ -3,7 +3,7 @@ This is the priority_class_list module in k8s.api.scheduling.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityClassList: @@ -18,7 +18,7 @@ schema PriorityClassList: items is the list of PriorityClasses kind : str, default is "PriorityClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PriorityClassList: kind: "PriorityClassList" = "PriorityClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/api/scheduling/v1alpha1/priority_class.k b/k8s/1.20/api/scheduling/v1alpha1/priority_class.k index 59462076..87789133 100644 --- a/k8s/1.20/api/scheduling/v1alpha1/priority_class.k +++ b/k8s/1.20/api/scheduling/v1alpha1/priority_class.k @@ -3,7 +3,7 @@ This is the priority_class module in k8s.api.scheduling.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityClass: @@ -20,7 +20,7 @@ schema PriorityClass: globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority. kind : str, default is "PriorityClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata preemptionPolicy : str, default is Undefined, optional PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is beta-level, gated by the NonPreemptingPriority feature-gate. @@ -37,7 +37,7 @@ schema PriorityClass: kind: "PriorityClass" = "PriorityClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta preemptionPolicy?: str diff --git a/k8s/1.20/api/scheduling/v1alpha1/priority_class_list.k b/k8s/1.20/api/scheduling/v1alpha1/priority_class_list.k index f4d8cbfa..97b08586 100644 --- a/k8s/1.20/api/scheduling/v1alpha1/priority_class_list.k +++ b/k8s/1.20/api/scheduling/v1alpha1/priority_class_list.k @@ -3,7 +3,7 @@ This is the priority_class_list module in k8s.api.scheduling.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityClassList: @@ -18,7 +18,7 @@ schema PriorityClassList: items is the list of PriorityClasses kind : str, default is "PriorityClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PriorityClassList: kind: "PriorityClassList" = "PriorityClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/api/scheduling/v1beta1/priority_class.k b/k8s/1.20/api/scheduling/v1beta1/priority_class.k index 626dc250..61b1859c 100644 --- a/k8s/1.20/api/scheduling/v1beta1/priority_class.k +++ b/k8s/1.20/api/scheduling/v1beta1/priority_class.k @@ -3,7 +3,7 @@ This is the priority_class module in k8s.api.scheduling.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityClass: @@ -20,7 +20,7 @@ schema PriorityClass: globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority. kind : str, default is "PriorityClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata preemptionPolicy : str, default is Undefined, optional PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is beta-level, gated by the NonPreemptingPriority feature-gate. @@ -37,7 +37,7 @@ schema PriorityClass: kind: "PriorityClass" = "PriorityClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta preemptionPolicy?: str diff --git a/k8s/1.20/api/scheduling/v1beta1/priority_class_list.k b/k8s/1.20/api/scheduling/v1beta1/priority_class_list.k index 2788d02c..2187fd8e 100644 --- a/k8s/1.20/api/scheduling/v1beta1/priority_class_list.k +++ b/k8s/1.20/api/scheduling/v1beta1/priority_class_list.k @@ -3,7 +3,7 @@ This is the priority_class_list module in k8s.api.scheduling.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityClassList: @@ -18,7 +18,7 @@ schema PriorityClassList: items is the list of PriorityClasses kind : str, default is "PriorityClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PriorityClassList: kind: "PriorityClassList" = "PriorityClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/api/storage/v1/csi_driver.k b/k8s/1.20/api/storage/v1/csi_driver.k index 3302994b..cd222b2a 100644 --- a/k8s/1.20/api/storage/v1/csi_driver.k +++ b/k8s/1.20/api/storage/v1/csi_driver.k @@ -3,7 +3,7 @@ This is the csi_driver module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSIDriver: @@ -16,7 +16,7 @@ schema CSIDriver: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CSIDriver", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. metadata.Name indicates the name of the CSI driver that this object refers to; it MUST be the same name returned by the CSI GetPluginName() call for that driver. The driver name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and alphanumerics between. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : CSIDriverSpec, default is Undefined, required Specification of the CSI Driver. @@ -27,7 +27,7 @@ schema CSIDriver: kind: "CSIDriver" = "CSIDriver" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CSIDriverSpec diff --git a/k8s/1.20/api/storage/v1/csi_driver_list.k b/k8s/1.20/api/storage/v1/csi_driver_list.k index 91531b39..8b09e0f6 100644 --- a/k8s/1.20/api/storage/v1/csi_driver_list.k +++ b/k8s/1.20/api/storage/v1/csi_driver_list.k @@ -3,7 +3,7 @@ This is the csi_driver_list module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSIDriverList: @@ -18,7 +18,7 @@ schema CSIDriverList: items is the list of CSIDriver kind : str, default is "CSIDriverList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CSIDriverList: kind: "CSIDriverList" = "CSIDriverList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/api/storage/v1/csi_node.k b/k8s/1.20/api/storage/v1/csi_node.k index 055f8653..6557da03 100644 --- a/k8s/1.20/api/storage/v1/csi_node.k +++ b/k8s/1.20/api/storage/v1/csi_node.k @@ -3,7 +3,7 @@ This is the csi_node module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSINode: @@ -16,7 +16,7 @@ schema CSINode: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CSINode", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata.name must be the Kubernetes node name. spec : CSINodeSpec, default is Undefined, required spec is the specification of CSINode @@ -27,7 +27,7 @@ schema CSINode: kind: "CSINode" = "CSINode" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CSINodeSpec diff --git a/k8s/1.20/api/storage/v1/csi_node_list.k b/k8s/1.20/api/storage/v1/csi_node_list.k index ce5793c1..3a93da71 100644 --- a/k8s/1.20/api/storage/v1/csi_node_list.k +++ b/k8s/1.20/api/storage/v1/csi_node_list.k @@ -3,7 +3,7 @@ This is the csi_node_list module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSINodeList: @@ -18,7 +18,7 @@ schema CSINodeList: items is the list of CSINode kind : str, default is "CSINodeList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CSINodeList: kind: "CSINodeList" = "CSINodeList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/api/storage/v1/storage_class_list.k b/k8s/1.20/api/storage/v1/storage_class_list.k index 365e1386..284d43e8 100644 --- a/k8s/1.20/api/storage/v1/storage_class_list.k +++ b/k8s/1.20/api/storage/v1/storage_class_list.k @@ -3,7 +3,7 @@ This is the storage_class_list module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StorageClassList: @@ -18,7 +18,7 @@ schema StorageClassList: Items is the list of StorageClasses kind : str, default is "StorageClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema StorageClassList: kind: "StorageClassList" = "StorageClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/api/storage/v1/volume_attachment.k b/k8s/1.20/api/storage/v1/volume_attachment.k index e4b9149f..f98beff1 100644 --- a/k8s/1.20/api/storage/v1/volume_attachment.k +++ b/k8s/1.20/api/storage/v1/volume_attachment.k @@ -3,7 +3,7 @@ This is the volume_attachment module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema VolumeAttachment: @@ -18,7 +18,7 @@ schema VolumeAttachment: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "VolumeAttachment", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : VolumeAttachmentSpec, default is Undefined, required Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system. @@ -29,7 +29,7 @@ schema VolumeAttachment: kind: "VolumeAttachment" = "VolumeAttachment" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: VolumeAttachmentSpec diff --git a/k8s/1.20/api/storage/v1/volume_attachment_list.k b/k8s/1.20/api/storage/v1/volume_attachment_list.k index ef702d0d..0719d0bc 100644 --- a/k8s/1.20/api/storage/v1/volume_attachment_list.k +++ b/k8s/1.20/api/storage/v1/volume_attachment_list.k @@ -3,7 +3,7 @@ This is the volume_attachment_list module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema VolumeAttachmentList: @@ -18,7 +18,7 @@ schema VolumeAttachmentList: Items is the list of VolumeAttachments kind : str, default is "VolumeAttachmentList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema VolumeAttachmentList: kind: "VolumeAttachmentList" = "VolumeAttachmentList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/api/storage/v1alpha1/volume_attachment.k b/k8s/1.20/api/storage/v1alpha1/volume_attachment.k index ac3e542b..69bcab61 100644 --- a/k8s/1.20/api/storage/v1alpha1/volume_attachment.k +++ b/k8s/1.20/api/storage/v1alpha1/volume_attachment.k @@ -3,7 +3,7 @@ This is the volume_attachment module in k8s.api.storage.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema VolumeAttachment: @@ -18,7 +18,7 @@ schema VolumeAttachment: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "VolumeAttachment", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : VolumeAttachmentSpec, default is Undefined, required Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system. @@ -29,7 +29,7 @@ schema VolumeAttachment: kind: "VolumeAttachment" = "VolumeAttachment" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: VolumeAttachmentSpec diff --git a/k8s/1.20/api/storage/v1alpha1/volume_attachment_list.k b/k8s/1.20/api/storage/v1alpha1/volume_attachment_list.k index ddb512e0..f89560d9 100644 --- a/k8s/1.20/api/storage/v1alpha1/volume_attachment_list.k +++ b/k8s/1.20/api/storage/v1alpha1/volume_attachment_list.k @@ -3,7 +3,7 @@ This is the volume_attachment_list module in k8s.api.storage.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema VolumeAttachmentList: @@ -18,7 +18,7 @@ schema VolumeAttachmentList: Items is the list of VolumeAttachments kind : str, default is "VolumeAttachmentList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema VolumeAttachmentList: kind: "VolumeAttachmentList" = "VolumeAttachmentList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/api/storage/v1beta1/csi_driver.k b/k8s/1.20/api/storage/v1beta1/csi_driver.k index e4145edc..be666b1b 100644 --- a/k8s/1.20/api/storage/v1beta1/csi_driver.k +++ b/k8s/1.20/api/storage/v1beta1/csi_driver.k @@ -3,7 +3,7 @@ This is the csi_driver module in k8s.api.storage.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSIDriver: @@ -16,7 +16,7 @@ schema CSIDriver: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CSIDriver", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. metadata.Name indicates the name of the CSI driver that this object refers to; it MUST be the same name returned by the CSI GetPluginName() call for that driver. The driver name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and alphanumerics between. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : CSIDriverSpec, default is Undefined, required Specification of the CSI Driver. @@ -27,7 +27,7 @@ schema CSIDriver: kind: "CSIDriver" = "CSIDriver" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CSIDriverSpec diff --git a/k8s/1.20/api/storage/v1beta1/csi_driver_list.k b/k8s/1.20/api/storage/v1beta1/csi_driver_list.k index 209f62b2..215906d8 100644 --- a/k8s/1.20/api/storage/v1beta1/csi_driver_list.k +++ b/k8s/1.20/api/storage/v1beta1/csi_driver_list.k @@ -3,7 +3,7 @@ This is the csi_driver_list module in k8s.api.storage.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSIDriverList: @@ -18,7 +18,7 @@ schema CSIDriverList: items is the list of CSIDriver kind : str, default is "CSIDriverList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CSIDriverList: kind: "CSIDriverList" = "CSIDriverList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/api/storage/v1beta1/csi_node.k b/k8s/1.20/api/storage/v1beta1/csi_node.k index f5ba6611..ec6f1aff 100644 --- a/k8s/1.20/api/storage/v1beta1/csi_node.k +++ b/k8s/1.20/api/storage/v1beta1/csi_node.k @@ -3,7 +3,7 @@ This is the csi_node module in k8s.api.storage.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSINode: @@ -16,7 +16,7 @@ schema CSINode: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CSINode", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata.name must be the Kubernetes node name. spec : CSINodeSpec, default is Undefined, required spec is the specification of CSINode @@ -27,7 +27,7 @@ schema CSINode: kind: "CSINode" = "CSINode" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CSINodeSpec diff --git a/k8s/1.20/api/storage/v1beta1/csi_node_list.k b/k8s/1.20/api/storage/v1beta1/csi_node_list.k index 3f0ca6ce..f80a6c6a 100644 --- a/k8s/1.20/api/storage/v1beta1/csi_node_list.k +++ b/k8s/1.20/api/storage/v1beta1/csi_node_list.k @@ -3,7 +3,7 @@ This is the csi_node_list module in k8s.api.storage.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSINodeList: @@ -18,7 +18,7 @@ schema CSINodeList: items is the list of CSINode kind : str, default is "CSINodeList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CSINodeList: kind: "CSINodeList" = "CSINodeList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/api/storage/v1beta1/storage_class_list.k b/k8s/1.20/api/storage/v1beta1/storage_class_list.k index 0dcbe241..ec9cb902 100644 --- a/k8s/1.20/api/storage/v1beta1/storage_class_list.k +++ b/k8s/1.20/api/storage/v1beta1/storage_class_list.k @@ -3,7 +3,7 @@ This is the storage_class_list module in k8s.api.storage.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StorageClassList: @@ -18,7 +18,7 @@ schema StorageClassList: Items is the list of StorageClasses kind : str, default is "StorageClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema StorageClassList: kind: "StorageClassList" = "StorageClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/api/storage/v1beta1/volume_attachment.k b/k8s/1.20/api/storage/v1beta1/volume_attachment.k index e0a72030..4a4768bf 100644 --- a/k8s/1.20/api/storage/v1beta1/volume_attachment.k +++ b/k8s/1.20/api/storage/v1beta1/volume_attachment.k @@ -3,7 +3,7 @@ This is the volume_attachment module in k8s.api.storage.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema VolumeAttachment: @@ -18,7 +18,7 @@ schema VolumeAttachment: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "VolumeAttachment", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : VolumeAttachmentSpec, default is Undefined, required Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system. @@ -29,7 +29,7 @@ schema VolumeAttachment: kind: "VolumeAttachment" = "VolumeAttachment" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: VolumeAttachmentSpec diff --git a/k8s/1.20/api/storage/v1beta1/volume_attachment_list.k b/k8s/1.20/api/storage/v1beta1/volume_attachment_list.k index cdc91322..4650e400 100644 --- a/k8s/1.20/api/storage/v1beta1/volume_attachment_list.k +++ b/k8s/1.20/api/storage/v1beta1/volume_attachment_list.k @@ -3,7 +3,7 @@ This is the volume_attachment_list module in k8s.api.storage.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema VolumeAttachmentList: @@ -18,7 +18,7 @@ schema VolumeAttachmentList: Items is the list of VolumeAttachments kind : str, default is "VolumeAttachmentList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema VolumeAttachmentList: kind: "VolumeAttachmentList" = "VolumeAttachmentList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition.k b/k8s/1.20/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition.k index 4d421b4d..a401f819 100644 --- a/k8s/1.20/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition.k +++ b/k8s/1.20/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition.k @@ -3,7 +3,7 @@ This is the custom_resource_definition module in k8s.apiextensions_apiserver.pkg This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CustomResourceDefinition: @@ -16,7 +16,7 @@ schema CustomResourceDefinition: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CustomResourceDefinition", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : CustomResourceDefinitionSpec, default is Undefined, required spec describes how the user wants the resources to appear @@ -27,7 +27,7 @@ schema CustomResourceDefinition: kind: "CustomResourceDefinition" = "CustomResourceDefinition" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CustomResourceDefinitionSpec diff --git a/k8s/1.20/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition_list.k b/k8s/1.20/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition_list.k index d380cb53..720e5de8 100644 --- a/k8s/1.20/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition_list.k +++ b/k8s/1.20/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition_list.k @@ -3,7 +3,7 @@ This is the custom_resource_definition_list module in k8s.apiextensions_apiserve This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CustomResourceDefinitionList: @@ -18,7 +18,7 @@ schema CustomResourceDefinitionList: items list individual CustomResourceDefinition objects kind : str, default is "CustomResourceDefinitionList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema CustomResourceDefinitionList: kind: "CustomResourceDefinitionList" = "CustomResourceDefinitionList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/apiextensions_apiserver/pkg/apis/apiextensions/v1beta1/custom_resource_definition.k b/k8s/1.20/apiextensions_apiserver/pkg/apis/apiextensions/v1beta1/custom_resource_definition.k index f8bca0d0..5815d61a 100644 --- a/k8s/1.20/apiextensions_apiserver/pkg/apis/apiextensions/v1beta1/custom_resource_definition.k +++ b/k8s/1.20/apiextensions_apiserver/pkg/apis/apiextensions/v1beta1/custom_resource_definition.k @@ -3,7 +3,7 @@ This is the custom_resource_definition module in k8s.apiextensions_apiserver.pkg This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CustomResourceDefinition: @@ -16,7 +16,7 @@ schema CustomResourceDefinition: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CustomResourceDefinition", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : CustomResourceDefinitionSpec, default is Undefined, required spec describes how the user wants the resources to appear @@ -27,7 +27,7 @@ schema CustomResourceDefinition: kind: "CustomResourceDefinition" = "CustomResourceDefinition" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CustomResourceDefinitionSpec diff --git a/k8s/1.20/apiextensions_apiserver/pkg/apis/apiextensions/v1beta1/custom_resource_definition_list.k b/k8s/1.20/apiextensions_apiserver/pkg/apis/apiextensions/v1beta1/custom_resource_definition_list.k index df4417b5..8d4519cd 100644 --- a/k8s/1.20/apiextensions_apiserver/pkg/apis/apiextensions/v1beta1/custom_resource_definition_list.k +++ b/k8s/1.20/apiextensions_apiserver/pkg/apis/apiextensions/v1beta1/custom_resource_definition_list.k @@ -3,7 +3,7 @@ This is the custom_resource_definition_list module in k8s.apiextensions_apiserve This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CustomResourceDefinitionList: @@ -18,7 +18,7 @@ schema CustomResourceDefinitionList: items list individual CustomResourceDefinition objects kind : str, default is "CustomResourceDefinitionList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema CustomResourceDefinitionList: kind: "CustomResourceDefinitionList" = "CustomResourceDefinitionList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/kcl.mod b/k8s/1.20/kcl.mod index 2c21ea38..d04469a7 100644 --- a/k8s/1.20/kcl.mod +++ b/k8s/1.20/kcl.mod @@ -1,5 +1,5 @@ [package] name = "k8s" edition = "*" -version = "1.20.1" +version = "1.20.2" description = "`k8s` is a KCL module contains all the built-in Kubernetes resource models (the CRDs are not included here)." diff --git a/k8s/1.20/kube_aggregator/pkg/apis/apiregistration/v1/api_service.k b/k8s/1.20/kube_aggregator/pkg/apis/apiregistration/v1/api_service.k index d7575e41..b9fd5e11 100644 --- a/k8s/1.20/kube_aggregator/pkg/apis/apiregistration/v1/api_service.k +++ b/k8s/1.20/kube_aggregator/pkg/apis/apiregistration/v1/api_service.k @@ -3,7 +3,7 @@ This is the api_service module in k8s.kube_aggregator.pkg.apis.apiregistration.v This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema APIService: @@ -16,7 +16,7 @@ schema APIService: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "APIService", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : APIServiceSpec, default is Undefined, optional Spec contains information for locating and communicating with a server @@ -27,7 +27,7 @@ schema APIService: kind: "APIService" = "APIService" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: APIServiceSpec diff --git a/k8s/1.20/kube_aggregator/pkg/apis/apiregistration/v1/api_service_list.k b/k8s/1.20/kube_aggregator/pkg/apis/apiregistration/v1/api_service_list.k index a4190ded..5f850817 100644 --- a/k8s/1.20/kube_aggregator/pkg/apis/apiregistration/v1/api_service_list.k +++ b/k8s/1.20/kube_aggregator/pkg/apis/apiregistration/v1/api_service_list.k @@ -3,7 +3,7 @@ This is the api_service_list module in k8s.kube_aggregator.pkg.apis.apiregistrat This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema APIServiceList: @@ -18,7 +18,7 @@ schema APIServiceList: items kind : str, default is "APIServiceList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema APIServiceList: kind: "APIServiceList" = "APIServiceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.20/kube_aggregator/pkg/apis/apiregistration/v1beta1/api_service.k b/k8s/1.20/kube_aggregator/pkg/apis/apiregistration/v1beta1/api_service.k index 5c0348eb..d88e6dfc 100644 --- a/k8s/1.20/kube_aggregator/pkg/apis/apiregistration/v1beta1/api_service.k +++ b/k8s/1.20/kube_aggregator/pkg/apis/apiregistration/v1beta1/api_service.k @@ -3,7 +3,7 @@ This is the api_service module in k8s.kube_aggregator.pkg.apis.apiregistration.v This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema APIService: @@ -16,7 +16,7 @@ schema APIService: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "APIService", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : APIServiceSpec, default is Undefined, optional Spec contains information for locating and communicating with a server @@ -27,7 +27,7 @@ schema APIService: kind: "APIService" = "APIService" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: APIServiceSpec diff --git a/k8s/1.20/kube_aggregator/pkg/apis/apiregistration/v1beta1/api_service_list.k b/k8s/1.20/kube_aggregator/pkg/apis/apiregistration/v1beta1/api_service_list.k index f829e37d..75989315 100644 --- a/k8s/1.20/kube_aggregator/pkg/apis/apiregistration/v1beta1/api_service_list.k +++ b/k8s/1.20/kube_aggregator/pkg/apis/apiregistration/v1beta1/api_service_list.k @@ -3,7 +3,7 @@ This is the api_service_list module in k8s.kube_aggregator.pkg.apis.apiregistrat This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema APIServiceList: @@ -18,7 +18,7 @@ schema APIServiceList: items kind : str, default is "APIServiceList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema APIServiceList: kind: "APIServiceList" = "APIServiceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/admissionregistration/v1/mutating_webhook.k b/k8s/1.21/api/admissionregistration/v1/mutating_webhook.k index 4743ed83..d250f3db 100644 --- a/k8s/1.21/api/admissionregistration/v1/mutating_webhook.k +++ b/k8s/1.21/api/admissionregistration/v1/mutating_webhook.k @@ -3,7 +3,7 @@ This is the mutating_webhook module in k8s.api.admissionregistration.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MutatingWebhook: @@ -28,7 +28,7 @@ schema MutatingWebhook: Defaults to "Equivalent" name : str, default is Undefined, required The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook. For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1"; you will set the selector as follows: "namespaceSelector": { @@ -60,7 +60,7 @@ schema MutatingWebhook: See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors. Default to the empty LabelSelector, which matches everything. - objectSelector : v1.LabelSelector, default is Undefined, optional + objectSelector : metav1.LabelSelector, default is Undefined, optional ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything. reinvocationPolicy : str, default is Undefined, optional reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded". @@ -89,9 +89,9 @@ schema MutatingWebhook: name: str - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector - objectSelector?: v1.LabelSelector + objectSelector?: metav1.LabelSelector reinvocationPolicy?: str diff --git a/k8s/1.21/api/admissionregistration/v1/mutating_webhook_configuration.k b/k8s/1.21/api/admissionregistration/v1/mutating_webhook_configuration.k index a9864b32..0c970740 100644 --- a/k8s/1.21/api/admissionregistration/v1/mutating_webhook_configuration.k +++ b/k8s/1.21/api/admissionregistration/v1/mutating_webhook_configuration.k @@ -3,7 +3,7 @@ This is the mutating_webhook_configuration module in k8s.api.admissionregistrati This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MutatingWebhookConfiguration: @@ -16,7 +16,7 @@ schema MutatingWebhookConfiguration: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "MutatingWebhookConfiguration", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. webhooks : [MutatingWebhook], default is Undefined, optional Webhooks is a list of webhooks and the affected resources and operations. @@ -27,7 +27,7 @@ schema MutatingWebhookConfiguration: kind: "MutatingWebhookConfiguration" = "MutatingWebhookConfiguration" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta webhooks?: [MutatingWebhook] diff --git a/k8s/1.21/api/admissionregistration/v1/mutating_webhook_configuration_list.k b/k8s/1.21/api/admissionregistration/v1/mutating_webhook_configuration_list.k index d4e15e81..b6fd6022 100644 --- a/k8s/1.21/api/admissionregistration/v1/mutating_webhook_configuration_list.k +++ b/k8s/1.21/api/admissionregistration/v1/mutating_webhook_configuration_list.k @@ -3,7 +3,7 @@ This is the mutating_webhook_configuration_list module in k8s.api.admissionregis This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MutatingWebhookConfigurationList: @@ -18,7 +18,7 @@ schema MutatingWebhookConfigurationList: List of MutatingWebhookConfiguration. kind : str, default is "MutatingWebhookConfigurationList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema MutatingWebhookConfigurationList: kind: "MutatingWebhookConfigurationList" = "MutatingWebhookConfigurationList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/admissionregistration/v1/validating_webhook.k b/k8s/1.21/api/admissionregistration/v1/validating_webhook.k index afc5dc6a..efec1e6a 100644 --- a/k8s/1.21/api/admissionregistration/v1/validating_webhook.k +++ b/k8s/1.21/api/admissionregistration/v1/validating_webhook.k @@ -3,7 +3,7 @@ This is the validating_webhook module in k8s.api.admissionregistration.v1 packag This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingWebhook: @@ -28,7 +28,7 @@ schema ValidatingWebhook: Defaults to "Equivalent" name : str, default is Undefined, required The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook. For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1"; you will set the selector as follows: "namespaceSelector": { @@ -60,7 +60,7 @@ schema ValidatingWebhook: See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels for more examples of label selectors. Default to the empty LabelSelector, which matches everything. - objectSelector : v1.LabelSelector, default is Undefined, optional + objectSelector : metav1.LabelSelector, default is Undefined, optional ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything. rules : [RuleWithOperations], default is Undefined, optional Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects. @@ -81,9 +81,9 @@ schema ValidatingWebhook: name: str - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector - objectSelector?: v1.LabelSelector + objectSelector?: metav1.LabelSelector rules?: [RuleWithOperations] diff --git a/k8s/1.21/api/admissionregistration/v1/validating_webhook_configuration.k b/k8s/1.21/api/admissionregistration/v1/validating_webhook_configuration.k index 2b45293a..e35bb335 100644 --- a/k8s/1.21/api/admissionregistration/v1/validating_webhook_configuration.k +++ b/k8s/1.21/api/admissionregistration/v1/validating_webhook_configuration.k @@ -3,7 +3,7 @@ This is the validating_webhook_configuration module in k8s.api.admissionregistra This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingWebhookConfiguration: @@ -16,7 +16,7 @@ schema ValidatingWebhookConfiguration: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ValidatingWebhookConfiguration", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. webhooks : [ValidatingWebhook], default is Undefined, optional Webhooks is a list of webhooks and the affected resources and operations. @@ -27,7 +27,7 @@ schema ValidatingWebhookConfiguration: kind: "ValidatingWebhookConfiguration" = "ValidatingWebhookConfiguration" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta webhooks?: [ValidatingWebhook] diff --git a/k8s/1.21/api/admissionregistration/v1/validating_webhook_configuration_list.k b/k8s/1.21/api/admissionregistration/v1/validating_webhook_configuration_list.k index 0515b188..2691da1c 100644 --- a/k8s/1.21/api/admissionregistration/v1/validating_webhook_configuration_list.k +++ b/k8s/1.21/api/admissionregistration/v1/validating_webhook_configuration_list.k @@ -3,7 +3,7 @@ This is the validating_webhook_configuration_list module in k8s.api.admissionreg This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingWebhookConfigurationList: @@ -18,7 +18,7 @@ schema ValidatingWebhookConfigurationList: List of ValidatingWebhookConfiguration. kind : str, default is "ValidatingWebhookConfigurationList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ValidatingWebhookConfigurationList: kind: "ValidatingWebhookConfigurationList" = "ValidatingWebhookConfigurationList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/admissionregistration/v1beta1/mutating_webhook.k b/k8s/1.21/api/admissionregistration/v1beta1/mutating_webhook.k index 9d08c842..0e29f9ba 100644 --- a/k8s/1.21/api/admissionregistration/v1beta1/mutating_webhook.k +++ b/k8s/1.21/api/admissionregistration/v1beta1/mutating_webhook.k @@ -3,7 +3,7 @@ This is the mutating_webhook module in k8s.api.admissionregistration.v1beta1 pac This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MutatingWebhook: @@ -28,7 +28,7 @@ schema MutatingWebhook: Defaults to "Exact" name : str, default is Undefined, required The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook. For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1"; you will set the selector as follows: "namespaceSelector": { @@ -60,7 +60,7 @@ schema MutatingWebhook: See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors. Default to the empty LabelSelector, which matches everything. - objectSelector : v1.LabelSelector, default is Undefined, optional + objectSelector : metav1.LabelSelector, default is Undefined, optional ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything. reinvocationPolicy : str, default is Undefined, optional reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded". @@ -89,9 +89,9 @@ schema MutatingWebhook: name: str - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector - objectSelector?: v1.LabelSelector + objectSelector?: metav1.LabelSelector reinvocationPolicy?: str diff --git a/k8s/1.21/api/admissionregistration/v1beta1/mutating_webhook_configuration.k b/k8s/1.21/api/admissionregistration/v1beta1/mutating_webhook_configuration.k index 6393b519..25598a7d 100644 --- a/k8s/1.21/api/admissionregistration/v1beta1/mutating_webhook_configuration.k +++ b/k8s/1.21/api/admissionregistration/v1beta1/mutating_webhook_configuration.k @@ -3,7 +3,7 @@ This is the mutating_webhook_configuration module in k8s.api.admissionregistrati This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MutatingWebhookConfiguration: @@ -16,7 +16,7 @@ schema MutatingWebhookConfiguration: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "MutatingWebhookConfiguration", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. webhooks : [MutatingWebhook], default is Undefined, optional Webhooks is a list of webhooks and the affected resources and operations. @@ -27,7 +27,7 @@ schema MutatingWebhookConfiguration: kind: "MutatingWebhookConfiguration" = "MutatingWebhookConfiguration" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta webhooks?: [MutatingWebhook] diff --git a/k8s/1.21/api/admissionregistration/v1beta1/mutating_webhook_configuration_list.k b/k8s/1.21/api/admissionregistration/v1beta1/mutating_webhook_configuration_list.k index 12c40d69..a56f0976 100644 --- a/k8s/1.21/api/admissionregistration/v1beta1/mutating_webhook_configuration_list.k +++ b/k8s/1.21/api/admissionregistration/v1beta1/mutating_webhook_configuration_list.k @@ -3,7 +3,7 @@ This is the mutating_webhook_configuration_list module in k8s.api.admissionregis This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MutatingWebhookConfigurationList: @@ -18,7 +18,7 @@ schema MutatingWebhookConfigurationList: List of MutatingWebhookConfiguration. kind : str, default is "MutatingWebhookConfigurationList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema MutatingWebhookConfigurationList: kind: "MutatingWebhookConfigurationList" = "MutatingWebhookConfigurationList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/admissionregistration/v1beta1/validating_webhook.k b/k8s/1.21/api/admissionregistration/v1beta1/validating_webhook.k index 9f4c6b73..bc4cf780 100644 --- a/k8s/1.21/api/admissionregistration/v1beta1/validating_webhook.k +++ b/k8s/1.21/api/admissionregistration/v1beta1/validating_webhook.k @@ -3,7 +3,7 @@ This is the validating_webhook module in k8s.api.admissionregistration.v1beta1 p This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingWebhook: @@ -28,7 +28,7 @@ schema ValidatingWebhook: Defaults to "Exact" name : str, default is Undefined, required The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook. For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1"; you will set the selector as follows: "namespaceSelector": { @@ -60,7 +60,7 @@ schema ValidatingWebhook: See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels for more examples of label selectors. Default to the empty LabelSelector, which matches everything. - objectSelector : v1.LabelSelector, default is Undefined, optional + objectSelector : metav1.LabelSelector, default is Undefined, optional ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything. rules : [RuleWithOperations], default is Undefined, optional Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects. @@ -81,9 +81,9 @@ schema ValidatingWebhook: name: str - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector - objectSelector?: v1.LabelSelector + objectSelector?: metav1.LabelSelector rules?: [RuleWithOperations] diff --git a/k8s/1.21/api/admissionregistration/v1beta1/validating_webhook_configuration.k b/k8s/1.21/api/admissionregistration/v1beta1/validating_webhook_configuration.k index 9aff9003..9d848985 100644 --- a/k8s/1.21/api/admissionregistration/v1beta1/validating_webhook_configuration.k +++ b/k8s/1.21/api/admissionregistration/v1beta1/validating_webhook_configuration.k @@ -3,7 +3,7 @@ This is the validating_webhook_configuration module in k8s.api.admissionregistra This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingWebhookConfiguration: @@ -16,7 +16,7 @@ schema ValidatingWebhookConfiguration: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ValidatingWebhookConfiguration", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. webhooks : [ValidatingWebhook], default is Undefined, optional Webhooks is a list of webhooks and the affected resources and operations. @@ -27,7 +27,7 @@ schema ValidatingWebhookConfiguration: kind: "ValidatingWebhookConfiguration" = "ValidatingWebhookConfiguration" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta webhooks?: [ValidatingWebhook] diff --git a/k8s/1.21/api/admissionregistration/v1beta1/validating_webhook_configuration_list.k b/k8s/1.21/api/admissionregistration/v1beta1/validating_webhook_configuration_list.k index 53370083..64780e0f 100644 --- a/k8s/1.21/api/admissionregistration/v1beta1/validating_webhook_configuration_list.k +++ b/k8s/1.21/api/admissionregistration/v1beta1/validating_webhook_configuration_list.k @@ -3,7 +3,7 @@ This is the validating_webhook_configuration_list module in k8s.api.admissionreg This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingWebhookConfigurationList: @@ -18,7 +18,7 @@ schema ValidatingWebhookConfigurationList: List of ValidatingWebhookConfiguration. kind : str, default is "ValidatingWebhookConfigurationList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ValidatingWebhookConfigurationList: kind: "ValidatingWebhookConfigurationList" = "ValidatingWebhookConfigurationList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/apiserverinternal/v1alpha1/storage_version.k b/k8s/1.21/api/apiserverinternal/v1alpha1/storage_version.k index fbc9f49e..b596ba45 100644 --- a/k8s/1.21/api/apiserverinternal/v1alpha1/storage_version.k +++ b/k8s/1.21/api/apiserverinternal/v1alpha1/storage_version.k @@ -3,7 +3,7 @@ This is the storage_version module in k8s.api.apiserverinternal.v1alpha1 package This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StorageVersion: @@ -17,7 +17,7 @@ schema StorageVersion: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "StorageVersion", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional The name is .. spec : any, default is Undefined, required Spec is an empty spec. It is here to comply with Kubernetes API style. @@ -28,7 +28,7 @@ schema StorageVersion: kind: "StorageVersion" = "StorageVersion" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: any diff --git a/k8s/1.21/api/apiserverinternal/v1alpha1/storage_version_list.k b/k8s/1.21/api/apiserverinternal/v1alpha1/storage_version_list.k index ef1c227e..1e93af91 100644 --- a/k8s/1.21/api/apiserverinternal/v1alpha1/storage_version_list.k +++ b/k8s/1.21/api/apiserverinternal/v1alpha1/storage_version_list.k @@ -3,7 +3,7 @@ This is the storage_version_list module in k8s.api.apiserverinternal.v1alpha1 pa This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StorageVersionList: @@ -18,7 +18,7 @@ schema StorageVersionList: items kind : str, default is "StorageVersionList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema StorageVersionList: kind: "StorageVersionList" = "StorageVersionList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/apps/v1/controller_revision.k b/k8s/1.21/api/apps/v1/controller_revision.k index dbb3d441..56163182 100644 --- a/k8s/1.21/api/apps/v1/controller_revision.k +++ b/k8s/1.21/api/apps/v1/controller_revision.k @@ -3,7 +3,7 @@ This is the controller_revision module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ControllerRevision: @@ -18,7 +18,7 @@ schema ControllerRevision: Data is the serialized representation of the state. kind : str, default is "ControllerRevision", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata revision : int, default is Undefined, required Revision indicates the revision of the state represented by Data. @@ -31,7 +31,7 @@ schema ControllerRevision: kind: "ControllerRevision" = "ControllerRevision" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta revision: int diff --git a/k8s/1.21/api/apps/v1/controller_revision_list.k b/k8s/1.21/api/apps/v1/controller_revision_list.k index e145fcff..bb64d1fe 100644 --- a/k8s/1.21/api/apps/v1/controller_revision_list.k +++ b/k8s/1.21/api/apps/v1/controller_revision_list.k @@ -3,7 +3,7 @@ This is the controller_revision_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ControllerRevisionList: @@ -18,7 +18,7 @@ schema ControllerRevisionList: Items is the list of ControllerRevisions kind : str, default is "ControllerRevisionList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema ControllerRevisionList: kind: "ControllerRevisionList" = "ControllerRevisionList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/apps/v1/daemon_set.k b/k8s/1.21/api/apps/v1/daemon_set.k index 33e7b68b..fd1c7c20 100644 --- a/k8s/1.21/api/apps/v1/daemon_set.k +++ b/k8s/1.21/api/apps/v1/daemon_set.k @@ -3,7 +3,7 @@ This is the daemon_set module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DaemonSet: @@ -16,7 +16,7 @@ schema DaemonSet: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "DaemonSet", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : DaemonSetSpec, default is Undefined, optional The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema DaemonSet: kind: "DaemonSet" = "DaemonSet" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: DaemonSetSpec diff --git a/k8s/1.21/api/apps/v1/daemon_set_list.k b/k8s/1.21/api/apps/v1/daemon_set_list.k index 3515d999..795c26f8 100644 --- a/k8s/1.21/api/apps/v1/daemon_set_list.k +++ b/k8s/1.21/api/apps/v1/daemon_set_list.k @@ -3,7 +3,7 @@ This is the daemon_set_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DaemonSetList: @@ -18,7 +18,7 @@ schema DaemonSetList: A list of daemon sets. kind : str, default is "DaemonSetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema DaemonSetList: kind: "DaemonSetList" = "DaemonSetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/apps/v1/daemon_set_spec.k b/k8s/1.21/api/apps/v1/daemon_set_spec.k index caf3faf8..352f849c 100644 --- a/k8s/1.21/api/apps/v1/daemon_set_spec.k +++ b/k8s/1.21/api/apps/v1/daemon_set_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DaemonSetSpec: @@ -17,7 +17,7 @@ schema DaemonSetSpec: The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready). revisionHistoryLimit : int, default is Undefined, optional The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required A label query over pods that are managed by the daemon set. Must match in order to be controlled. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors template : corev1.PodTemplateSpec, default is Undefined, required An object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template @@ -30,7 +30,7 @@ schema DaemonSetSpec: revisionHistoryLimit?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector template: corev1.PodTemplateSpec diff --git a/k8s/1.21/api/apps/v1/deployment.k b/k8s/1.21/api/apps/v1/deployment.k index 9b4af78c..6572679c 100644 --- a/k8s/1.21/api/apps/v1/deployment.k +++ b/k8s/1.21/api/apps/v1/deployment.k @@ -3,7 +3,7 @@ This is the deployment module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Deployment: @@ -16,7 +16,7 @@ schema Deployment: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Deployment", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. spec : DeploymentSpec, default is Undefined, optional Specification of the desired behavior of the Deployment. @@ -27,7 +27,7 @@ schema Deployment: kind: "Deployment" = "Deployment" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: DeploymentSpec diff --git a/k8s/1.21/api/apps/v1/deployment_list.k b/k8s/1.21/api/apps/v1/deployment_list.k index a83ce0d5..8fa44e9b 100644 --- a/k8s/1.21/api/apps/v1/deployment_list.k +++ b/k8s/1.21/api/apps/v1/deployment_list.k @@ -3,7 +3,7 @@ This is the deployment_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DeploymentList: @@ -18,7 +18,7 @@ schema DeploymentList: Items is the list of Deployments. kind : str, default is "DeploymentList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema DeploymentList: kind: "DeploymentList" = "DeploymentList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/apps/v1/deployment_spec.k b/k8s/1.21/api/apps/v1/deployment_spec.k index b8591d9a..c0f14ef0 100644 --- a/k8s/1.21/api/apps/v1/deployment_spec.k +++ b/k8s/1.21/api/apps/v1/deployment_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DeploymentSpec: @@ -23,7 +23,7 @@ schema DeploymentSpec: Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1. revisionHistoryLimit : int, default is Undefined, optional The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. It must match the pod template's labels. strategy : DeploymentStrategy, default is Undefined, optional The deployment strategy to use to replace existing pods with new ones. @@ -42,7 +42,7 @@ schema DeploymentSpec: revisionHistoryLimit?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector strategy?: DeploymentStrategy diff --git a/k8s/1.21/api/apps/v1/replica_set.k b/k8s/1.21/api/apps/v1/replica_set.k index 0497ff66..79552175 100644 --- a/k8s/1.21/api/apps/v1/replica_set.k +++ b/k8s/1.21/api/apps/v1/replica_set.k @@ -3,7 +3,7 @@ This is the replica_set module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicaSet: @@ -16,7 +16,7 @@ schema ReplicaSet: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ReplicaSet", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : ReplicaSetSpec, default is Undefined, optional Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema ReplicaSet: kind: "ReplicaSet" = "ReplicaSet" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ReplicaSetSpec diff --git a/k8s/1.21/api/apps/v1/replica_set_list.k b/k8s/1.21/api/apps/v1/replica_set_list.k index 0e25bef7..689ca9bb 100644 --- a/k8s/1.21/api/apps/v1/replica_set_list.k +++ b/k8s/1.21/api/apps/v1/replica_set_list.k @@ -3,7 +3,7 @@ This is the replica_set_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicaSetList: @@ -18,7 +18,7 @@ schema ReplicaSetList: List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller kind : str, default is "ReplicaSetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ReplicaSetList: kind: "ReplicaSetList" = "ReplicaSetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/apps/v1/replica_set_spec.k b/k8s/1.21/api/apps/v1/replica_set_spec.k index 700810d3..53ae3f6f 100644 --- a/k8s/1.21/api/apps/v1/replica_set_spec.k +++ b/k8s/1.21/api/apps/v1/replica_set_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicaSetSpec: @@ -17,7 +17,7 @@ schema ReplicaSetSpec: Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) replicas : int, default is Undefined, optional Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required Selector is a label query over pods that should match the replica count. Label keys and values that must match in order to be controlled by this replica set. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors template : corev1.PodTemplateSpec, default is Undefined, optional Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template @@ -28,7 +28,7 @@ schema ReplicaSetSpec: replicas?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector template?: corev1.PodTemplateSpec diff --git a/k8s/1.21/api/apps/v1/stateful_set.k b/k8s/1.21/api/apps/v1/stateful_set.k index d069bd3c..1ae50fc7 100644 --- a/k8s/1.21/api/apps/v1/stateful_set.k +++ b/k8s/1.21/api/apps/v1/stateful_set.k @@ -3,7 +3,7 @@ This is the stateful_set module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StatefulSet: @@ -19,7 +19,7 @@ schema StatefulSet: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "StatefulSet", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : StatefulSetSpec, default is Undefined, optional Spec defines the desired identities of pods in this set. @@ -30,7 +30,7 @@ schema StatefulSet: kind: "StatefulSet" = "StatefulSet" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: StatefulSetSpec diff --git a/k8s/1.21/api/apps/v1/stateful_set_list.k b/k8s/1.21/api/apps/v1/stateful_set_list.k index cb8e7543..96301762 100644 --- a/k8s/1.21/api/apps/v1/stateful_set_list.k +++ b/k8s/1.21/api/apps/v1/stateful_set_list.k @@ -3,7 +3,7 @@ This is the stateful_set_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StatefulSetList: @@ -18,7 +18,7 @@ schema StatefulSetList: items kind : str, default is "StatefulSetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema StatefulSetList: kind: "StatefulSetList" = "StatefulSetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/apps/v1/stateful_set_spec.k b/k8s/1.21/api/apps/v1/stateful_set_spec.k index 4deeb5ed..14e6e0ee 100644 --- a/k8s/1.21/api/apps/v1/stateful_set_spec.k +++ b/k8s/1.21/api/apps/v1/stateful_set_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StatefulSetSpec: @@ -19,7 +19,7 @@ schema StatefulSetSpec: replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1. revisionHistoryLimit : int, default is Undefined, optional revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10. - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required selector is a label query over pods that should match the replica count. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors serviceName : str, default is Undefined, required serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where "pod-specific-string" is managed by the StatefulSet controller. @@ -38,7 +38,7 @@ schema StatefulSetSpec: revisionHistoryLimit?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector serviceName: str diff --git a/k8s/1.21/api/authentication/v1/token_request.k b/k8s/1.21/api/authentication/v1/token_request.k index 66d2e5e8..42e94dd8 100644 --- a/k8s/1.21/api/authentication/v1/token_request.k +++ b/k8s/1.21/api/authentication/v1/token_request.k @@ -3,7 +3,7 @@ This is the token_request module in k8s.api.authentication.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema TokenRequest: @@ -16,7 +16,7 @@ schema TokenRequest: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "TokenRequest", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : TokenRequestSpec, default is Undefined, required spec @@ -27,7 +27,7 @@ schema TokenRequest: kind: "TokenRequest" = "TokenRequest" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: TokenRequestSpec diff --git a/k8s/1.21/api/authentication/v1/token_review.k b/k8s/1.21/api/authentication/v1/token_review.k index c125cf34..eccc8ac7 100644 --- a/k8s/1.21/api/authentication/v1/token_review.k +++ b/k8s/1.21/api/authentication/v1/token_review.k @@ -3,7 +3,7 @@ This is the token_review module in k8s.api.authentication.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema TokenReview: @@ -16,7 +16,7 @@ schema TokenReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "TokenReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : TokenReviewSpec, default is Undefined, required Spec holds information about the request being evaluated @@ -27,7 +27,7 @@ schema TokenReview: kind: "TokenReview" = "TokenReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: TokenReviewSpec diff --git a/k8s/1.21/api/authentication/v1beta1/token_review.k b/k8s/1.21/api/authentication/v1beta1/token_review.k index 99abe8f4..b35b35ae 100644 --- a/k8s/1.21/api/authentication/v1beta1/token_review.k +++ b/k8s/1.21/api/authentication/v1beta1/token_review.k @@ -3,7 +3,7 @@ This is the token_review module in k8s.api.authentication.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema TokenReview: @@ -16,7 +16,7 @@ schema TokenReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "TokenReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : TokenReviewSpec, default is Undefined, required Spec holds information about the request being evaluated @@ -27,7 +27,7 @@ schema TokenReview: kind: "TokenReview" = "TokenReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: TokenReviewSpec diff --git a/k8s/1.21/api/authorization/v1/local_subject_access_review.k b/k8s/1.21/api/authorization/v1/local_subject_access_review.k index c9626db7..1c64a48c 100644 --- a/k8s/1.21/api/authorization/v1/local_subject_access_review.k +++ b/k8s/1.21/api/authorization/v1/local_subject_access_review.k @@ -3,7 +3,7 @@ This is the local_subject_access_review module in k8s.api.authorization.v1 packa This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LocalSubjectAccessReview: @@ -16,7 +16,7 @@ schema LocalSubjectAccessReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "LocalSubjectAccessReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : SubjectAccessReviewSpec, default is Undefined, required Spec holds information about the request being evaluated. spec.namespace must be equal to the namespace you made the request against. If empty, it is defaulted. @@ -27,7 +27,7 @@ schema LocalSubjectAccessReview: kind: "LocalSubjectAccessReview" = "LocalSubjectAccessReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SubjectAccessReviewSpec diff --git a/k8s/1.21/api/authorization/v1/self_subject_access_review.k b/k8s/1.21/api/authorization/v1/self_subject_access_review.k index 3de47c38..8ddd2611 100644 --- a/k8s/1.21/api/authorization/v1/self_subject_access_review.k +++ b/k8s/1.21/api/authorization/v1/self_subject_access_review.k @@ -3,7 +3,7 @@ This is the self_subject_access_review module in k8s.api.authorization.v1 packag This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SelfSubjectAccessReview: @@ -16,7 +16,7 @@ schema SelfSubjectAccessReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SelfSubjectAccessReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : SelfSubjectAccessReviewSpec, default is Undefined, required Spec holds information about the request being evaluated. user and groups must be empty @@ -27,7 +27,7 @@ schema SelfSubjectAccessReview: kind: "SelfSubjectAccessReview" = "SelfSubjectAccessReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SelfSubjectAccessReviewSpec diff --git a/k8s/1.21/api/authorization/v1/self_subject_rules_review.k b/k8s/1.21/api/authorization/v1/self_subject_rules_review.k index ad99c589..16ec3f9f 100644 --- a/k8s/1.21/api/authorization/v1/self_subject_rules_review.k +++ b/k8s/1.21/api/authorization/v1/self_subject_rules_review.k @@ -3,7 +3,7 @@ This is the self_subject_rules_review module in k8s.api.authorization.v1 package This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SelfSubjectRulesReview: @@ -16,7 +16,7 @@ schema SelfSubjectRulesReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SelfSubjectRulesReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : SelfSubjectRulesReviewSpec, default is Undefined, required Spec holds information about the request being evaluated. @@ -27,7 +27,7 @@ schema SelfSubjectRulesReview: kind: "SelfSubjectRulesReview" = "SelfSubjectRulesReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SelfSubjectRulesReviewSpec diff --git a/k8s/1.21/api/authorization/v1/subject_access_review.k b/k8s/1.21/api/authorization/v1/subject_access_review.k index 63054bce..92ace799 100644 --- a/k8s/1.21/api/authorization/v1/subject_access_review.k +++ b/k8s/1.21/api/authorization/v1/subject_access_review.k @@ -3,7 +3,7 @@ This is the subject_access_review module in k8s.api.authorization.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SubjectAccessReview: @@ -16,7 +16,7 @@ schema SubjectAccessReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SubjectAccessReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : SubjectAccessReviewSpec, default is Undefined, required Spec holds information about the request being evaluated @@ -27,7 +27,7 @@ schema SubjectAccessReview: kind: "SubjectAccessReview" = "SubjectAccessReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SubjectAccessReviewSpec diff --git a/k8s/1.21/api/authorization/v1beta1/local_subject_access_review.k b/k8s/1.21/api/authorization/v1beta1/local_subject_access_review.k index 687ff5e1..54883a47 100644 --- a/k8s/1.21/api/authorization/v1beta1/local_subject_access_review.k +++ b/k8s/1.21/api/authorization/v1beta1/local_subject_access_review.k @@ -3,7 +3,7 @@ This is the local_subject_access_review module in k8s.api.authorization.v1beta1 This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LocalSubjectAccessReview: @@ -16,7 +16,7 @@ schema LocalSubjectAccessReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "LocalSubjectAccessReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : SubjectAccessReviewSpec, default is Undefined, required Spec holds information about the request being evaluated. spec.namespace must be equal to the namespace you made the request against. If empty, it is defaulted. @@ -27,7 +27,7 @@ schema LocalSubjectAccessReview: kind: "LocalSubjectAccessReview" = "LocalSubjectAccessReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SubjectAccessReviewSpec diff --git a/k8s/1.21/api/authorization/v1beta1/self_subject_access_review.k b/k8s/1.21/api/authorization/v1beta1/self_subject_access_review.k index 05c83084..ee819623 100644 --- a/k8s/1.21/api/authorization/v1beta1/self_subject_access_review.k +++ b/k8s/1.21/api/authorization/v1beta1/self_subject_access_review.k @@ -3,7 +3,7 @@ This is the self_subject_access_review module in k8s.api.authorization.v1beta1 p This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SelfSubjectAccessReview: @@ -16,7 +16,7 @@ schema SelfSubjectAccessReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SelfSubjectAccessReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : SelfSubjectAccessReviewSpec, default is Undefined, required Spec holds information about the request being evaluated. user and groups must be empty @@ -27,7 +27,7 @@ schema SelfSubjectAccessReview: kind: "SelfSubjectAccessReview" = "SelfSubjectAccessReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SelfSubjectAccessReviewSpec diff --git a/k8s/1.21/api/authorization/v1beta1/self_subject_rules_review.k b/k8s/1.21/api/authorization/v1beta1/self_subject_rules_review.k index a71edd4d..51a41f51 100644 --- a/k8s/1.21/api/authorization/v1beta1/self_subject_rules_review.k +++ b/k8s/1.21/api/authorization/v1beta1/self_subject_rules_review.k @@ -3,7 +3,7 @@ This is the self_subject_rules_review module in k8s.api.authorization.v1beta1 pa This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SelfSubjectRulesReview: @@ -16,7 +16,7 @@ schema SelfSubjectRulesReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SelfSubjectRulesReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : SelfSubjectRulesReviewSpec, default is Undefined, required Spec holds information about the request being evaluated. @@ -27,7 +27,7 @@ schema SelfSubjectRulesReview: kind: "SelfSubjectRulesReview" = "SelfSubjectRulesReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SelfSubjectRulesReviewSpec diff --git a/k8s/1.21/api/authorization/v1beta1/subject_access_review.k b/k8s/1.21/api/authorization/v1beta1/subject_access_review.k index e28f6eed..9dcea762 100644 --- a/k8s/1.21/api/authorization/v1beta1/subject_access_review.k +++ b/k8s/1.21/api/authorization/v1beta1/subject_access_review.k @@ -3,7 +3,7 @@ This is the subject_access_review module in k8s.api.authorization.v1beta1 packag This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SubjectAccessReview: @@ -16,7 +16,7 @@ schema SubjectAccessReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SubjectAccessReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : SubjectAccessReviewSpec, default is Undefined, required Spec holds information about the request being evaluated @@ -27,7 +27,7 @@ schema SubjectAccessReview: kind: "SubjectAccessReview" = "SubjectAccessReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SubjectAccessReviewSpec diff --git a/k8s/1.21/api/autoscaling/v1/horizontal_pod_autoscaler.k b/k8s/1.21/api/autoscaling/v1/horizontal_pod_autoscaler.k index eea68027..b81a2839 100644 --- a/k8s/1.21/api/autoscaling/v1/horizontal_pod_autoscaler.k +++ b/k8s/1.21/api/autoscaling/v1/horizontal_pod_autoscaler.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler module in k8s.api.autoscaling.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscaler: @@ -16,7 +16,7 @@ schema HorizontalPodAutoscaler: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "HorizontalPodAutoscaler", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : HorizontalPodAutoscalerSpec, default is Undefined, optional behaviour of autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema HorizontalPodAutoscaler: kind: "HorizontalPodAutoscaler" = "HorizontalPodAutoscaler" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: HorizontalPodAutoscalerSpec diff --git a/k8s/1.21/api/autoscaling/v1/horizontal_pod_autoscaler_list.k b/k8s/1.21/api/autoscaling/v1/horizontal_pod_autoscaler_list.k index 829f7b8b..40a58fe3 100644 --- a/k8s/1.21/api/autoscaling/v1/horizontal_pod_autoscaler_list.k +++ b/k8s/1.21/api/autoscaling/v1/horizontal_pod_autoscaler_list.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler_list module in k8s.api.autoscaling.v1 pack This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscalerList: @@ -18,7 +18,7 @@ schema HorizontalPodAutoscalerList: list of horizontal pod autoscaler objects. kind : str, default is "HorizontalPodAutoscalerList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema HorizontalPodAutoscalerList: kind: "HorizontalPodAutoscalerList" = "HorizontalPodAutoscalerList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/autoscaling/v1/scale.k b/k8s/1.21/api/autoscaling/v1/scale.k index d9bbdae4..1466aa0e 100644 --- a/k8s/1.21/api/autoscaling/v1/scale.k +++ b/k8s/1.21/api/autoscaling/v1/scale.k @@ -3,7 +3,7 @@ This is the scale module in k8s.api.autoscaling.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Scale: @@ -16,7 +16,7 @@ schema Scale: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Scale", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. spec : ScaleSpec, default is Undefined, optional defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema Scale: kind: "Scale" = "Scale" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ScaleSpec diff --git a/k8s/1.21/api/autoscaling/v2beta1/external_metric_source.k b/k8s/1.21/api/autoscaling/v2beta1/external_metric_source.k index 23887048..b1ff85f3 100644 --- a/k8s/1.21/api/autoscaling/v2beta1/external_metric_source.k +++ b/k8s/1.21/api/autoscaling/v2beta1/external_metric_source.k @@ -3,7 +3,7 @@ This is the external_metric_source module in k8s.api.autoscaling.v2beta1 package This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ExternalMetricSource: @@ -14,7 +14,7 @@ schema ExternalMetricSource: ---------- metricName : str, default is Undefined, required metricName is the name of the metric in question. - metricSelector : v1.LabelSelector, default is Undefined, optional + metricSelector : metav1.LabelSelector, default is Undefined, optional metricSelector is used to identify a specific time series within a given metric. targetAverageValue : str, default is Undefined, optional targetAverageValue is the target per-pod value of global metric (as a quantity). Mutually exclusive with TargetValue. @@ -25,7 +25,7 @@ schema ExternalMetricSource: metricName: str - metricSelector?: v1.LabelSelector + metricSelector?: metav1.LabelSelector targetAverageValue?: str diff --git a/k8s/1.21/api/autoscaling/v2beta1/external_metric_status.k b/k8s/1.21/api/autoscaling/v2beta1/external_metric_status.k index 507ffd14..39a87bad 100644 --- a/k8s/1.21/api/autoscaling/v2beta1/external_metric_status.k +++ b/k8s/1.21/api/autoscaling/v2beta1/external_metric_status.k @@ -3,7 +3,7 @@ This is the external_metric_status module in k8s.api.autoscaling.v2beta1 package This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ExternalMetricStatus: @@ -18,7 +18,7 @@ schema ExternalMetricStatus: currentValue is the current value of the metric (as a quantity) metricName : str, default is Undefined, required metricName is the name of a metric used for autoscaling in metric system. - metricSelector : v1.LabelSelector, default is Undefined, optional + metricSelector : metav1.LabelSelector, default is Undefined, optional metricSelector is used to identify a specific time series within a given metric. """ @@ -29,6 +29,6 @@ schema ExternalMetricStatus: metricName: str - metricSelector?: v1.LabelSelector + metricSelector?: metav1.LabelSelector diff --git a/k8s/1.21/api/autoscaling/v2beta1/horizontal_pod_autoscaler.k b/k8s/1.21/api/autoscaling/v2beta1/horizontal_pod_autoscaler.k index 47c8b64c..4ea3ff99 100644 --- a/k8s/1.21/api/autoscaling/v2beta1/horizontal_pod_autoscaler.k +++ b/k8s/1.21/api/autoscaling/v2beta1/horizontal_pod_autoscaler.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler module in k8s.api.autoscaling.v2beta1 pack This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscaler: @@ -16,7 +16,7 @@ schema HorizontalPodAutoscaler: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "HorizontalPodAutoscaler", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : HorizontalPodAutoscalerSpec, default is Undefined, optional spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema HorizontalPodAutoscaler: kind: "HorizontalPodAutoscaler" = "HorizontalPodAutoscaler" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: HorizontalPodAutoscalerSpec diff --git a/k8s/1.21/api/autoscaling/v2beta1/horizontal_pod_autoscaler_list.k b/k8s/1.21/api/autoscaling/v2beta1/horizontal_pod_autoscaler_list.k index 95381428..4629310f 100644 --- a/k8s/1.21/api/autoscaling/v2beta1/horizontal_pod_autoscaler_list.k +++ b/k8s/1.21/api/autoscaling/v2beta1/horizontal_pod_autoscaler_list.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler_list module in k8s.api.autoscaling.v2beta1 This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscalerList: @@ -18,7 +18,7 @@ schema HorizontalPodAutoscalerList: items is the list of horizontal pod autoscaler objects. kind : str, default is "HorizontalPodAutoscalerList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata is the standard list metadata. """ @@ -29,6 +29,6 @@ schema HorizontalPodAutoscalerList: kind: "HorizontalPodAutoscalerList" = "HorizontalPodAutoscalerList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/autoscaling/v2beta1/object_metric_source.k b/k8s/1.21/api/autoscaling/v2beta1/object_metric_source.k index a8ff4213..af8d307f 100644 --- a/k8s/1.21/api/autoscaling/v2beta1/object_metric_source.k +++ b/k8s/1.21/api/autoscaling/v2beta1/object_metric_source.k @@ -3,7 +3,7 @@ This is the object_metric_source module in k8s.api.autoscaling.v2beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ObjectMetricSource: @@ -16,7 +16,7 @@ schema ObjectMetricSource: averageValue is the target value of the average of the metric across all relevant pods (as a quantity) metricName : str, default is Undefined, required metricName is the name of the metric in question. - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics. target : CrossVersionObjectReference, default is Undefined, required target is the described Kubernetes object. @@ -29,7 +29,7 @@ schema ObjectMetricSource: metricName: str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector target: CrossVersionObjectReference diff --git a/k8s/1.21/api/autoscaling/v2beta1/object_metric_status.k b/k8s/1.21/api/autoscaling/v2beta1/object_metric_status.k index 39aeb9de..b7054bd5 100644 --- a/k8s/1.21/api/autoscaling/v2beta1/object_metric_status.k +++ b/k8s/1.21/api/autoscaling/v2beta1/object_metric_status.k @@ -3,7 +3,7 @@ This is the object_metric_status module in k8s.api.autoscaling.v2beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ObjectMetricStatus: @@ -18,7 +18,7 @@ schema ObjectMetricStatus: currentValue is the current value of the metric (as a quantity). metricName : str, default is Undefined, required metricName is the name of the metric in question. - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the ObjectMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics. target : CrossVersionObjectReference, default is Undefined, required target is the described Kubernetes object. @@ -31,7 +31,7 @@ schema ObjectMetricStatus: metricName: str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector target: CrossVersionObjectReference diff --git a/k8s/1.21/api/autoscaling/v2beta1/pods_metric_source.k b/k8s/1.21/api/autoscaling/v2beta1/pods_metric_source.k index ee0111ef..850fcd7b 100644 --- a/k8s/1.21/api/autoscaling/v2beta1/pods_metric_source.k +++ b/k8s/1.21/api/autoscaling/v2beta1/pods_metric_source.k @@ -3,7 +3,7 @@ This is the pods_metric_source module in k8s.api.autoscaling.v2beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodsMetricSource: @@ -14,7 +14,7 @@ schema PodsMetricSource: ---------- metricName : str, default is Undefined, required metricName is the name of the metric in question - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics. targetAverageValue : str, default is Undefined, required targetAverageValue is the target value of the average of the metric across all relevant pods (as a quantity) @@ -23,7 +23,7 @@ schema PodsMetricSource: metricName: str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector targetAverageValue: str diff --git a/k8s/1.21/api/autoscaling/v2beta1/pods_metric_status.k b/k8s/1.21/api/autoscaling/v2beta1/pods_metric_status.k index 2d8c30c0..0792b4d4 100644 --- a/k8s/1.21/api/autoscaling/v2beta1/pods_metric_status.k +++ b/k8s/1.21/api/autoscaling/v2beta1/pods_metric_status.k @@ -3,7 +3,7 @@ This is the pods_metric_status module in k8s.api.autoscaling.v2beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodsMetricStatus: @@ -16,7 +16,7 @@ schema PodsMetricStatus: currentAverageValue is the current value of the average of the metric across all relevant pods (as a quantity) metricName : str, default is Undefined, required metricName is the name of the metric in question - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the PodsMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics. """ @@ -25,6 +25,6 @@ schema PodsMetricStatus: metricName: str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector diff --git a/k8s/1.21/api/autoscaling/v2beta2/horizontal_pod_autoscaler.k b/k8s/1.21/api/autoscaling/v2beta2/horizontal_pod_autoscaler.k index 9ab9ca42..fb10b245 100644 --- a/k8s/1.21/api/autoscaling/v2beta2/horizontal_pod_autoscaler.k +++ b/k8s/1.21/api/autoscaling/v2beta2/horizontal_pod_autoscaler.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler module in k8s.api.autoscaling.v2beta2 pack This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscaler: @@ -16,7 +16,7 @@ schema HorizontalPodAutoscaler: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "HorizontalPodAutoscaler", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : HorizontalPodAutoscalerSpec, default is Undefined, optional spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema HorizontalPodAutoscaler: kind: "HorizontalPodAutoscaler" = "HorizontalPodAutoscaler" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: HorizontalPodAutoscalerSpec diff --git a/k8s/1.21/api/autoscaling/v2beta2/horizontal_pod_autoscaler_list.k b/k8s/1.21/api/autoscaling/v2beta2/horizontal_pod_autoscaler_list.k index ad127934..152be58d 100644 --- a/k8s/1.21/api/autoscaling/v2beta2/horizontal_pod_autoscaler_list.k +++ b/k8s/1.21/api/autoscaling/v2beta2/horizontal_pod_autoscaler_list.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler_list module in k8s.api.autoscaling.v2beta2 This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscalerList: @@ -18,7 +18,7 @@ schema HorizontalPodAutoscalerList: items is the list of horizontal pod autoscaler objects. kind : str, default is "HorizontalPodAutoscalerList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata is the standard list metadata. """ @@ -29,6 +29,6 @@ schema HorizontalPodAutoscalerList: kind: "HorizontalPodAutoscalerList" = "HorizontalPodAutoscalerList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/autoscaling/v2beta2/metric_identifier.k b/k8s/1.21/api/autoscaling/v2beta2/metric_identifier.k index 18d313d2..06be0dff 100644 --- a/k8s/1.21/api/autoscaling/v2beta2/metric_identifier.k +++ b/k8s/1.21/api/autoscaling/v2beta2/metric_identifier.k @@ -3,7 +3,7 @@ This is the metric_identifier module in k8s.api.autoscaling.v2beta2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MetricIdentifier: @@ -14,13 +14,13 @@ schema MetricIdentifier: ---------- name : str, default is Undefined, required name is the name of the given metric - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics. """ name: str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector diff --git a/k8s/1.21/api/batch/v1/cron_job.k b/k8s/1.21/api/batch/v1/cron_job.k index 380498ff..c716e33b 100644 --- a/k8s/1.21/api/batch/v1/cron_job.k +++ b/k8s/1.21/api/batch/v1/cron_job.k @@ -3,7 +3,7 @@ This is the cron_job module in k8s.api.batch.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CronJob: @@ -16,7 +16,7 @@ schema CronJob: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CronJob", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : CronJobSpec, default is Undefined, optional Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema CronJob: kind: "CronJob" = "CronJob" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: CronJobSpec diff --git a/k8s/1.21/api/batch/v1/cron_job_list.k b/k8s/1.21/api/batch/v1/cron_job_list.k index 69e1971a..8200a4bd 100644 --- a/k8s/1.21/api/batch/v1/cron_job_list.k +++ b/k8s/1.21/api/batch/v1/cron_job_list.k @@ -3,7 +3,7 @@ This is the cron_job_list module in k8s.api.batch.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CronJobList: @@ -18,7 +18,7 @@ schema CronJobList: items is the list of CronJobs. kind : str, default is "CronJobList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CronJobList: kind: "CronJobList" = "CronJobList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/batch/v1/job.k b/k8s/1.21/api/batch/v1/job.k index 44fbc917..3e545aac 100644 --- a/k8s/1.21/api/batch/v1/job.k +++ b/k8s/1.21/api/batch/v1/job.k @@ -3,7 +3,7 @@ This is the job module in k8s.api.batch.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Job: @@ -16,7 +16,7 @@ schema Job: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Job", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : JobSpec, default is Undefined, optional Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Job: kind: "Job" = "Job" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: JobSpec diff --git a/k8s/1.21/api/batch/v1/job_list.k b/k8s/1.21/api/batch/v1/job_list.k index 88588804..e2f8aee6 100644 --- a/k8s/1.21/api/batch/v1/job_list.k +++ b/k8s/1.21/api/batch/v1/job_list.k @@ -3,7 +3,7 @@ This is the job_list module in k8s.api.batch.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema JobList: @@ -18,7 +18,7 @@ schema JobList: items is the list of Jobs. kind : str, default is "JobList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema JobList: kind: "JobList" = "JobList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/batch/v1/job_spec.k b/k8s/1.21/api/batch/v1/job_spec.k index e115d438..742ef508 100644 --- a/k8s/1.21/api/batch/v1/job_spec.k +++ b/k8s/1.21/api/batch/v1/job_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema JobSpec: @@ -31,7 +31,7 @@ schema JobSpec: manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector parallelism : int, default is Undefined, optional Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional A label query over pods that should match the pod count. Normally, the system sets this field for you. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors suspend : bool, default is Undefined, optional Suspend specifies whether the Job controller should create Pods or not. If a Job is created with suspend set to true, no Pods are created by the Job controller. If a Job is suspended after creation (i.e. the flag goes from false to true), the Job controller will delete all active Pods associated with this Job. Users must design their workload to gracefully handle this. Suspending a Job will reset the StartTime field of the Job, effectively resetting the ActiveDeadlineSeconds timer too. This is an alpha field and requires the SuspendJob feature gate to be enabled; otherwise this field may not be set to true. Defaults to false. @@ -54,7 +54,7 @@ schema JobSpec: parallelism?: int - selector?: v1.LabelSelector + selector?: metav1.LabelSelector suspend?: bool diff --git a/k8s/1.21/api/batch/v1/job_template_spec.k b/k8s/1.21/api/batch/v1/job_template_spec.k index 840a8d23..c1797200 100644 --- a/k8s/1.21/api/batch/v1/job_template_spec.k +++ b/k8s/1.21/api/batch/v1/job_template_spec.k @@ -3,7 +3,7 @@ This is the job_template_spec module in k8s.api.batch.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema JobTemplateSpec: @@ -12,14 +12,14 @@ schema JobTemplateSpec: Attributes ---------- - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : JobSpec, default is Undefined, optional Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status """ - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: JobSpec diff --git a/k8s/1.21/api/batch/v1beta1/cron_job.k b/k8s/1.21/api/batch/v1beta1/cron_job.k index 74c14606..d5d2aa07 100644 --- a/k8s/1.21/api/batch/v1beta1/cron_job.k +++ b/k8s/1.21/api/batch/v1beta1/cron_job.k @@ -3,7 +3,7 @@ This is the cron_job module in k8s.api.batch.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CronJob: @@ -16,7 +16,7 @@ schema CronJob: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CronJob", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : CronJobSpec, default is Undefined, optional Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema CronJob: kind: "CronJob" = "CronJob" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: CronJobSpec diff --git a/k8s/1.21/api/batch/v1beta1/cron_job_list.k b/k8s/1.21/api/batch/v1beta1/cron_job_list.k index cf174c33..4067f805 100644 --- a/k8s/1.21/api/batch/v1beta1/cron_job_list.k +++ b/k8s/1.21/api/batch/v1beta1/cron_job_list.k @@ -3,7 +3,7 @@ This is the cron_job_list module in k8s.api.batch.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CronJobList: @@ -18,7 +18,7 @@ schema CronJobList: items is the list of CronJobs. kind : str, default is "CronJobList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CronJobList: kind: "CronJobList" = "CronJobList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/batch/v1beta1/job_template_spec.k b/k8s/1.21/api/batch/v1beta1/job_template_spec.k index e032a659..733d4410 100644 --- a/k8s/1.21/api/batch/v1beta1/job_template_spec.k +++ b/k8s/1.21/api/batch/v1beta1/job_template_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.batch.v1 as batchV1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema JobTemplateSpec: @@ -13,14 +13,14 @@ schema JobTemplateSpec: Attributes ---------- - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : batchV1.JobSpec, default is Undefined, optional Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status """ - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: batchV1.JobSpec diff --git a/k8s/1.21/api/certificates/v1/certificate_signing_request.k b/k8s/1.21/api/certificates/v1/certificate_signing_request.k index 3d6930c2..c6713e7a 100644 --- a/k8s/1.21/api/certificates/v1/certificate_signing_request.k +++ b/k8s/1.21/api/certificates/v1/certificate_signing_request.k @@ -3,7 +3,7 @@ This is the certificate_signing_request module in k8s.api.certificates.v1 packag This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CertificateSigningRequest: @@ -22,7 +22,7 @@ schema CertificateSigningRequest: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CertificateSigningRequest", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : CertificateSigningRequestSpec, default is Undefined, required spec contains the certificate request, and is immutable after creation. Only the request, signerName, and usages fields can be set on creation. Other fields are derived by Kubernetes and cannot be modified by users. @@ -33,7 +33,7 @@ schema CertificateSigningRequest: kind: "CertificateSigningRequest" = "CertificateSigningRequest" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CertificateSigningRequestSpec diff --git a/k8s/1.21/api/certificates/v1/certificate_signing_request_list.k b/k8s/1.21/api/certificates/v1/certificate_signing_request_list.k index bef8b509..dcf72eab 100644 --- a/k8s/1.21/api/certificates/v1/certificate_signing_request_list.k +++ b/k8s/1.21/api/certificates/v1/certificate_signing_request_list.k @@ -3,7 +3,7 @@ This is the certificate_signing_request_list module in k8s.api.certificates.v1 p This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CertificateSigningRequestList: @@ -18,7 +18,7 @@ schema CertificateSigningRequestList: items is a collection of CertificateSigningRequest objects kind : str, default is "CertificateSigningRequestList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema CertificateSigningRequestList: kind: "CertificateSigningRequestList" = "CertificateSigningRequestList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/certificates/v1beta1/certificate_signing_request.k b/k8s/1.21/api/certificates/v1beta1/certificate_signing_request.k index 2e5b2121..5b363aa8 100644 --- a/k8s/1.21/api/certificates/v1beta1/certificate_signing_request.k +++ b/k8s/1.21/api/certificates/v1beta1/certificate_signing_request.k @@ -3,7 +3,7 @@ This is the certificate_signing_request module in k8s.api.certificates.v1beta1 p This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CertificateSigningRequest: @@ -16,7 +16,7 @@ schema CertificateSigningRequest: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CertificateSigningRequest", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : CertificateSigningRequestSpec, default is Undefined, optional The certificate request itself and any additional information. @@ -27,7 +27,7 @@ schema CertificateSigningRequest: kind: "CertificateSigningRequest" = "CertificateSigningRequest" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: CertificateSigningRequestSpec diff --git a/k8s/1.21/api/certificates/v1beta1/certificate_signing_request_list.k b/k8s/1.21/api/certificates/v1beta1/certificate_signing_request_list.k index cc6c6ea4..80fde64b 100644 --- a/k8s/1.21/api/certificates/v1beta1/certificate_signing_request_list.k +++ b/k8s/1.21/api/certificates/v1beta1/certificate_signing_request_list.k @@ -3,7 +3,7 @@ This is the certificate_signing_request_list module in k8s.api.certificates.v1be This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CertificateSigningRequestList: @@ -18,7 +18,7 @@ schema CertificateSigningRequestList: items kind : str, default is "CertificateSigningRequestList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema CertificateSigningRequestList: kind: "CertificateSigningRequestList" = "CertificateSigningRequestList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/coordination/v1/lease.k b/k8s/1.21/api/coordination/v1/lease.k index f9d243c9..b3722c9a 100644 --- a/k8s/1.21/api/coordination/v1/lease.k +++ b/k8s/1.21/api/coordination/v1/lease.k @@ -3,7 +3,7 @@ This is the lease module in k8s.api.coordination.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Lease: @@ -16,7 +16,7 @@ schema Lease: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Lease", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : LeaseSpec, default is Undefined, optional Specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Lease: kind: "Lease" = "Lease" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: LeaseSpec diff --git a/k8s/1.21/api/coordination/v1/lease_list.k b/k8s/1.21/api/coordination/v1/lease_list.k index 64932a19..93a01ab6 100644 --- a/k8s/1.21/api/coordination/v1/lease_list.k +++ b/k8s/1.21/api/coordination/v1/lease_list.k @@ -3,7 +3,7 @@ This is the lease_list module in k8s.api.coordination.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LeaseList: @@ -18,7 +18,7 @@ schema LeaseList: Items is a list of schema objects. kind : str, default is "LeaseList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema LeaseList: kind: "LeaseList" = "LeaseList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/coordination/v1beta1/lease.k b/k8s/1.21/api/coordination/v1beta1/lease.k index b587d90e..b2095eed 100644 --- a/k8s/1.21/api/coordination/v1beta1/lease.k +++ b/k8s/1.21/api/coordination/v1beta1/lease.k @@ -3,7 +3,7 @@ This is the lease module in k8s.api.coordination.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Lease: @@ -16,7 +16,7 @@ schema Lease: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Lease", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : LeaseSpec, default is Undefined, optional Specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Lease: kind: "Lease" = "Lease" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: LeaseSpec diff --git a/k8s/1.21/api/coordination/v1beta1/lease_list.k b/k8s/1.21/api/coordination/v1beta1/lease_list.k index 2b78fddf..21212cfc 100644 --- a/k8s/1.21/api/coordination/v1beta1/lease_list.k +++ b/k8s/1.21/api/coordination/v1beta1/lease_list.k @@ -3,7 +3,7 @@ This is the lease_list module in k8s.api.coordination.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LeaseList: @@ -18,7 +18,7 @@ schema LeaseList: Items is a list of schema objects. kind : str, default is "LeaseList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema LeaseList: kind: "LeaseList" = "LeaseList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/core/v1/binding.k b/k8s/1.21/api/core/v1/binding.k index e6e478fe..077459fa 100644 --- a/k8s/1.21/api/core/v1/binding.k +++ b/k8s/1.21/api/core/v1/binding.k @@ -3,7 +3,7 @@ This is the binding module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Binding: @@ -16,7 +16,7 @@ schema Binding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Binding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata target : ObjectReference, default is Undefined, required The target object that you want to bind to the standard object. @@ -27,7 +27,7 @@ schema Binding: kind: "Binding" = "Binding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta target: ObjectReference diff --git a/k8s/1.21/api/core/v1/component_status.k b/k8s/1.21/api/core/v1/component_status.k index 19549c61..0d6862b5 100644 --- a/k8s/1.21/api/core/v1/component_status.k +++ b/k8s/1.21/api/core/v1/component_status.k @@ -3,7 +3,7 @@ This is the component_status module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ComponentStatus: @@ -18,7 +18,7 @@ schema ComponentStatus: List of component conditions observed kind : str, default is "ComponentStatus", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema ComponentStatus: kind: "ComponentStatus" = "ComponentStatus" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta diff --git a/k8s/1.21/api/core/v1/component_status_list.k b/k8s/1.21/api/core/v1/component_status_list.k index 0c8fa890..f76a9a62 100644 --- a/k8s/1.21/api/core/v1/component_status_list.k +++ b/k8s/1.21/api/core/v1/component_status_list.k @@ -3,7 +3,7 @@ This is the component_status_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ComponentStatusList: @@ -18,7 +18,7 @@ schema ComponentStatusList: List of ComponentStatus objects. kind : str, default is "ComponentStatusList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ComponentStatusList: kind: "ComponentStatusList" = "ComponentStatusList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/core/v1/config_map.k b/k8s/1.21/api/core/v1/config_map.k index ac683b69..ee2a9e47 100644 --- a/k8s/1.21/api/core/v1/config_map.k +++ b/k8s/1.21/api/core/v1/config_map.k @@ -3,7 +3,7 @@ This is the config_map module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ConfigMap: @@ -22,7 +22,7 @@ schema ConfigMap: Immutable, if set to true, ensures that data stored in the ConfigMap cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil. kind : str, default is "ConfigMap", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -37,6 +37,6 @@ schema ConfigMap: kind: "ConfigMap" = "ConfigMap" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta diff --git a/k8s/1.21/api/core/v1/config_map_list.k b/k8s/1.21/api/core/v1/config_map_list.k index 5712f514..35df0e4b 100644 --- a/k8s/1.21/api/core/v1/config_map_list.k +++ b/k8s/1.21/api/core/v1/config_map_list.k @@ -3,7 +3,7 @@ This is the config_map_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ConfigMapList: @@ -18,7 +18,7 @@ schema ConfigMapList: Items is the list of ConfigMaps. kind : str, default is "ConfigMapList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema ConfigMapList: kind: "ConfigMapList" = "ConfigMapList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/core/v1/endpoints.k b/k8s/1.21/api/core/v1/endpoints.k index d123d8d8..3ac0d6cd 100644 --- a/k8s/1.21/api/core/v1/endpoints.k +++ b/k8s/1.21/api/core/v1/endpoints.k @@ -3,7 +3,7 @@ This is the endpoints module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Endpoints: @@ -27,7 +27,7 @@ schema Endpoints: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Endpoints", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata subsets : [EndpointSubset], default is Undefined, optional The set of all endpoints is the union of all subsets. Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service. @@ -38,7 +38,7 @@ schema Endpoints: kind: "Endpoints" = "Endpoints" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta subsets?: [EndpointSubset] diff --git a/k8s/1.21/api/core/v1/endpoints_list.k b/k8s/1.21/api/core/v1/endpoints_list.k index 7ccf6442..f019c842 100644 --- a/k8s/1.21/api/core/v1/endpoints_list.k +++ b/k8s/1.21/api/core/v1/endpoints_list.k @@ -3,7 +3,7 @@ This is the endpoints_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EndpointsList: @@ -18,7 +18,7 @@ schema EndpointsList: List of endpoints. kind : str, default is "EndpointsList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema EndpointsList: kind: "EndpointsList" = "EndpointsList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/core/v1/ephemeral_containers.k b/k8s/1.21/api/core/v1/ephemeral_containers.k index e505b48c..b0615196 100644 --- a/k8s/1.21/api/core/v1/ephemeral_containers.k +++ b/k8s/1.21/api/core/v1/ephemeral_containers.k @@ -3,7 +3,7 @@ This is the ephemeral_containers module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EphemeralContainers: @@ -18,7 +18,7 @@ schema EphemeralContainers: A list of ephemeral containers associated with this pod. New ephemeral containers may be appended to this list, but existing ephemeral containers may not be removed or modified. kind : str, default is "EphemeralContainers", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema EphemeralContainers: kind: "EphemeralContainers" = "EphemeralContainers" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta diff --git a/k8s/1.21/api/core/v1/event.k b/k8s/1.21/api/core/v1/event.k index 0cc2ba81..f1564c4b 100644 --- a/k8s/1.21/api/core/v1/event.k +++ b/k8s/1.21/api/core/v1/event.k @@ -3,7 +3,7 @@ This is the event module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Event: @@ -30,7 +30,7 @@ schema Event: The time at which the most recent occurrence of this event was recorded. message : str, default is Undefined, optional A human-readable description of the status of this operation. - metadata : v1.ObjectMeta, default is Undefined, required + metadata : metav1.ObjectMeta, default is Undefined, required Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata reason : str, default is Undefined, optional This should be a short, machine understandable string that gives the reason for the transition into the object's current status. @@ -67,7 +67,7 @@ schema Event: message?: str - metadata: v1.ObjectMeta + metadata: metav1.ObjectMeta reason?: str diff --git a/k8s/1.21/api/core/v1/event_list.k b/k8s/1.21/api/core/v1/event_list.k index e543b7cf..d4ed6ffa 100644 --- a/k8s/1.21/api/core/v1/event_list.k +++ b/k8s/1.21/api/core/v1/event_list.k @@ -3,7 +3,7 @@ This is the event_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EventList: @@ -18,7 +18,7 @@ schema EventList: List of events kind : str, default is "EventList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema EventList: kind: "EventList" = "EventList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/core/v1/limit_range.k b/k8s/1.21/api/core/v1/limit_range.k index 5de64019..3c476447 100644 --- a/k8s/1.21/api/core/v1/limit_range.k +++ b/k8s/1.21/api/core/v1/limit_range.k @@ -3,7 +3,7 @@ This is the limit_range module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LimitRange: @@ -16,7 +16,7 @@ schema LimitRange: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "LimitRange", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : LimitRangeSpec, default is Undefined, optional Spec defines the limits enforced. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema LimitRange: kind: "LimitRange" = "LimitRange" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: LimitRangeSpec diff --git a/k8s/1.21/api/core/v1/limit_range_list.k b/k8s/1.21/api/core/v1/limit_range_list.k index 61da1fba..fc6b5692 100644 --- a/k8s/1.21/api/core/v1/limit_range_list.k +++ b/k8s/1.21/api/core/v1/limit_range_list.k @@ -3,7 +3,7 @@ This is the limit_range_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LimitRangeList: @@ -18,7 +18,7 @@ schema LimitRangeList: Items is a list of LimitRange objects. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ kind : str, default is "LimitRangeList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema LimitRangeList: kind: "LimitRangeList" = "LimitRangeList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/core/v1/namespace.k b/k8s/1.21/api/core/v1/namespace.k index 52b6b94f..66125388 100644 --- a/k8s/1.21/api/core/v1/namespace.k +++ b/k8s/1.21/api/core/v1/namespace.k @@ -3,7 +3,7 @@ This is the namespace module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Namespace: @@ -16,7 +16,7 @@ schema Namespace: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Namespace", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : NamespaceSpec, default is Undefined, optional Spec defines the behavior of the Namespace. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Namespace: kind: "Namespace" = "Namespace" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: NamespaceSpec diff --git a/k8s/1.21/api/core/v1/namespace_list.k b/k8s/1.21/api/core/v1/namespace_list.k index 0a362eac..1783b0bc 100644 --- a/k8s/1.21/api/core/v1/namespace_list.k +++ b/k8s/1.21/api/core/v1/namespace_list.k @@ -3,7 +3,7 @@ This is the namespace_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NamespaceList: @@ -18,7 +18,7 @@ schema NamespaceList: Items is the list of Namespace objects in the list. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ kind : str, default is "NamespaceList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema NamespaceList: kind: "NamespaceList" = "NamespaceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/core/v1/node.k b/k8s/1.21/api/core/v1/node.k index 99f9cab9..dcfea158 100644 --- a/k8s/1.21/api/core/v1/node.k +++ b/k8s/1.21/api/core/v1/node.k @@ -3,7 +3,7 @@ This is the node module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Node: @@ -16,7 +16,7 @@ schema Node: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Node", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : NodeSpec, default is Undefined, optional Spec defines the behavior of a node. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Node: kind: "Node" = "Node" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: NodeSpec diff --git a/k8s/1.21/api/core/v1/node_list.k b/k8s/1.21/api/core/v1/node_list.k index 40992f99..26fe9968 100644 --- a/k8s/1.21/api/core/v1/node_list.k +++ b/k8s/1.21/api/core/v1/node_list.k @@ -3,7 +3,7 @@ This is the node_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NodeList: @@ -18,7 +18,7 @@ schema NodeList: List of nodes kind : str, default is "NodeList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema NodeList: kind: "NodeList" = "NodeList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/core/v1/persistent_volume.k b/k8s/1.21/api/core/v1/persistent_volume.k index 259223a6..2c6d5ee6 100644 --- a/k8s/1.21/api/core/v1/persistent_volume.k +++ b/k8s/1.21/api/core/v1/persistent_volume.k @@ -3,7 +3,7 @@ This is the persistent_volume module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolume: @@ -16,7 +16,7 @@ schema PersistentVolume: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PersistentVolume", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PersistentVolumeSpec, default is Undefined, optional Spec defines a specification of a persistent volume owned by the cluster. Provisioned by an administrator. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes @@ -27,7 +27,7 @@ schema PersistentVolume: kind: "PersistentVolume" = "PersistentVolume" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PersistentVolumeSpec diff --git a/k8s/1.21/api/core/v1/persistent_volume_claim.k b/k8s/1.21/api/core/v1/persistent_volume_claim.k index eb057e81..02735f90 100644 --- a/k8s/1.21/api/core/v1/persistent_volume_claim.k +++ b/k8s/1.21/api/core/v1/persistent_volume_claim.k @@ -3,7 +3,7 @@ This is the persistent_volume_claim module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeClaim: @@ -16,7 +16,7 @@ schema PersistentVolumeClaim: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PersistentVolumeClaim", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PersistentVolumeClaimSpec, default is Undefined, optional Spec defines the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims @@ -27,7 +27,7 @@ schema PersistentVolumeClaim: kind: "PersistentVolumeClaim" = "PersistentVolumeClaim" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PersistentVolumeClaimSpec diff --git a/k8s/1.21/api/core/v1/persistent_volume_claim_list.k b/k8s/1.21/api/core/v1/persistent_volume_claim_list.k index 85ccc1ee..96669996 100644 --- a/k8s/1.21/api/core/v1/persistent_volume_claim_list.k +++ b/k8s/1.21/api/core/v1/persistent_volume_claim_list.k @@ -3,7 +3,7 @@ This is the persistent_volume_claim_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeClaimList: @@ -18,7 +18,7 @@ schema PersistentVolumeClaimList: A list of persistent volume claims. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims kind : str, default is "PersistentVolumeClaimList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema PersistentVolumeClaimList: kind: "PersistentVolumeClaimList" = "PersistentVolumeClaimList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/core/v1/persistent_volume_claim_spec.k b/k8s/1.21/api/core/v1/persistent_volume_claim_spec.k index 469b9510..217e0dee 100644 --- a/k8s/1.21/api/core/v1/persistent_volume_claim_spec.k +++ b/k8s/1.21/api/core/v1/persistent_volume_claim_spec.k @@ -3,7 +3,7 @@ This is the persistent_volume_claim_spec module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeClaimSpec: @@ -18,7 +18,7 @@ schema PersistentVolumeClaimSpec: This field can be used to specify either: * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) * An existing PVC (PersistentVolumeClaim) * An existing custom resource that implements data population (Alpha) In order to use custom resource types that implement data population, the AnyVolumeDataSource feature gate must be enabled. If the provisioner or an external controller can support the specified data source, it will create a new volume based on the contents of the specified data source. resources : ResourceRequirements, default is Undefined, optional Resources represents the minimum resources the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional A label query over volumes to consider for binding. storageClassName : str, default is Undefined, optional Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1 @@ -35,7 +35,7 @@ schema PersistentVolumeClaimSpec: resources?: ResourceRequirements - selector?: v1.LabelSelector + selector?: metav1.LabelSelector storageClassName?: str diff --git a/k8s/1.21/api/core/v1/persistent_volume_claim_template.k b/k8s/1.21/api/core/v1/persistent_volume_claim_template.k index e6758b96..a8a010df 100644 --- a/k8s/1.21/api/core/v1/persistent_volume_claim_template.k +++ b/k8s/1.21/api/core/v1/persistent_volume_claim_template.k @@ -3,7 +3,7 @@ This is the persistent_volume_claim_template module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeClaimTemplate: @@ -12,14 +12,14 @@ schema PersistentVolumeClaimTemplate: Attributes ---------- - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. spec : PersistentVolumeClaimSpec, default is Undefined, required The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here. """ - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: PersistentVolumeClaimSpec diff --git a/k8s/1.21/api/core/v1/persistent_volume_list.k b/k8s/1.21/api/core/v1/persistent_volume_list.k index c34d9abb..21a2a32a 100644 --- a/k8s/1.21/api/core/v1/persistent_volume_list.k +++ b/k8s/1.21/api/core/v1/persistent_volume_list.k @@ -3,7 +3,7 @@ This is the persistent_volume_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeList: @@ -18,7 +18,7 @@ schema PersistentVolumeList: List of persistent volumes. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes kind : str, default is "PersistentVolumeList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema PersistentVolumeList: kind: "PersistentVolumeList" = "PersistentVolumeList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/core/v1/pod.k b/k8s/1.21/api/core/v1/pod.k index 659a9e99..66568628 100644 --- a/k8s/1.21/api/core/v1/pod.k +++ b/k8s/1.21/api/core/v1/pod.k @@ -3,7 +3,7 @@ This is the pod module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Pod: @@ -16,7 +16,7 @@ schema Pod: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Pod", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PodSpec, default is Undefined, optional Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Pod: kind: "Pod" = "Pod" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PodSpec diff --git a/k8s/1.21/api/core/v1/pod_affinity_term.k b/k8s/1.21/api/core/v1/pod_affinity_term.k index 7aff4cba..1f7e3f7d 100644 --- a/k8s/1.21/api/core/v1/pod_affinity_term.k +++ b/k8s/1.21/api/core/v1/pod_affinity_term.k @@ -3,7 +3,7 @@ This is the pod_affinity_term module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodAffinityTerm: @@ -12,9 +12,9 @@ schema PodAffinityTerm: Attributes ---------- - labelSelector : v1.LabelSelector, default is Undefined, optional + labelSelector : metav1.LabelSelector, default is Undefined, optional A label query over a set of resources, in this case pods. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. This field is alpha-level and is only honored when PodAffinityNamespaceSelector feature is enabled. namespaces : [str], default is Undefined, optional namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means "this pod's namespace" @@ -23,9 +23,9 @@ schema PodAffinityTerm: """ - labelSelector?: v1.LabelSelector + labelSelector?: metav1.LabelSelector - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector namespaces?: [str] diff --git a/k8s/1.21/api/core/v1/pod_list.k b/k8s/1.21/api/core/v1/pod_list.k index 10ad5eb9..4c031d05 100644 --- a/k8s/1.21/api/core/v1/pod_list.k +++ b/k8s/1.21/api/core/v1/pod_list.k @@ -3,7 +3,7 @@ This is the pod_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodList: @@ -18,7 +18,7 @@ schema PodList: List of pods. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md kind : str, default is "PodList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema PodList: kind: "PodList" = "PodList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/core/v1/pod_template.k b/k8s/1.21/api/core/v1/pod_template.k index 98e64f70..6ffbfa64 100644 --- a/k8s/1.21/api/core/v1/pod_template.k +++ b/k8s/1.21/api/core/v1/pod_template.k @@ -3,7 +3,7 @@ This is the pod_template module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodTemplate: @@ -16,7 +16,7 @@ schema PodTemplate: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PodTemplate", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata template : PodTemplateSpec, default is Undefined, optional Template defines the pods that will be created from this pod template. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema PodTemplate: kind: "PodTemplate" = "PodTemplate" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta template?: PodTemplateSpec diff --git a/k8s/1.21/api/core/v1/pod_template_list.k b/k8s/1.21/api/core/v1/pod_template_list.k index 8bb1827f..94024175 100644 --- a/k8s/1.21/api/core/v1/pod_template_list.k +++ b/k8s/1.21/api/core/v1/pod_template_list.k @@ -3,7 +3,7 @@ This is the pod_template_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodTemplateList: @@ -18,7 +18,7 @@ schema PodTemplateList: List of pod templates kind : str, default is "PodTemplateList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema PodTemplateList: kind: "PodTemplateList" = "PodTemplateList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/core/v1/pod_template_spec.k b/k8s/1.21/api/core/v1/pod_template_spec.k index 1274c88b..6011ef81 100644 --- a/k8s/1.21/api/core/v1/pod_template_spec.k +++ b/k8s/1.21/api/core/v1/pod_template_spec.k @@ -3,7 +3,7 @@ This is the pod_template_spec module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodTemplateSpec: @@ -12,14 +12,14 @@ schema PodTemplateSpec: Attributes ---------- - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PodSpec, default is Undefined, optional Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status """ - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PodSpec diff --git a/k8s/1.21/api/core/v1/replication_controller.k b/k8s/1.21/api/core/v1/replication_controller.k index 08b091e8..37724706 100644 --- a/k8s/1.21/api/core/v1/replication_controller.k +++ b/k8s/1.21/api/core/v1/replication_controller.k @@ -3,7 +3,7 @@ This is the replication_controller module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicationController: @@ -16,7 +16,7 @@ schema ReplicationController: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ReplicationController", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional If the Labels of a ReplicationController are empty, they are defaulted to be the same as the Pod(s) that the replication controller manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : ReplicationControllerSpec, default is Undefined, optional Spec defines the specification of the desired behavior of the replication controller. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema ReplicationController: kind: "ReplicationController" = "ReplicationController" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ReplicationControllerSpec diff --git a/k8s/1.21/api/core/v1/replication_controller_list.k b/k8s/1.21/api/core/v1/replication_controller_list.k index 64afa179..63f9d4b2 100644 --- a/k8s/1.21/api/core/v1/replication_controller_list.k +++ b/k8s/1.21/api/core/v1/replication_controller_list.k @@ -3,7 +3,7 @@ This is the replication_controller_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicationControllerList: @@ -18,7 +18,7 @@ schema ReplicationControllerList: List of replication controllers. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller kind : str, default is "ReplicationControllerList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ReplicationControllerList: kind: "ReplicationControllerList" = "ReplicationControllerList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/core/v1/resource_quota.k b/k8s/1.21/api/core/v1/resource_quota.k index b7da49d1..0ec7c409 100644 --- a/k8s/1.21/api/core/v1/resource_quota.k +++ b/k8s/1.21/api/core/v1/resource_quota.k @@ -3,7 +3,7 @@ This is the resource_quota module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceQuota: @@ -16,7 +16,7 @@ schema ResourceQuota: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ResourceQuota", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : ResourceQuotaSpec, default is Undefined, optional Spec defines the desired quota. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema ResourceQuota: kind: "ResourceQuota" = "ResourceQuota" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ResourceQuotaSpec diff --git a/k8s/1.21/api/core/v1/resource_quota_list.k b/k8s/1.21/api/core/v1/resource_quota_list.k index ca1424b8..f8dbc87d 100644 --- a/k8s/1.21/api/core/v1/resource_quota_list.k +++ b/k8s/1.21/api/core/v1/resource_quota_list.k @@ -3,7 +3,7 @@ This is the resource_quota_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceQuotaList: @@ -18,7 +18,7 @@ schema ResourceQuotaList: Items is a list of ResourceQuota objects. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/ kind : str, default is "ResourceQuotaList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ResourceQuotaList: kind: "ResourceQuotaList" = "ResourceQuotaList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/core/v1/secret.k b/k8s/1.21/api/core/v1/secret.k index c124d3ce..08f2c18f 100644 --- a/k8s/1.21/api/core/v1/secret.k +++ b/k8s/1.21/api/core/v1/secret.k @@ -3,7 +3,7 @@ This is the secret module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Secret: @@ -20,7 +20,7 @@ schema Secret: Immutable, if set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil. kind : str, default is "Secret", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata stringData : {str:str}, default is Undefined, optional stringData allows specifying non-binary secret data in string form. It is provided as a write-only input field for convenience. All keys and values are merged into the data field on write, overwriting any existing values. The stringData field is never output when reading from the API. @@ -37,7 +37,7 @@ schema Secret: kind: "Secret" = "Secret" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta stringData?: {str:str} diff --git a/k8s/1.21/api/core/v1/secret_list.k b/k8s/1.21/api/core/v1/secret_list.k index 335c47b4..9e80806b 100644 --- a/k8s/1.21/api/core/v1/secret_list.k +++ b/k8s/1.21/api/core/v1/secret_list.k @@ -3,7 +3,7 @@ This is the secret_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SecretList: @@ -18,7 +18,7 @@ schema SecretList: Items is a list of secret objects. More info: https://kubernetes.io/docs/concepts/configuration/secret kind : str, default is "SecretList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema SecretList: kind: "SecretList" = "SecretList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/core/v1/service.k b/k8s/1.21/api/core/v1/service.k index 1f259a80..3b86c8ef 100644 --- a/k8s/1.21/api/core/v1/service.k +++ b/k8s/1.21/api/core/v1/service.k @@ -3,7 +3,7 @@ This is the service module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Service: @@ -16,7 +16,7 @@ schema Service: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Service", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : ServiceSpec, default is Undefined, optional Spec defines the behavior of a service. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Service: kind: "Service" = "Service" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ServiceSpec diff --git a/k8s/1.21/api/core/v1/service_account.k b/k8s/1.21/api/core/v1/service_account.k index fc039e4f..c93748eb 100644 --- a/k8s/1.21/api/core/v1/service_account.k +++ b/k8s/1.21/api/core/v1/service_account.k @@ -3,7 +3,7 @@ This is the service_account module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ServiceAccount: @@ -20,7 +20,7 @@ schema ServiceAccount: ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod kind : str, default is "ServiceAccount", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata secrets : [ObjectReference], default is Undefined, optional Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount. More info: https://kubernetes.io/docs/concepts/configuration/secret @@ -35,7 +35,7 @@ schema ServiceAccount: kind: "ServiceAccount" = "ServiceAccount" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta secrets?: [ObjectReference] diff --git a/k8s/1.21/api/core/v1/service_account_list.k b/k8s/1.21/api/core/v1/service_account_list.k index 26a9319a..d8cd46b8 100644 --- a/k8s/1.21/api/core/v1/service_account_list.k +++ b/k8s/1.21/api/core/v1/service_account_list.k @@ -3,7 +3,7 @@ This is the service_account_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ServiceAccountList: @@ -18,7 +18,7 @@ schema ServiceAccountList: List of ServiceAccounts. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ kind : str, default is "ServiceAccountList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ServiceAccountList: kind: "ServiceAccountList" = "ServiceAccountList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/core/v1/service_list.k b/k8s/1.21/api/core/v1/service_list.k index 0c1e31be..5c4fae8a 100644 --- a/k8s/1.21/api/core/v1/service_list.k +++ b/k8s/1.21/api/core/v1/service_list.k @@ -3,7 +3,7 @@ This is the service_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ServiceList: @@ -18,7 +18,7 @@ schema ServiceList: List of services kind : str, default is "ServiceList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ServiceList: kind: "ServiceList" = "ServiceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/core/v1/service_status.k b/k8s/1.21/api/core/v1/service_status.k index 029dda86..f1fc66e6 100644 --- a/k8s/1.21/api/core/v1/service_status.k +++ b/k8s/1.21/api/core/v1/service_status.k @@ -3,7 +3,7 @@ This is the service_status module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ServiceStatus: @@ -12,14 +12,14 @@ schema ServiceStatus: Attributes ---------- - conditions : [v1.Condition], default is Undefined, optional + conditions : [metav1.Condition], default is Undefined, optional Current service state loadBalancer : LoadBalancerStatus, default is Undefined, optional LoadBalancer contains the current status of the load-balancer, if one is present. """ - conditions?: [v1.Condition] + conditions?: [metav1.Condition] loadBalancer?: LoadBalancerStatus diff --git a/k8s/1.21/api/core/v1/topology_spread_constraint.k b/k8s/1.21/api/core/v1/topology_spread_constraint.k index df9140a1..a2179492 100644 --- a/k8s/1.21/api/core/v1/topology_spread_constraint.k +++ b/k8s/1.21/api/core/v1/topology_spread_constraint.k @@ -3,7 +3,7 @@ This is the topology_spread_constraint module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema TopologySpreadConstraint: @@ -12,7 +12,7 @@ schema TopologySpreadConstraint: Attributes ---------- - labelSelector : v1.LabelSelector, default is Undefined, optional + labelSelector : metav1.LabelSelector, default is Undefined, optional LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain. maxSkew : int, default is Undefined, required MaxSkew describes the degree to which pods may be unevenly distributed. When `whenUnsatisfiable=DoNotSchedule`, it is the maximum permitted difference between the number of matching pods in the target topology and the global minimum. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 1/1/0: | zone1 | zone2 | zone3 | | P | P | | - if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 1/1/1; scheduling it onto zone1(zone2) would make the ActualSkew(2-0) on zone1(zone2) violate MaxSkew(1). - if MaxSkew is 2, incoming pod can be scheduled onto any zone. When `whenUnsatisfiable=ScheduleAnyway`, it is used to give higher precedence to topologies that satisfy it. It's a required field. Default value is 1 and 0 is not allowed. @@ -26,7 +26,7 @@ schema TopologySpreadConstraint: """ - labelSelector?: v1.LabelSelector + labelSelector?: metav1.LabelSelector maxSkew: int diff --git a/k8s/1.21/api/discovery/v1/endpoint_slice.k b/k8s/1.21/api/discovery/v1/endpoint_slice.k index 77d8a1e3..462647c6 100644 --- a/k8s/1.21/api/discovery/v1/endpoint_slice.k +++ b/k8s/1.21/api/discovery/v1/endpoint_slice.k @@ -3,7 +3,7 @@ This is the endpoint_slice module in k8s.api.discovery.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EndpointSlice: @@ -20,7 +20,7 @@ schema EndpointSlice: endpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints. kind : str, default is "EndpointSlice", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. ports : [EndpointPort], default is Undefined, optional ports specifies the list of network ports exposed by each endpoint in this slice. Each port must have a unique name. When ports is empty, it indicates that there are no defined ports. When a port is defined with a nil port value, it indicates "all ports". Each slice may include a maximum of 100 ports. @@ -35,7 +35,7 @@ schema EndpointSlice: kind: "EndpointSlice" = "EndpointSlice" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta ports?: [EndpointPort] diff --git a/k8s/1.21/api/discovery/v1/endpoint_slice_list.k b/k8s/1.21/api/discovery/v1/endpoint_slice_list.k index d1ca1ed7..241ba06f 100644 --- a/k8s/1.21/api/discovery/v1/endpoint_slice_list.k +++ b/k8s/1.21/api/discovery/v1/endpoint_slice_list.k @@ -3,7 +3,7 @@ This is the endpoint_slice_list module in k8s.api.discovery.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EndpointSliceList: @@ -18,7 +18,7 @@ schema EndpointSliceList: List of endpoint slices kind : str, default is "EndpointSliceList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema EndpointSliceList: kind: "EndpointSliceList" = "EndpointSliceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/discovery/v1beta1/endpoint_slice.k b/k8s/1.21/api/discovery/v1beta1/endpoint_slice.k index e5bc4f96..c3e65402 100644 --- a/k8s/1.21/api/discovery/v1beta1/endpoint_slice.k +++ b/k8s/1.21/api/discovery/v1beta1/endpoint_slice.k @@ -3,7 +3,7 @@ This is the endpoint_slice module in k8s.api.discovery.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EndpointSlice: @@ -20,7 +20,7 @@ schema EndpointSlice: endpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints. kind : str, default is "EndpointSlice", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. ports : [EndpointPort], default is Undefined, optional ports specifies the list of network ports exposed by each endpoint in this slice. Each port must have a unique name. When ports is empty, it indicates that there are no defined ports. When a port is defined with a nil port value, it indicates "all ports". Each slice may include a maximum of 100 ports. @@ -35,7 +35,7 @@ schema EndpointSlice: kind: "EndpointSlice" = "EndpointSlice" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta ports?: [EndpointPort] diff --git a/k8s/1.21/api/discovery/v1beta1/endpoint_slice_list.k b/k8s/1.21/api/discovery/v1beta1/endpoint_slice_list.k index ad1e929c..62019eae 100644 --- a/k8s/1.21/api/discovery/v1beta1/endpoint_slice_list.k +++ b/k8s/1.21/api/discovery/v1beta1/endpoint_slice_list.k @@ -3,7 +3,7 @@ This is the endpoint_slice_list module in k8s.api.discovery.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EndpointSliceList: @@ -18,7 +18,7 @@ schema EndpointSliceList: List of endpoint slices kind : str, default is "EndpointSliceList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema EndpointSliceList: kind: "EndpointSliceList" = "EndpointSliceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/events/v1/event_list.k b/k8s/1.21/api/events/v1/event_list.k index 6d5e7dad..4c4d96ba 100644 --- a/k8s/1.21/api/events/v1/event_list.k +++ b/k8s/1.21/api/events/v1/event_list.k @@ -3,7 +3,7 @@ This is the event_list module in k8s.api.events.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EventList: @@ -18,7 +18,7 @@ schema EventList: items is a list of schema objects. kind : str, default is "EventList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema EventList: kind: "EventList" = "EventList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/events/v1beta1/event_list.k b/k8s/1.21/api/events/v1beta1/event_list.k index fbb9bfa6..85c27cd9 100644 --- a/k8s/1.21/api/events/v1beta1/event_list.k +++ b/k8s/1.21/api/events/v1beta1/event_list.k @@ -3,7 +3,7 @@ This is the event_list module in k8s.api.events.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EventList: @@ -18,7 +18,7 @@ schema EventList: items is a list of schema objects. kind : str, default is "EventList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema EventList: kind: "EventList" = "EventList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/extensions/v1beta1/ingress.k b/k8s/1.21/api/extensions/v1beta1/ingress.k index 1935ccd4..b92dfced 100644 --- a/k8s/1.21/api/extensions/v1beta1/ingress.k +++ b/k8s/1.21/api/extensions/v1beta1/ingress.k @@ -3,7 +3,7 @@ This is the ingress module in k8s.api.extensions.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Ingress: @@ -16,7 +16,7 @@ schema Ingress: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Ingress", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : IngressSpec, default is Undefined, optional Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Ingress: kind: "Ingress" = "Ingress" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: IngressSpec diff --git a/k8s/1.21/api/extensions/v1beta1/ingress_list.k b/k8s/1.21/api/extensions/v1beta1/ingress_list.k index 03151415..03dbbdd1 100644 --- a/k8s/1.21/api/extensions/v1beta1/ingress_list.k +++ b/k8s/1.21/api/extensions/v1beta1/ingress_list.k @@ -3,7 +3,7 @@ This is the ingress_list module in k8s.api.extensions.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema IngressList: @@ -18,7 +18,7 @@ schema IngressList: Items is the list of Ingress. kind : str, default is "IngressList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema IngressList: kind: "IngressList" = "IngressList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/flowcontrol/v1beta1/flow_schema.k b/k8s/1.21/api/flowcontrol/v1beta1/flow_schema.k index 55faf528..cf4974cd 100644 --- a/k8s/1.21/api/flowcontrol/v1beta1/flow_schema.k +++ b/k8s/1.21/api/flowcontrol/v1beta1/flow_schema.k @@ -3,7 +3,7 @@ This is the flow_schema module in k8s.api.flowcontrol.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema FlowSchema: @@ -16,7 +16,7 @@ schema FlowSchema: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "FlowSchema", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : FlowSchemaSpec, default is Undefined, optional `spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema FlowSchema: kind: "FlowSchema" = "FlowSchema" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: FlowSchemaSpec diff --git a/k8s/1.21/api/flowcontrol/v1beta1/flow_schema_list.k b/k8s/1.21/api/flowcontrol/v1beta1/flow_schema_list.k index 4f91a66c..740f3aa2 100644 --- a/k8s/1.21/api/flowcontrol/v1beta1/flow_schema_list.k +++ b/k8s/1.21/api/flowcontrol/v1beta1/flow_schema_list.k @@ -3,7 +3,7 @@ This is the flow_schema_list module in k8s.api.flowcontrol.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema FlowSchemaList: @@ -18,7 +18,7 @@ schema FlowSchemaList: `items` is a list of FlowSchemas. kind : str, default is "FlowSchemaList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional `metadata` is the standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema FlowSchemaList: kind: "FlowSchemaList" = "FlowSchemaList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/flowcontrol/v1beta1/priority_level_configuration.k b/k8s/1.21/api/flowcontrol/v1beta1/priority_level_configuration.k index 46ae1bf4..3068b4ac 100644 --- a/k8s/1.21/api/flowcontrol/v1beta1/priority_level_configuration.k +++ b/k8s/1.21/api/flowcontrol/v1beta1/priority_level_configuration.k @@ -3,7 +3,7 @@ This is the priority_level_configuration module in k8s.api.flowcontrol.v1beta1 p This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityLevelConfiguration: @@ -16,7 +16,7 @@ schema PriorityLevelConfiguration: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PriorityLevelConfiguration", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PriorityLevelConfigurationSpec, default is Undefined, optional `spec` is the specification of the desired behavior of a "request-priority". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema PriorityLevelConfiguration: kind: "PriorityLevelConfiguration" = "PriorityLevelConfiguration" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PriorityLevelConfigurationSpec diff --git a/k8s/1.21/api/flowcontrol/v1beta1/priority_level_configuration_list.k b/k8s/1.21/api/flowcontrol/v1beta1/priority_level_configuration_list.k index fbc0a3d7..de2e7738 100644 --- a/k8s/1.21/api/flowcontrol/v1beta1/priority_level_configuration_list.k +++ b/k8s/1.21/api/flowcontrol/v1beta1/priority_level_configuration_list.k @@ -3,7 +3,7 @@ This is the priority_level_configuration_list module in k8s.api.flowcontrol.v1be This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityLevelConfigurationList: @@ -18,7 +18,7 @@ schema PriorityLevelConfigurationList: `items` is a list of request-priorities. kind : str, default is "PriorityLevelConfigurationList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PriorityLevelConfigurationList: kind: "PriorityLevelConfigurationList" = "PriorityLevelConfigurationList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/networking/v1/ingress.k b/k8s/1.21/api/networking/v1/ingress.k index 84067c5f..7429b93d 100644 --- a/k8s/1.21/api/networking/v1/ingress.k +++ b/k8s/1.21/api/networking/v1/ingress.k @@ -3,7 +3,7 @@ This is the ingress module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Ingress: @@ -16,7 +16,7 @@ schema Ingress: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Ingress", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : IngressSpec, default is Undefined, optional Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Ingress: kind: "Ingress" = "Ingress" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: IngressSpec diff --git a/k8s/1.21/api/networking/v1/ingress_class.k b/k8s/1.21/api/networking/v1/ingress_class.k index 53cf2398..ad2f67bd 100644 --- a/k8s/1.21/api/networking/v1/ingress_class.k +++ b/k8s/1.21/api/networking/v1/ingress_class.k @@ -3,7 +3,7 @@ This is the ingress_class module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema IngressClass: @@ -16,7 +16,7 @@ schema IngressClass: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "IngressClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : IngressClassSpec, default is Undefined, optional Spec is the desired state of the IngressClass. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema IngressClass: kind: "IngressClass" = "IngressClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: IngressClassSpec diff --git a/k8s/1.21/api/networking/v1/ingress_class_list.k b/k8s/1.21/api/networking/v1/ingress_class_list.k index 7a8dfb45..432a667e 100644 --- a/k8s/1.21/api/networking/v1/ingress_class_list.k +++ b/k8s/1.21/api/networking/v1/ingress_class_list.k @@ -3,7 +3,7 @@ This is the ingress_class_list module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema IngressClassList: @@ -18,7 +18,7 @@ schema IngressClassList: Items is the list of IngressClasses. kind : str, default is "IngressClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema IngressClassList: kind: "IngressClassList" = "IngressClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/networking/v1/ingress_list.k b/k8s/1.21/api/networking/v1/ingress_list.k index 5fc2315f..a73781b0 100644 --- a/k8s/1.21/api/networking/v1/ingress_list.k +++ b/k8s/1.21/api/networking/v1/ingress_list.k @@ -3,7 +3,7 @@ This is the ingress_list module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema IngressList: @@ -18,7 +18,7 @@ schema IngressList: Items is the list of Ingress. kind : str, default is "IngressList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema IngressList: kind: "IngressList" = "IngressList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/networking/v1/network_policy.k b/k8s/1.21/api/networking/v1/network_policy.k index 888fc8a4..f4ffe0ea 100644 --- a/k8s/1.21/api/networking/v1/network_policy.k +++ b/k8s/1.21/api/networking/v1/network_policy.k @@ -3,7 +3,7 @@ This is the network_policy module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicy: @@ -16,7 +16,7 @@ schema NetworkPolicy: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "NetworkPolicy", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : NetworkPolicySpec, default is Undefined, optional Specification of the desired behavior for this NetworkPolicy. @@ -27,7 +27,7 @@ schema NetworkPolicy: kind: "NetworkPolicy" = "NetworkPolicy" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: NetworkPolicySpec diff --git a/k8s/1.21/api/networking/v1/network_policy_list.k b/k8s/1.21/api/networking/v1/network_policy_list.k index 7a05cb37..8e21e919 100644 --- a/k8s/1.21/api/networking/v1/network_policy_list.k +++ b/k8s/1.21/api/networking/v1/network_policy_list.k @@ -3,7 +3,7 @@ This is the network_policy_list module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicyList: @@ -18,7 +18,7 @@ schema NetworkPolicyList: Items is a list of schema objects. kind : str, default is "NetworkPolicyList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema NetworkPolicyList: kind: "NetworkPolicyList" = "NetworkPolicyList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/networking/v1/network_policy_peer.k b/k8s/1.21/api/networking/v1/network_policy_peer.k index c579477f..57c680fb 100644 --- a/k8s/1.21/api/networking/v1/network_policy_peer.k +++ b/k8s/1.21/api/networking/v1/network_policy_peer.k @@ -3,7 +3,7 @@ This is the network_policy_peer module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicyPeer: @@ -14,11 +14,11 @@ schema NetworkPolicyPeer: ---------- ipBlock : IPBlock, default is Undefined, optional IPBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional Selects Namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces. If PodSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects all Pods in the Namespaces selected by NamespaceSelector. - podSelector : v1.LabelSelector, default is Undefined, optional + podSelector : metav1.LabelSelector, default is Undefined, optional This is a label selector which selects Pods. This field follows standard label selector semantics; if present but empty, it selects all pods. If NamespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the Pods matching PodSelector in the policy's own Namespace. @@ -27,8 +27,8 @@ schema NetworkPolicyPeer: ipBlock?: IPBlock - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector - podSelector?: v1.LabelSelector + podSelector?: metav1.LabelSelector diff --git a/k8s/1.21/api/networking/v1/network_policy_spec.k b/k8s/1.21/api/networking/v1/network_policy_spec.k index d1b738dc..5ceec480 100644 --- a/k8s/1.21/api/networking/v1/network_policy_spec.k +++ b/k8s/1.21/api/networking/v1/network_policy_spec.k @@ -3,7 +3,7 @@ This is the network_policy_spec module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicySpec: @@ -16,7 +16,7 @@ schema NetworkPolicySpec: List of egress rules to be applied to the selected pods. Outgoing traffic is allowed if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic matches at least one egress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy limits all outgoing traffic (and serves solely to ensure that the pods it selects are isolated by default). This field is beta-level in 1.8 ingress : [NetworkPolicyIngressRule], default is Undefined, optional List of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not allow any traffic (and serves solely to ensure that the pods it selects are isolated by default) - podSelector : v1.LabelSelector, default is Undefined, required + podSelector : metav1.LabelSelector, default is Undefined, required Selects the pods to which this NetworkPolicy object applies. The array of ingress rules is applied to any pods selected by this field. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is NOT optional and follows standard label selector semantics. An empty podSelector matches all pods in this namespace. policyTypes : [str], default is Undefined, optional List of rule types that the NetworkPolicy relates to. Valid options are ["Ingress"], ["Egress"], or ["Ingress", "Egress"]. If this field is not specified, it will default based on the existence of Ingress or Egress rules; policies that contain an Egress section are assumed to affect Egress, and all policies (whether or not they contain an Ingress section) are assumed to affect Ingress. If you want to write an egress-only policy, you must explicitly specify policyTypes [ "Egress" ]. Likewise, if you want to write a policy that specifies that no egress is allowed, you must specify a policyTypes value that include "Egress" (since such a policy would not include an Egress section and would otherwise default to just [ "Ingress" ]). This field is beta-level in 1.8 @@ -27,7 +27,7 @@ schema NetworkPolicySpec: ingress?: [NetworkPolicyIngressRule] - podSelector: v1.LabelSelector + podSelector: metav1.LabelSelector policyTypes?: [str] diff --git a/k8s/1.21/api/networking/v1beta1/ingress.k b/k8s/1.21/api/networking/v1beta1/ingress.k index 6569ad3f..5eec23bd 100644 --- a/k8s/1.21/api/networking/v1beta1/ingress.k +++ b/k8s/1.21/api/networking/v1beta1/ingress.k @@ -3,7 +3,7 @@ This is the ingress module in k8s.api.networking.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Ingress: @@ -16,7 +16,7 @@ schema Ingress: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Ingress", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : IngressSpec, default is Undefined, optional Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Ingress: kind: "Ingress" = "Ingress" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: IngressSpec diff --git a/k8s/1.21/api/networking/v1beta1/ingress_class.k b/k8s/1.21/api/networking/v1beta1/ingress_class.k index f560f8bd..c359bfa6 100644 --- a/k8s/1.21/api/networking/v1beta1/ingress_class.k +++ b/k8s/1.21/api/networking/v1beta1/ingress_class.k @@ -3,7 +3,7 @@ This is the ingress_class module in k8s.api.networking.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema IngressClass: @@ -16,7 +16,7 @@ schema IngressClass: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "IngressClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : IngressClassSpec, default is Undefined, optional Spec is the desired state of the IngressClass. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema IngressClass: kind: "IngressClass" = "IngressClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: IngressClassSpec diff --git a/k8s/1.21/api/networking/v1beta1/ingress_class_list.k b/k8s/1.21/api/networking/v1beta1/ingress_class_list.k index 72e420ba..89464976 100644 --- a/k8s/1.21/api/networking/v1beta1/ingress_class_list.k +++ b/k8s/1.21/api/networking/v1beta1/ingress_class_list.k @@ -3,7 +3,7 @@ This is the ingress_class_list module in k8s.api.networking.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema IngressClassList: @@ -18,7 +18,7 @@ schema IngressClassList: Items is the list of IngressClasses. kind : str, default is "IngressClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema IngressClassList: kind: "IngressClassList" = "IngressClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/networking/v1beta1/ingress_list.k b/k8s/1.21/api/networking/v1beta1/ingress_list.k index 5f4b222c..f4249052 100644 --- a/k8s/1.21/api/networking/v1beta1/ingress_list.k +++ b/k8s/1.21/api/networking/v1beta1/ingress_list.k @@ -3,7 +3,7 @@ This is the ingress_list module in k8s.api.networking.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema IngressList: @@ -18,7 +18,7 @@ schema IngressList: Items is the list of Ingress. kind : str, default is "IngressList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema IngressList: kind: "IngressList" = "IngressList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/node/v1/runtime_class.k b/k8s/1.21/api/node/v1/runtime_class.k index c40f1039..718cd8b9 100644 --- a/k8s/1.21/api/node/v1/runtime_class.k +++ b/k8s/1.21/api/node/v1/runtime_class.k @@ -3,7 +3,7 @@ This is the runtime_class module in k8s.api.node.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RuntimeClass: @@ -18,7 +18,7 @@ schema RuntimeClass: Handler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration. It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called "runc" might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The Handler must be lowercase, conform to the DNS Label (RFC 1123) requirements, and is immutable. kind : str, default is "RuntimeClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata overhead : Overhead, default is Undefined, optional Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see @@ -35,7 +35,7 @@ schema RuntimeClass: kind: "RuntimeClass" = "RuntimeClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta overhead?: Overhead diff --git a/k8s/1.21/api/node/v1/runtime_class_list.k b/k8s/1.21/api/node/v1/runtime_class_list.k index 66bfea91..4f1ac3f5 100644 --- a/k8s/1.21/api/node/v1/runtime_class_list.k +++ b/k8s/1.21/api/node/v1/runtime_class_list.k @@ -3,7 +3,7 @@ This is the runtime_class_list module in k8s.api.node.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RuntimeClassList: @@ -18,7 +18,7 @@ schema RuntimeClassList: Items is a list of schema objects. kind : str, default is "RuntimeClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema RuntimeClassList: kind: "RuntimeClassList" = "RuntimeClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/node/v1alpha1/runtime_class.k b/k8s/1.21/api/node/v1alpha1/runtime_class.k index 32997d20..24b160c8 100644 --- a/k8s/1.21/api/node/v1alpha1/runtime_class.k +++ b/k8s/1.21/api/node/v1alpha1/runtime_class.k @@ -3,7 +3,7 @@ This is the runtime_class module in k8s.api.node.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RuntimeClass: @@ -16,7 +16,7 @@ schema RuntimeClass: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "RuntimeClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : RuntimeClassSpec, default is Undefined, required Specification of the RuntimeClass More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema RuntimeClass: kind: "RuntimeClass" = "RuntimeClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: RuntimeClassSpec diff --git a/k8s/1.21/api/node/v1alpha1/runtime_class_list.k b/k8s/1.21/api/node/v1alpha1/runtime_class_list.k index 9a7cbb22..6db85ede 100644 --- a/k8s/1.21/api/node/v1alpha1/runtime_class_list.k +++ b/k8s/1.21/api/node/v1alpha1/runtime_class_list.k @@ -3,7 +3,7 @@ This is the runtime_class_list module in k8s.api.node.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RuntimeClassList: @@ -18,7 +18,7 @@ schema RuntimeClassList: Items is a list of schema objects. kind : str, default is "RuntimeClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema RuntimeClassList: kind: "RuntimeClassList" = "RuntimeClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/node/v1beta1/runtime_class.k b/k8s/1.21/api/node/v1beta1/runtime_class.k index 501b4a5e..da6cc7fc 100644 --- a/k8s/1.21/api/node/v1beta1/runtime_class.k +++ b/k8s/1.21/api/node/v1beta1/runtime_class.k @@ -3,7 +3,7 @@ This is the runtime_class module in k8s.api.node.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RuntimeClass: @@ -18,7 +18,7 @@ schema RuntimeClass: Handler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration. It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called "runc" might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The Handler must be lowercase, conform to the DNS Label (RFC 1123) requirements, and is immutable. kind : str, default is "RuntimeClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata overhead : Overhead, default is Undefined, optional Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see https://git.k8s.io/enhancements/keps/sig-node/20190226-pod-overhead.md This field is alpha-level as of Kubernetes v1.15, and is only honored by servers that enable the PodOverhead feature. @@ -33,7 +33,7 @@ schema RuntimeClass: kind: "RuntimeClass" = "RuntimeClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta overhead?: Overhead diff --git a/k8s/1.21/api/node/v1beta1/runtime_class_list.k b/k8s/1.21/api/node/v1beta1/runtime_class_list.k index 19de4405..96178e8c 100644 --- a/k8s/1.21/api/node/v1beta1/runtime_class_list.k +++ b/k8s/1.21/api/node/v1beta1/runtime_class_list.k @@ -3,7 +3,7 @@ This is the runtime_class_list module in k8s.api.node.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RuntimeClassList: @@ -18,7 +18,7 @@ schema RuntimeClassList: Items is a list of schema objects. kind : str, default is "RuntimeClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema RuntimeClassList: kind: "RuntimeClassList" = "RuntimeClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/policy/v1/pod_disruption_budget.k b/k8s/1.21/api/policy/v1/pod_disruption_budget.k index 08151f41..02483ed4 100644 --- a/k8s/1.21/api/policy/v1/pod_disruption_budget.k +++ b/k8s/1.21/api/policy/v1/pod_disruption_budget.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget module in k8s.api.policy.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudget: @@ -16,7 +16,7 @@ schema PodDisruptionBudget: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PodDisruptionBudget", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PodDisruptionBudgetSpec, default is Undefined, optional Specification of the desired behavior of the PodDisruptionBudget. @@ -27,7 +27,7 @@ schema PodDisruptionBudget: kind: "PodDisruptionBudget" = "PodDisruptionBudget" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PodDisruptionBudgetSpec diff --git a/k8s/1.21/api/policy/v1/pod_disruption_budget_list.k b/k8s/1.21/api/policy/v1/pod_disruption_budget_list.k index 9075ecd9..0a3f925d 100644 --- a/k8s/1.21/api/policy/v1/pod_disruption_budget_list.k +++ b/k8s/1.21/api/policy/v1/pod_disruption_budget_list.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget_list module in k8s.api.policy.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudgetList: @@ -18,7 +18,7 @@ schema PodDisruptionBudgetList: Items is a list of PodDisruptionBudgets kind : str, default is "PodDisruptionBudgetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PodDisruptionBudgetList: kind: "PodDisruptionBudgetList" = "PodDisruptionBudgetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/policy/v1/pod_disruption_budget_spec.k b/k8s/1.21/api/policy/v1/pod_disruption_budget_spec.k index 6e881436..39b64d7c 100644 --- a/k8s/1.21/api/policy/v1/pod_disruption_budget_spec.k +++ b/k8s/1.21/api/policy/v1/pod_disruption_budget_spec.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget_spec module in k8s.api.policy.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudgetSpec: @@ -16,7 +16,7 @@ schema PodDisruptionBudgetSpec: An eviction is allowed if at most "maxUnavailable" pods selected by "selector" are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with "minAvailable". minAvailable : int | str, default is Undefined, optional An eviction is allowed if at least "minAvailable" pods selected by "selector" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying "100%". - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional Label query over pods whose evictions are managed by the disruption budget. A null selector will match no pods, while an empty ({}) selector will select all pods within the namespace. """ @@ -25,6 +25,6 @@ schema PodDisruptionBudgetSpec: minAvailable?: int | str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector diff --git a/k8s/1.21/api/policy/v1/pod_disruption_budget_status.k b/k8s/1.21/api/policy/v1/pod_disruption_budget_status.k index 58d0ef88..b8db8025 100644 --- a/k8s/1.21/api/policy/v1/pod_disruption_budget_status.k +++ b/k8s/1.21/api/policy/v1/pod_disruption_budget_status.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget_status module in k8s.api.policy.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudgetStatus: @@ -12,7 +12,7 @@ schema PodDisruptionBudgetStatus: Attributes ---------- - conditions : [v1.Condition], default is Undefined, optional + conditions : [metav1.Condition], default is Undefined, optional Conditions contain conditions for PDB. The disruption controller sets the DisruptionAllowed condition. The following are known values for the reason field (additional reasons could be added in the future): - SyncFailed: The controller encountered an error and wasn't able to compute the number of allowed disruptions. Therefore no disruptions are allowed and the status of the condition will be False. @@ -37,7 +37,7 @@ schema PodDisruptionBudgetStatus: """ - conditions?: [v1.Condition] + conditions?: [metav1.Condition] currentHealthy: int diff --git a/k8s/1.21/api/policy/v1beta1/eviction.k b/k8s/1.21/api/policy/v1beta1/eviction.k index 7f8d1a0b..af6f9667 100644 --- a/k8s/1.21/api/policy/v1beta1/eviction.k +++ b/k8s/1.21/api/policy/v1beta1/eviction.k @@ -3,7 +3,7 @@ This is the eviction module in k8s.api.policy.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Eviction: @@ -14,21 +14,21 @@ schema Eviction: ---------- apiVersion : str, default is "policy/v1beta1", required APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - deleteOptions : v1.DeleteOptions, default is Undefined, optional + deleteOptions : metav1.DeleteOptions, default is Undefined, optional DeleteOptions may be provided kind : str, default is "Eviction", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional ObjectMeta describes the pod that is being evicted. """ apiVersion: "policy/v1beta1" = "policy/v1beta1" - deleteOptions?: v1.DeleteOptions + deleteOptions?: metav1.DeleteOptions kind: "Eviction" = "Eviction" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta diff --git a/k8s/1.21/api/policy/v1beta1/pod_disruption_budget.k b/k8s/1.21/api/policy/v1beta1/pod_disruption_budget.k index 4bd867ee..8ec33062 100644 --- a/k8s/1.21/api/policy/v1beta1/pod_disruption_budget.k +++ b/k8s/1.21/api/policy/v1beta1/pod_disruption_budget.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget module in k8s.api.policy.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudget: @@ -16,7 +16,7 @@ schema PodDisruptionBudget: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PodDisruptionBudget", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : PodDisruptionBudgetSpec, default is Undefined, optional Specification of the desired behavior of the PodDisruptionBudget. @@ -27,7 +27,7 @@ schema PodDisruptionBudget: kind: "PodDisruptionBudget" = "PodDisruptionBudget" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PodDisruptionBudgetSpec diff --git a/k8s/1.21/api/policy/v1beta1/pod_disruption_budget_list.k b/k8s/1.21/api/policy/v1beta1/pod_disruption_budget_list.k index 7c9ed9f2..76dc4f1f 100644 --- a/k8s/1.21/api/policy/v1beta1/pod_disruption_budget_list.k +++ b/k8s/1.21/api/policy/v1beta1/pod_disruption_budget_list.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget_list module in k8s.api.policy.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudgetList: @@ -18,7 +18,7 @@ schema PodDisruptionBudgetList: items kind : str, default is "PodDisruptionBudgetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema PodDisruptionBudgetList: kind: "PodDisruptionBudgetList" = "PodDisruptionBudgetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/policy/v1beta1/pod_disruption_budget_spec.k b/k8s/1.21/api/policy/v1beta1/pod_disruption_budget_spec.k index f89a8e1f..555fad23 100644 --- a/k8s/1.21/api/policy/v1beta1/pod_disruption_budget_spec.k +++ b/k8s/1.21/api/policy/v1beta1/pod_disruption_budget_spec.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget_spec module in k8s.api.policy.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudgetSpec: @@ -16,7 +16,7 @@ schema PodDisruptionBudgetSpec: An eviction is allowed if at most "maxUnavailable" pods selected by "selector" are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with "minAvailable". minAvailable : int | str, default is Undefined, optional An eviction is allowed if at least "minAvailable" pods selected by "selector" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying "100%". - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional Label query over pods whose evictions are managed by the disruption budget. A null selector selects no pods. An empty selector ({}) also selects no pods, which differs from standard behavior of selecting all pods. In policy/v1, an empty selector will select all pods in the namespace. """ @@ -25,6 +25,6 @@ schema PodDisruptionBudgetSpec: minAvailable?: int | str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector diff --git a/k8s/1.21/api/policy/v1beta1/pod_disruption_budget_status.k b/k8s/1.21/api/policy/v1beta1/pod_disruption_budget_status.k index 955efb74..efd5adae 100644 --- a/k8s/1.21/api/policy/v1beta1/pod_disruption_budget_status.k +++ b/k8s/1.21/api/policy/v1beta1/pod_disruption_budget_status.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget_status module in k8s.api.policy.v1beta1 packag This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudgetStatus: @@ -12,7 +12,7 @@ schema PodDisruptionBudgetStatus: Attributes ---------- - conditions : [v1.Condition], default is Undefined, optional + conditions : [metav1.Condition], default is Undefined, optional Conditions contain conditions for PDB. The disruption controller sets the DisruptionAllowed condition. The following are known values for the reason field (additional reasons could be added in the future): - SyncFailed: The controller encountered an error and wasn't able to compute the number of allowed disruptions. Therefore no disruptions are allowed and the status of the condition will be False. @@ -37,7 +37,7 @@ schema PodDisruptionBudgetStatus: """ - conditions?: [v1.Condition] + conditions?: [metav1.Condition] currentHealthy: int diff --git a/k8s/1.21/api/policy/v1beta1/pod_security_policy.k b/k8s/1.21/api/policy/v1beta1/pod_security_policy.k index 5adb52bb..f7d9ec1a 100644 --- a/k8s/1.21/api/policy/v1beta1/pod_security_policy.k +++ b/k8s/1.21/api/policy/v1beta1/pod_security_policy.k @@ -3,7 +3,7 @@ This is the pod_security_policy module in k8s.api.policy.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodSecurityPolicy: @@ -16,7 +16,7 @@ schema PodSecurityPolicy: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PodSecurityPolicy", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PodSecurityPolicySpec, default is Undefined, optional spec defines the policy enforced. @@ -27,7 +27,7 @@ schema PodSecurityPolicy: kind: "PodSecurityPolicy" = "PodSecurityPolicy" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PodSecurityPolicySpec diff --git a/k8s/1.21/api/policy/v1beta1/pod_security_policy_list.k b/k8s/1.21/api/policy/v1beta1/pod_security_policy_list.k index 72500195..422fdc1a 100644 --- a/k8s/1.21/api/policy/v1beta1/pod_security_policy_list.k +++ b/k8s/1.21/api/policy/v1beta1/pod_security_policy_list.k @@ -3,7 +3,7 @@ This is the pod_security_policy_list module in k8s.api.policy.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodSecurityPolicyList: @@ -18,7 +18,7 @@ schema PodSecurityPolicyList: items is a list of schema objects. kind : str, default is "PodSecurityPolicyList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PodSecurityPolicyList: kind: "PodSecurityPolicyList" = "PodSecurityPolicyList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/rbac/v1/aggregation_rule.k b/k8s/1.21/api/rbac/v1/aggregation_rule.k index c7969ee4..b6898869 100644 --- a/k8s/1.21/api/rbac/v1/aggregation_rule.k +++ b/k8s/1.21/api/rbac/v1/aggregation_rule.k @@ -3,7 +3,7 @@ This is the aggregation_rule module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema AggregationRule: @@ -12,11 +12,11 @@ schema AggregationRule: Attributes ---------- - clusterRoleSelectors : [v1.LabelSelector], default is Undefined, optional + clusterRoleSelectors : [metav1.LabelSelector], default is Undefined, optional ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added """ - clusterRoleSelectors?: [v1.LabelSelector] + clusterRoleSelectors?: [metav1.LabelSelector] diff --git a/k8s/1.21/api/rbac/v1/cluster_role.k b/k8s/1.21/api/rbac/v1/cluster_role.k index fcf42d1b..d32837ea 100644 --- a/k8s/1.21/api/rbac/v1/cluster_role.k +++ b/k8s/1.21/api/rbac/v1/cluster_role.k @@ -3,7 +3,7 @@ This is the cluster_role module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRole: @@ -18,7 +18,7 @@ schema ClusterRole: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ClusterRole", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. rules : [PolicyRule], default is Undefined, optional Rules holds all the PolicyRules for this ClusterRole @@ -31,7 +31,7 @@ schema ClusterRole: kind: "ClusterRole" = "ClusterRole" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta rules?: [PolicyRule] diff --git a/k8s/1.21/api/rbac/v1/cluster_role_binding.k b/k8s/1.21/api/rbac/v1/cluster_role_binding.k index e670588e..1b2c4294 100644 --- a/k8s/1.21/api/rbac/v1/cluster_role_binding.k +++ b/k8s/1.21/api/rbac/v1/cluster_role_binding.k @@ -3,7 +3,7 @@ This is the cluster_role_binding module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleBinding: @@ -16,7 +16,7 @@ schema ClusterRoleBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ClusterRoleBinding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. roleRef : RoleRef, default is Undefined, required RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. @@ -29,7 +29,7 @@ schema ClusterRoleBinding: kind: "ClusterRoleBinding" = "ClusterRoleBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta roleRef: RoleRef diff --git a/k8s/1.21/api/rbac/v1/cluster_role_binding_list.k b/k8s/1.21/api/rbac/v1/cluster_role_binding_list.k index fd53865a..bd13f6fa 100644 --- a/k8s/1.21/api/rbac/v1/cluster_role_binding_list.k +++ b/k8s/1.21/api/rbac/v1/cluster_role_binding_list.k @@ -3,7 +3,7 @@ This is the cluster_role_binding_list module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleBindingList: @@ -18,7 +18,7 @@ schema ClusterRoleBindingList: Items is a list of ClusterRoleBindings kind : str, default is "ClusterRoleBindingList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema ClusterRoleBindingList: kind: "ClusterRoleBindingList" = "ClusterRoleBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/rbac/v1/cluster_role_list.k b/k8s/1.21/api/rbac/v1/cluster_role_list.k index 8be0e1a6..303e00aa 100644 --- a/k8s/1.21/api/rbac/v1/cluster_role_list.k +++ b/k8s/1.21/api/rbac/v1/cluster_role_list.k @@ -3,7 +3,7 @@ This is the cluster_role_list module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleList: @@ -18,7 +18,7 @@ schema ClusterRoleList: Items is a list of ClusterRoles kind : str, default is "ClusterRoleList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema ClusterRoleList: kind: "ClusterRoleList" = "ClusterRoleList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/rbac/v1/role.k b/k8s/1.21/api/rbac/v1/role.k index f72c1ab0..db02dfef 100644 --- a/k8s/1.21/api/rbac/v1/role.k +++ b/k8s/1.21/api/rbac/v1/role.k @@ -3,7 +3,7 @@ This is the role module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Role: @@ -16,7 +16,7 @@ schema Role: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Role", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. rules : [PolicyRule], default is Undefined, optional Rules holds all the PolicyRules for this Role @@ -27,7 +27,7 @@ schema Role: kind: "Role" = "Role" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta rules?: [PolicyRule] diff --git a/k8s/1.21/api/rbac/v1/role_binding.k b/k8s/1.21/api/rbac/v1/role_binding.k index a305e8b1..efa93d8c 100644 --- a/k8s/1.21/api/rbac/v1/role_binding.k +++ b/k8s/1.21/api/rbac/v1/role_binding.k @@ -3,7 +3,7 @@ This is the role_binding module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleBinding: @@ -16,7 +16,7 @@ schema RoleBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "RoleBinding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. roleRef : RoleRef, default is Undefined, required RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. @@ -29,7 +29,7 @@ schema RoleBinding: kind: "RoleBinding" = "RoleBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta roleRef: RoleRef diff --git a/k8s/1.21/api/rbac/v1/role_binding_list.k b/k8s/1.21/api/rbac/v1/role_binding_list.k index ef8b7fc8..cb8d7400 100644 --- a/k8s/1.21/api/rbac/v1/role_binding_list.k +++ b/k8s/1.21/api/rbac/v1/role_binding_list.k @@ -3,7 +3,7 @@ This is the role_binding_list module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleBindingList: @@ -18,7 +18,7 @@ schema RoleBindingList: Items is a list of RoleBindings kind : str, default is "RoleBindingList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema RoleBindingList: kind: "RoleBindingList" = "RoleBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/rbac/v1/role_list.k b/k8s/1.21/api/rbac/v1/role_list.k index 6e7826e6..d102bc0c 100644 --- a/k8s/1.21/api/rbac/v1/role_list.k +++ b/k8s/1.21/api/rbac/v1/role_list.k @@ -3,7 +3,7 @@ This is the role_list module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleList: @@ -18,7 +18,7 @@ schema RoleList: Items is a list of Roles kind : str, default is "RoleList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema RoleList: kind: "RoleList" = "RoleList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/rbac/v1alpha1/aggregation_rule.k b/k8s/1.21/api/rbac/v1alpha1/aggregation_rule.k index 528fe561..c9b2af20 100644 --- a/k8s/1.21/api/rbac/v1alpha1/aggregation_rule.k +++ b/k8s/1.21/api/rbac/v1alpha1/aggregation_rule.k @@ -3,7 +3,7 @@ This is the aggregation_rule module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema AggregationRule: @@ -12,11 +12,11 @@ schema AggregationRule: Attributes ---------- - clusterRoleSelectors : [v1.LabelSelector], default is Undefined, optional + clusterRoleSelectors : [metav1.LabelSelector], default is Undefined, optional ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added """ - clusterRoleSelectors?: [v1.LabelSelector] + clusterRoleSelectors?: [metav1.LabelSelector] diff --git a/k8s/1.21/api/rbac/v1alpha1/cluster_role.k b/k8s/1.21/api/rbac/v1alpha1/cluster_role.k index 575a9cc7..657dbc2f 100644 --- a/k8s/1.21/api/rbac/v1alpha1/cluster_role.k +++ b/k8s/1.21/api/rbac/v1alpha1/cluster_role.k @@ -3,7 +3,7 @@ This is the cluster_role module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRole: @@ -18,7 +18,7 @@ schema ClusterRole: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ClusterRole", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. rules : [PolicyRule], default is Undefined, optional Rules holds all the PolicyRules for this ClusterRole @@ -31,7 +31,7 @@ schema ClusterRole: kind: "ClusterRole" = "ClusterRole" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta rules?: [PolicyRule] diff --git a/k8s/1.21/api/rbac/v1alpha1/cluster_role_binding.k b/k8s/1.21/api/rbac/v1alpha1/cluster_role_binding.k index 52d3d37f..f8461b42 100644 --- a/k8s/1.21/api/rbac/v1alpha1/cluster_role_binding.k +++ b/k8s/1.21/api/rbac/v1alpha1/cluster_role_binding.k @@ -3,7 +3,7 @@ This is the cluster_role_binding module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleBinding: @@ -16,7 +16,7 @@ schema ClusterRoleBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ClusterRoleBinding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. roleRef : RoleRef, default is Undefined, required RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. @@ -29,7 +29,7 @@ schema ClusterRoleBinding: kind: "ClusterRoleBinding" = "ClusterRoleBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta roleRef: RoleRef diff --git a/k8s/1.21/api/rbac/v1alpha1/cluster_role_binding_list.k b/k8s/1.21/api/rbac/v1alpha1/cluster_role_binding_list.k index 2bfe341d..b56526be 100644 --- a/k8s/1.21/api/rbac/v1alpha1/cluster_role_binding_list.k +++ b/k8s/1.21/api/rbac/v1alpha1/cluster_role_binding_list.k @@ -3,7 +3,7 @@ This is the cluster_role_binding_list module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleBindingList: @@ -18,7 +18,7 @@ schema ClusterRoleBindingList: Items is a list of ClusterRoleBindings kind : str, default is "ClusterRoleBindingList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema ClusterRoleBindingList: kind: "ClusterRoleBindingList" = "ClusterRoleBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/rbac/v1alpha1/cluster_role_list.k b/k8s/1.21/api/rbac/v1alpha1/cluster_role_list.k index 1618ae56..24f24ffb 100644 --- a/k8s/1.21/api/rbac/v1alpha1/cluster_role_list.k +++ b/k8s/1.21/api/rbac/v1alpha1/cluster_role_list.k @@ -3,7 +3,7 @@ This is the cluster_role_list module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleList: @@ -18,7 +18,7 @@ schema ClusterRoleList: Items is a list of ClusterRoles kind : str, default is "ClusterRoleList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema ClusterRoleList: kind: "ClusterRoleList" = "ClusterRoleList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/rbac/v1alpha1/role.k b/k8s/1.21/api/rbac/v1alpha1/role.k index 04b73319..d77aa86d 100644 --- a/k8s/1.21/api/rbac/v1alpha1/role.k +++ b/k8s/1.21/api/rbac/v1alpha1/role.k @@ -3,7 +3,7 @@ This is the role module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Role: @@ -16,7 +16,7 @@ schema Role: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Role", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. rules : [PolicyRule], default is Undefined, optional Rules holds all the PolicyRules for this Role @@ -27,7 +27,7 @@ schema Role: kind: "Role" = "Role" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta rules?: [PolicyRule] diff --git a/k8s/1.21/api/rbac/v1alpha1/role_binding.k b/k8s/1.21/api/rbac/v1alpha1/role_binding.k index 4d8b1be7..54a70911 100644 --- a/k8s/1.21/api/rbac/v1alpha1/role_binding.k +++ b/k8s/1.21/api/rbac/v1alpha1/role_binding.k @@ -3,7 +3,7 @@ This is the role_binding module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleBinding: @@ -16,7 +16,7 @@ schema RoleBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "RoleBinding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. roleRef : RoleRef, default is Undefined, required RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. @@ -29,7 +29,7 @@ schema RoleBinding: kind: "RoleBinding" = "RoleBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta roleRef: RoleRef diff --git a/k8s/1.21/api/rbac/v1alpha1/role_binding_list.k b/k8s/1.21/api/rbac/v1alpha1/role_binding_list.k index 4e041bf4..488775b1 100644 --- a/k8s/1.21/api/rbac/v1alpha1/role_binding_list.k +++ b/k8s/1.21/api/rbac/v1alpha1/role_binding_list.k @@ -3,7 +3,7 @@ This is the role_binding_list module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleBindingList: @@ -18,7 +18,7 @@ schema RoleBindingList: Items is a list of RoleBindings kind : str, default is "RoleBindingList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema RoleBindingList: kind: "RoleBindingList" = "RoleBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/rbac/v1alpha1/role_list.k b/k8s/1.21/api/rbac/v1alpha1/role_list.k index 0f4b5901..57cb790f 100644 --- a/k8s/1.21/api/rbac/v1alpha1/role_list.k +++ b/k8s/1.21/api/rbac/v1alpha1/role_list.k @@ -3,7 +3,7 @@ This is the role_list module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleList: @@ -18,7 +18,7 @@ schema RoleList: Items is a list of Roles kind : str, default is "RoleList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema RoleList: kind: "RoleList" = "RoleList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/rbac/v1beta1/aggregation_rule.k b/k8s/1.21/api/rbac/v1beta1/aggregation_rule.k index cd7ef918..41e15e52 100644 --- a/k8s/1.21/api/rbac/v1beta1/aggregation_rule.k +++ b/k8s/1.21/api/rbac/v1beta1/aggregation_rule.k @@ -3,7 +3,7 @@ This is the aggregation_rule module in k8s.api.rbac.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema AggregationRule: @@ -12,11 +12,11 @@ schema AggregationRule: Attributes ---------- - clusterRoleSelectors : [v1.LabelSelector], default is Undefined, optional + clusterRoleSelectors : [metav1.LabelSelector], default is Undefined, optional ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added """ - clusterRoleSelectors?: [v1.LabelSelector] + clusterRoleSelectors?: [metav1.LabelSelector] diff --git a/k8s/1.21/api/rbac/v1beta1/cluster_role.k b/k8s/1.21/api/rbac/v1beta1/cluster_role.k index 9e512e94..217b7a79 100644 --- a/k8s/1.21/api/rbac/v1beta1/cluster_role.k +++ b/k8s/1.21/api/rbac/v1beta1/cluster_role.k @@ -3,7 +3,7 @@ This is the cluster_role module in k8s.api.rbac.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRole: @@ -18,7 +18,7 @@ schema ClusterRole: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ClusterRole", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. rules : [PolicyRule], default is Undefined, optional Rules holds all the PolicyRules for this ClusterRole @@ -31,7 +31,7 @@ schema ClusterRole: kind: "ClusterRole" = "ClusterRole" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta rules?: [PolicyRule] diff --git a/k8s/1.21/api/rbac/v1beta1/cluster_role_binding.k b/k8s/1.21/api/rbac/v1beta1/cluster_role_binding.k index 27bce424..2b22db72 100644 --- a/k8s/1.21/api/rbac/v1beta1/cluster_role_binding.k +++ b/k8s/1.21/api/rbac/v1beta1/cluster_role_binding.k @@ -3,7 +3,7 @@ This is the cluster_role_binding module in k8s.api.rbac.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleBinding: @@ -16,7 +16,7 @@ schema ClusterRoleBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ClusterRoleBinding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. roleRef : RoleRef, default is Undefined, required RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. @@ -29,7 +29,7 @@ schema ClusterRoleBinding: kind: "ClusterRoleBinding" = "ClusterRoleBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta roleRef: RoleRef diff --git a/k8s/1.21/api/rbac/v1beta1/cluster_role_binding_list.k b/k8s/1.21/api/rbac/v1beta1/cluster_role_binding_list.k index ae9124bf..47d89ef4 100644 --- a/k8s/1.21/api/rbac/v1beta1/cluster_role_binding_list.k +++ b/k8s/1.21/api/rbac/v1beta1/cluster_role_binding_list.k @@ -3,7 +3,7 @@ This is the cluster_role_binding_list module in k8s.api.rbac.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleBindingList: @@ -18,7 +18,7 @@ schema ClusterRoleBindingList: Items is a list of ClusterRoleBindings kind : str, default is "ClusterRoleBindingList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema ClusterRoleBindingList: kind: "ClusterRoleBindingList" = "ClusterRoleBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/rbac/v1beta1/cluster_role_list.k b/k8s/1.21/api/rbac/v1beta1/cluster_role_list.k index 0ca126e5..ccb1e5d9 100644 --- a/k8s/1.21/api/rbac/v1beta1/cluster_role_list.k +++ b/k8s/1.21/api/rbac/v1beta1/cluster_role_list.k @@ -3,7 +3,7 @@ This is the cluster_role_list module in k8s.api.rbac.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleList: @@ -18,7 +18,7 @@ schema ClusterRoleList: Items is a list of ClusterRoles kind : str, default is "ClusterRoleList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema ClusterRoleList: kind: "ClusterRoleList" = "ClusterRoleList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/rbac/v1beta1/role.k b/k8s/1.21/api/rbac/v1beta1/role.k index 067918f5..dd0b94cd 100644 --- a/k8s/1.21/api/rbac/v1beta1/role.k +++ b/k8s/1.21/api/rbac/v1beta1/role.k @@ -3,7 +3,7 @@ This is the role module in k8s.api.rbac.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Role: @@ -16,7 +16,7 @@ schema Role: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Role", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. rules : [PolicyRule], default is Undefined, optional Rules holds all the PolicyRules for this Role @@ -27,7 +27,7 @@ schema Role: kind: "Role" = "Role" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta rules?: [PolicyRule] diff --git a/k8s/1.21/api/rbac/v1beta1/role_binding.k b/k8s/1.21/api/rbac/v1beta1/role_binding.k index ce51cc7c..3926fdfe 100644 --- a/k8s/1.21/api/rbac/v1beta1/role_binding.k +++ b/k8s/1.21/api/rbac/v1beta1/role_binding.k @@ -3,7 +3,7 @@ This is the role_binding module in k8s.api.rbac.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleBinding: @@ -16,7 +16,7 @@ schema RoleBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "RoleBinding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. roleRef : RoleRef, default is Undefined, required RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. @@ -29,7 +29,7 @@ schema RoleBinding: kind: "RoleBinding" = "RoleBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta roleRef: RoleRef diff --git a/k8s/1.21/api/rbac/v1beta1/role_binding_list.k b/k8s/1.21/api/rbac/v1beta1/role_binding_list.k index 2b2dfc75..4fc800bd 100644 --- a/k8s/1.21/api/rbac/v1beta1/role_binding_list.k +++ b/k8s/1.21/api/rbac/v1beta1/role_binding_list.k @@ -3,7 +3,7 @@ This is the role_binding_list module in k8s.api.rbac.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleBindingList: @@ -18,7 +18,7 @@ schema RoleBindingList: Items is a list of RoleBindings kind : str, default is "RoleBindingList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema RoleBindingList: kind: "RoleBindingList" = "RoleBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/rbac/v1beta1/role_list.k b/k8s/1.21/api/rbac/v1beta1/role_list.k index a9adf4cb..389c46aa 100644 --- a/k8s/1.21/api/rbac/v1beta1/role_list.k +++ b/k8s/1.21/api/rbac/v1beta1/role_list.k @@ -3,7 +3,7 @@ This is the role_list module in k8s.api.rbac.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleList: @@ -18,7 +18,7 @@ schema RoleList: Items is a list of Roles kind : str, default is "RoleList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema RoleList: kind: "RoleList" = "RoleList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/scheduling/v1/priority_class.k b/k8s/1.21/api/scheduling/v1/priority_class.k index 1bf1a065..06085c45 100644 --- a/k8s/1.21/api/scheduling/v1/priority_class.k +++ b/k8s/1.21/api/scheduling/v1/priority_class.k @@ -3,7 +3,7 @@ This is the priority_class module in k8s.api.scheduling.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityClass: @@ -20,7 +20,7 @@ schema PriorityClass: globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority. kind : str, default is "PriorityClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata preemptionPolicy : str, default is Undefined, optional PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is beta-level, gated by the NonPreemptingPriority feature-gate. @@ -37,7 +37,7 @@ schema PriorityClass: kind: "PriorityClass" = "PriorityClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta preemptionPolicy?: str diff --git a/k8s/1.21/api/scheduling/v1/priority_class_list.k b/k8s/1.21/api/scheduling/v1/priority_class_list.k index ff802048..6d514f6b 100644 --- a/k8s/1.21/api/scheduling/v1/priority_class_list.k +++ b/k8s/1.21/api/scheduling/v1/priority_class_list.k @@ -3,7 +3,7 @@ This is the priority_class_list module in k8s.api.scheduling.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityClassList: @@ -18,7 +18,7 @@ schema PriorityClassList: items is the list of PriorityClasses kind : str, default is "PriorityClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PriorityClassList: kind: "PriorityClassList" = "PriorityClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/scheduling/v1alpha1/priority_class.k b/k8s/1.21/api/scheduling/v1alpha1/priority_class.k index 59462076..87789133 100644 --- a/k8s/1.21/api/scheduling/v1alpha1/priority_class.k +++ b/k8s/1.21/api/scheduling/v1alpha1/priority_class.k @@ -3,7 +3,7 @@ This is the priority_class module in k8s.api.scheduling.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityClass: @@ -20,7 +20,7 @@ schema PriorityClass: globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority. kind : str, default is "PriorityClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata preemptionPolicy : str, default is Undefined, optional PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is beta-level, gated by the NonPreemptingPriority feature-gate. @@ -37,7 +37,7 @@ schema PriorityClass: kind: "PriorityClass" = "PriorityClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta preemptionPolicy?: str diff --git a/k8s/1.21/api/scheduling/v1alpha1/priority_class_list.k b/k8s/1.21/api/scheduling/v1alpha1/priority_class_list.k index f4d8cbfa..97b08586 100644 --- a/k8s/1.21/api/scheduling/v1alpha1/priority_class_list.k +++ b/k8s/1.21/api/scheduling/v1alpha1/priority_class_list.k @@ -3,7 +3,7 @@ This is the priority_class_list module in k8s.api.scheduling.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityClassList: @@ -18,7 +18,7 @@ schema PriorityClassList: items is the list of PriorityClasses kind : str, default is "PriorityClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PriorityClassList: kind: "PriorityClassList" = "PriorityClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/scheduling/v1beta1/priority_class.k b/k8s/1.21/api/scheduling/v1beta1/priority_class.k index 626dc250..61b1859c 100644 --- a/k8s/1.21/api/scheduling/v1beta1/priority_class.k +++ b/k8s/1.21/api/scheduling/v1beta1/priority_class.k @@ -3,7 +3,7 @@ This is the priority_class module in k8s.api.scheduling.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityClass: @@ -20,7 +20,7 @@ schema PriorityClass: globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority. kind : str, default is "PriorityClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata preemptionPolicy : str, default is Undefined, optional PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is beta-level, gated by the NonPreemptingPriority feature-gate. @@ -37,7 +37,7 @@ schema PriorityClass: kind: "PriorityClass" = "PriorityClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta preemptionPolicy?: str diff --git a/k8s/1.21/api/scheduling/v1beta1/priority_class_list.k b/k8s/1.21/api/scheduling/v1beta1/priority_class_list.k index 2788d02c..2187fd8e 100644 --- a/k8s/1.21/api/scheduling/v1beta1/priority_class_list.k +++ b/k8s/1.21/api/scheduling/v1beta1/priority_class_list.k @@ -3,7 +3,7 @@ This is the priority_class_list module in k8s.api.scheduling.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityClassList: @@ -18,7 +18,7 @@ schema PriorityClassList: items is the list of PriorityClasses kind : str, default is "PriorityClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PriorityClassList: kind: "PriorityClassList" = "PriorityClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/storage/v1/csi_driver.k b/k8s/1.21/api/storage/v1/csi_driver.k index 3302994b..cd222b2a 100644 --- a/k8s/1.21/api/storage/v1/csi_driver.k +++ b/k8s/1.21/api/storage/v1/csi_driver.k @@ -3,7 +3,7 @@ This is the csi_driver module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSIDriver: @@ -16,7 +16,7 @@ schema CSIDriver: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CSIDriver", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. metadata.Name indicates the name of the CSI driver that this object refers to; it MUST be the same name returned by the CSI GetPluginName() call for that driver. The driver name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and alphanumerics between. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : CSIDriverSpec, default is Undefined, required Specification of the CSI Driver. @@ -27,7 +27,7 @@ schema CSIDriver: kind: "CSIDriver" = "CSIDriver" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CSIDriverSpec diff --git a/k8s/1.21/api/storage/v1/csi_driver_list.k b/k8s/1.21/api/storage/v1/csi_driver_list.k index 91531b39..8b09e0f6 100644 --- a/k8s/1.21/api/storage/v1/csi_driver_list.k +++ b/k8s/1.21/api/storage/v1/csi_driver_list.k @@ -3,7 +3,7 @@ This is the csi_driver_list module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSIDriverList: @@ -18,7 +18,7 @@ schema CSIDriverList: items is the list of CSIDriver kind : str, default is "CSIDriverList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CSIDriverList: kind: "CSIDriverList" = "CSIDriverList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/storage/v1/csi_node.k b/k8s/1.21/api/storage/v1/csi_node.k index 055f8653..6557da03 100644 --- a/k8s/1.21/api/storage/v1/csi_node.k +++ b/k8s/1.21/api/storage/v1/csi_node.k @@ -3,7 +3,7 @@ This is the csi_node module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSINode: @@ -16,7 +16,7 @@ schema CSINode: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CSINode", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata.name must be the Kubernetes node name. spec : CSINodeSpec, default is Undefined, required spec is the specification of CSINode @@ -27,7 +27,7 @@ schema CSINode: kind: "CSINode" = "CSINode" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CSINodeSpec diff --git a/k8s/1.21/api/storage/v1/csi_node_list.k b/k8s/1.21/api/storage/v1/csi_node_list.k index ce5793c1..3a93da71 100644 --- a/k8s/1.21/api/storage/v1/csi_node_list.k +++ b/k8s/1.21/api/storage/v1/csi_node_list.k @@ -3,7 +3,7 @@ This is the csi_node_list module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSINodeList: @@ -18,7 +18,7 @@ schema CSINodeList: items is the list of CSINode kind : str, default is "CSINodeList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CSINodeList: kind: "CSINodeList" = "CSINodeList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/storage/v1/storage_class_list.k b/k8s/1.21/api/storage/v1/storage_class_list.k index 365e1386..284d43e8 100644 --- a/k8s/1.21/api/storage/v1/storage_class_list.k +++ b/k8s/1.21/api/storage/v1/storage_class_list.k @@ -3,7 +3,7 @@ This is the storage_class_list module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StorageClassList: @@ -18,7 +18,7 @@ schema StorageClassList: Items is the list of StorageClasses kind : str, default is "StorageClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema StorageClassList: kind: "StorageClassList" = "StorageClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/storage/v1/volume_attachment.k b/k8s/1.21/api/storage/v1/volume_attachment.k index e4b9149f..f98beff1 100644 --- a/k8s/1.21/api/storage/v1/volume_attachment.k +++ b/k8s/1.21/api/storage/v1/volume_attachment.k @@ -3,7 +3,7 @@ This is the volume_attachment module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema VolumeAttachment: @@ -18,7 +18,7 @@ schema VolumeAttachment: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "VolumeAttachment", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : VolumeAttachmentSpec, default is Undefined, required Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system. @@ -29,7 +29,7 @@ schema VolumeAttachment: kind: "VolumeAttachment" = "VolumeAttachment" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: VolumeAttachmentSpec diff --git a/k8s/1.21/api/storage/v1/volume_attachment_list.k b/k8s/1.21/api/storage/v1/volume_attachment_list.k index ef702d0d..0719d0bc 100644 --- a/k8s/1.21/api/storage/v1/volume_attachment_list.k +++ b/k8s/1.21/api/storage/v1/volume_attachment_list.k @@ -3,7 +3,7 @@ This is the volume_attachment_list module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema VolumeAttachmentList: @@ -18,7 +18,7 @@ schema VolumeAttachmentList: Items is the list of VolumeAttachments kind : str, default is "VolumeAttachmentList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema VolumeAttachmentList: kind: "VolumeAttachmentList" = "VolumeAttachmentList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/storage/v1alpha1/csi_storage_capacity.k b/k8s/1.21/api/storage/v1alpha1/csi_storage_capacity.k index 4fa5781a..2baaab88 100644 --- a/k8s/1.21/api/storage/v1alpha1/csi_storage_capacity.k +++ b/k8s/1.21/api/storage/v1alpha1/csi_storage_capacity.k @@ -3,7 +3,7 @@ This is the csi_storage_capacity module in k8s.api.storage.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSIStorageCapacity: @@ -32,13 +32,13 @@ schema CSIStorageCapacity: MaximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields. This is defined since CSI spec 1.4.0 as the largest size that may be used in a CreateVolumeRequest.capacity_range.required_bytes field to create a volume with the same parameters as those in GetCapacityRequest. The corresponding value in the Kubernetes API is ResourceRequirements.Requests in a volume claim. - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. The name has no particular meaning. It must be be a DNS subdomain (dots allowed, 253 characters). To ensure that there are no conflicts with other CSI drivers on the cluster, the recommendation is to use csisc-, a generated name, or a reverse-domain name which ends with the unique CSI driver name. Objects are namespaced. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - nodeTopology : v1.LabelSelector, default is Undefined, optional + nodeTopology : metav1.LabelSelector, default is Undefined, optional NodeTopology defines which nodes have access to the storage for which capacity was reported. If not set, the storage is not accessible from any node in the cluster. If empty, the storage is accessible from all nodes. This field is immutable. storageClassName : str, default is Undefined, required The name of the StorageClass that the reported capacity applies to. It must meet the same requirements as the name of a StorageClass object (non-empty, DNS subdomain). If that object no longer exists, the CSIStorageCapacity object is obsolete and should be removed by its creator. This field is immutable. @@ -53,9 +53,9 @@ schema CSIStorageCapacity: maximumVolumeSize?: str - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta - nodeTopology?: v1.LabelSelector + nodeTopology?: metav1.LabelSelector storageClassName: str diff --git a/k8s/1.21/api/storage/v1alpha1/csi_storage_capacity_list.k b/k8s/1.21/api/storage/v1alpha1/csi_storage_capacity_list.k index af9ec49e..10082fb8 100644 --- a/k8s/1.21/api/storage/v1alpha1/csi_storage_capacity_list.k +++ b/k8s/1.21/api/storage/v1alpha1/csi_storage_capacity_list.k @@ -3,7 +3,7 @@ This is the csi_storage_capacity_list module in k8s.api.storage.v1alpha1 package This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSIStorageCapacityList: @@ -18,7 +18,7 @@ schema CSIStorageCapacityList: Items is the list of CSIStorageCapacity objects. kind : str, default is "CSIStorageCapacityList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CSIStorageCapacityList: kind: "CSIStorageCapacityList" = "CSIStorageCapacityList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/storage/v1alpha1/volume_attachment.k b/k8s/1.21/api/storage/v1alpha1/volume_attachment.k index ac3e542b..69bcab61 100644 --- a/k8s/1.21/api/storage/v1alpha1/volume_attachment.k +++ b/k8s/1.21/api/storage/v1alpha1/volume_attachment.k @@ -3,7 +3,7 @@ This is the volume_attachment module in k8s.api.storage.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema VolumeAttachment: @@ -18,7 +18,7 @@ schema VolumeAttachment: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "VolumeAttachment", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : VolumeAttachmentSpec, default is Undefined, required Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system. @@ -29,7 +29,7 @@ schema VolumeAttachment: kind: "VolumeAttachment" = "VolumeAttachment" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: VolumeAttachmentSpec diff --git a/k8s/1.21/api/storage/v1alpha1/volume_attachment_list.k b/k8s/1.21/api/storage/v1alpha1/volume_attachment_list.k index ddb512e0..f89560d9 100644 --- a/k8s/1.21/api/storage/v1alpha1/volume_attachment_list.k +++ b/k8s/1.21/api/storage/v1alpha1/volume_attachment_list.k @@ -3,7 +3,7 @@ This is the volume_attachment_list module in k8s.api.storage.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema VolumeAttachmentList: @@ -18,7 +18,7 @@ schema VolumeAttachmentList: Items is the list of VolumeAttachments kind : str, default is "VolumeAttachmentList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema VolumeAttachmentList: kind: "VolumeAttachmentList" = "VolumeAttachmentList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/storage/v1beta1/csi_driver.k b/k8s/1.21/api/storage/v1beta1/csi_driver.k index e4145edc..be666b1b 100644 --- a/k8s/1.21/api/storage/v1beta1/csi_driver.k +++ b/k8s/1.21/api/storage/v1beta1/csi_driver.k @@ -3,7 +3,7 @@ This is the csi_driver module in k8s.api.storage.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSIDriver: @@ -16,7 +16,7 @@ schema CSIDriver: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CSIDriver", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. metadata.Name indicates the name of the CSI driver that this object refers to; it MUST be the same name returned by the CSI GetPluginName() call for that driver. The driver name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and alphanumerics between. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : CSIDriverSpec, default is Undefined, required Specification of the CSI Driver. @@ -27,7 +27,7 @@ schema CSIDriver: kind: "CSIDriver" = "CSIDriver" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CSIDriverSpec diff --git a/k8s/1.21/api/storage/v1beta1/csi_driver_list.k b/k8s/1.21/api/storage/v1beta1/csi_driver_list.k index 209f62b2..215906d8 100644 --- a/k8s/1.21/api/storage/v1beta1/csi_driver_list.k +++ b/k8s/1.21/api/storage/v1beta1/csi_driver_list.k @@ -3,7 +3,7 @@ This is the csi_driver_list module in k8s.api.storage.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSIDriverList: @@ -18,7 +18,7 @@ schema CSIDriverList: items is the list of CSIDriver kind : str, default is "CSIDriverList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CSIDriverList: kind: "CSIDriverList" = "CSIDriverList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/storage/v1beta1/csi_node.k b/k8s/1.21/api/storage/v1beta1/csi_node.k index f5ba6611..ec6f1aff 100644 --- a/k8s/1.21/api/storage/v1beta1/csi_node.k +++ b/k8s/1.21/api/storage/v1beta1/csi_node.k @@ -3,7 +3,7 @@ This is the csi_node module in k8s.api.storage.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSINode: @@ -16,7 +16,7 @@ schema CSINode: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CSINode", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata.name must be the Kubernetes node name. spec : CSINodeSpec, default is Undefined, required spec is the specification of CSINode @@ -27,7 +27,7 @@ schema CSINode: kind: "CSINode" = "CSINode" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CSINodeSpec diff --git a/k8s/1.21/api/storage/v1beta1/csi_node_list.k b/k8s/1.21/api/storage/v1beta1/csi_node_list.k index 3f0ca6ce..f80a6c6a 100644 --- a/k8s/1.21/api/storage/v1beta1/csi_node_list.k +++ b/k8s/1.21/api/storage/v1beta1/csi_node_list.k @@ -3,7 +3,7 @@ This is the csi_node_list module in k8s.api.storage.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSINodeList: @@ -18,7 +18,7 @@ schema CSINodeList: items is the list of CSINode kind : str, default is "CSINodeList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CSINodeList: kind: "CSINodeList" = "CSINodeList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/storage/v1beta1/csi_storage_capacity.k b/k8s/1.21/api/storage/v1beta1/csi_storage_capacity.k index 45aa4016..4781a3b2 100644 --- a/k8s/1.21/api/storage/v1beta1/csi_storage_capacity.k +++ b/k8s/1.21/api/storage/v1beta1/csi_storage_capacity.k @@ -3,7 +3,7 @@ This is the csi_storage_capacity module in k8s.api.storage.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSIStorageCapacity: @@ -32,13 +32,13 @@ schema CSIStorageCapacity: MaximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields. This is defined since CSI spec 1.4.0 as the largest size that may be used in a CreateVolumeRequest.capacity_range.required_bytes field to create a volume with the same parameters as those in GetCapacityRequest. The corresponding value in the Kubernetes API is ResourceRequirements.Requests in a volume claim. - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. The name has no particular meaning. It must be be a DNS subdomain (dots allowed, 253 characters). To ensure that there are no conflicts with other CSI drivers on the cluster, the recommendation is to use csisc-, a generated name, or a reverse-domain name which ends with the unique CSI driver name. Objects are namespaced. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - nodeTopology : v1.LabelSelector, default is Undefined, optional + nodeTopology : metav1.LabelSelector, default is Undefined, optional NodeTopology defines which nodes have access to the storage for which capacity was reported. If not set, the storage is not accessible from any node in the cluster. If empty, the storage is accessible from all nodes. This field is immutable. storageClassName : str, default is Undefined, required The name of the StorageClass that the reported capacity applies to. It must meet the same requirements as the name of a StorageClass object (non-empty, DNS subdomain). If that object no longer exists, the CSIStorageCapacity object is obsolete and should be removed by its creator. This field is immutable. @@ -53,9 +53,9 @@ schema CSIStorageCapacity: maximumVolumeSize?: str - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta - nodeTopology?: v1.LabelSelector + nodeTopology?: metav1.LabelSelector storageClassName: str diff --git a/k8s/1.21/api/storage/v1beta1/csi_storage_capacity_list.k b/k8s/1.21/api/storage/v1beta1/csi_storage_capacity_list.k index d5125765..e2389f68 100644 --- a/k8s/1.21/api/storage/v1beta1/csi_storage_capacity_list.k +++ b/k8s/1.21/api/storage/v1beta1/csi_storage_capacity_list.k @@ -3,7 +3,7 @@ This is the csi_storage_capacity_list module in k8s.api.storage.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSIStorageCapacityList: @@ -18,7 +18,7 @@ schema CSIStorageCapacityList: Items is the list of CSIStorageCapacity objects. kind : str, default is "CSIStorageCapacityList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CSIStorageCapacityList: kind: "CSIStorageCapacityList" = "CSIStorageCapacityList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/storage/v1beta1/storage_class_list.k b/k8s/1.21/api/storage/v1beta1/storage_class_list.k index 0dcbe241..ec9cb902 100644 --- a/k8s/1.21/api/storage/v1beta1/storage_class_list.k +++ b/k8s/1.21/api/storage/v1beta1/storage_class_list.k @@ -3,7 +3,7 @@ This is the storage_class_list module in k8s.api.storage.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StorageClassList: @@ -18,7 +18,7 @@ schema StorageClassList: Items is the list of StorageClasses kind : str, default is "StorageClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema StorageClassList: kind: "StorageClassList" = "StorageClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/api/storage/v1beta1/volume_attachment.k b/k8s/1.21/api/storage/v1beta1/volume_attachment.k index e0a72030..4a4768bf 100644 --- a/k8s/1.21/api/storage/v1beta1/volume_attachment.k +++ b/k8s/1.21/api/storage/v1beta1/volume_attachment.k @@ -3,7 +3,7 @@ This is the volume_attachment module in k8s.api.storage.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema VolumeAttachment: @@ -18,7 +18,7 @@ schema VolumeAttachment: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "VolumeAttachment", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : VolumeAttachmentSpec, default is Undefined, required Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system. @@ -29,7 +29,7 @@ schema VolumeAttachment: kind: "VolumeAttachment" = "VolumeAttachment" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: VolumeAttachmentSpec diff --git a/k8s/1.21/api/storage/v1beta1/volume_attachment_list.k b/k8s/1.21/api/storage/v1beta1/volume_attachment_list.k index cdc91322..4650e400 100644 --- a/k8s/1.21/api/storage/v1beta1/volume_attachment_list.k +++ b/k8s/1.21/api/storage/v1beta1/volume_attachment_list.k @@ -3,7 +3,7 @@ This is the volume_attachment_list module in k8s.api.storage.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema VolumeAttachmentList: @@ -18,7 +18,7 @@ schema VolumeAttachmentList: Items is the list of VolumeAttachments kind : str, default is "VolumeAttachmentList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema VolumeAttachmentList: kind: "VolumeAttachmentList" = "VolumeAttachmentList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition.k b/k8s/1.21/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition.k index 4d421b4d..a401f819 100644 --- a/k8s/1.21/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition.k +++ b/k8s/1.21/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition.k @@ -3,7 +3,7 @@ This is the custom_resource_definition module in k8s.apiextensions_apiserver.pkg This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CustomResourceDefinition: @@ -16,7 +16,7 @@ schema CustomResourceDefinition: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CustomResourceDefinition", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : CustomResourceDefinitionSpec, default is Undefined, required spec describes how the user wants the resources to appear @@ -27,7 +27,7 @@ schema CustomResourceDefinition: kind: "CustomResourceDefinition" = "CustomResourceDefinition" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CustomResourceDefinitionSpec diff --git a/k8s/1.21/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition_list.k b/k8s/1.21/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition_list.k index d380cb53..720e5de8 100644 --- a/k8s/1.21/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition_list.k +++ b/k8s/1.21/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition_list.k @@ -3,7 +3,7 @@ This is the custom_resource_definition_list module in k8s.apiextensions_apiserve This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CustomResourceDefinitionList: @@ -18,7 +18,7 @@ schema CustomResourceDefinitionList: items list individual CustomResourceDefinition objects kind : str, default is "CustomResourceDefinitionList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema CustomResourceDefinitionList: kind: "CustomResourceDefinitionList" = "CustomResourceDefinitionList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/apiextensions_apiserver/pkg/apis/apiextensions/v1beta1/custom_resource_definition.k b/k8s/1.21/apiextensions_apiserver/pkg/apis/apiextensions/v1beta1/custom_resource_definition.k index f8bca0d0..5815d61a 100644 --- a/k8s/1.21/apiextensions_apiserver/pkg/apis/apiextensions/v1beta1/custom_resource_definition.k +++ b/k8s/1.21/apiextensions_apiserver/pkg/apis/apiextensions/v1beta1/custom_resource_definition.k @@ -3,7 +3,7 @@ This is the custom_resource_definition module in k8s.apiextensions_apiserver.pkg This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CustomResourceDefinition: @@ -16,7 +16,7 @@ schema CustomResourceDefinition: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CustomResourceDefinition", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : CustomResourceDefinitionSpec, default is Undefined, required spec describes how the user wants the resources to appear @@ -27,7 +27,7 @@ schema CustomResourceDefinition: kind: "CustomResourceDefinition" = "CustomResourceDefinition" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CustomResourceDefinitionSpec diff --git a/k8s/1.21/apiextensions_apiserver/pkg/apis/apiextensions/v1beta1/custom_resource_definition_list.k b/k8s/1.21/apiextensions_apiserver/pkg/apis/apiextensions/v1beta1/custom_resource_definition_list.k index df4417b5..8d4519cd 100644 --- a/k8s/1.21/apiextensions_apiserver/pkg/apis/apiextensions/v1beta1/custom_resource_definition_list.k +++ b/k8s/1.21/apiextensions_apiserver/pkg/apis/apiextensions/v1beta1/custom_resource_definition_list.k @@ -3,7 +3,7 @@ This is the custom_resource_definition_list module in k8s.apiextensions_apiserve This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CustomResourceDefinitionList: @@ -18,7 +18,7 @@ schema CustomResourceDefinitionList: items list individual CustomResourceDefinition objects kind : str, default is "CustomResourceDefinitionList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema CustomResourceDefinitionList: kind: "CustomResourceDefinitionList" = "CustomResourceDefinitionList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/kcl.mod b/k8s/1.21/kcl.mod index bbe6a207..bd6b1d85 100644 --- a/k8s/1.21/kcl.mod +++ b/k8s/1.21/kcl.mod @@ -1,5 +1,5 @@ [package] name = "k8s" edition = "*" -version = "1.21.1" +version = "1.21.2" description = "`k8s` is a KCL module contains all the built-in Kubernetes resource models (the CRDs are not included here)." diff --git a/k8s/1.21/kube_aggregator/pkg/apis/apiregistration/v1/api_service.k b/k8s/1.21/kube_aggregator/pkg/apis/apiregistration/v1/api_service.k index d7575e41..b9fd5e11 100644 --- a/k8s/1.21/kube_aggregator/pkg/apis/apiregistration/v1/api_service.k +++ b/k8s/1.21/kube_aggregator/pkg/apis/apiregistration/v1/api_service.k @@ -3,7 +3,7 @@ This is the api_service module in k8s.kube_aggregator.pkg.apis.apiregistration.v This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema APIService: @@ -16,7 +16,7 @@ schema APIService: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "APIService", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : APIServiceSpec, default is Undefined, optional Spec contains information for locating and communicating with a server @@ -27,7 +27,7 @@ schema APIService: kind: "APIService" = "APIService" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: APIServiceSpec diff --git a/k8s/1.21/kube_aggregator/pkg/apis/apiregistration/v1/api_service_list.k b/k8s/1.21/kube_aggregator/pkg/apis/apiregistration/v1/api_service_list.k index a4190ded..5f850817 100644 --- a/k8s/1.21/kube_aggregator/pkg/apis/apiregistration/v1/api_service_list.k +++ b/k8s/1.21/kube_aggregator/pkg/apis/apiregistration/v1/api_service_list.k @@ -3,7 +3,7 @@ This is the api_service_list module in k8s.kube_aggregator.pkg.apis.apiregistrat This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema APIServiceList: @@ -18,7 +18,7 @@ schema APIServiceList: items kind : str, default is "APIServiceList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema APIServiceList: kind: "APIServiceList" = "APIServiceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.21/kube_aggregator/pkg/apis/apiregistration/v1beta1/api_service.k b/k8s/1.21/kube_aggregator/pkg/apis/apiregistration/v1beta1/api_service.k index 5c0348eb..d88e6dfc 100644 --- a/k8s/1.21/kube_aggregator/pkg/apis/apiregistration/v1beta1/api_service.k +++ b/k8s/1.21/kube_aggregator/pkg/apis/apiregistration/v1beta1/api_service.k @@ -3,7 +3,7 @@ This is the api_service module in k8s.kube_aggregator.pkg.apis.apiregistration.v This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema APIService: @@ -16,7 +16,7 @@ schema APIService: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "APIService", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : APIServiceSpec, default is Undefined, optional Spec contains information for locating and communicating with a server @@ -27,7 +27,7 @@ schema APIService: kind: "APIService" = "APIService" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: APIServiceSpec diff --git a/k8s/1.21/kube_aggregator/pkg/apis/apiregistration/v1beta1/api_service_list.k b/k8s/1.21/kube_aggregator/pkg/apis/apiregistration/v1beta1/api_service_list.k index f829e37d..75989315 100644 --- a/k8s/1.21/kube_aggregator/pkg/apis/apiregistration/v1beta1/api_service_list.k +++ b/k8s/1.21/kube_aggregator/pkg/apis/apiregistration/v1beta1/api_service_list.k @@ -3,7 +3,7 @@ This is the api_service_list module in k8s.kube_aggregator.pkg.apis.apiregistrat This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema APIServiceList: @@ -18,7 +18,7 @@ schema APIServiceList: items kind : str, default is "APIServiceList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema APIServiceList: kind: "APIServiceList" = "APIServiceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.22/api/admissionregistration/v1/mutating_webhook.k b/k8s/1.22/api/admissionregistration/v1/mutating_webhook.k index 4743ed83..d250f3db 100644 --- a/k8s/1.22/api/admissionregistration/v1/mutating_webhook.k +++ b/k8s/1.22/api/admissionregistration/v1/mutating_webhook.k @@ -3,7 +3,7 @@ This is the mutating_webhook module in k8s.api.admissionregistration.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MutatingWebhook: @@ -28,7 +28,7 @@ schema MutatingWebhook: Defaults to "Equivalent" name : str, default is Undefined, required The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook. For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1"; you will set the selector as follows: "namespaceSelector": { @@ -60,7 +60,7 @@ schema MutatingWebhook: See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors. Default to the empty LabelSelector, which matches everything. - objectSelector : v1.LabelSelector, default is Undefined, optional + objectSelector : metav1.LabelSelector, default is Undefined, optional ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything. reinvocationPolicy : str, default is Undefined, optional reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded". @@ -89,9 +89,9 @@ schema MutatingWebhook: name: str - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector - objectSelector?: v1.LabelSelector + objectSelector?: metav1.LabelSelector reinvocationPolicy?: str diff --git a/k8s/1.22/api/admissionregistration/v1/mutating_webhook_configuration.k b/k8s/1.22/api/admissionregistration/v1/mutating_webhook_configuration.k index a9864b32..0c970740 100644 --- a/k8s/1.22/api/admissionregistration/v1/mutating_webhook_configuration.k +++ b/k8s/1.22/api/admissionregistration/v1/mutating_webhook_configuration.k @@ -3,7 +3,7 @@ This is the mutating_webhook_configuration module in k8s.api.admissionregistrati This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MutatingWebhookConfiguration: @@ -16,7 +16,7 @@ schema MutatingWebhookConfiguration: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "MutatingWebhookConfiguration", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. webhooks : [MutatingWebhook], default is Undefined, optional Webhooks is a list of webhooks and the affected resources and operations. @@ -27,7 +27,7 @@ schema MutatingWebhookConfiguration: kind: "MutatingWebhookConfiguration" = "MutatingWebhookConfiguration" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta webhooks?: [MutatingWebhook] diff --git a/k8s/1.22/api/admissionregistration/v1/mutating_webhook_configuration_list.k b/k8s/1.22/api/admissionregistration/v1/mutating_webhook_configuration_list.k index d4e15e81..b6fd6022 100644 --- a/k8s/1.22/api/admissionregistration/v1/mutating_webhook_configuration_list.k +++ b/k8s/1.22/api/admissionregistration/v1/mutating_webhook_configuration_list.k @@ -3,7 +3,7 @@ This is the mutating_webhook_configuration_list module in k8s.api.admissionregis This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MutatingWebhookConfigurationList: @@ -18,7 +18,7 @@ schema MutatingWebhookConfigurationList: List of MutatingWebhookConfiguration. kind : str, default is "MutatingWebhookConfigurationList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema MutatingWebhookConfigurationList: kind: "MutatingWebhookConfigurationList" = "MutatingWebhookConfigurationList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.22/api/admissionregistration/v1/validating_webhook.k b/k8s/1.22/api/admissionregistration/v1/validating_webhook.k index afc5dc6a..efec1e6a 100644 --- a/k8s/1.22/api/admissionregistration/v1/validating_webhook.k +++ b/k8s/1.22/api/admissionregistration/v1/validating_webhook.k @@ -3,7 +3,7 @@ This is the validating_webhook module in k8s.api.admissionregistration.v1 packag This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingWebhook: @@ -28,7 +28,7 @@ schema ValidatingWebhook: Defaults to "Equivalent" name : str, default is Undefined, required The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook. For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1"; you will set the selector as follows: "namespaceSelector": { @@ -60,7 +60,7 @@ schema ValidatingWebhook: See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels for more examples of label selectors. Default to the empty LabelSelector, which matches everything. - objectSelector : v1.LabelSelector, default is Undefined, optional + objectSelector : metav1.LabelSelector, default is Undefined, optional ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything. rules : [RuleWithOperations], default is Undefined, optional Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects. @@ -81,9 +81,9 @@ schema ValidatingWebhook: name: str - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector - objectSelector?: v1.LabelSelector + objectSelector?: metav1.LabelSelector rules?: [RuleWithOperations] diff --git a/k8s/1.22/api/admissionregistration/v1/validating_webhook_configuration.k b/k8s/1.22/api/admissionregistration/v1/validating_webhook_configuration.k index 2b45293a..e35bb335 100644 --- a/k8s/1.22/api/admissionregistration/v1/validating_webhook_configuration.k +++ b/k8s/1.22/api/admissionregistration/v1/validating_webhook_configuration.k @@ -3,7 +3,7 @@ This is the validating_webhook_configuration module in k8s.api.admissionregistra This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingWebhookConfiguration: @@ -16,7 +16,7 @@ schema ValidatingWebhookConfiguration: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ValidatingWebhookConfiguration", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. webhooks : [ValidatingWebhook], default is Undefined, optional Webhooks is a list of webhooks and the affected resources and operations. @@ -27,7 +27,7 @@ schema ValidatingWebhookConfiguration: kind: "ValidatingWebhookConfiguration" = "ValidatingWebhookConfiguration" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta webhooks?: [ValidatingWebhook] diff --git a/k8s/1.22/api/admissionregistration/v1/validating_webhook_configuration_list.k b/k8s/1.22/api/admissionregistration/v1/validating_webhook_configuration_list.k index 0515b188..2691da1c 100644 --- a/k8s/1.22/api/admissionregistration/v1/validating_webhook_configuration_list.k +++ b/k8s/1.22/api/admissionregistration/v1/validating_webhook_configuration_list.k @@ -3,7 +3,7 @@ This is the validating_webhook_configuration_list module in k8s.api.admissionreg This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingWebhookConfigurationList: @@ -18,7 +18,7 @@ schema ValidatingWebhookConfigurationList: List of ValidatingWebhookConfiguration. kind : str, default is "ValidatingWebhookConfigurationList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ValidatingWebhookConfigurationList: kind: "ValidatingWebhookConfigurationList" = "ValidatingWebhookConfigurationList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.22/api/apiserverinternal/v1alpha1/storage_version.k b/k8s/1.22/api/apiserverinternal/v1alpha1/storage_version.k index fbc9f49e..b596ba45 100644 --- a/k8s/1.22/api/apiserverinternal/v1alpha1/storage_version.k +++ b/k8s/1.22/api/apiserverinternal/v1alpha1/storage_version.k @@ -3,7 +3,7 @@ This is the storage_version module in k8s.api.apiserverinternal.v1alpha1 package This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StorageVersion: @@ -17,7 +17,7 @@ schema StorageVersion: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "StorageVersion", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional The name is .. spec : any, default is Undefined, required Spec is an empty spec. It is here to comply with Kubernetes API style. @@ -28,7 +28,7 @@ schema StorageVersion: kind: "StorageVersion" = "StorageVersion" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: any diff --git a/k8s/1.22/api/apiserverinternal/v1alpha1/storage_version_list.k b/k8s/1.22/api/apiserverinternal/v1alpha1/storage_version_list.k index 1da65e55..a75d5c84 100644 --- a/k8s/1.22/api/apiserverinternal/v1alpha1/storage_version_list.k +++ b/k8s/1.22/api/apiserverinternal/v1alpha1/storage_version_list.k @@ -3,7 +3,7 @@ This is the storage_version_list module in k8s.api.apiserverinternal.v1alpha1 pa This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StorageVersionList: @@ -18,7 +18,7 @@ schema StorageVersionList: Items holds a list of StorageVersion kind : str, default is "StorageVersionList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema StorageVersionList: kind: "StorageVersionList" = "StorageVersionList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.22/api/apps/v1/controller_revision.k b/k8s/1.22/api/apps/v1/controller_revision.k index dbb3d441..56163182 100644 --- a/k8s/1.22/api/apps/v1/controller_revision.k +++ b/k8s/1.22/api/apps/v1/controller_revision.k @@ -3,7 +3,7 @@ This is the controller_revision module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ControllerRevision: @@ -18,7 +18,7 @@ schema ControllerRevision: Data is the serialized representation of the state. kind : str, default is "ControllerRevision", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata revision : int, default is Undefined, required Revision indicates the revision of the state represented by Data. @@ -31,7 +31,7 @@ schema ControllerRevision: kind: "ControllerRevision" = "ControllerRevision" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta revision: int diff --git a/k8s/1.22/api/apps/v1/controller_revision_list.k b/k8s/1.22/api/apps/v1/controller_revision_list.k index e145fcff..bb64d1fe 100644 --- a/k8s/1.22/api/apps/v1/controller_revision_list.k +++ b/k8s/1.22/api/apps/v1/controller_revision_list.k @@ -3,7 +3,7 @@ This is the controller_revision_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ControllerRevisionList: @@ -18,7 +18,7 @@ schema ControllerRevisionList: Items is the list of ControllerRevisions kind : str, default is "ControllerRevisionList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema ControllerRevisionList: kind: "ControllerRevisionList" = "ControllerRevisionList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.22/api/apps/v1/daemon_set.k b/k8s/1.22/api/apps/v1/daemon_set.k index 33e7b68b..fd1c7c20 100644 --- a/k8s/1.22/api/apps/v1/daemon_set.k +++ b/k8s/1.22/api/apps/v1/daemon_set.k @@ -3,7 +3,7 @@ This is the daemon_set module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DaemonSet: @@ -16,7 +16,7 @@ schema DaemonSet: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "DaemonSet", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : DaemonSetSpec, default is Undefined, optional The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema DaemonSet: kind: "DaemonSet" = "DaemonSet" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: DaemonSetSpec diff --git a/k8s/1.22/api/apps/v1/daemon_set_list.k b/k8s/1.22/api/apps/v1/daemon_set_list.k index 3515d999..795c26f8 100644 --- a/k8s/1.22/api/apps/v1/daemon_set_list.k +++ b/k8s/1.22/api/apps/v1/daemon_set_list.k @@ -3,7 +3,7 @@ This is the daemon_set_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DaemonSetList: @@ -18,7 +18,7 @@ schema DaemonSetList: A list of daemon sets. kind : str, default is "DaemonSetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema DaemonSetList: kind: "DaemonSetList" = "DaemonSetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.22/api/apps/v1/daemon_set_spec.k b/k8s/1.22/api/apps/v1/daemon_set_spec.k index caf3faf8..352f849c 100644 --- a/k8s/1.22/api/apps/v1/daemon_set_spec.k +++ b/k8s/1.22/api/apps/v1/daemon_set_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DaemonSetSpec: @@ -17,7 +17,7 @@ schema DaemonSetSpec: The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready). revisionHistoryLimit : int, default is Undefined, optional The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required A label query over pods that are managed by the daemon set. Must match in order to be controlled. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors template : corev1.PodTemplateSpec, default is Undefined, required An object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template @@ -30,7 +30,7 @@ schema DaemonSetSpec: revisionHistoryLimit?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector template: corev1.PodTemplateSpec diff --git a/k8s/1.22/api/apps/v1/deployment.k b/k8s/1.22/api/apps/v1/deployment.k index 38b5af9e..12cf0b73 100644 --- a/k8s/1.22/api/apps/v1/deployment.k +++ b/k8s/1.22/api/apps/v1/deployment.k @@ -3,7 +3,7 @@ This is the deployment module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Deployment: @@ -16,7 +16,7 @@ schema Deployment: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Deployment", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : DeploymentSpec, default is Undefined, optional Specification of the desired behavior of the Deployment. @@ -27,7 +27,7 @@ schema Deployment: kind: "Deployment" = "Deployment" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: DeploymentSpec diff --git a/k8s/1.22/api/apps/v1/deployment_list.k b/k8s/1.22/api/apps/v1/deployment_list.k index a83ce0d5..8fa44e9b 100644 --- a/k8s/1.22/api/apps/v1/deployment_list.k +++ b/k8s/1.22/api/apps/v1/deployment_list.k @@ -3,7 +3,7 @@ This is the deployment_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DeploymentList: @@ -18,7 +18,7 @@ schema DeploymentList: Items is the list of Deployments. kind : str, default is "DeploymentList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema DeploymentList: kind: "DeploymentList" = "DeploymentList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.22/api/apps/v1/deployment_spec.k b/k8s/1.22/api/apps/v1/deployment_spec.k index b8591d9a..c0f14ef0 100644 --- a/k8s/1.22/api/apps/v1/deployment_spec.k +++ b/k8s/1.22/api/apps/v1/deployment_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DeploymentSpec: @@ -23,7 +23,7 @@ schema DeploymentSpec: Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1. revisionHistoryLimit : int, default is Undefined, optional The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. It must match the pod template's labels. strategy : DeploymentStrategy, default is Undefined, optional The deployment strategy to use to replace existing pods with new ones. @@ -42,7 +42,7 @@ schema DeploymentSpec: revisionHistoryLimit?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector strategy?: DeploymentStrategy diff --git a/k8s/1.22/api/apps/v1/replica_set.k b/k8s/1.22/api/apps/v1/replica_set.k index 0497ff66..79552175 100644 --- a/k8s/1.22/api/apps/v1/replica_set.k +++ b/k8s/1.22/api/apps/v1/replica_set.k @@ -3,7 +3,7 @@ This is the replica_set module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicaSet: @@ -16,7 +16,7 @@ schema ReplicaSet: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ReplicaSet", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : ReplicaSetSpec, default is Undefined, optional Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema ReplicaSet: kind: "ReplicaSet" = "ReplicaSet" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ReplicaSetSpec diff --git a/k8s/1.22/api/apps/v1/replica_set_list.k b/k8s/1.22/api/apps/v1/replica_set_list.k index 0e25bef7..689ca9bb 100644 --- a/k8s/1.22/api/apps/v1/replica_set_list.k +++ b/k8s/1.22/api/apps/v1/replica_set_list.k @@ -3,7 +3,7 @@ This is the replica_set_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicaSetList: @@ -18,7 +18,7 @@ schema ReplicaSetList: List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller kind : str, default is "ReplicaSetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ReplicaSetList: kind: "ReplicaSetList" = "ReplicaSetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.22/api/apps/v1/replica_set_spec.k b/k8s/1.22/api/apps/v1/replica_set_spec.k index 700810d3..53ae3f6f 100644 --- a/k8s/1.22/api/apps/v1/replica_set_spec.k +++ b/k8s/1.22/api/apps/v1/replica_set_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicaSetSpec: @@ -17,7 +17,7 @@ schema ReplicaSetSpec: Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) replicas : int, default is Undefined, optional Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required Selector is a label query over pods that should match the replica count. Label keys and values that must match in order to be controlled by this replica set. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors template : corev1.PodTemplateSpec, default is Undefined, optional Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template @@ -28,7 +28,7 @@ schema ReplicaSetSpec: replicas?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector template?: corev1.PodTemplateSpec diff --git a/k8s/1.22/api/apps/v1/stateful_set.k b/k8s/1.22/api/apps/v1/stateful_set.k index 17365a57..7d5d6518 100644 --- a/k8s/1.22/api/apps/v1/stateful_set.k +++ b/k8s/1.22/api/apps/v1/stateful_set.k @@ -3,7 +3,7 @@ This is the stateful_set module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StatefulSet: @@ -19,7 +19,7 @@ schema StatefulSet: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "StatefulSet", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : StatefulSetSpec, default is Undefined, optional Spec defines the desired identities of pods in this set. @@ -30,7 +30,7 @@ schema StatefulSet: kind: "StatefulSet" = "StatefulSet" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: StatefulSetSpec diff --git a/k8s/1.22/api/apps/v1/stateful_set_list.k b/k8s/1.22/api/apps/v1/stateful_set_list.k index 2eec95d8..441abc55 100644 --- a/k8s/1.22/api/apps/v1/stateful_set_list.k +++ b/k8s/1.22/api/apps/v1/stateful_set_list.k @@ -3,7 +3,7 @@ This is the stateful_set_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StatefulSetList: @@ -18,7 +18,7 @@ schema StatefulSetList: Items is the list of stateful sets. kind : str, default is "StatefulSetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema StatefulSetList: kind: "StatefulSetList" = "StatefulSetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.22/api/apps/v1/stateful_set_spec.k b/k8s/1.22/api/apps/v1/stateful_set_spec.k index 4bdfe367..ab6e67fb 100644 --- a/k8s/1.22/api/apps/v1/stateful_set_spec.k +++ b/k8s/1.22/api/apps/v1/stateful_set_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StatefulSetSpec: @@ -21,7 +21,7 @@ schema StatefulSetSpec: replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1. revisionHistoryLimit : int, default is Undefined, optional revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10. - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required selector is a label query over pods that should match the replica count. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors serviceName : str, default is Undefined, required serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where "pod-specific-string" is managed by the StatefulSet controller. @@ -42,7 +42,7 @@ schema StatefulSetSpec: revisionHistoryLimit?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector serviceName: str diff --git a/k8s/1.22/api/authentication/v1/token_request.k b/k8s/1.22/api/authentication/v1/token_request.k index 429ebd8e..477cf85e 100644 --- a/k8s/1.22/api/authentication/v1/token_request.k +++ b/k8s/1.22/api/authentication/v1/token_request.k @@ -3,7 +3,7 @@ This is the token_request module in k8s.api.authentication.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema TokenRequest: @@ -16,7 +16,7 @@ schema TokenRequest: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "TokenRequest", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : TokenRequestSpec, default is Undefined, required Spec holds information about the request being evaluated @@ -27,7 +27,7 @@ schema TokenRequest: kind: "TokenRequest" = "TokenRequest" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: TokenRequestSpec diff --git a/k8s/1.22/api/authentication/v1/token_review.k b/k8s/1.22/api/authentication/v1/token_review.k index 62c61db1..349936f3 100644 --- a/k8s/1.22/api/authentication/v1/token_review.k +++ b/k8s/1.22/api/authentication/v1/token_review.k @@ -3,7 +3,7 @@ This is the token_review module in k8s.api.authentication.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema TokenReview: @@ -16,7 +16,7 @@ schema TokenReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "TokenReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : TokenReviewSpec, default is Undefined, required Spec holds information about the request being evaluated @@ -27,7 +27,7 @@ schema TokenReview: kind: "TokenReview" = "TokenReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: TokenReviewSpec diff --git a/k8s/1.22/api/authorization/v1/local_subject_access_review.k b/k8s/1.22/api/authorization/v1/local_subject_access_review.k index 79b08fbe..4cf5723a 100644 --- a/k8s/1.22/api/authorization/v1/local_subject_access_review.k +++ b/k8s/1.22/api/authorization/v1/local_subject_access_review.k @@ -3,7 +3,7 @@ This is the local_subject_access_review module in k8s.api.authorization.v1 packa This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LocalSubjectAccessReview: @@ -16,7 +16,7 @@ schema LocalSubjectAccessReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "LocalSubjectAccessReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : SubjectAccessReviewSpec, default is Undefined, required Spec holds information about the request being evaluated. spec.namespace must be equal to the namespace you made the request against. If empty, it is defaulted. @@ -27,7 +27,7 @@ schema LocalSubjectAccessReview: kind: "LocalSubjectAccessReview" = "LocalSubjectAccessReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SubjectAccessReviewSpec diff --git a/k8s/1.22/api/authorization/v1/self_subject_access_review.k b/k8s/1.22/api/authorization/v1/self_subject_access_review.k index 4fd1e21e..d32833e7 100644 --- a/k8s/1.22/api/authorization/v1/self_subject_access_review.k +++ b/k8s/1.22/api/authorization/v1/self_subject_access_review.k @@ -3,7 +3,7 @@ This is the self_subject_access_review module in k8s.api.authorization.v1 packag This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SelfSubjectAccessReview: @@ -16,7 +16,7 @@ schema SelfSubjectAccessReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SelfSubjectAccessReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : SelfSubjectAccessReviewSpec, default is Undefined, required Spec holds information about the request being evaluated. user and groups must be empty @@ -27,7 +27,7 @@ schema SelfSubjectAccessReview: kind: "SelfSubjectAccessReview" = "SelfSubjectAccessReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SelfSubjectAccessReviewSpec diff --git a/k8s/1.22/api/authorization/v1/self_subject_rules_review.k b/k8s/1.22/api/authorization/v1/self_subject_rules_review.k index a29ee599..baaf47ac 100644 --- a/k8s/1.22/api/authorization/v1/self_subject_rules_review.k +++ b/k8s/1.22/api/authorization/v1/self_subject_rules_review.k @@ -3,7 +3,7 @@ This is the self_subject_rules_review module in k8s.api.authorization.v1 package This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SelfSubjectRulesReview: @@ -16,7 +16,7 @@ schema SelfSubjectRulesReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SelfSubjectRulesReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : SelfSubjectRulesReviewSpec, default is Undefined, required Spec holds information about the request being evaluated. @@ -27,7 +27,7 @@ schema SelfSubjectRulesReview: kind: "SelfSubjectRulesReview" = "SelfSubjectRulesReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SelfSubjectRulesReviewSpec diff --git a/k8s/1.22/api/authorization/v1/subject_access_review.k b/k8s/1.22/api/authorization/v1/subject_access_review.k index 9d15bdb3..d054d8f5 100644 --- a/k8s/1.22/api/authorization/v1/subject_access_review.k +++ b/k8s/1.22/api/authorization/v1/subject_access_review.k @@ -3,7 +3,7 @@ This is the subject_access_review module in k8s.api.authorization.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SubjectAccessReview: @@ -16,7 +16,7 @@ schema SubjectAccessReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SubjectAccessReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : SubjectAccessReviewSpec, default is Undefined, required Spec holds information about the request being evaluated @@ -27,7 +27,7 @@ schema SubjectAccessReview: kind: "SubjectAccessReview" = "SubjectAccessReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SubjectAccessReviewSpec diff --git a/k8s/1.22/api/autoscaling/v1/horizontal_pod_autoscaler.k b/k8s/1.22/api/autoscaling/v1/horizontal_pod_autoscaler.k index eea68027..b81a2839 100644 --- a/k8s/1.22/api/autoscaling/v1/horizontal_pod_autoscaler.k +++ b/k8s/1.22/api/autoscaling/v1/horizontal_pod_autoscaler.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler module in k8s.api.autoscaling.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscaler: @@ -16,7 +16,7 @@ schema HorizontalPodAutoscaler: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "HorizontalPodAutoscaler", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : HorizontalPodAutoscalerSpec, default is Undefined, optional behaviour of autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema HorizontalPodAutoscaler: kind: "HorizontalPodAutoscaler" = "HorizontalPodAutoscaler" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: HorizontalPodAutoscalerSpec diff --git a/k8s/1.22/api/autoscaling/v1/horizontal_pod_autoscaler_list.k b/k8s/1.22/api/autoscaling/v1/horizontal_pod_autoscaler_list.k index 829f7b8b..40a58fe3 100644 --- a/k8s/1.22/api/autoscaling/v1/horizontal_pod_autoscaler_list.k +++ b/k8s/1.22/api/autoscaling/v1/horizontal_pod_autoscaler_list.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler_list module in k8s.api.autoscaling.v1 pack This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscalerList: @@ -18,7 +18,7 @@ schema HorizontalPodAutoscalerList: list of horizontal pod autoscaler objects. kind : str, default is "HorizontalPodAutoscalerList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema HorizontalPodAutoscalerList: kind: "HorizontalPodAutoscalerList" = "HorizontalPodAutoscalerList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.22/api/autoscaling/v1/scale.k b/k8s/1.22/api/autoscaling/v1/scale.k index d9bbdae4..1466aa0e 100644 --- a/k8s/1.22/api/autoscaling/v1/scale.k +++ b/k8s/1.22/api/autoscaling/v1/scale.k @@ -3,7 +3,7 @@ This is the scale module in k8s.api.autoscaling.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Scale: @@ -16,7 +16,7 @@ schema Scale: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Scale", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. spec : ScaleSpec, default is Undefined, optional defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema Scale: kind: "Scale" = "Scale" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ScaleSpec diff --git a/k8s/1.22/api/autoscaling/v2beta1/external_metric_source.k b/k8s/1.22/api/autoscaling/v2beta1/external_metric_source.k index 23887048..b1ff85f3 100644 --- a/k8s/1.22/api/autoscaling/v2beta1/external_metric_source.k +++ b/k8s/1.22/api/autoscaling/v2beta1/external_metric_source.k @@ -3,7 +3,7 @@ This is the external_metric_source module in k8s.api.autoscaling.v2beta1 package This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ExternalMetricSource: @@ -14,7 +14,7 @@ schema ExternalMetricSource: ---------- metricName : str, default is Undefined, required metricName is the name of the metric in question. - metricSelector : v1.LabelSelector, default is Undefined, optional + metricSelector : metav1.LabelSelector, default is Undefined, optional metricSelector is used to identify a specific time series within a given metric. targetAverageValue : str, default is Undefined, optional targetAverageValue is the target per-pod value of global metric (as a quantity). Mutually exclusive with TargetValue. @@ -25,7 +25,7 @@ schema ExternalMetricSource: metricName: str - metricSelector?: v1.LabelSelector + metricSelector?: metav1.LabelSelector targetAverageValue?: str diff --git a/k8s/1.22/api/autoscaling/v2beta1/external_metric_status.k b/k8s/1.22/api/autoscaling/v2beta1/external_metric_status.k index 507ffd14..39a87bad 100644 --- a/k8s/1.22/api/autoscaling/v2beta1/external_metric_status.k +++ b/k8s/1.22/api/autoscaling/v2beta1/external_metric_status.k @@ -3,7 +3,7 @@ This is the external_metric_status module in k8s.api.autoscaling.v2beta1 package This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ExternalMetricStatus: @@ -18,7 +18,7 @@ schema ExternalMetricStatus: currentValue is the current value of the metric (as a quantity) metricName : str, default is Undefined, required metricName is the name of a metric used for autoscaling in metric system. - metricSelector : v1.LabelSelector, default is Undefined, optional + metricSelector : metav1.LabelSelector, default is Undefined, optional metricSelector is used to identify a specific time series within a given metric. """ @@ -29,6 +29,6 @@ schema ExternalMetricStatus: metricName: str - metricSelector?: v1.LabelSelector + metricSelector?: metav1.LabelSelector diff --git a/k8s/1.22/api/autoscaling/v2beta1/horizontal_pod_autoscaler.k b/k8s/1.22/api/autoscaling/v2beta1/horizontal_pod_autoscaler.k index 47c8b64c..4ea3ff99 100644 --- a/k8s/1.22/api/autoscaling/v2beta1/horizontal_pod_autoscaler.k +++ b/k8s/1.22/api/autoscaling/v2beta1/horizontal_pod_autoscaler.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler module in k8s.api.autoscaling.v2beta1 pack This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscaler: @@ -16,7 +16,7 @@ schema HorizontalPodAutoscaler: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "HorizontalPodAutoscaler", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : HorizontalPodAutoscalerSpec, default is Undefined, optional spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema HorizontalPodAutoscaler: kind: "HorizontalPodAutoscaler" = "HorizontalPodAutoscaler" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: HorizontalPodAutoscalerSpec diff --git a/k8s/1.22/api/autoscaling/v2beta1/horizontal_pod_autoscaler_list.k b/k8s/1.22/api/autoscaling/v2beta1/horizontal_pod_autoscaler_list.k index 95381428..4629310f 100644 --- a/k8s/1.22/api/autoscaling/v2beta1/horizontal_pod_autoscaler_list.k +++ b/k8s/1.22/api/autoscaling/v2beta1/horizontal_pod_autoscaler_list.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler_list module in k8s.api.autoscaling.v2beta1 This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscalerList: @@ -18,7 +18,7 @@ schema HorizontalPodAutoscalerList: items is the list of horizontal pod autoscaler objects. kind : str, default is "HorizontalPodAutoscalerList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata is the standard list metadata. """ @@ -29,6 +29,6 @@ schema HorizontalPodAutoscalerList: kind: "HorizontalPodAutoscalerList" = "HorizontalPodAutoscalerList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.22/api/autoscaling/v2beta1/object_metric_source.k b/k8s/1.22/api/autoscaling/v2beta1/object_metric_source.k index a8ff4213..af8d307f 100644 --- a/k8s/1.22/api/autoscaling/v2beta1/object_metric_source.k +++ b/k8s/1.22/api/autoscaling/v2beta1/object_metric_source.k @@ -3,7 +3,7 @@ This is the object_metric_source module in k8s.api.autoscaling.v2beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ObjectMetricSource: @@ -16,7 +16,7 @@ schema ObjectMetricSource: averageValue is the target value of the average of the metric across all relevant pods (as a quantity) metricName : str, default is Undefined, required metricName is the name of the metric in question. - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics. target : CrossVersionObjectReference, default is Undefined, required target is the described Kubernetes object. @@ -29,7 +29,7 @@ schema ObjectMetricSource: metricName: str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector target: CrossVersionObjectReference diff --git a/k8s/1.22/api/autoscaling/v2beta1/object_metric_status.k b/k8s/1.22/api/autoscaling/v2beta1/object_metric_status.k index 39aeb9de..b7054bd5 100644 --- a/k8s/1.22/api/autoscaling/v2beta1/object_metric_status.k +++ b/k8s/1.22/api/autoscaling/v2beta1/object_metric_status.k @@ -3,7 +3,7 @@ This is the object_metric_status module in k8s.api.autoscaling.v2beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ObjectMetricStatus: @@ -18,7 +18,7 @@ schema ObjectMetricStatus: currentValue is the current value of the metric (as a quantity). metricName : str, default is Undefined, required metricName is the name of the metric in question. - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the ObjectMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics. target : CrossVersionObjectReference, default is Undefined, required target is the described Kubernetes object. @@ -31,7 +31,7 @@ schema ObjectMetricStatus: metricName: str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector target: CrossVersionObjectReference diff --git a/k8s/1.22/api/autoscaling/v2beta1/pods_metric_source.k b/k8s/1.22/api/autoscaling/v2beta1/pods_metric_source.k index ee0111ef..850fcd7b 100644 --- a/k8s/1.22/api/autoscaling/v2beta1/pods_metric_source.k +++ b/k8s/1.22/api/autoscaling/v2beta1/pods_metric_source.k @@ -3,7 +3,7 @@ This is the pods_metric_source module in k8s.api.autoscaling.v2beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodsMetricSource: @@ -14,7 +14,7 @@ schema PodsMetricSource: ---------- metricName : str, default is Undefined, required metricName is the name of the metric in question - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics. targetAverageValue : str, default is Undefined, required targetAverageValue is the target value of the average of the metric across all relevant pods (as a quantity) @@ -23,7 +23,7 @@ schema PodsMetricSource: metricName: str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector targetAverageValue: str diff --git a/k8s/1.22/api/autoscaling/v2beta1/pods_metric_status.k b/k8s/1.22/api/autoscaling/v2beta1/pods_metric_status.k index 2d8c30c0..0792b4d4 100644 --- a/k8s/1.22/api/autoscaling/v2beta1/pods_metric_status.k +++ b/k8s/1.22/api/autoscaling/v2beta1/pods_metric_status.k @@ -3,7 +3,7 @@ This is the pods_metric_status module in k8s.api.autoscaling.v2beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodsMetricStatus: @@ -16,7 +16,7 @@ schema PodsMetricStatus: currentAverageValue is the current value of the average of the metric across all relevant pods (as a quantity) metricName : str, default is Undefined, required metricName is the name of the metric in question - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the PodsMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics. """ @@ -25,6 +25,6 @@ schema PodsMetricStatus: metricName: str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector diff --git a/k8s/1.22/api/autoscaling/v2beta2/horizontal_pod_autoscaler.k b/k8s/1.22/api/autoscaling/v2beta2/horizontal_pod_autoscaler.k index 9ab9ca42..fb10b245 100644 --- a/k8s/1.22/api/autoscaling/v2beta2/horizontal_pod_autoscaler.k +++ b/k8s/1.22/api/autoscaling/v2beta2/horizontal_pod_autoscaler.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler module in k8s.api.autoscaling.v2beta2 pack This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscaler: @@ -16,7 +16,7 @@ schema HorizontalPodAutoscaler: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "HorizontalPodAutoscaler", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : HorizontalPodAutoscalerSpec, default is Undefined, optional spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema HorizontalPodAutoscaler: kind: "HorizontalPodAutoscaler" = "HorizontalPodAutoscaler" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: HorizontalPodAutoscalerSpec diff --git a/k8s/1.22/api/autoscaling/v2beta2/horizontal_pod_autoscaler_list.k b/k8s/1.22/api/autoscaling/v2beta2/horizontal_pod_autoscaler_list.k index ad127934..152be58d 100644 --- a/k8s/1.22/api/autoscaling/v2beta2/horizontal_pod_autoscaler_list.k +++ b/k8s/1.22/api/autoscaling/v2beta2/horizontal_pod_autoscaler_list.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler_list module in k8s.api.autoscaling.v2beta2 This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscalerList: @@ -18,7 +18,7 @@ schema HorizontalPodAutoscalerList: items is the list of horizontal pod autoscaler objects. kind : str, default is "HorizontalPodAutoscalerList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata is the standard list metadata. """ @@ -29,6 +29,6 @@ schema HorizontalPodAutoscalerList: kind: "HorizontalPodAutoscalerList" = "HorizontalPodAutoscalerList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.22/api/autoscaling/v2beta2/metric_identifier.k b/k8s/1.22/api/autoscaling/v2beta2/metric_identifier.k index 18d313d2..06be0dff 100644 --- a/k8s/1.22/api/autoscaling/v2beta2/metric_identifier.k +++ b/k8s/1.22/api/autoscaling/v2beta2/metric_identifier.k @@ -3,7 +3,7 @@ This is the metric_identifier module in k8s.api.autoscaling.v2beta2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MetricIdentifier: @@ -14,13 +14,13 @@ schema MetricIdentifier: ---------- name : str, default is Undefined, required name is the name of the given metric - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics. """ name: str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector diff --git a/k8s/1.22/api/batch/v1/cron_job.k b/k8s/1.22/api/batch/v1/cron_job.k index 380498ff..c716e33b 100644 --- a/k8s/1.22/api/batch/v1/cron_job.k +++ b/k8s/1.22/api/batch/v1/cron_job.k @@ -3,7 +3,7 @@ This is the cron_job module in k8s.api.batch.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CronJob: @@ -16,7 +16,7 @@ schema CronJob: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CronJob", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : CronJobSpec, default is Undefined, optional Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema CronJob: kind: "CronJob" = "CronJob" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: CronJobSpec diff --git a/k8s/1.22/api/batch/v1/cron_job_list.k b/k8s/1.22/api/batch/v1/cron_job_list.k index 69e1971a..8200a4bd 100644 --- a/k8s/1.22/api/batch/v1/cron_job_list.k +++ b/k8s/1.22/api/batch/v1/cron_job_list.k @@ -3,7 +3,7 @@ This is the cron_job_list module in k8s.api.batch.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CronJobList: @@ -18,7 +18,7 @@ schema CronJobList: items is the list of CronJobs. kind : str, default is "CronJobList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CronJobList: kind: "CronJobList" = "CronJobList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.22/api/batch/v1/job.k b/k8s/1.22/api/batch/v1/job.k index 44fbc917..3e545aac 100644 --- a/k8s/1.22/api/batch/v1/job.k +++ b/k8s/1.22/api/batch/v1/job.k @@ -3,7 +3,7 @@ This is the job module in k8s.api.batch.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Job: @@ -16,7 +16,7 @@ schema Job: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Job", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : JobSpec, default is Undefined, optional Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Job: kind: "Job" = "Job" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: JobSpec diff --git a/k8s/1.22/api/batch/v1/job_list.k b/k8s/1.22/api/batch/v1/job_list.k index 88588804..e2f8aee6 100644 --- a/k8s/1.22/api/batch/v1/job_list.k +++ b/k8s/1.22/api/batch/v1/job_list.k @@ -3,7 +3,7 @@ This is the job_list module in k8s.api.batch.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema JobList: @@ -18,7 +18,7 @@ schema JobList: items is the list of Jobs. kind : str, default is "JobList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema JobList: kind: "JobList" = "JobList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.22/api/batch/v1/job_spec.k b/k8s/1.22/api/batch/v1/job_spec.k index f2efeedd..442176e9 100644 --- a/k8s/1.22/api/batch/v1/job_spec.k +++ b/k8s/1.22/api/batch/v1/job_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema JobSpec: @@ -31,7 +31,7 @@ schema JobSpec: manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector parallelism : int, default is Undefined, optional Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional A label query over pods that should match the pod count. Normally, the system sets this field for you. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors suspend : bool, default is Undefined, optional Suspend specifies whether the Job controller should create Pods or not. If a Job is created with suspend set to true, no Pods are created by the Job controller. If a Job is suspended after creation (i.e. the flag goes from false to true), the Job controller will delete all active Pods associated with this Job. Users must design their workload to gracefully handle this. Suspending a Job will reset the StartTime field of the Job, effectively resetting the ActiveDeadlineSeconds timer too. Defaults to false. @@ -56,7 +56,7 @@ schema JobSpec: parallelism?: int - selector?: v1.LabelSelector + selector?: metav1.LabelSelector suspend?: bool diff --git a/k8s/1.22/api/batch/v1/job_template_spec.k b/k8s/1.22/api/batch/v1/job_template_spec.k index 840a8d23..c1797200 100644 --- a/k8s/1.22/api/batch/v1/job_template_spec.k +++ b/k8s/1.22/api/batch/v1/job_template_spec.k @@ -3,7 +3,7 @@ This is the job_template_spec module in k8s.api.batch.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema JobTemplateSpec: @@ -12,14 +12,14 @@ schema JobTemplateSpec: Attributes ---------- - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : JobSpec, default is Undefined, optional Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status """ - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: JobSpec diff --git a/k8s/1.22/api/batch/v1beta1/cron_job.k b/k8s/1.22/api/batch/v1beta1/cron_job.k index 74c14606..d5d2aa07 100644 --- a/k8s/1.22/api/batch/v1beta1/cron_job.k +++ b/k8s/1.22/api/batch/v1beta1/cron_job.k @@ -3,7 +3,7 @@ This is the cron_job module in k8s.api.batch.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CronJob: @@ -16,7 +16,7 @@ schema CronJob: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CronJob", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : CronJobSpec, default is Undefined, optional Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema CronJob: kind: "CronJob" = "CronJob" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: CronJobSpec diff --git a/k8s/1.22/api/batch/v1beta1/cron_job_list.k b/k8s/1.22/api/batch/v1beta1/cron_job_list.k index cf174c33..4067f805 100644 --- a/k8s/1.22/api/batch/v1beta1/cron_job_list.k +++ b/k8s/1.22/api/batch/v1beta1/cron_job_list.k @@ -3,7 +3,7 @@ This is the cron_job_list module in k8s.api.batch.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CronJobList: @@ -18,7 +18,7 @@ schema CronJobList: items is the list of CronJobs. kind : str, default is "CronJobList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CronJobList: kind: "CronJobList" = "CronJobList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.22/api/batch/v1beta1/job_template_spec.k b/k8s/1.22/api/batch/v1beta1/job_template_spec.k index e032a659..733d4410 100644 --- a/k8s/1.22/api/batch/v1beta1/job_template_spec.k +++ b/k8s/1.22/api/batch/v1beta1/job_template_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.batch.v1 as batchV1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema JobTemplateSpec: @@ -13,14 +13,14 @@ schema JobTemplateSpec: Attributes ---------- - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : batchV1.JobSpec, default is Undefined, optional Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status """ - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: batchV1.JobSpec diff --git a/k8s/1.22/api/certificates/v1/certificate_signing_request.k b/k8s/1.22/api/certificates/v1/certificate_signing_request.k index 70bfc6e0..6697afe5 100644 --- a/k8s/1.22/api/certificates/v1/certificate_signing_request.k +++ b/k8s/1.22/api/certificates/v1/certificate_signing_request.k @@ -3,7 +3,7 @@ This is the certificate_signing_request module in k8s.api.certificates.v1 packag This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CertificateSigningRequest: @@ -22,7 +22,7 @@ schema CertificateSigningRequest: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CertificateSigningRequest", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : CertificateSigningRequestSpec, default is Undefined, required spec contains the certificate request, and is immutable after creation. Only the request, signerName, expirationSeconds, and usages fields can be set on creation. Other fields are derived by Kubernetes and cannot be modified by users. @@ -33,7 +33,7 @@ schema CertificateSigningRequest: kind: "CertificateSigningRequest" = "CertificateSigningRequest" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CertificateSigningRequestSpec diff --git a/k8s/1.22/api/certificates/v1/certificate_signing_request_list.k b/k8s/1.22/api/certificates/v1/certificate_signing_request_list.k index bef8b509..dcf72eab 100644 --- a/k8s/1.22/api/certificates/v1/certificate_signing_request_list.k +++ b/k8s/1.22/api/certificates/v1/certificate_signing_request_list.k @@ -3,7 +3,7 @@ This is the certificate_signing_request_list module in k8s.api.certificates.v1 p This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CertificateSigningRequestList: @@ -18,7 +18,7 @@ schema CertificateSigningRequestList: items is a collection of CertificateSigningRequest objects kind : str, default is "CertificateSigningRequestList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema CertificateSigningRequestList: kind: "CertificateSigningRequestList" = "CertificateSigningRequestList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.22/api/coordination/v1/lease.k b/k8s/1.22/api/coordination/v1/lease.k index f9d243c9..b3722c9a 100644 --- a/k8s/1.22/api/coordination/v1/lease.k +++ b/k8s/1.22/api/coordination/v1/lease.k @@ -3,7 +3,7 @@ This is the lease module in k8s.api.coordination.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Lease: @@ -16,7 +16,7 @@ schema Lease: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Lease", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : LeaseSpec, default is Undefined, optional Specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Lease: kind: "Lease" = "Lease" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: LeaseSpec diff --git a/k8s/1.22/api/coordination/v1/lease_list.k b/k8s/1.22/api/coordination/v1/lease_list.k index 64932a19..93a01ab6 100644 --- a/k8s/1.22/api/coordination/v1/lease_list.k +++ b/k8s/1.22/api/coordination/v1/lease_list.k @@ -3,7 +3,7 @@ This is the lease_list module in k8s.api.coordination.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LeaseList: @@ -18,7 +18,7 @@ schema LeaseList: Items is a list of schema objects. kind : str, default is "LeaseList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema LeaseList: kind: "LeaseList" = "LeaseList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.22/api/core/v1/binding.k b/k8s/1.22/api/core/v1/binding.k index e6e478fe..077459fa 100644 --- a/k8s/1.22/api/core/v1/binding.k +++ b/k8s/1.22/api/core/v1/binding.k @@ -3,7 +3,7 @@ This is the binding module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Binding: @@ -16,7 +16,7 @@ schema Binding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Binding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata target : ObjectReference, default is Undefined, required The target object that you want to bind to the standard object. @@ -27,7 +27,7 @@ schema Binding: kind: "Binding" = "Binding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta target: ObjectReference diff --git a/k8s/1.22/api/core/v1/component_status.k b/k8s/1.22/api/core/v1/component_status.k index 19549c61..0d6862b5 100644 --- a/k8s/1.22/api/core/v1/component_status.k +++ b/k8s/1.22/api/core/v1/component_status.k @@ -3,7 +3,7 @@ This is the component_status module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ComponentStatus: @@ -18,7 +18,7 @@ schema ComponentStatus: List of component conditions observed kind : str, default is "ComponentStatus", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema ComponentStatus: kind: "ComponentStatus" = "ComponentStatus" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta diff --git a/k8s/1.22/api/core/v1/component_status_list.k b/k8s/1.22/api/core/v1/component_status_list.k index 0c8fa890..f76a9a62 100644 --- a/k8s/1.22/api/core/v1/component_status_list.k +++ b/k8s/1.22/api/core/v1/component_status_list.k @@ -3,7 +3,7 @@ This is the component_status_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ComponentStatusList: @@ -18,7 +18,7 @@ schema ComponentStatusList: List of ComponentStatus objects. kind : str, default is "ComponentStatusList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ComponentStatusList: kind: "ComponentStatusList" = "ComponentStatusList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.22/api/core/v1/config_map.k b/k8s/1.22/api/core/v1/config_map.k index ac683b69..ee2a9e47 100644 --- a/k8s/1.22/api/core/v1/config_map.k +++ b/k8s/1.22/api/core/v1/config_map.k @@ -3,7 +3,7 @@ This is the config_map module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ConfigMap: @@ -22,7 +22,7 @@ schema ConfigMap: Immutable, if set to true, ensures that data stored in the ConfigMap cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil. kind : str, default is "ConfigMap", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -37,6 +37,6 @@ schema ConfigMap: kind: "ConfigMap" = "ConfigMap" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta diff --git a/k8s/1.22/api/core/v1/config_map_list.k b/k8s/1.22/api/core/v1/config_map_list.k index 5712f514..35df0e4b 100644 --- a/k8s/1.22/api/core/v1/config_map_list.k +++ b/k8s/1.22/api/core/v1/config_map_list.k @@ -3,7 +3,7 @@ This is the config_map_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ConfigMapList: @@ -18,7 +18,7 @@ schema ConfigMapList: Items is the list of ConfigMaps. kind : str, default is "ConfigMapList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema ConfigMapList: kind: "ConfigMapList" = "ConfigMapList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.22/api/core/v1/endpoints.k b/k8s/1.22/api/core/v1/endpoints.k index d123d8d8..3ac0d6cd 100644 --- a/k8s/1.22/api/core/v1/endpoints.k +++ b/k8s/1.22/api/core/v1/endpoints.k @@ -3,7 +3,7 @@ This is the endpoints module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Endpoints: @@ -27,7 +27,7 @@ schema Endpoints: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Endpoints", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata subsets : [EndpointSubset], default is Undefined, optional The set of all endpoints is the union of all subsets. Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service. @@ -38,7 +38,7 @@ schema Endpoints: kind: "Endpoints" = "Endpoints" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta subsets?: [EndpointSubset] diff --git a/k8s/1.22/api/core/v1/endpoints_list.k b/k8s/1.22/api/core/v1/endpoints_list.k index 7ccf6442..f019c842 100644 --- a/k8s/1.22/api/core/v1/endpoints_list.k +++ b/k8s/1.22/api/core/v1/endpoints_list.k @@ -3,7 +3,7 @@ This is the endpoints_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EndpointsList: @@ -18,7 +18,7 @@ schema EndpointsList: List of endpoints. kind : str, default is "EndpointsList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema EndpointsList: kind: "EndpointsList" = "EndpointsList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.22/api/core/v1/event.k b/k8s/1.22/api/core/v1/event.k index 0cc2ba81..f1564c4b 100644 --- a/k8s/1.22/api/core/v1/event.k +++ b/k8s/1.22/api/core/v1/event.k @@ -3,7 +3,7 @@ This is the event module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Event: @@ -30,7 +30,7 @@ schema Event: The time at which the most recent occurrence of this event was recorded. message : str, default is Undefined, optional A human-readable description of the status of this operation. - metadata : v1.ObjectMeta, default is Undefined, required + metadata : metav1.ObjectMeta, default is Undefined, required Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata reason : str, default is Undefined, optional This should be a short, machine understandable string that gives the reason for the transition into the object's current status. @@ -67,7 +67,7 @@ schema Event: message?: str - metadata: v1.ObjectMeta + metadata: metav1.ObjectMeta reason?: str diff --git a/k8s/1.22/api/core/v1/event_list.k b/k8s/1.22/api/core/v1/event_list.k index e543b7cf..d4ed6ffa 100644 --- a/k8s/1.22/api/core/v1/event_list.k +++ b/k8s/1.22/api/core/v1/event_list.k @@ -3,7 +3,7 @@ This is the event_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EventList: @@ -18,7 +18,7 @@ schema EventList: List of events kind : str, default is "EventList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema EventList: kind: "EventList" = "EventList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.22/api/core/v1/limit_range.k b/k8s/1.22/api/core/v1/limit_range.k index 5de64019..3c476447 100644 --- a/k8s/1.22/api/core/v1/limit_range.k +++ b/k8s/1.22/api/core/v1/limit_range.k @@ -3,7 +3,7 @@ This is the limit_range module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LimitRange: @@ -16,7 +16,7 @@ schema LimitRange: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "LimitRange", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : LimitRangeSpec, default is Undefined, optional Spec defines the limits enforced. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema LimitRange: kind: "LimitRange" = "LimitRange" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: LimitRangeSpec diff --git a/k8s/1.22/api/core/v1/limit_range_list.k b/k8s/1.22/api/core/v1/limit_range_list.k index 61da1fba..fc6b5692 100644 --- a/k8s/1.22/api/core/v1/limit_range_list.k +++ b/k8s/1.22/api/core/v1/limit_range_list.k @@ -3,7 +3,7 @@ This is the limit_range_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LimitRangeList: @@ -18,7 +18,7 @@ schema LimitRangeList: Items is a list of LimitRange objects. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ kind : str, default is "LimitRangeList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema LimitRangeList: kind: "LimitRangeList" = "LimitRangeList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.22/api/core/v1/namespace.k b/k8s/1.22/api/core/v1/namespace.k index 52b6b94f..66125388 100644 --- a/k8s/1.22/api/core/v1/namespace.k +++ b/k8s/1.22/api/core/v1/namespace.k @@ -3,7 +3,7 @@ This is the namespace module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Namespace: @@ -16,7 +16,7 @@ schema Namespace: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Namespace", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : NamespaceSpec, default is Undefined, optional Spec defines the behavior of the Namespace. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Namespace: kind: "Namespace" = "Namespace" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: NamespaceSpec diff --git a/k8s/1.22/api/core/v1/namespace_list.k b/k8s/1.22/api/core/v1/namespace_list.k index 0a362eac..1783b0bc 100644 --- a/k8s/1.22/api/core/v1/namespace_list.k +++ b/k8s/1.22/api/core/v1/namespace_list.k @@ -3,7 +3,7 @@ This is the namespace_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NamespaceList: @@ -18,7 +18,7 @@ schema NamespaceList: Items is the list of Namespace objects in the list. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ kind : str, default is "NamespaceList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema NamespaceList: kind: "NamespaceList" = "NamespaceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.22/api/core/v1/node.k b/k8s/1.22/api/core/v1/node.k index 99f9cab9..dcfea158 100644 --- a/k8s/1.22/api/core/v1/node.k +++ b/k8s/1.22/api/core/v1/node.k @@ -3,7 +3,7 @@ This is the node module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Node: @@ -16,7 +16,7 @@ schema Node: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Node", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : NodeSpec, default is Undefined, optional Spec defines the behavior of a node. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Node: kind: "Node" = "Node" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: NodeSpec diff --git a/k8s/1.22/api/core/v1/node_list.k b/k8s/1.22/api/core/v1/node_list.k index 40992f99..26fe9968 100644 --- a/k8s/1.22/api/core/v1/node_list.k +++ b/k8s/1.22/api/core/v1/node_list.k @@ -3,7 +3,7 @@ This is the node_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NodeList: @@ -18,7 +18,7 @@ schema NodeList: List of nodes kind : str, default is "NodeList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema NodeList: kind: "NodeList" = "NodeList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.22/api/core/v1/persistent_volume.k b/k8s/1.22/api/core/v1/persistent_volume.k index 259223a6..2c6d5ee6 100644 --- a/k8s/1.22/api/core/v1/persistent_volume.k +++ b/k8s/1.22/api/core/v1/persistent_volume.k @@ -3,7 +3,7 @@ This is the persistent_volume module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolume: @@ -16,7 +16,7 @@ schema PersistentVolume: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PersistentVolume", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PersistentVolumeSpec, default is Undefined, optional Spec defines a specification of a persistent volume owned by the cluster. Provisioned by an administrator. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes @@ -27,7 +27,7 @@ schema PersistentVolume: kind: "PersistentVolume" = "PersistentVolume" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PersistentVolumeSpec diff --git a/k8s/1.22/api/core/v1/persistent_volume_claim.k b/k8s/1.22/api/core/v1/persistent_volume_claim.k index eb057e81..02735f90 100644 --- a/k8s/1.22/api/core/v1/persistent_volume_claim.k +++ b/k8s/1.22/api/core/v1/persistent_volume_claim.k @@ -3,7 +3,7 @@ This is the persistent_volume_claim module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeClaim: @@ -16,7 +16,7 @@ schema PersistentVolumeClaim: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PersistentVolumeClaim", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PersistentVolumeClaimSpec, default is Undefined, optional Spec defines the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims @@ -27,7 +27,7 @@ schema PersistentVolumeClaim: kind: "PersistentVolumeClaim" = "PersistentVolumeClaim" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PersistentVolumeClaimSpec diff --git a/k8s/1.22/api/core/v1/persistent_volume_claim_list.k b/k8s/1.22/api/core/v1/persistent_volume_claim_list.k index 85ccc1ee..96669996 100644 --- a/k8s/1.22/api/core/v1/persistent_volume_claim_list.k +++ b/k8s/1.22/api/core/v1/persistent_volume_claim_list.k @@ -3,7 +3,7 @@ This is the persistent_volume_claim_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeClaimList: @@ -18,7 +18,7 @@ schema PersistentVolumeClaimList: A list of persistent volume claims. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims kind : str, default is "PersistentVolumeClaimList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema PersistentVolumeClaimList: kind: "PersistentVolumeClaimList" = "PersistentVolumeClaimList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.22/api/core/v1/persistent_volume_claim_spec.k b/k8s/1.22/api/core/v1/persistent_volume_claim_spec.k index dbe83f01..ca735f06 100644 --- a/k8s/1.22/api/core/v1/persistent_volume_claim_spec.k +++ b/k8s/1.22/api/core/v1/persistent_volume_claim_spec.k @@ -3,7 +3,7 @@ This is the persistent_volume_claim_spec module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeClaimSpec: @@ -25,7 +25,7 @@ schema PersistentVolumeClaimSpec: (Alpha) Using this field requires the AnyVolumeDataSource feature gate to be enabled. resources : ResourceRequirements, default is Undefined, optional Resources represents the minimum resources the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional A label query over volumes to consider for binding. storageClassName : str, default is Undefined, optional Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1 @@ -44,7 +44,7 @@ schema PersistentVolumeClaimSpec: resources?: ResourceRequirements - selector?: v1.LabelSelector + selector?: metav1.LabelSelector storageClassName?: str diff --git a/k8s/1.22/api/core/v1/persistent_volume_claim_template.k b/k8s/1.22/api/core/v1/persistent_volume_claim_template.k index e6758b96..a8a010df 100644 --- a/k8s/1.22/api/core/v1/persistent_volume_claim_template.k +++ b/k8s/1.22/api/core/v1/persistent_volume_claim_template.k @@ -3,7 +3,7 @@ This is the persistent_volume_claim_template module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeClaimTemplate: @@ -12,14 +12,14 @@ schema PersistentVolumeClaimTemplate: Attributes ---------- - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. spec : PersistentVolumeClaimSpec, default is Undefined, required The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here. """ - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: PersistentVolumeClaimSpec diff --git a/k8s/1.22/api/core/v1/persistent_volume_list.k b/k8s/1.22/api/core/v1/persistent_volume_list.k index c34d9abb..21a2a32a 100644 --- a/k8s/1.22/api/core/v1/persistent_volume_list.k +++ b/k8s/1.22/api/core/v1/persistent_volume_list.k @@ -3,7 +3,7 @@ This is the persistent_volume_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeList: @@ -18,7 +18,7 @@ schema PersistentVolumeList: List of persistent volumes. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes kind : str, default is "PersistentVolumeList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema PersistentVolumeList: kind: "PersistentVolumeList" = "PersistentVolumeList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.22/api/core/v1/pod.k b/k8s/1.22/api/core/v1/pod.k index 659a9e99..66568628 100644 --- a/k8s/1.22/api/core/v1/pod.k +++ b/k8s/1.22/api/core/v1/pod.k @@ -3,7 +3,7 @@ This is the pod module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Pod: @@ -16,7 +16,7 @@ schema Pod: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Pod", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PodSpec, default is Undefined, optional Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Pod: kind: "Pod" = "Pod" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PodSpec diff --git a/k8s/1.22/api/core/v1/pod_affinity_term.k b/k8s/1.22/api/core/v1/pod_affinity_term.k index 6de7c90c..27874961 100644 --- a/k8s/1.22/api/core/v1/pod_affinity_term.k +++ b/k8s/1.22/api/core/v1/pod_affinity_term.k @@ -3,7 +3,7 @@ This is the pod_affinity_term module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodAffinityTerm: @@ -12,9 +12,9 @@ schema PodAffinityTerm: Attributes ---------- - labelSelector : v1.LabelSelector, default is Undefined, optional + labelSelector : metav1.LabelSelector, default is Undefined, optional A label query over a set of resources, in this case pods. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. This field is beta-level and is only honored when PodAffinityNamespaceSelector feature is enabled. namespaces : [str], default is Undefined, optional namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means "this pod's namespace" @@ -23,9 +23,9 @@ schema PodAffinityTerm: """ - labelSelector?: v1.LabelSelector + labelSelector?: metav1.LabelSelector - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector namespaces?: [str] diff --git a/k8s/1.22/api/core/v1/pod_list.k b/k8s/1.22/api/core/v1/pod_list.k index 10ad5eb9..4c031d05 100644 --- a/k8s/1.22/api/core/v1/pod_list.k +++ b/k8s/1.22/api/core/v1/pod_list.k @@ -3,7 +3,7 @@ This is the pod_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodList: @@ -18,7 +18,7 @@ schema PodList: List of pods. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md kind : str, default is "PodList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema PodList: kind: "PodList" = "PodList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.22/api/core/v1/pod_template.k b/k8s/1.22/api/core/v1/pod_template.k index 98e64f70..6ffbfa64 100644 --- a/k8s/1.22/api/core/v1/pod_template.k +++ b/k8s/1.22/api/core/v1/pod_template.k @@ -3,7 +3,7 @@ This is the pod_template module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodTemplate: @@ -16,7 +16,7 @@ schema PodTemplate: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PodTemplate", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata template : PodTemplateSpec, default is Undefined, optional Template defines the pods that will be created from this pod template. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema PodTemplate: kind: "PodTemplate" = "PodTemplate" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta template?: PodTemplateSpec diff --git a/k8s/1.22/api/core/v1/pod_template_list.k b/k8s/1.22/api/core/v1/pod_template_list.k index 8bb1827f..94024175 100644 --- a/k8s/1.22/api/core/v1/pod_template_list.k +++ b/k8s/1.22/api/core/v1/pod_template_list.k @@ -3,7 +3,7 @@ This is the pod_template_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodTemplateList: @@ -18,7 +18,7 @@ schema PodTemplateList: List of pod templates kind : str, default is "PodTemplateList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema PodTemplateList: kind: "PodTemplateList" = "PodTemplateList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.22/api/core/v1/pod_template_spec.k b/k8s/1.22/api/core/v1/pod_template_spec.k index 1274c88b..6011ef81 100644 --- a/k8s/1.22/api/core/v1/pod_template_spec.k +++ b/k8s/1.22/api/core/v1/pod_template_spec.k @@ -3,7 +3,7 @@ This is the pod_template_spec module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodTemplateSpec: @@ -12,14 +12,14 @@ schema PodTemplateSpec: Attributes ---------- - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PodSpec, default is Undefined, optional Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status """ - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PodSpec diff --git a/k8s/1.22/api/core/v1/replication_controller.k b/k8s/1.22/api/core/v1/replication_controller.k index 08b091e8..37724706 100644 --- a/k8s/1.22/api/core/v1/replication_controller.k +++ b/k8s/1.22/api/core/v1/replication_controller.k @@ -3,7 +3,7 @@ This is the replication_controller module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicationController: @@ -16,7 +16,7 @@ schema ReplicationController: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ReplicationController", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional If the Labels of a ReplicationController are empty, they are defaulted to be the same as the Pod(s) that the replication controller manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : ReplicationControllerSpec, default is Undefined, optional Spec defines the specification of the desired behavior of the replication controller. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema ReplicationController: kind: "ReplicationController" = "ReplicationController" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ReplicationControllerSpec diff --git a/k8s/1.22/api/core/v1/replication_controller_list.k b/k8s/1.22/api/core/v1/replication_controller_list.k index 64afa179..63f9d4b2 100644 --- a/k8s/1.22/api/core/v1/replication_controller_list.k +++ b/k8s/1.22/api/core/v1/replication_controller_list.k @@ -3,7 +3,7 @@ This is the replication_controller_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicationControllerList: @@ -18,7 +18,7 @@ schema ReplicationControllerList: List of replication controllers. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller kind : str, default is "ReplicationControllerList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ReplicationControllerList: kind: "ReplicationControllerList" = "ReplicationControllerList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.22/api/core/v1/resource_quota.k b/k8s/1.22/api/core/v1/resource_quota.k index b7da49d1..0ec7c409 100644 --- a/k8s/1.22/api/core/v1/resource_quota.k +++ b/k8s/1.22/api/core/v1/resource_quota.k @@ -3,7 +3,7 @@ This is the resource_quota module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceQuota: @@ -16,7 +16,7 @@ schema ResourceQuota: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ResourceQuota", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : ResourceQuotaSpec, default is Undefined, optional Spec defines the desired quota. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema ResourceQuota: kind: "ResourceQuota" = "ResourceQuota" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ResourceQuotaSpec diff --git a/k8s/1.22/api/core/v1/resource_quota_list.k b/k8s/1.22/api/core/v1/resource_quota_list.k index ca1424b8..f8dbc87d 100644 --- a/k8s/1.22/api/core/v1/resource_quota_list.k +++ b/k8s/1.22/api/core/v1/resource_quota_list.k @@ -3,7 +3,7 @@ This is the resource_quota_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceQuotaList: @@ -18,7 +18,7 @@ schema ResourceQuotaList: Items is a list of ResourceQuota objects. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/ kind : str, default is "ResourceQuotaList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ResourceQuotaList: kind: "ResourceQuotaList" = "ResourceQuotaList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.22/api/core/v1/secret.k b/k8s/1.22/api/core/v1/secret.k index c124d3ce..08f2c18f 100644 --- a/k8s/1.22/api/core/v1/secret.k +++ b/k8s/1.22/api/core/v1/secret.k @@ -3,7 +3,7 @@ This is the secret module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Secret: @@ -20,7 +20,7 @@ schema Secret: Immutable, if set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil. kind : str, default is "Secret", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata stringData : {str:str}, default is Undefined, optional stringData allows specifying non-binary secret data in string form. It is provided as a write-only input field for convenience. All keys and values are merged into the data field on write, overwriting any existing values. The stringData field is never output when reading from the API. @@ -37,7 +37,7 @@ schema Secret: kind: "Secret" = "Secret" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta stringData?: {str:str} diff --git a/k8s/1.22/api/core/v1/secret_list.k b/k8s/1.22/api/core/v1/secret_list.k index 335c47b4..9e80806b 100644 --- a/k8s/1.22/api/core/v1/secret_list.k +++ b/k8s/1.22/api/core/v1/secret_list.k @@ -3,7 +3,7 @@ This is the secret_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SecretList: @@ -18,7 +18,7 @@ schema SecretList: Items is a list of secret objects. More info: https://kubernetes.io/docs/concepts/configuration/secret kind : str, default is "SecretList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema SecretList: kind: "SecretList" = "SecretList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.22/api/core/v1/service.k b/k8s/1.22/api/core/v1/service.k index 1f259a80..3b86c8ef 100644 --- a/k8s/1.22/api/core/v1/service.k +++ b/k8s/1.22/api/core/v1/service.k @@ -3,7 +3,7 @@ This is the service module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Service: @@ -16,7 +16,7 @@ schema Service: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Service", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : ServiceSpec, default is Undefined, optional Spec defines the behavior of a service. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Service: kind: "Service" = "Service" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ServiceSpec diff --git a/k8s/1.22/api/core/v1/service_account.k b/k8s/1.22/api/core/v1/service_account.k index fc039e4f..c93748eb 100644 --- a/k8s/1.22/api/core/v1/service_account.k +++ b/k8s/1.22/api/core/v1/service_account.k @@ -3,7 +3,7 @@ This is the service_account module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ServiceAccount: @@ -20,7 +20,7 @@ schema ServiceAccount: ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod kind : str, default is "ServiceAccount", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata secrets : [ObjectReference], default is Undefined, optional Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount. More info: https://kubernetes.io/docs/concepts/configuration/secret @@ -35,7 +35,7 @@ schema ServiceAccount: kind: "ServiceAccount" = "ServiceAccount" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta secrets?: [ObjectReference] diff --git a/k8s/1.22/api/core/v1/service_account_list.k b/k8s/1.22/api/core/v1/service_account_list.k index 26a9319a..d8cd46b8 100644 --- a/k8s/1.22/api/core/v1/service_account_list.k +++ b/k8s/1.22/api/core/v1/service_account_list.k @@ -3,7 +3,7 @@ This is the service_account_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ServiceAccountList: @@ -18,7 +18,7 @@ schema ServiceAccountList: List of ServiceAccounts. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ kind : str, default is "ServiceAccountList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ServiceAccountList: kind: "ServiceAccountList" = "ServiceAccountList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.22/api/core/v1/service_list.k b/k8s/1.22/api/core/v1/service_list.k index 0c1e31be..5c4fae8a 100644 --- a/k8s/1.22/api/core/v1/service_list.k +++ b/k8s/1.22/api/core/v1/service_list.k @@ -3,7 +3,7 @@ This is the service_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ServiceList: @@ -18,7 +18,7 @@ schema ServiceList: List of services kind : str, default is "ServiceList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ServiceList: kind: "ServiceList" = "ServiceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.22/api/core/v1/service_status.k b/k8s/1.22/api/core/v1/service_status.k index 029dda86..f1fc66e6 100644 --- a/k8s/1.22/api/core/v1/service_status.k +++ b/k8s/1.22/api/core/v1/service_status.k @@ -3,7 +3,7 @@ This is the service_status module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ServiceStatus: @@ -12,14 +12,14 @@ schema ServiceStatus: Attributes ---------- - conditions : [v1.Condition], default is Undefined, optional + conditions : [metav1.Condition], default is Undefined, optional Current service state loadBalancer : LoadBalancerStatus, default is Undefined, optional LoadBalancer contains the current status of the load-balancer, if one is present. """ - conditions?: [v1.Condition] + conditions?: [metav1.Condition] loadBalancer?: LoadBalancerStatus diff --git a/k8s/1.22/api/core/v1/topology_spread_constraint.k b/k8s/1.22/api/core/v1/topology_spread_constraint.k index df9140a1..a2179492 100644 --- a/k8s/1.22/api/core/v1/topology_spread_constraint.k +++ b/k8s/1.22/api/core/v1/topology_spread_constraint.k @@ -3,7 +3,7 @@ This is the topology_spread_constraint module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema TopologySpreadConstraint: @@ -12,7 +12,7 @@ schema TopologySpreadConstraint: Attributes ---------- - labelSelector : v1.LabelSelector, default is Undefined, optional + labelSelector : metav1.LabelSelector, default is Undefined, optional LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain. maxSkew : int, default is Undefined, required MaxSkew describes the degree to which pods may be unevenly distributed. When `whenUnsatisfiable=DoNotSchedule`, it is the maximum permitted difference between the number of matching pods in the target topology and the global minimum. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 1/1/0: | zone1 | zone2 | zone3 | | P | P | | - if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 1/1/1; scheduling it onto zone1(zone2) would make the ActualSkew(2-0) on zone1(zone2) violate MaxSkew(1). - if MaxSkew is 2, incoming pod can be scheduled onto any zone. When `whenUnsatisfiable=ScheduleAnyway`, it is used to give higher precedence to topologies that satisfy it. It's a required field. Default value is 1 and 0 is not allowed. @@ -26,7 +26,7 @@ schema TopologySpreadConstraint: """ - labelSelector?: v1.LabelSelector + labelSelector?: metav1.LabelSelector maxSkew: int diff --git a/k8s/1.22/api/discovery/v1/endpoint_slice.k b/k8s/1.22/api/discovery/v1/endpoint_slice.k index 77d8a1e3..462647c6 100644 --- a/k8s/1.22/api/discovery/v1/endpoint_slice.k +++ b/k8s/1.22/api/discovery/v1/endpoint_slice.k @@ -3,7 +3,7 @@ This is the endpoint_slice module in k8s.api.discovery.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EndpointSlice: @@ -20,7 +20,7 @@ schema EndpointSlice: endpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints. kind : str, default is "EndpointSlice", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. ports : [EndpointPort], default is Undefined, optional ports specifies the list of network ports exposed by each endpoint in this slice. Each port must have a unique name. When ports is empty, it indicates that there are no defined ports. When a port is defined with a nil port value, it indicates "all ports". Each slice may include a maximum of 100 ports. @@ -35,7 +35,7 @@ schema EndpointSlice: kind: "EndpointSlice" = "EndpointSlice" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta ports?: [EndpointPort] diff --git a/k8s/1.22/api/discovery/v1/endpoint_slice_list.k b/k8s/1.22/api/discovery/v1/endpoint_slice_list.k index d1ca1ed7..241ba06f 100644 --- a/k8s/1.22/api/discovery/v1/endpoint_slice_list.k +++ b/k8s/1.22/api/discovery/v1/endpoint_slice_list.k @@ -3,7 +3,7 @@ This is the endpoint_slice_list module in k8s.api.discovery.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EndpointSliceList: @@ -18,7 +18,7 @@ schema EndpointSliceList: List of endpoint slices kind : str, default is "EndpointSliceList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema EndpointSliceList: kind: "EndpointSliceList" = "EndpointSliceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.22/api/discovery/v1beta1/endpoint_slice.k b/k8s/1.22/api/discovery/v1beta1/endpoint_slice.k index e5bc4f96..c3e65402 100644 --- a/k8s/1.22/api/discovery/v1beta1/endpoint_slice.k +++ b/k8s/1.22/api/discovery/v1beta1/endpoint_slice.k @@ -3,7 +3,7 @@ This is the endpoint_slice module in k8s.api.discovery.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EndpointSlice: @@ -20,7 +20,7 @@ schema EndpointSlice: endpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints. kind : str, default is "EndpointSlice", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. ports : [EndpointPort], default is Undefined, optional ports specifies the list of network ports exposed by each endpoint in this slice. Each port must have a unique name. When ports is empty, it indicates that there are no defined ports. When a port is defined with a nil port value, it indicates "all ports". Each slice may include a maximum of 100 ports. @@ -35,7 +35,7 @@ schema EndpointSlice: kind: "EndpointSlice" = "EndpointSlice" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta ports?: [EndpointPort] diff --git a/k8s/1.22/api/discovery/v1beta1/endpoint_slice_list.k b/k8s/1.22/api/discovery/v1beta1/endpoint_slice_list.k index ad1e929c..62019eae 100644 --- a/k8s/1.22/api/discovery/v1beta1/endpoint_slice_list.k +++ b/k8s/1.22/api/discovery/v1beta1/endpoint_slice_list.k @@ -3,7 +3,7 @@ This is the endpoint_slice_list module in k8s.api.discovery.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EndpointSliceList: @@ -18,7 +18,7 @@ schema EndpointSliceList: List of endpoint slices kind : str, default is "EndpointSliceList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema EndpointSliceList: kind: "EndpointSliceList" = "EndpointSliceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.22/api/events/v1/event_list.k b/k8s/1.22/api/events/v1/event_list.k index 6d5e7dad..4c4d96ba 100644 --- a/k8s/1.22/api/events/v1/event_list.k +++ b/k8s/1.22/api/events/v1/event_list.k @@ -3,7 +3,7 @@ This is the event_list module in k8s.api.events.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EventList: @@ -18,7 +18,7 @@ schema EventList: items is a list of schema objects. kind : str, default is "EventList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema EventList: kind: "EventList" = "EventList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.22/api/events/v1beta1/event_list.k b/k8s/1.22/api/events/v1beta1/event_list.k index fbb9bfa6..85c27cd9 100644 --- a/k8s/1.22/api/events/v1beta1/event_list.k +++ b/k8s/1.22/api/events/v1beta1/event_list.k @@ -3,7 +3,7 @@ This is the event_list module in k8s.api.events.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EventList: @@ -18,7 +18,7 @@ schema EventList: items is a list of schema objects. kind : str, default is "EventList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema EventList: kind: "EventList" = "EventList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.22/api/flowcontrol/v1beta1/flow_schema.k b/k8s/1.22/api/flowcontrol/v1beta1/flow_schema.k index 55faf528..cf4974cd 100644 --- a/k8s/1.22/api/flowcontrol/v1beta1/flow_schema.k +++ b/k8s/1.22/api/flowcontrol/v1beta1/flow_schema.k @@ -3,7 +3,7 @@ This is the flow_schema module in k8s.api.flowcontrol.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema FlowSchema: @@ -16,7 +16,7 @@ schema FlowSchema: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "FlowSchema", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : FlowSchemaSpec, default is Undefined, optional `spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema FlowSchema: kind: "FlowSchema" = "FlowSchema" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: FlowSchemaSpec diff --git a/k8s/1.22/api/flowcontrol/v1beta1/flow_schema_list.k b/k8s/1.22/api/flowcontrol/v1beta1/flow_schema_list.k index 4f91a66c..740f3aa2 100644 --- a/k8s/1.22/api/flowcontrol/v1beta1/flow_schema_list.k +++ b/k8s/1.22/api/flowcontrol/v1beta1/flow_schema_list.k @@ -3,7 +3,7 @@ This is the flow_schema_list module in k8s.api.flowcontrol.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema FlowSchemaList: @@ -18,7 +18,7 @@ schema FlowSchemaList: `items` is a list of FlowSchemas. kind : str, default is "FlowSchemaList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional `metadata` is the standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema FlowSchemaList: kind: "FlowSchemaList" = "FlowSchemaList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.22/api/flowcontrol/v1beta1/priority_level_configuration.k b/k8s/1.22/api/flowcontrol/v1beta1/priority_level_configuration.k index 46ae1bf4..3068b4ac 100644 --- a/k8s/1.22/api/flowcontrol/v1beta1/priority_level_configuration.k +++ b/k8s/1.22/api/flowcontrol/v1beta1/priority_level_configuration.k @@ -3,7 +3,7 @@ This is the priority_level_configuration module in k8s.api.flowcontrol.v1beta1 p This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityLevelConfiguration: @@ -16,7 +16,7 @@ schema PriorityLevelConfiguration: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PriorityLevelConfiguration", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PriorityLevelConfigurationSpec, default is Undefined, optional `spec` is the specification of the desired behavior of a "request-priority". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema PriorityLevelConfiguration: kind: "PriorityLevelConfiguration" = "PriorityLevelConfiguration" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PriorityLevelConfigurationSpec diff --git a/k8s/1.22/api/flowcontrol/v1beta1/priority_level_configuration_list.k b/k8s/1.22/api/flowcontrol/v1beta1/priority_level_configuration_list.k index fbc0a3d7..de2e7738 100644 --- a/k8s/1.22/api/flowcontrol/v1beta1/priority_level_configuration_list.k +++ b/k8s/1.22/api/flowcontrol/v1beta1/priority_level_configuration_list.k @@ -3,7 +3,7 @@ This is the priority_level_configuration_list module in k8s.api.flowcontrol.v1be This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityLevelConfigurationList: @@ -18,7 +18,7 @@ schema PriorityLevelConfigurationList: `items` is a list of request-priorities. kind : str, default is "PriorityLevelConfigurationList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PriorityLevelConfigurationList: kind: "PriorityLevelConfigurationList" = "PriorityLevelConfigurationList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.22/api/networking/v1/ingress.k b/k8s/1.22/api/networking/v1/ingress.k index 84067c5f..7429b93d 100644 --- a/k8s/1.22/api/networking/v1/ingress.k +++ b/k8s/1.22/api/networking/v1/ingress.k @@ -3,7 +3,7 @@ This is the ingress module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Ingress: @@ -16,7 +16,7 @@ schema Ingress: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Ingress", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : IngressSpec, default is Undefined, optional Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Ingress: kind: "Ingress" = "Ingress" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: IngressSpec diff --git a/k8s/1.22/api/networking/v1/ingress_class.k b/k8s/1.22/api/networking/v1/ingress_class.k index 53cf2398..ad2f67bd 100644 --- a/k8s/1.22/api/networking/v1/ingress_class.k +++ b/k8s/1.22/api/networking/v1/ingress_class.k @@ -3,7 +3,7 @@ This is the ingress_class module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema IngressClass: @@ -16,7 +16,7 @@ schema IngressClass: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "IngressClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : IngressClassSpec, default is Undefined, optional Spec is the desired state of the IngressClass. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema IngressClass: kind: "IngressClass" = "IngressClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: IngressClassSpec diff --git a/k8s/1.22/api/networking/v1/ingress_class_list.k b/k8s/1.22/api/networking/v1/ingress_class_list.k index 7a8dfb45..432a667e 100644 --- a/k8s/1.22/api/networking/v1/ingress_class_list.k +++ b/k8s/1.22/api/networking/v1/ingress_class_list.k @@ -3,7 +3,7 @@ This is the ingress_class_list module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema IngressClassList: @@ -18,7 +18,7 @@ schema IngressClassList: Items is the list of IngressClasses. kind : str, default is "IngressClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema IngressClassList: kind: "IngressClassList" = "IngressClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.22/api/networking/v1/ingress_list.k b/k8s/1.22/api/networking/v1/ingress_list.k index 5fc2315f..a73781b0 100644 --- a/k8s/1.22/api/networking/v1/ingress_list.k +++ b/k8s/1.22/api/networking/v1/ingress_list.k @@ -3,7 +3,7 @@ This is the ingress_list module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema IngressList: @@ -18,7 +18,7 @@ schema IngressList: Items is the list of Ingress. kind : str, default is "IngressList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema IngressList: kind: "IngressList" = "IngressList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.22/api/networking/v1/network_policy.k b/k8s/1.22/api/networking/v1/network_policy.k index 888fc8a4..f4ffe0ea 100644 --- a/k8s/1.22/api/networking/v1/network_policy.k +++ b/k8s/1.22/api/networking/v1/network_policy.k @@ -3,7 +3,7 @@ This is the network_policy module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicy: @@ -16,7 +16,7 @@ schema NetworkPolicy: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "NetworkPolicy", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : NetworkPolicySpec, default is Undefined, optional Specification of the desired behavior for this NetworkPolicy. @@ -27,7 +27,7 @@ schema NetworkPolicy: kind: "NetworkPolicy" = "NetworkPolicy" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: NetworkPolicySpec diff --git a/k8s/1.22/api/networking/v1/network_policy_list.k b/k8s/1.22/api/networking/v1/network_policy_list.k index 7a05cb37..8e21e919 100644 --- a/k8s/1.22/api/networking/v1/network_policy_list.k +++ b/k8s/1.22/api/networking/v1/network_policy_list.k @@ -3,7 +3,7 @@ This is the network_policy_list module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicyList: @@ -18,7 +18,7 @@ schema NetworkPolicyList: Items is a list of schema objects. kind : str, default is "NetworkPolicyList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema NetworkPolicyList: kind: "NetworkPolicyList" = "NetworkPolicyList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.22/api/networking/v1/network_policy_peer.k b/k8s/1.22/api/networking/v1/network_policy_peer.k index c579477f..57c680fb 100644 --- a/k8s/1.22/api/networking/v1/network_policy_peer.k +++ b/k8s/1.22/api/networking/v1/network_policy_peer.k @@ -3,7 +3,7 @@ This is the network_policy_peer module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicyPeer: @@ -14,11 +14,11 @@ schema NetworkPolicyPeer: ---------- ipBlock : IPBlock, default is Undefined, optional IPBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional Selects Namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces. If PodSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects all Pods in the Namespaces selected by NamespaceSelector. - podSelector : v1.LabelSelector, default is Undefined, optional + podSelector : metav1.LabelSelector, default is Undefined, optional This is a label selector which selects Pods. This field follows standard label selector semantics; if present but empty, it selects all pods. If NamespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the Pods matching PodSelector in the policy's own Namespace. @@ -27,8 +27,8 @@ schema NetworkPolicyPeer: ipBlock?: IPBlock - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector - podSelector?: v1.LabelSelector + podSelector?: metav1.LabelSelector diff --git a/k8s/1.22/api/networking/v1/network_policy_spec.k b/k8s/1.22/api/networking/v1/network_policy_spec.k index d1b738dc..5ceec480 100644 --- a/k8s/1.22/api/networking/v1/network_policy_spec.k +++ b/k8s/1.22/api/networking/v1/network_policy_spec.k @@ -3,7 +3,7 @@ This is the network_policy_spec module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicySpec: @@ -16,7 +16,7 @@ schema NetworkPolicySpec: List of egress rules to be applied to the selected pods. Outgoing traffic is allowed if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic matches at least one egress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy limits all outgoing traffic (and serves solely to ensure that the pods it selects are isolated by default). This field is beta-level in 1.8 ingress : [NetworkPolicyIngressRule], default is Undefined, optional List of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not allow any traffic (and serves solely to ensure that the pods it selects are isolated by default) - podSelector : v1.LabelSelector, default is Undefined, required + podSelector : metav1.LabelSelector, default is Undefined, required Selects the pods to which this NetworkPolicy object applies. The array of ingress rules is applied to any pods selected by this field. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is NOT optional and follows standard label selector semantics. An empty podSelector matches all pods in this namespace. policyTypes : [str], default is Undefined, optional List of rule types that the NetworkPolicy relates to. Valid options are ["Ingress"], ["Egress"], or ["Ingress", "Egress"]. If this field is not specified, it will default based on the existence of Ingress or Egress rules; policies that contain an Egress section are assumed to affect Egress, and all policies (whether or not they contain an Ingress section) are assumed to affect Ingress. If you want to write an egress-only policy, you must explicitly specify policyTypes [ "Egress" ]. Likewise, if you want to write a policy that specifies that no egress is allowed, you must specify a policyTypes value that include "Egress" (since such a policy would not include an Egress section and would otherwise default to just [ "Ingress" ]). This field is beta-level in 1.8 @@ -27,7 +27,7 @@ schema NetworkPolicySpec: ingress?: [NetworkPolicyIngressRule] - podSelector: v1.LabelSelector + podSelector: metav1.LabelSelector policyTypes?: [str] diff --git a/k8s/1.22/api/node/v1/runtime_class.k b/k8s/1.22/api/node/v1/runtime_class.k index c40f1039..718cd8b9 100644 --- a/k8s/1.22/api/node/v1/runtime_class.k +++ b/k8s/1.22/api/node/v1/runtime_class.k @@ -3,7 +3,7 @@ This is the runtime_class module in k8s.api.node.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RuntimeClass: @@ -18,7 +18,7 @@ schema RuntimeClass: Handler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration. It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called "runc" might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The Handler must be lowercase, conform to the DNS Label (RFC 1123) requirements, and is immutable. kind : str, default is "RuntimeClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata overhead : Overhead, default is Undefined, optional Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see @@ -35,7 +35,7 @@ schema RuntimeClass: kind: "RuntimeClass" = "RuntimeClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta overhead?: Overhead diff --git a/k8s/1.22/api/node/v1/runtime_class_list.k b/k8s/1.22/api/node/v1/runtime_class_list.k index 66bfea91..4f1ac3f5 100644 --- a/k8s/1.22/api/node/v1/runtime_class_list.k +++ b/k8s/1.22/api/node/v1/runtime_class_list.k @@ -3,7 +3,7 @@ This is the runtime_class_list module in k8s.api.node.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RuntimeClassList: @@ -18,7 +18,7 @@ schema RuntimeClassList: Items is a list of schema objects. kind : str, default is "RuntimeClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema RuntimeClassList: kind: "RuntimeClassList" = "RuntimeClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.22/api/node/v1alpha1/runtime_class.k b/k8s/1.22/api/node/v1alpha1/runtime_class.k index e0f55b90..9fc429d8 100644 --- a/k8s/1.22/api/node/v1alpha1/runtime_class.k +++ b/k8s/1.22/api/node/v1alpha1/runtime_class.k @@ -3,7 +3,7 @@ This is the runtime_class module in k8s.api.node.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RuntimeClass: @@ -16,7 +16,7 @@ schema RuntimeClass: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "RuntimeClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : RuntimeClassSpec, default is Undefined, required Specification of the RuntimeClass More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema RuntimeClass: kind: "RuntimeClass" = "RuntimeClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: RuntimeClassSpec diff --git a/k8s/1.22/api/node/v1alpha1/runtime_class_list.k b/k8s/1.22/api/node/v1alpha1/runtime_class_list.k index 9a7cbb22..6db85ede 100644 --- a/k8s/1.22/api/node/v1alpha1/runtime_class_list.k +++ b/k8s/1.22/api/node/v1alpha1/runtime_class_list.k @@ -3,7 +3,7 @@ This is the runtime_class_list module in k8s.api.node.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RuntimeClassList: @@ -18,7 +18,7 @@ schema RuntimeClassList: Items is a list of schema objects. kind : str, default is "RuntimeClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema RuntimeClassList: kind: "RuntimeClassList" = "RuntimeClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.22/api/node/v1beta1/runtime_class.k b/k8s/1.22/api/node/v1beta1/runtime_class.k index 784e460b..bc259d6b 100644 --- a/k8s/1.22/api/node/v1beta1/runtime_class.k +++ b/k8s/1.22/api/node/v1beta1/runtime_class.k @@ -3,7 +3,7 @@ This is the runtime_class module in k8s.api.node.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RuntimeClass: @@ -18,7 +18,7 @@ schema RuntimeClass: Handler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration. It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called "runc" might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The Handler must be lowercase, conform to the DNS Label (RFC 1123) requirements, and is immutable. kind : str, default is "RuntimeClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata overhead : Overhead, default is Undefined, optional Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see https://git.k8s.io/enhancements/keps/sig-node/688-pod-overhead/README.md This field is beta-level as of Kubernetes v1.18, and is only honored by servers that enable the PodOverhead feature. @@ -33,7 +33,7 @@ schema RuntimeClass: kind: "RuntimeClass" = "RuntimeClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta overhead?: Overhead diff --git a/k8s/1.22/api/node/v1beta1/runtime_class_list.k b/k8s/1.22/api/node/v1beta1/runtime_class_list.k index 19de4405..96178e8c 100644 --- a/k8s/1.22/api/node/v1beta1/runtime_class_list.k +++ b/k8s/1.22/api/node/v1beta1/runtime_class_list.k @@ -3,7 +3,7 @@ This is the runtime_class_list module in k8s.api.node.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RuntimeClassList: @@ -18,7 +18,7 @@ schema RuntimeClassList: Items is a list of schema objects. kind : str, default is "RuntimeClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema RuntimeClassList: kind: "RuntimeClassList" = "RuntimeClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.22/api/policy/v1/eviction.k b/k8s/1.22/api/policy/v1/eviction.k index e87c2ee9..121fb323 100644 --- a/k8s/1.22/api/policy/v1/eviction.k +++ b/k8s/1.22/api/policy/v1/eviction.k @@ -3,7 +3,7 @@ This is the eviction module in k8s.api.policy.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Eviction: @@ -14,21 +14,21 @@ schema Eviction: ---------- apiVersion : str, default is "policy/v1", required APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - deleteOptions : v1.DeleteOptions, default is Undefined, optional + deleteOptions : metav1.DeleteOptions, default is Undefined, optional DeleteOptions may be provided kind : str, default is "Eviction", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional ObjectMeta describes the pod that is being evicted. """ apiVersion: "policy/v1" = "policy/v1" - deleteOptions?: v1.DeleteOptions + deleteOptions?: metav1.DeleteOptions kind: "Eviction" = "Eviction" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta diff --git a/k8s/1.22/api/policy/v1/pod_disruption_budget.k b/k8s/1.22/api/policy/v1/pod_disruption_budget.k index 08151f41..02483ed4 100644 --- a/k8s/1.22/api/policy/v1/pod_disruption_budget.k +++ b/k8s/1.22/api/policy/v1/pod_disruption_budget.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget module in k8s.api.policy.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudget: @@ -16,7 +16,7 @@ schema PodDisruptionBudget: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PodDisruptionBudget", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PodDisruptionBudgetSpec, default is Undefined, optional Specification of the desired behavior of the PodDisruptionBudget. @@ -27,7 +27,7 @@ schema PodDisruptionBudget: kind: "PodDisruptionBudget" = "PodDisruptionBudget" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PodDisruptionBudgetSpec diff --git a/k8s/1.22/api/policy/v1/pod_disruption_budget_list.k b/k8s/1.22/api/policy/v1/pod_disruption_budget_list.k index 9075ecd9..0a3f925d 100644 --- a/k8s/1.22/api/policy/v1/pod_disruption_budget_list.k +++ b/k8s/1.22/api/policy/v1/pod_disruption_budget_list.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget_list module in k8s.api.policy.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudgetList: @@ -18,7 +18,7 @@ schema PodDisruptionBudgetList: Items is a list of PodDisruptionBudgets kind : str, default is "PodDisruptionBudgetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PodDisruptionBudgetList: kind: "PodDisruptionBudgetList" = "PodDisruptionBudgetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.22/api/policy/v1/pod_disruption_budget_spec.k b/k8s/1.22/api/policy/v1/pod_disruption_budget_spec.k index 6e881436..39b64d7c 100644 --- a/k8s/1.22/api/policy/v1/pod_disruption_budget_spec.k +++ b/k8s/1.22/api/policy/v1/pod_disruption_budget_spec.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget_spec module in k8s.api.policy.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudgetSpec: @@ -16,7 +16,7 @@ schema PodDisruptionBudgetSpec: An eviction is allowed if at most "maxUnavailable" pods selected by "selector" are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with "minAvailable". minAvailable : int | str, default is Undefined, optional An eviction is allowed if at least "minAvailable" pods selected by "selector" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying "100%". - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional Label query over pods whose evictions are managed by the disruption budget. A null selector will match no pods, while an empty ({}) selector will select all pods within the namespace. """ @@ -25,6 +25,6 @@ schema PodDisruptionBudgetSpec: minAvailable?: int | str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector diff --git a/k8s/1.22/api/policy/v1/pod_disruption_budget_status.k b/k8s/1.22/api/policy/v1/pod_disruption_budget_status.k index 58d0ef88..b8db8025 100644 --- a/k8s/1.22/api/policy/v1/pod_disruption_budget_status.k +++ b/k8s/1.22/api/policy/v1/pod_disruption_budget_status.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget_status module in k8s.api.policy.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudgetStatus: @@ -12,7 +12,7 @@ schema PodDisruptionBudgetStatus: Attributes ---------- - conditions : [v1.Condition], default is Undefined, optional + conditions : [metav1.Condition], default is Undefined, optional Conditions contain conditions for PDB. The disruption controller sets the DisruptionAllowed condition. The following are known values for the reason field (additional reasons could be added in the future): - SyncFailed: The controller encountered an error and wasn't able to compute the number of allowed disruptions. Therefore no disruptions are allowed and the status of the condition will be False. @@ -37,7 +37,7 @@ schema PodDisruptionBudgetStatus: """ - conditions?: [v1.Condition] + conditions?: [metav1.Condition] currentHealthy: int diff --git a/k8s/1.22/api/policy/v1beta1/pod_disruption_budget.k b/k8s/1.22/api/policy/v1beta1/pod_disruption_budget.k index 9e404c30..6ebad63a 100644 --- a/k8s/1.22/api/policy/v1beta1/pod_disruption_budget.k +++ b/k8s/1.22/api/policy/v1beta1/pod_disruption_budget.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget module in k8s.api.policy.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudget: @@ -16,7 +16,7 @@ schema PodDisruptionBudget: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PodDisruptionBudget", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PodDisruptionBudgetSpec, default is Undefined, optional Specification of the desired behavior of the PodDisruptionBudget. @@ -27,7 +27,7 @@ schema PodDisruptionBudget: kind: "PodDisruptionBudget" = "PodDisruptionBudget" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PodDisruptionBudgetSpec diff --git a/k8s/1.22/api/policy/v1beta1/pod_disruption_budget_list.k b/k8s/1.22/api/policy/v1beta1/pod_disruption_budget_list.k index b7dadea2..2c8f94e1 100644 --- a/k8s/1.22/api/policy/v1beta1/pod_disruption_budget_list.k +++ b/k8s/1.22/api/policy/v1beta1/pod_disruption_budget_list.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget_list module in k8s.api.policy.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudgetList: @@ -18,7 +18,7 @@ schema PodDisruptionBudgetList: items list individual PodDisruptionBudget objects kind : str, default is "PodDisruptionBudgetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PodDisruptionBudgetList: kind: "PodDisruptionBudgetList" = "PodDisruptionBudgetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.22/api/policy/v1beta1/pod_disruption_budget_spec.k b/k8s/1.22/api/policy/v1beta1/pod_disruption_budget_spec.k index f89a8e1f..555fad23 100644 --- a/k8s/1.22/api/policy/v1beta1/pod_disruption_budget_spec.k +++ b/k8s/1.22/api/policy/v1beta1/pod_disruption_budget_spec.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget_spec module in k8s.api.policy.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudgetSpec: @@ -16,7 +16,7 @@ schema PodDisruptionBudgetSpec: An eviction is allowed if at most "maxUnavailable" pods selected by "selector" are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with "minAvailable". minAvailable : int | str, default is Undefined, optional An eviction is allowed if at least "minAvailable" pods selected by "selector" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying "100%". - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional Label query over pods whose evictions are managed by the disruption budget. A null selector selects no pods. An empty selector ({}) also selects no pods, which differs from standard behavior of selecting all pods. In policy/v1, an empty selector will select all pods in the namespace. """ @@ -25,6 +25,6 @@ schema PodDisruptionBudgetSpec: minAvailable?: int | str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector diff --git a/k8s/1.22/api/policy/v1beta1/pod_disruption_budget_status.k b/k8s/1.22/api/policy/v1beta1/pod_disruption_budget_status.k index 955efb74..efd5adae 100644 --- a/k8s/1.22/api/policy/v1beta1/pod_disruption_budget_status.k +++ b/k8s/1.22/api/policy/v1beta1/pod_disruption_budget_status.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget_status module in k8s.api.policy.v1beta1 packag This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudgetStatus: @@ -12,7 +12,7 @@ schema PodDisruptionBudgetStatus: Attributes ---------- - conditions : [v1.Condition], default is Undefined, optional + conditions : [metav1.Condition], default is Undefined, optional Conditions contain conditions for PDB. The disruption controller sets the DisruptionAllowed condition. The following are known values for the reason field (additional reasons could be added in the future): - SyncFailed: The controller encountered an error and wasn't able to compute the number of allowed disruptions. Therefore no disruptions are allowed and the status of the condition will be False. @@ -37,7 +37,7 @@ schema PodDisruptionBudgetStatus: """ - conditions?: [v1.Condition] + conditions?: [metav1.Condition] currentHealthy: int diff --git a/k8s/1.22/api/policy/v1beta1/pod_security_policy.k b/k8s/1.22/api/policy/v1beta1/pod_security_policy.k index 5adb52bb..f7d9ec1a 100644 --- a/k8s/1.22/api/policy/v1beta1/pod_security_policy.k +++ b/k8s/1.22/api/policy/v1beta1/pod_security_policy.k @@ -3,7 +3,7 @@ This is the pod_security_policy module in k8s.api.policy.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodSecurityPolicy: @@ -16,7 +16,7 @@ schema PodSecurityPolicy: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PodSecurityPolicy", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PodSecurityPolicySpec, default is Undefined, optional spec defines the policy enforced. @@ -27,7 +27,7 @@ schema PodSecurityPolicy: kind: "PodSecurityPolicy" = "PodSecurityPolicy" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PodSecurityPolicySpec diff --git a/k8s/1.22/api/policy/v1beta1/pod_security_policy_list.k b/k8s/1.22/api/policy/v1beta1/pod_security_policy_list.k index 72500195..422fdc1a 100644 --- a/k8s/1.22/api/policy/v1beta1/pod_security_policy_list.k +++ b/k8s/1.22/api/policy/v1beta1/pod_security_policy_list.k @@ -3,7 +3,7 @@ This is the pod_security_policy_list module in k8s.api.policy.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodSecurityPolicyList: @@ -18,7 +18,7 @@ schema PodSecurityPolicyList: items is a list of schema objects. kind : str, default is "PodSecurityPolicyList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PodSecurityPolicyList: kind: "PodSecurityPolicyList" = "PodSecurityPolicyList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.22/api/rbac/v1/aggregation_rule.k b/k8s/1.22/api/rbac/v1/aggregation_rule.k index c7969ee4..b6898869 100644 --- a/k8s/1.22/api/rbac/v1/aggregation_rule.k +++ b/k8s/1.22/api/rbac/v1/aggregation_rule.k @@ -3,7 +3,7 @@ This is the aggregation_rule module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema AggregationRule: @@ -12,11 +12,11 @@ schema AggregationRule: Attributes ---------- - clusterRoleSelectors : [v1.LabelSelector], default is Undefined, optional + clusterRoleSelectors : [metav1.LabelSelector], default is Undefined, optional ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added """ - clusterRoleSelectors?: [v1.LabelSelector] + clusterRoleSelectors?: [metav1.LabelSelector] diff --git a/k8s/1.22/api/rbac/v1/cluster_role.k b/k8s/1.22/api/rbac/v1/cluster_role.k index fcf42d1b..d32837ea 100644 --- a/k8s/1.22/api/rbac/v1/cluster_role.k +++ b/k8s/1.22/api/rbac/v1/cluster_role.k @@ -3,7 +3,7 @@ This is the cluster_role module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRole: @@ -18,7 +18,7 @@ schema ClusterRole: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ClusterRole", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. rules : [PolicyRule], default is Undefined, optional Rules holds all the PolicyRules for this ClusterRole @@ -31,7 +31,7 @@ schema ClusterRole: kind: "ClusterRole" = "ClusterRole" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta rules?: [PolicyRule] diff --git a/k8s/1.22/api/rbac/v1/cluster_role_binding.k b/k8s/1.22/api/rbac/v1/cluster_role_binding.k index e670588e..1b2c4294 100644 --- a/k8s/1.22/api/rbac/v1/cluster_role_binding.k +++ b/k8s/1.22/api/rbac/v1/cluster_role_binding.k @@ -3,7 +3,7 @@ This is the cluster_role_binding module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleBinding: @@ -16,7 +16,7 @@ schema ClusterRoleBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ClusterRoleBinding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. roleRef : RoleRef, default is Undefined, required RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. @@ -29,7 +29,7 @@ schema ClusterRoleBinding: kind: "ClusterRoleBinding" = "ClusterRoleBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta roleRef: RoleRef diff --git a/k8s/1.22/api/rbac/v1/cluster_role_binding_list.k b/k8s/1.22/api/rbac/v1/cluster_role_binding_list.k index fd53865a..bd13f6fa 100644 --- a/k8s/1.22/api/rbac/v1/cluster_role_binding_list.k +++ b/k8s/1.22/api/rbac/v1/cluster_role_binding_list.k @@ -3,7 +3,7 @@ This is the cluster_role_binding_list module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleBindingList: @@ -18,7 +18,7 @@ schema ClusterRoleBindingList: Items is a list of ClusterRoleBindings kind : str, default is "ClusterRoleBindingList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema ClusterRoleBindingList: kind: "ClusterRoleBindingList" = "ClusterRoleBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.22/api/rbac/v1/cluster_role_list.k b/k8s/1.22/api/rbac/v1/cluster_role_list.k index 8be0e1a6..303e00aa 100644 --- a/k8s/1.22/api/rbac/v1/cluster_role_list.k +++ b/k8s/1.22/api/rbac/v1/cluster_role_list.k @@ -3,7 +3,7 @@ This is the cluster_role_list module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleList: @@ -18,7 +18,7 @@ schema ClusterRoleList: Items is a list of ClusterRoles kind : str, default is "ClusterRoleList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema ClusterRoleList: kind: "ClusterRoleList" = "ClusterRoleList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.22/api/rbac/v1/role.k b/k8s/1.22/api/rbac/v1/role.k index f72c1ab0..db02dfef 100644 --- a/k8s/1.22/api/rbac/v1/role.k +++ b/k8s/1.22/api/rbac/v1/role.k @@ -3,7 +3,7 @@ This is the role module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Role: @@ -16,7 +16,7 @@ schema Role: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Role", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. rules : [PolicyRule], default is Undefined, optional Rules holds all the PolicyRules for this Role @@ -27,7 +27,7 @@ schema Role: kind: "Role" = "Role" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta rules?: [PolicyRule] diff --git a/k8s/1.22/api/rbac/v1/role_binding.k b/k8s/1.22/api/rbac/v1/role_binding.k index a305e8b1..efa93d8c 100644 --- a/k8s/1.22/api/rbac/v1/role_binding.k +++ b/k8s/1.22/api/rbac/v1/role_binding.k @@ -3,7 +3,7 @@ This is the role_binding module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleBinding: @@ -16,7 +16,7 @@ schema RoleBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "RoleBinding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. roleRef : RoleRef, default is Undefined, required RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. @@ -29,7 +29,7 @@ schema RoleBinding: kind: "RoleBinding" = "RoleBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta roleRef: RoleRef diff --git a/k8s/1.22/api/rbac/v1/role_binding_list.k b/k8s/1.22/api/rbac/v1/role_binding_list.k index ef8b7fc8..cb8d7400 100644 --- a/k8s/1.22/api/rbac/v1/role_binding_list.k +++ b/k8s/1.22/api/rbac/v1/role_binding_list.k @@ -3,7 +3,7 @@ This is the role_binding_list module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleBindingList: @@ -18,7 +18,7 @@ schema RoleBindingList: Items is a list of RoleBindings kind : str, default is "RoleBindingList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema RoleBindingList: kind: "RoleBindingList" = "RoleBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.22/api/rbac/v1/role_list.k b/k8s/1.22/api/rbac/v1/role_list.k index 6e7826e6..d102bc0c 100644 --- a/k8s/1.22/api/rbac/v1/role_list.k +++ b/k8s/1.22/api/rbac/v1/role_list.k @@ -3,7 +3,7 @@ This is the role_list module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleList: @@ -18,7 +18,7 @@ schema RoleList: Items is a list of Roles kind : str, default is "RoleList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema RoleList: kind: "RoleList" = "RoleList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.22/api/rbac/v1alpha1/aggregation_rule.k b/k8s/1.22/api/rbac/v1alpha1/aggregation_rule.k index 528fe561..c9b2af20 100644 --- a/k8s/1.22/api/rbac/v1alpha1/aggregation_rule.k +++ b/k8s/1.22/api/rbac/v1alpha1/aggregation_rule.k @@ -3,7 +3,7 @@ This is the aggregation_rule module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema AggregationRule: @@ -12,11 +12,11 @@ schema AggregationRule: Attributes ---------- - clusterRoleSelectors : [v1.LabelSelector], default is Undefined, optional + clusterRoleSelectors : [metav1.LabelSelector], default is Undefined, optional ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added """ - clusterRoleSelectors?: [v1.LabelSelector] + clusterRoleSelectors?: [metav1.LabelSelector] diff --git a/k8s/1.22/api/rbac/v1alpha1/cluster_role.k b/k8s/1.22/api/rbac/v1alpha1/cluster_role.k index 575a9cc7..657dbc2f 100644 --- a/k8s/1.22/api/rbac/v1alpha1/cluster_role.k +++ b/k8s/1.22/api/rbac/v1alpha1/cluster_role.k @@ -3,7 +3,7 @@ This is the cluster_role module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRole: @@ -18,7 +18,7 @@ schema ClusterRole: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ClusterRole", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. rules : [PolicyRule], default is Undefined, optional Rules holds all the PolicyRules for this ClusterRole @@ -31,7 +31,7 @@ schema ClusterRole: kind: "ClusterRole" = "ClusterRole" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta rules?: [PolicyRule] diff --git a/k8s/1.22/api/rbac/v1alpha1/cluster_role_binding.k b/k8s/1.22/api/rbac/v1alpha1/cluster_role_binding.k index 52d3d37f..f8461b42 100644 --- a/k8s/1.22/api/rbac/v1alpha1/cluster_role_binding.k +++ b/k8s/1.22/api/rbac/v1alpha1/cluster_role_binding.k @@ -3,7 +3,7 @@ This is the cluster_role_binding module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleBinding: @@ -16,7 +16,7 @@ schema ClusterRoleBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ClusterRoleBinding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. roleRef : RoleRef, default is Undefined, required RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. @@ -29,7 +29,7 @@ schema ClusterRoleBinding: kind: "ClusterRoleBinding" = "ClusterRoleBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta roleRef: RoleRef diff --git a/k8s/1.22/api/rbac/v1alpha1/cluster_role_binding_list.k b/k8s/1.22/api/rbac/v1alpha1/cluster_role_binding_list.k index 2bfe341d..b56526be 100644 --- a/k8s/1.22/api/rbac/v1alpha1/cluster_role_binding_list.k +++ b/k8s/1.22/api/rbac/v1alpha1/cluster_role_binding_list.k @@ -3,7 +3,7 @@ This is the cluster_role_binding_list module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleBindingList: @@ -18,7 +18,7 @@ schema ClusterRoleBindingList: Items is a list of ClusterRoleBindings kind : str, default is "ClusterRoleBindingList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema ClusterRoleBindingList: kind: "ClusterRoleBindingList" = "ClusterRoleBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.22/api/rbac/v1alpha1/cluster_role_list.k b/k8s/1.22/api/rbac/v1alpha1/cluster_role_list.k index 1618ae56..24f24ffb 100644 --- a/k8s/1.22/api/rbac/v1alpha1/cluster_role_list.k +++ b/k8s/1.22/api/rbac/v1alpha1/cluster_role_list.k @@ -3,7 +3,7 @@ This is the cluster_role_list module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleList: @@ -18,7 +18,7 @@ schema ClusterRoleList: Items is a list of ClusterRoles kind : str, default is "ClusterRoleList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema ClusterRoleList: kind: "ClusterRoleList" = "ClusterRoleList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.22/api/rbac/v1alpha1/role.k b/k8s/1.22/api/rbac/v1alpha1/role.k index 04b73319..d77aa86d 100644 --- a/k8s/1.22/api/rbac/v1alpha1/role.k +++ b/k8s/1.22/api/rbac/v1alpha1/role.k @@ -3,7 +3,7 @@ This is the role module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Role: @@ -16,7 +16,7 @@ schema Role: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Role", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. rules : [PolicyRule], default is Undefined, optional Rules holds all the PolicyRules for this Role @@ -27,7 +27,7 @@ schema Role: kind: "Role" = "Role" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta rules?: [PolicyRule] diff --git a/k8s/1.22/api/rbac/v1alpha1/role_binding.k b/k8s/1.22/api/rbac/v1alpha1/role_binding.k index 4d8b1be7..54a70911 100644 --- a/k8s/1.22/api/rbac/v1alpha1/role_binding.k +++ b/k8s/1.22/api/rbac/v1alpha1/role_binding.k @@ -3,7 +3,7 @@ This is the role_binding module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleBinding: @@ -16,7 +16,7 @@ schema RoleBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "RoleBinding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. roleRef : RoleRef, default is Undefined, required RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. @@ -29,7 +29,7 @@ schema RoleBinding: kind: "RoleBinding" = "RoleBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta roleRef: RoleRef diff --git a/k8s/1.22/api/rbac/v1alpha1/role_binding_list.k b/k8s/1.22/api/rbac/v1alpha1/role_binding_list.k index 4e041bf4..488775b1 100644 --- a/k8s/1.22/api/rbac/v1alpha1/role_binding_list.k +++ b/k8s/1.22/api/rbac/v1alpha1/role_binding_list.k @@ -3,7 +3,7 @@ This is the role_binding_list module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleBindingList: @@ -18,7 +18,7 @@ schema RoleBindingList: Items is a list of RoleBindings kind : str, default is "RoleBindingList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema RoleBindingList: kind: "RoleBindingList" = "RoleBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.22/api/rbac/v1alpha1/role_list.k b/k8s/1.22/api/rbac/v1alpha1/role_list.k index 0f4b5901..57cb790f 100644 --- a/k8s/1.22/api/rbac/v1alpha1/role_list.k +++ b/k8s/1.22/api/rbac/v1alpha1/role_list.k @@ -3,7 +3,7 @@ This is the role_list module in k8s.api.rbac.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleList: @@ -18,7 +18,7 @@ schema RoleList: Items is a list of Roles kind : str, default is "RoleList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema RoleList: kind: "RoleList" = "RoleList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.22/api/scheduling/v1/priority_class.k b/k8s/1.22/api/scheduling/v1/priority_class.k index 1bf1a065..06085c45 100644 --- a/k8s/1.22/api/scheduling/v1/priority_class.k +++ b/k8s/1.22/api/scheduling/v1/priority_class.k @@ -3,7 +3,7 @@ This is the priority_class module in k8s.api.scheduling.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityClass: @@ -20,7 +20,7 @@ schema PriorityClass: globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority. kind : str, default is "PriorityClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata preemptionPolicy : str, default is Undefined, optional PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is beta-level, gated by the NonPreemptingPriority feature-gate. @@ -37,7 +37,7 @@ schema PriorityClass: kind: "PriorityClass" = "PriorityClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta preemptionPolicy?: str diff --git a/k8s/1.22/api/scheduling/v1/priority_class_list.k b/k8s/1.22/api/scheduling/v1/priority_class_list.k index ff802048..6d514f6b 100644 --- a/k8s/1.22/api/scheduling/v1/priority_class_list.k +++ b/k8s/1.22/api/scheduling/v1/priority_class_list.k @@ -3,7 +3,7 @@ This is the priority_class_list module in k8s.api.scheduling.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityClassList: @@ -18,7 +18,7 @@ schema PriorityClassList: items is the list of PriorityClasses kind : str, default is "PriorityClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PriorityClassList: kind: "PriorityClassList" = "PriorityClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.22/api/scheduling/v1alpha1/priority_class.k b/k8s/1.22/api/scheduling/v1alpha1/priority_class.k index 59462076..87789133 100644 --- a/k8s/1.22/api/scheduling/v1alpha1/priority_class.k +++ b/k8s/1.22/api/scheduling/v1alpha1/priority_class.k @@ -3,7 +3,7 @@ This is the priority_class module in k8s.api.scheduling.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityClass: @@ -20,7 +20,7 @@ schema PriorityClass: globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority. kind : str, default is "PriorityClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata preemptionPolicy : str, default is Undefined, optional PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is beta-level, gated by the NonPreemptingPriority feature-gate. @@ -37,7 +37,7 @@ schema PriorityClass: kind: "PriorityClass" = "PriorityClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta preemptionPolicy?: str diff --git a/k8s/1.22/api/scheduling/v1alpha1/priority_class_list.k b/k8s/1.22/api/scheduling/v1alpha1/priority_class_list.k index f4d8cbfa..97b08586 100644 --- a/k8s/1.22/api/scheduling/v1alpha1/priority_class_list.k +++ b/k8s/1.22/api/scheduling/v1alpha1/priority_class_list.k @@ -3,7 +3,7 @@ This is the priority_class_list module in k8s.api.scheduling.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityClassList: @@ -18,7 +18,7 @@ schema PriorityClassList: items is the list of PriorityClasses kind : str, default is "PriorityClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PriorityClassList: kind: "PriorityClassList" = "PriorityClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.22/api/storage/v1/csi_driver.k b/k8s/1.22/api/storage/v1/csi_driver.k index 3302994b..cd222b2a 100644 --- a/k8s/1.22/api/storage/v1/csi_driver.k +++ b/k8s/1.22/api/storage/v1/csi_driver.k @@ -3,7 +3,7 @@ This is the csi_driver module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSIDriver: @@ -16,7 +16,7 @@ schema CSIDriver: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CSIDriver", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. metadata.Name indicates the name of the CSI driver that this object refers to; it MUST be the same name returned by the CSI GetPluginName() call for that driver. The driver name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and alphanumerics between. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : CSIDriverSpec, default is Undefined, required Specification of the CSI Driver. @@ -27,7 +27,7 @@ schema CSIDriver: kind: "CSIDriver" = "CSIDriver" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CSIDriverSpec diff --git a/k8s/1.22/api/storage/v1/csi_driver_list.k b/k8s/1.22/api/storage/v1/csi_driver_list.k index 91531b39..8b09e0f6 100644 --- a/k8s/1.22/api/storage/v1/csi_driver_list.k +++ b/k8s/1.22/api/storage/v1/csi_driver_list.k @@ -3,7 +3,7 @@ This is the csi_driver_list module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSIDriverList: @@ -18,7 +18,7 @@ schema CSIDriverList: items is the list of CSIDriver kind : str, default is "CSIDriverList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CSIDriverList: kind: "CSIDriverList" = "CSIDriverList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.22/api/storage/v1/csi_node.k b/k8s/1.22/api/storage/v1/csi_node.k index 055f8653..6557da03 100644 --- a/k8s/1.22/api/storage/v1/csi_node.k +++ b/k8s/1.22/api/storage/v1/csi_node.k @@ -3,7 +3,7 @@ This is the csi_node module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSINode: @@ -16,7 +16,7 @@ schema CSINode: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CSINode", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata.name must be the Kubernetes node name. spec : CSINodeSpec, default is Undefined, required spec is the specification of CSINode @@ -27,7 +27,7 @@ schema CSINode: kind: "CSINode" = "CSINode" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CSINodeSpec diff --git a/k8s/1.22/api/storage/v1/csi_node_list.k b/k8s/1.22/api/storage/v1/csi_node_list.k index ce5793c1..3a93da71 100644 --- a/k8s/1.22/api/storage/v1/csi_node_list.k +++ b/k8s/1.22/api/storage/v1/csi_node_list.k @@ -3,7 +3,7 @@ This is the csi_node_list module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSINodeList: @@ -18,7 +18,7 @@ schema CSINodeList: items is the list of CSINode kind : str, default is "CSINodeList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CSINodeList: kind: "CSINodeList" = "CSINodeList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.22/api/storage/v1/storage_class_list.k b/k8s/1.22/api/storage/v1/storage_class_list.k index 365e1386..284d43e8 100644 --- a/k8s/1.22/api/storage/v1/storage_class_list.k +++ b/k8s/1.22/api/storage/v1/storage_class_list.k @@ -3,7 +3,7 @@ This is the storage_class_list module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StorageClassList: @@ -18,7 +18,7 @@ schema StorageClassList: Items is the list of StorageClasses kind : str, default is "StorageClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema StorageClassList: kind: "StorageClassList" = "StorageClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.22/api/storage/v1/volume_attachment.k b/k8s/1.22/api/storage/v1/volume_attachment.k index e4b9149f..f98beff1 100644 --- a/k8s/1.22/api/storage/v1/volume_attachment.k +++ b/k8s/1.22/api/storage/v1/volume_attachment.k @@ -3,7 +3,7 @@ This is the volume_attachment module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema VolumeAttachment: @@ -18,7 +18,7 @@ schema VolumeAttachment: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "VolumeAttachment", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : VolumeAttachmentSpec, default is Undefined, required Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system. @@ -29,7 +29,7 @@ schema VolumeAttachment: kind: "VolumeAttachment" = "VolumeAttachment" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: VolumeAttachmentSpec diff --git a/k8s/1.22/api/storage/v1/volume_attachment_list.k b/k8s/1.22/api/storage/v1/volume_attachment_list.k index ef702d0d..0719d0bc 100644 --- a/k8s/1.22/api/storage/v1/volume_attachment_list.k +++ b/k8s/1.22/api/storage/v1/volume_attachment_list.k @@ -3,7 +3,7 @@ This is the volume_attachment_list module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema VolumeAttachmentList: @@ -18,7 +18,7 @@ schema VolumeAttachmentList: Items is the list of VolumeAttachments kind : str, default is "VolumeAttachmentList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema VolumeAttachmentList: kind: "VolumeAttachmentList" = "VolumeAttachmentList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.22/api/storage/v1alpha1/csi_storage_capacity.k b/k8s/1.22/api/storage/v1alpha1/csi_storage_capacity.k index 4fa5781a..2baaab88 100644 --- a/k8s/1.22/api/storage/v1alpha1/csi_storage_capacity.k +++ b/k8s/1.22/api/storage/v1alpha1/csi_storage_capacity.k @@ -3,7 +3,7 @@ This is the csi_storage_capacity module in k8s.api.storage.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSIStorageCapacity: @@ -32,13 +32,13 @@ schema CSIStorageCapacity: MaximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields. This is defined since CSI spec 1.4.0 as the largest size that may be used in a CreateVolumeRequest.capacity_range.required_bytes field to create a volume with the same parameters as those in GetCapacityRequest. The corresponding value in the Kubernetes API is ResourceRequirements.Requests in a volume claim. - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. The name has no particular meaning. It must be be a DNS subdomain (dots allowed, 253 characters). To ensure that there are no conflicts with other CSI drivers on the cluster, the recommendation is to use csisc-, a generated name, or a reverse-domain name which ends with the unique CSI driver name. Objects are namespaced. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - nodeTopology : v1.LabelSelector, default is Undefined, optional + nodeTopology : metav1.LabelSelector, default is Undefined, optional NodeTopology defines which nodes have access to the storage for which capacity was reported. If not set, the storage is not accessible from any node in the cluster. If empty, the storage is accessible from all nodes. This field is immutable. storageClassName : str, default is Undefined, required The name of the StorageClass that the reported capacity applies to. It must meet the same requirements as the name of a StorageClass object (non-empty, DNS subdomain). If that object no longer exists, the CSIStorageCapacity object is obsolete and should be removed by its creator. This field is immutable. @@ -53,9 +53,9 @@ schema CSIStorageCapacity: maximumVolumeSize?: str - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta - nodeTopology?: v1.LabelSelector + nodeTopology?: metav1.LabelSelector storageClassName: str diff --git a/k8s/1.22/api/storage/v1alpha1/csi_storage_capacity_list.k b/k8s/1.22/api/storage/v1alpha1/csi_storage_capacity_list.k index af9ec49e..10082fb8 100644 --- a/k8s/1.22/api/storage/v1alpha1/csi_storage_capacity_list.k +++ b/k8s/1.22/api/storage/v1alpha1/csi_storage_capacity_list.k @@ -3,7 +3,7 @@ This is the csi_storage_capacity_list module in k8s.api.storage.v1alpha1 package This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSIStorageCapacityList: @@ -18,7 +18,7 @@ schema CSIStorageCapacityList: Items is the list of CSIStorageCapacity objects. kind : str, default is "CSIStorageCapacityList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CSIStorageCapacityList: kind: "CSIStorageCapacityList" = "CSIStorageCapacityList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.22/api/storage/v1alpha1/volume_attachment.k b/k8s/1.22/api/storage/v1alpha1/volume_attachment.k index ac3e542b..69bcab61 100644 --- a/k8s/1.22/api/storage/v1alpha1/volume_attachment.k +++ b/k8s/1.22/api/storage/v1alpha1/volume_attachment.k @@ -3,7 +3,7 @@ This is the volume_attachment module in k8s.api.storage.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema VolumeAttachment: @@ -18,7 +18,7 @@ schema VolumeAttachment: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "VolumeAttachment", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : VolumeAttachmentSpec, default is Undefined, required Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system. @@ -29,7 +29,7 @@ schema VolumeAttachment: kind: "VolumeAttachment" = "VolumeAttachment" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: VolumeAttachmentSpec diff --git a/k8s/1.22/api/storage/v1alpha1/volume_attachment_list.k b/k8s/1.22/api/storage/v1alpha1/volume_attachment_list.k index ddb512e0..f89560d9 100644 --- a/k8s/1.22/api/storage/v1alpha1/volume_attachment_list.k +++ b/k8s/1.22/api/storage/v1alpha1/volume_attachment_list.k @@ -3,7 +3,7 @@ This is the volume_attachment_list module in k8s.api.storage.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema VolumeAttachmentList: @@ -18,7 +18,7 @@ schema VolumeAttachmentList: Items is the list of VolumeAttachments kind : str, default is "VolumeAttachmentList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema VolumeAttachmentList: kind: "VolumeAttachmentList" = "VolumeAttachmentList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.22/api/storage/v1beta1/csi_storage_capacity.k b/k8s/1.22/api/storage/v1beta1/csi_storage_capacity.k index 45aa4016..4781a3b2 100644 --- a/k8s/1.22/api/storage/v1beta1/csi_storage_capacity.k +++ b/k8s/1.22/api/storage/v1beta1/csi_storage_capacity.k @@ -3,7 +3,7 @@ This is the csi_storage_capacity module in k8s.api.storage.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSIStorageCapacity: @@ -32,13 +32,13 @@ schema CSIStorageCapacity: MaximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields. This is defined since CSI spec 1.4.0 as the largest size that may be used in a CreateVolumeRequest.capacity_range.required_bytes field to create a volume with the same parameters as those in GetCapacityRequest. The corresponding value in the Kubernetes API is ResourceRequirements.Requests in a volume claim. - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. The name has no particular meaning. It must be be a DNS subdomain (dots allowed, 253 characters). To ensure that there are no conflicts with other CSI drivers on the cluster, the recommendation is to use csisc-, a generated name, or a reverse-domain name which ends with the unique CSI driver name. Objects are namespaced. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - nodeTopology : v1.LabelSelector, default is Undefined, optional + nodeTopology : metav1.LabelSelector, default is Undefined, optional NodeTopology defines which nodes have access to the storage for which capacity was reported. If not set, the storage is not accessible from any node in the cluster. If empty, the storage is accessible from all nodes. This field is immutable. storageClassName : str, default is Undefined, required The name of the StorageClass that the reported capacity applies to. It must meet the same requirements as the name of a StorageClass object (non-empty, DNS subdomain). If that object no longer exists, the CSIStorageCapacity object is obsolete and should be removed by its creator. This field is immutable. @@ -53,9 +53,9 @@ schema CSIStorageCapacity: maximumVolumeSize?: str - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta - nodeTopology?: v1.LabelSelector + nodeTopology?: metav1.LabelSelector storageClassName: str diff --git a/k8s/1.22/api/storage/v1beta1/csi_storage_capacity_list.k b/k8s/1.22/api/storage/v1beta1/csi_storage_capacity_list.k index d5125765..e2389f68 100644 --- a/k8s/1.22/api/storage/v1beta1/csi_storage_capacity_list.k +++ b/k8s/1.22/api/storage/v1beta1/csi_storage_capacity_list.k @@ -3,7 +3,7 @@ This is the csi_storage_capacity_list module in k8s.api.storage.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSIStorageCapacityList: @@ -18,7 +18,7 @@ schema CSIStorageCapacityList: Items is the list of CSIStorageCapacity objects. kind : str, default is "CSIStorageCapacityList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CSIStorageCapacityList: kind: "CSIStorageCapacityList" = "CSIStorageCapacityList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.22/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition.k b/k8s/1.22/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition.k index f348f6d1..5010467b 100644 --- a/k8s/1.22/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition.k +++ b/k8s/1.22/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition.k @@ -3,7 +3,7 @@ This is the custom_resource_definition module in k8s.apiextensions_apiserver.pkg This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CustomResourceDefinition: @@ -16,7 +16,7 @@ schema CustomResourceDefinition: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CustomResourceDefinition", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : CustomResourceDefinitionSpec, default is Undefined, required spec describes how the user wants the resources to appear @@ -27,7 +27,7 @@ schema CustomResourceDefinition: kind: "CustomResourceDefinition" = "CustomResourceDefinition" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CustomResourceDefinitionSpec diff --git a/k8s/1.22/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition_list.k b/k8s/1.22/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition_list.k index ca3c928b..8b625323 100644 --- a/k8s/1.22/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition_list.k +++ b/k8s/1.22/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition_list.k @@ -3,7 +3,7 @@ This is the custom_resource_definition_list module in k8s.apiextensions_apiserve This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CustomResourceDefinitionList: @@ -18,7 +18,7 @@ schema CustomResourceDefinitionList: items list individual CustomResourceDefinition objects kind : str, default is "CustomResourceDefinitionList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CustomResourceDefinitionList: kind: "CustomResourceDefinitionList" = "CustomResourceDefinitionList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.22/kcl.mod b/k8s/1.22/kcl.mod index 0759d0b2..9dca3145 100644 --- a/k8s/1.22/kcl.mod +++ b/k8s/1.22/kcl.mod @@ -1,5 +1,5 @@ [package] name = "k8s" edition = "*" -version = "1.22.1" +version = "1.22.2" description = "`k8s` is a KCL module contains all the built-in Kubernetes resource models (the CRDs are not included here)." diff --git a/k8s/1.22/kube_aggregator/pkg/apis/apiregistration/v1/api_service.k b/k8s/1.22/kube_aggregator/pkg/apis/apiregistration/v1/api_service.k index 89028f12..7b645741 100644 --- a/k8s/1.22/kube_aggregator/pkg/apis/apiregistration/v1/api_service.k +++ b/k8s/1.22/kube_aggregator/pkg/apis/apiregistration/v1/api_service.k @@ -3,7 +3,7 @@ This is the api_service module in k8s.kube_aggregator.pkg.apis.apiregistration.v This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema APIService: @@ -16,7 +16,7 @@ schema APIService: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "APIService", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : APIServiceSpec, default is Undefined, optional Spec contains information for locating and communicating with a server @@ -27,7 +27,7 @@ schema APIService: kind: "APIService" = "APIService" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: APIServiceSpec diff --git a/k8s/1.22/kube_aggregator/pkg/apis/apiregistration/v1/api_service_list.k b/k8s/1.22/kube_aggregator/pkg/apis/apiregistration/v1/api_service_list.k index acf02534..3a385202 100644 --- a/k8s/1.22/kube_aggregator/pkg/apis/apiregistration/v1/api_service_list.k +++ b/k8s/1.22/kube_aggregator/pkg/apis/apiregistration/v1/api_service_list.k @@ -3,7 +3,7 @@ This is the api_service_list module in k8s.kube_aggregator.pkg.apis.apiregistrat This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema APIServiceList: @@ -18,7 +18,7 @@ schema APIServiceList: Items is the list of APIService kind : str, default is "APIServiceList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema APIServiceList: kind: "APIServiceList" = "APIServiceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.23/api/admissionregistration/v1/mutating_webhook.k b/k8s/1.23/api/admissionregistration/v1/mutating_webhook.k index 4743ed83..d250f3db 100644 --- a/k8s/1.23/api/admissionregistration/v1/mutating_webhook.k +++ b/k8s/1.23/api/admissionregistration/v1/mutating_webhook.k @@ -3,7 +3,7 @@ This is the mutating_webhook module in k8s.api.admissionregistration.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MutatingWebhook: @@ -28,7 +28,7 @@ schema MutatingWebhook: Defaults to "Equivalent" name : str, default is Undefined, required The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook. For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1"; you will set the selector as follows: "namespaceSelector": { @@ -60,7 +60,7 @@ schema MutatingWebhook: See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors. Default to the empty LabelSelector, which matches everything. - objectSelector : v1.LabelSelector, default is Undefined, optional + objectSelector : metav1.LabelSelector, default is Undefined, optional ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything. reinvocationPolicy : str, default is Undefined, optional reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded". @@ -89,9 +89,9 @@ schema MutatingWebhook: name: str - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector - objectSelector?: v1.LabelSelector + objectSelector?: metav1.LabelSelector reinvocationPolicy?: str diff --git a/k8s/1.23/api/admissionregistration/v1/mutating_webhook_configuration.k b/k8s/1.23/api/admissionregistration/v1/mutating_webhook_configuration.k index a9864b32..0c970740 100644 --- a/k8s/1.23/api/admissionregistration/v1/mutating_webhook_configuration.k +++ b/k8s/1.23/api/admissionregistration/v1/mutating_webhook_configuration.k @@ -3,7 +3,7 @@ This is the mutating_webhook_configuration module in k8s.api.admissionregistrati This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MutatingWebhookConfiguration: @@ -16,7 +16,7 @@ schema MutatingWebhookConfiguration: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "MutatingWebhookConfiguration", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. webhooks : [MutatingWebhook], default is Undefined, optional Webhooks is a list of webhooks and the affected resources and operations. @@ -27,7 +27,7 @@ schema MutatingWebhookConfiguration: kind: "MutatingWebhookConfiguration" = "MutatingWebhookConfiguration" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta webhooks?: [MutatingWebhook] diff --git a/k8s/1.23/api/admissionregistration/v1/mutating_webhook_configuration_list.k b/k8s/1.23/api/admissionregistration/v1/mutating_webhook_configuration_list.k index d4e15e81..b6fd6022 100644 --- a/k8s/1.23/api/admissionregistration/v1/mutating_webhook_configuration_list.k +++ b/k8s/1.23/api/admissionregistration/v1/mutating_webhook_configuration_list.k @@ -3,7 +3,7 @@ This is the mutating_webhook_configuration_list module in k8s.api.admissionregis This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MutatingWebhookConfigurationList: @@ -18,7 +18,7 @@ schema MutatingWebhookConfigurationList: List of MutatingWebhookConfiguration. kind : str, default is "MutatingWebhookConfigurationList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema MutatingWebhookConfigurationList: kind: "MutatingWebhookConfigurationList" = "MutatingWebhookConfigurationList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.23/api/admissionregistration/v1/validating_webhook.k b/k8s/1.23/api/admissionregistration/v1/validating_webhook.k index afc5dc6a..efec1e6a 100644 --- a/k8s/1.23/api/admissionregistration/v1/validating_webhook.k +++ b/k8s/1.23/api/admissionregistration/v1/validating_webhook.k @@ -3,7 +3,7 @@ This is the validating_webhook module in k8s.api.admissionregistration.v1 packag This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingWebhook: @@ -28,7 +28,7 @@ schema ValidatingWebhook: Defaults to "Equivalent" name : str, default is Undefined, required The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook. For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1"; you will set the selector as follows: "namespaceSelector": { @@ -60,7 +60,7 @@ schema ValidatingWebhook: See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels for more examples of label selectors. Default to the empty LabelSelector, which matches everything. - objectSelector : v1.LabelSelector, default is Undefined, optional + objectSelector : metav1.LabelSelector, default is Undefined, optional ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything. rules : [RuleWithOperations], default is Undefined, optional Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects. @@ -81,9 +81,9 @@ schema ValidatingWebhook: name: str - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector - objectSelector?: v1.LabelSelector + objectSelector?: metav1.LabelSelector rules?: [RuleWithOperations] diff --git a/k8s/1.23/api/admissionregistration/v1/validating_webhook_configuration.k b/k8s/1.23/api/admissionregistration/v1/validating_webhook_configuration.k index 2b45293a..e35bb335 100644 --- a/k8s/1.23/api/admissionregistration/v1/validating_webhook_configuration.k +++ b/k8s/1.23/api/admissionregistration/v1/validating_webhook_configuration.k @@ -3,7 +3,7 @@ This is the validating_webhook_configuration module in k8s.api.admissionregistra This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingWebhookConfiguration: @@ -16,7 +16,7 @@ schema ValidatingWebhookConfiguration: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ValidatingWebhookConfiguration", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. webhooks : [ValidatingWebhook], default is Undefined, optional Webhooks is a list of webhooks and the affected resources and operations. @@ -27,7 +27,7 @@ schema ValidatingWebhookConfiguration: kind: "ValidatingWebhookConfiguration" = "ValidatingWebhookConfiguration" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta webhooks?: [ValidatingWebhook] diff --git a/k8s/1.23/api/admissionregistration/v1/validating_webhook_configuration_list.k b/k8s/1.23/api/admissionregistration/v1/validating_webhook_configuration_list.k index 0515b188..2691da1c 100644 --- a/k8s/1.23/api/admissionregistration/v1/validating_webhook_configuration_list.k +++ b/k8s/1.23/api/admissionregistration/v1/validating_webhook_configuration_list.k @@ -3,7 +3,7 @@ This is the validating_webhook_configuration_list module in k8s.api.admissionreg This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingWebhookConfigurationList: @@ -18,7 +18,7 @@ schema ValidatingWebhookConfigurationList: List of ValidatingWebhookConfiguration. kind : str, default is "ValidatingWebhookConfigurationList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ValidatingWebhookConfigurationList: kind: "ValidatingWebhookConfigurationList" = "ValidatingWebhookConfigurationList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.23/api/apiserverinternal/v1alpha1/storage_version.k b/k8s/1.23/api/apiserverinternal/v1alpha1/storage_version.k index 4e3de9df..9723ca14 100644 --- a/k8s/1.23/api/apiserverinternal/v1alpha1/storage_version.k +++ b/k8s/1.23/api/apiserverinternal/v1alpha1/storage_version.k @@ -3,7 +3,7 @@ This is the storage_version module in k8s.api.apiserverinternal.v1alpha1 package This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StorageVersion: @@ -16,7 +16,7 @@ schema StorageVersion: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "StorageVersion", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional The name is .. spec : any, default is Undefined, required Spec is an empty spec. It is here to comply with Kubernetes API style. @@ -27,7 +27,7 @@ schema StorageVersion: kind: "StorageVersion" = "StorageVersion" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: any diff --git a/k8s/1.23/api/apiserverinternal/v1alpha1/storage_version_list.k b/k8s/1.23/api/apiserverinternal/v1alpha1/storage_version_list.k index 1da65e55..a75d5c84 100644 --- a/k8s/1.23/api/apiserverinternal/v1alpha1/storage_version_list.k +++ b/k8s/1.23/api/apiserverinternal/v1alpha1/storage_version_list.k @@ -3,7 +3,7 @@ This is the storage_version_list module in k8s.api.apiserverinternal.v1alpha1 pa This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StorageVersionList: @@ -18,7 +18,7 @@ schema StorageVersionList: Items holds a list of StorageVersion kind : str, default is "StorageVersionList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema StorageVersionList: kind: "StorageVersionList" = "StorageVersionList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.23/api/apps/v1/controller_revision.k b/k8s/1.23/api/apps/v1/controller_revision.k index dbb3d441..56163182 100644 --- a/k8s/1.23/api/apps/v1/controller_revision.k +++ b/k8s/1.23/api/apps/v1/controller_revision.k @@ -3,7 +3,7 @@ This is the controller_revision module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ControllerRevision: @@ -18,7 +18,7 @@ schema ControllerRevision: Data is the serialized representation of the state. kind : str, default is "ControllerRevision", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata revision : int, default is Undefined, required Revision indicates the revision of the state represented by Data. @@ -31,7 +31,7 @@ schema ControllerRevision: kind: "ControllerRevision" = "ControllerRevision" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta revision: int diff --git a/k8s/1.23/api/apps/v1/controller_revision_list.k b/k8s/1.23/api/apps/v1/controller_revision_list.k index e145fcff..bb64d1fe 100644 --- a/k8s/1.23/api/apps/v1/controller_revision_list.k +++ b/k8s/1.23/api/apps/v1/controller_revision_list.k @@ -3,7 +3,7 @@ This is the controller_revision_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ControllerRevisionList: @@ -18,7 +18,7 @@ schema ControllerRevisionList: Items is the list of ControllerRevisions kind : str, default is "ControllerRevisionList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema ControllerRevisionList: kind: "ControllerRevisionList" = "ControllerRevisionList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.23/api/apps/v1/daemon_set.k b/k8s/1.23/api/apps/v1/daemon_set.k index 33e7b68b..fd1c7c20 100644 --- a/k8s/1.23/api/apps/v1/daemon_set.k +++ b/k8s/1.23/api/apps/v1/daemon_set.k @@ -3,7 +3,7 @@ This is the daemon_set module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DaemonSet: @@ -16,7 +16,7 @@ schema DaemonSet: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "DaemonSet", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : DaemonSetSpec, default is Undefined, optional The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema DaemonSet: kind: "DaemonSet" = "DaemonSet" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: DaemonSetSpec diff --git a/k8s/1.23/api/apps/v1/daemon_set_list.k b/k8s/1.23/api/apps/v1/daemon_set_list.k index 3515d999..795c26f8 100644 --- a/k8s/1.23/api/apps/v1/daemon_set_list.k +++ b/k8s/1.23/api/apps/v1/daemon_set_list.k @@ -3,7 +3,7 @@ This is the daemon_set_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DaemonSetList: @@ -18,7 +18,7 @@ schema DaemonSetList: A list of daemon sets. kind : str, default is "DaemonSetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema DaemonSetList: kind: "DaemonSetList" = "DaemonSetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.23/api/apps/v1/daemon_set_spec.k b/k8s/1.23/api/apps/v1/daemon_set_spec.k index caf3faf8..352f849c 100644 --- a/k8s/1.23/api/apps/v1/daemon_set_spec.k +++ b/k8s/1.23/api/apps/v1/daemon_set_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DaemonSetSpec: @@ -17,7 +17,7 @@ schema DaemonSetSpec: The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready). revisionHistoryLimit : int, default is Undefined, optional The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required A label query over pods that are managed by the daemon set. Must match in order to be controlled. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors template : corev1.PodTemplateSpec, default is Undefined, required An object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template @@ -30,7 +30,7 @@ schema DaemonSetSpec: revisionHistoryLimit?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector template: corev1.PodTemplateSpec diff --git a/k8s/1.23/api/apps/v1/deployment.k b/k8s/1.23/api/apps/v1/deployment.k index 38b5af9e..12cf0b73 100644 --- a/k8s/1.23/api/apps/v1/deployment.k +++ b/k8s/1.23/api/apps/v1/deployment.k @@ -3,7 +3,7 @@ This is the deployment module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Deployment: @@ -16,7 +16,7 @@ schema Deployment: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Deployment", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : DeploymentSpec, default is Undefined, optional Specification of the desired behavior of the Deployment. @@ -27,7 +27,7 @@ schema Deployment: kind: "Deployment" = "Deployment" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: DeploymentSpec diff --git a/k8s/1.23/api/apps/v1/deployment_list.k b/k8s/1.23/api/apps/v1/deployment_list.k index a83ce0d5..8fa44e9b 100644 --- a/k8s/1.23/api/apps/v1/deployment_list.k +++ b/k8s/1.23/api/apps/v1/deployment_list.k @@ -3,7 +3,7 @@ This is the deployment_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DeploymentList: @@ -18,7 +18,7 @@ schema DeploymentList: Items is the list of Deployments. kind : str, default is "DeploymentList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema DeploymentList: kind: "DeploymentList" = "DeploymentList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.23/api/apps/v1/deployment_spec.k b/k8s/1.23/api/apps/v1/deployment_spec.k index b8591d9a..c0f14ef0 100644 --- a/k8s/1.23/api/apps/v1/deployment_spec.k +++ b/k8s/1.23/api/apps/v1/deployment_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DeploymentSpec: @@ -23,7 +23,7 @@ schema DeploymentSpec: Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1. revisionHistoryLimit : int, default is Undefined, optional The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. It must match the pod template's labels. strategy : DeploymentStrategy, default is Undefined, optional The deployment strategy to use to replace existing pods with new ones. @@ -42,7 +42,7 @@ schema DeploymentSpec: revisionHistoryLimit?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector strategy?: DeploymentStrategy diff --git a/k8s/1.23/api/apps/v1/replica_set.k b/k8s/1.23/api/apps/v1/replica_set.k index 0497ff66..79552175 100644 --- a/k8s/1.23/api/apps/v1/replica_set.k +++ b/k8s/1.23/api/apps/v1/replica_set.k @@ -3,7 +3,7 @@ This is the replica_set module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicaSet: @@ -16,7 +16,7 @@ schema ReplicaSet: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ReplicaSet", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : ReplicaSetSpec, default is Undefined, optional Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema ReplicaSet: kind: "ReplicaSet" = "ReplicaSet" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ReplicaSetSpec diff --git a/k8s/1.23/api/apps/v1/replica_set_list.k b/k8s/1.23/api/apps/v1/replica_set_list.k index 0e25bef7..689ca9bb 100644 --- a/k8s/1.23/api/apps/v1/replica_set_list.k +++ b/k8s/1.23/api/apps/v1/replica_set_list.k @@ -3,7 +3,7 @@ This is the replica_set_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicaSetList: @@ -18,7 +18,7 @@ schema ReplicaSetList: List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller kind : str, default is "ReplicaSetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ReplicaSetList: kind: "ReplicaSetList" = "ReplicaSetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.23/api/apps/v1/replica_set_spec.k b/k8s/1.23/api/apps/v1/replica_set_spec.k index 700810d3..53ae3f6f 100644 --- a/k8s/1.23/api/apps/v1/replica_set_spec.k +++ b/k8s/1.23/api/apps/v1/replica_set_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicaSetSpec: @@ -17,7 +17,7 @@ schema ReplicaSetSpec: Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) replicas : int, default is Undefined, optional Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required Selector is a label query over pods that should match the replica count. Label keys and values that must match in order to be controlled by this replica set. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors template : corev1.PodTemplateSpec, default is Undefined, optional Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template @@ -28,7 +28,7 @@ schema ReplicaSetSpec: replicas?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector template?: corev1.PodTemplateSpec diff --git a/k8s/1.23/api/apps/v1/stateful_set.k b/k8s/1.23/api/apps/v1/stateful_set.k index c3b7106d..18d52ced 100644 --- a/k8s/1.23/api/apps/v1/stateful_set.k +++ b/k8s/1.23/api/apps/v1/stateful_set.k @@ -3,7 +3,7 @@ This is the stateful_set module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StatefulSet: @@ -20,7 +20,7 @@ schema StatefulSet: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "StatefulSet", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : StatefulSetSpec, default is Undefined, optional Spec defines the desired identities of pods in this set. @@ -31,7 +31,7 @@ schema StatefulSet: kind: "StatefulSet" = "StatefulSet" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: StatefulSetSpec diff --git a/k8s/1.23/api/apps/v1/stateful_set_list.k b/k8s/1.23/api/apps/v1/stateful_set_list.k index 2eec95d8..441abc55 100644 --- a/k8s/1.23/api/apps/v1/stateful_set_list.k +++ b/k8s/1.23/api/apps/v1/stateful_set_list.k @@ -3,7 +3,7 @@ This is the stateful_set_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StatefulSetList: @@ -18,7 +18,7 @@ schema StatefulSetList: Items is the list of stateful sets. kind : str, default is "StatefulSetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema StatefulSetList: kind: "StatefulSetList" = "StatefulSetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.23/api/apps/v1/stateful_set_spec.k b/k8s/1.23/api/apps/v1/stateful_set_spec.k index d57e7ed3..30d12a13 100644 --- a/k8s/1.23/api/apps/v1/stateful_set_spec.k +++ b/k8s/1.23/api/apps/v1/stateful_set_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StatefulSetSpec: @@ -25,7 +25,7 @@ schema StatefulSetSpec: replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1. revisionHistoryLimit : int, default is Undefined, optional revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10. - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required selector is a label query over pods that should match the replica count. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors serviceName : str, default is Undefined, required serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where "pod-specific-string" is managed by the StatefulSet controller. @@ -48,7 +48,7 @@ schema StatefulSetSpec: revisionHistoryLimit?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector serviceName: str diff --git a/k8s/1.23/api/authentication/v1/token_request.k b/k8s/1.23/api/authentication/v1/token_request.k index 429ebd8e..477cf85e 100644 --- a/k8s/1.23/api/authentication/v1/token_request.k +++ b/k8s/1.23/api/authentication/v1/token_request.k @@ -3,7 +3,7 @@ This is the token_request module in k8s.api.authentication.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema TokenRequest: @@ -16,7 +16,7 @@ schema TokenRequest: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "TokenRequest", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : TokenRequestSpec, default is Undefined, required Spec holds information about the request being evaluated @@ -27,7 +27,7 @@ schema TokenRequest: kind: "TokenRequest" = "TokenRequest" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: TokenRequestSpec diff --git a/k8s/1.23/api/authentication/v1/token_review.k b/k8s/1.23/api/authentication/v1/token_review.k index 62c61db1..349936f3 100644 --- a/k8s/1.23/api/authentication/v1/token_review.k +++ b/k8s/1.23/api/authentication/v1/token_review.k @@ -3,7 +3,7 @@ This is the token_review module in k8s.api.authentication.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema TokenReview: @@ -16,7 +16,7 @@ schema TokenReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "TokenReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : TokenReviewSpec, default is Undefined, required Spec holds information about the request being evaluated @@ -27,7 +27,7 @@ schema TokenReview: kind: "TokenReview" = "TokenReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: TokenReviewSpec diff --git a/k8s/1.23/api/authorization/v1/local_subject_access_review.k b/k8s/1.23/api/authorization/v1/local_subject_access_review.k index 79b08fbe..4cf5723a 100644 --- a/k8s/1.23/api/authorization/v1/local_subject_access_review.k +++ b/k8s/1.23/api/authorization/v1/local_subject_access_review.k @@ -3,7 +3,7 @@ This is the local_subject_access_review module in k8s.api.authorization.v1 packa This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LocalSubjectAccessReview: @@ -16,7 +16,7 @@ schema LocalSubjectAccessReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "LocalSubjectAccessReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : SubjectAccessReviewSpec, default is Undefined, required Spec holds information about the request being evaluated. spec.namespace must be equal to the namespace you made the request against. If empty, it is defaulted. @@ -27,7 +27,7 @@ schema LocalSubjectAccessReview: kind: "LocalSubjectAccessReview" = "LocalSubjectAccessReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SubjectAccessReviewSpec diff --git a/k8s/1.23/api/authorization/v1/self_subject_access_review.k b/k8s/1.23/api/authorization/v1/self_subject_access_review.k index 4fd1e21e..d32833e7 100644 --- a/k8s/1.23/api/authorization/v1/self_subject_access_review.k +++ b/k8s/1.23/api/authorization/v1/self_subject_access_review.k @@ -3,7 +3,7 @@ This is the self_subject_access_review module in k8s.api.authorization.v1 packag This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SelfSubjectAccessReview: @@ -16,7 +16,7 @@ schema SelfSubjectAccessReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SelfSubjectAccessReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : SelfSubjectAccessReviewSpec, default is Undefined, required Spec holds information about the request being evaluated. user and groups must be empty @@ -27,7 +27,7 @@ schema SelfSubjectAccessReview: kind: "SelfSubjectAccessReview" = "SelfSubjectAccessReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SelfSubjectAccessReviewSpec diff --git a/k8s/1.23/api/authorization/v1/self_subject_rules_review.k b/k8s/1.23/api/authorization/v1/self_subject_rules_review.k index a29ee599..baaf47ac 100644 --- a/k8s/1.23/api/authorization/v1/self_subject_rules_review.k +++ b/k8s/1.23/api/authorization/v1/self_subject_rules_review.k @@ -3,7 +3,7 @@ This is the self_subject_rules_review module in k8s.api.authorization.v1 package This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SelfSubjectRulesReview: @@ -16,7 +16,7 @@ schema SelfSubjectRulesReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SelfSubjectRulesReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : SelfSubjectRulesReviewSpec, default is Undefined, required Spec holds information about the request being evaluated. @@ -27,7 +27,7 @@ schema SelfSubjectRulesReview: kind: "SelfSubjectRulesReview" = "SelfSubjectRulesReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SelfSubjectRulesReviewSpec diff --git a/k8s/1.23/api/authorization/v1/subject_access_review.k b/k8s/1.23/api/authorization/v1/subject_access_review.k index 9d15bdb3..d054d8f5 100644 --- a/k8s/1.23/api/authorization/v1/subject_access_review.k +++ b/k8s/1.23/api/authorization/v1/subject_access_review.k @@ -3,7 +3,7 @@ This is the subject_access_review module in k8s.api.authorization.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SubjectAccessReview: @@ -16,7 +16,7 @@ schema SubjectAccessReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SubjectAccessReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : SubjectAccessReviewSpec, default is Undefined, required Spec holds information about the request being evaluated @@ -27,7 +27,7 @@ schema SubjectAccessReview: kind: "SubjectAccessReview" = "SubjectAccessReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SubjectAccessReviewSpec diff --git a/k8s/1.23/api/autoscaling/v1/horizontal_pod_autoscaler.k b/k8s/1.23/api/autoscaling/v1/horizontal_pod_autoscaler.k index eea68027..b81a2839 100644 --- a/k8s/1.23/api/autoscaling/v1/horizontal_pod_autoscaler.k +++ b/k8s/1.23/api/autoscaling/v1/horizontal_pod_autoscaler.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler module in k8s.api.autoscaling.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscaler: @@ -16,7 +16,7 @@ schema HorizontalPodAutoscaler: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "HorizontalPodAutoscaler", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : HorizontalPodAutoscalerSpec, default is Undefined, optional behaviour of autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema HorizontalPodAutoscaler: kind: "HorizontalPodAutoscaler" = "HorizontalPodAutoscaler" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: HorizontalPodAutoscalerSpec diff --git a/k8s/1.23/api/autoscaling/v1/horizontal_pod_autoscaler_list.k b/k8s/1.23/api/autoscaling/v1/horizontal_pod_autoscaler_list.k index 829f7b8b..40a58fe3 100644 --- a/k8s/1.23/api/autoscaling/v1/horizontal_pod_autoscaler_list.k +++ b/k8s/1.23/api/autoscaling/v1/horizontal_pod_autoscaler_list.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler_list module in k8s.api.autoscaling.v1 pack This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscalerList: @@ -18,7 +18,7 @@ schema HorizontalPodAutoscalerList: list of horizontal pod autoscaler objects. kind : str, default is "HorizontalPodAutoscalerList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema HorizontalPodAutoscalerList: kind: "HorizontalPodAutoscalerList" = "HorizontalPodAutoscalerList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.23/api/autoscaling/v1/scale.k b/k8s/1.23/api/autoscaling/v1/scale.k index d9bbdae4..1466aa0e 100644 --- a/k8s/1.23/api/autoscaling/v1/scale.k +++ b/k8s/1.23/api/autoscaling/v1/scale.k @@ -3,7 +3,7 @@ This is the scale module in k8s.api.autoscaling.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Scale: @@ -16,7 +16,7 @@ schema Scale: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Scale", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. spec : ScaleSpec, default is Undefined, optional defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema Scale: kind: "Scale" = "Scale" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ScaleSpec diff --git a/k8s/1.23/api/autoscaling/v2/horizontal_pod_autoscaler.k b/k8s/1.23/api/autoscaling/v2/horizontal_pod_autoscaler.k index 45093baf..80ed131b 100644 --- a/k8s/1.23/api/autoscaling/v2/horizontal_pod_autoscaler.k +++ b/k8s/1.23/api/autoscaling/v2/horizontal_pod_autoscaler.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler module in k8s.api.autoscaling.v2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscaler: @@ -16,7 +16,7 @@ schema HorizontalPodAutoscaler: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "HorizontalPodAutoscaler", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : HorizontalPodAutoscalerSpec, default is Undefined, optional spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema HorizontalPodAutoscaler: kind: "HorizontalPodAutoscaler" = "HorizontalPodAutoscaler" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: HorizontalPodAutoscalerSpec diff --git a/k8s/1.23/api/autoscaling/v2/horizontal_pod_autoscaler_list.k b/k8s/1.23/api/autoscaling/v2/horizontal_pod_autoscaler_list.k index 07b059fb..87bfa8bf 100644 --- a/k8s/1.23/api/autoscaling/v2/horizontal_pod_autoscaler_list.k +++ b/k8s/1.23/api/autoscaling/v2/horizontal_pod_autoscaler_list.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler_list module in k8s.api.autoscaling.v2 pack This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscalerList: @@ -18,7 +18,7 @@ schema HorizontalPodAutoscalerList: items is the list of horizontal pod autoscaler objects. kind : str, default is "HorizontalPodAutoscalerList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata is the standard list metadata. """ @@ -29,6 +29,6 @@ schema HorizontalPodAutoscalerList: kind: "HorizontalPodAutoscalerList" = "HorizontalPodAutoscalerList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.23/api/autoscaling/v2/metric_identifier.k b/k8s/1.23/api/autoscaling/v2/metric_identifier.k index d1538fb1..df0007a9 100644 --- a/k8s/1.23/api/autoscaling/v2/metric_identifier.k +++ b/k8s/1.23/api/autoscaling/v2/metric_identifier.k @@ -3,7 +3,7 @@ This is the metric_identifier module in k8s.api.autoscaling.v2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MetricIdentifier: @@ -14,13 +14,13 @@ schema MetricIdentifier: ---------- name : str, default is Undefined, required name is the name of the given metric - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics. """ name: str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector diff --git a/k8s/1.23/api/autoscaling/v2beta1/external_metric_source.k b/k8s/1.23/api/autoscaling/v2beta1/external_metric_source.k index 23887048..b1ff85f3 100644 --- a/k8s/1.23/api/autoscaling/v2beta1/external_metric_source.k +++ b/k8s/1.23/api/autoscaling/v2beta1/external_metric_source.k @@ -3,7 +3,7 @@ This is the external_metric_source module in k8s.api.autoscaling.v2beta1 package This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ExternalMetricSource: @@ -14,7 +14,7 @@ schema ExternalMetricSource: ---------- metricName : str, default is Undefined, required metricName is the name of the metric in question. - metricSelector : v1.LabelSelector, default is Undefined, optional + metricSelector : metav1.LabelSelector, default is Undefined, optional metricSelector is used to identify a specific time series within a given metric. targetAverageValue : str, default is Undefined, optional targetAverageValue is the target per-pod value of global metric (as a quantity). Mutually exclusive with TargetValue. @@ -25,7 +25,7 @@ schema ExternalMetricSource: metricName: str - metricSelector?: v1.LabelSelector + metricSelector?: metav1.LabelSelector targetAverageValue?: str diff --git a/k8s/1.23/api/autoscaling/v2beta1/external_metric_status.k b/k8s/1.23/api/autoscaling/v2beta1/external_metric_status.k index 507ffd14..39a87bad 100644 --- a/k8s/1.23/api/autoscaling/v2beta1/external_metric_status.k +++ b/k8s/1.23/api/autoscaling/v2beta1/external_metric_status.k @@ -3,7 +3,7 @@ This is the external_metric_status module in k8s.api.autoscaling.v2beta1 package This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ExternalMetricStatus: @@ -18,7 +18,7 @@ schema ExternalMetricStatus: currentValue is the current value of the metric (as a quantity) metricName : str, default is Undefined, required metricName is the name of a metric used for autoscaling in metric system. - metricSelector : v1.LabelSelector, default is Undefined, optional + metricSelector : metav1.LabelSelector, default is Undefined, optional metricSelector is used to identify a specific time series within a given metric. """ @@ -29,6 +29,6 @@ schema ExternalMetricStatus: metricName: str - metricSelector?: v1.LabelSelector + metricSelector?: metav1.LabelSelector diff --git a/k8s/1.23/api/autoscaling/v2beta1/horizontal_pod_autoscaler.k b/k8s/1.23/api/autoscaling/v2beta1/horizontal_pod_autoscaler.k index 47c8b64c..4ea3ff99 100644 --- a/k8s/1.23/api/autoscaling/v2beta1/horizontal_pod_autoscaler.k +++ b/k8s/1.23/api/autoscaling/v2beta1/horizontal_pod_autoscaler.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler module in k8s.api.autoscaling.v2beta1 pack This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscaler: @@ -16,7 +16,7 @@ schema HorizontalPodAutoscaler: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "HorizontalPodAutoscaler", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : HorizontalPodAutoscalerSpec, default is Undefined, optional spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema HorizontalPodAutoscaler: kind: "HorizontalPodAutoscaler" = "HorizontalPodAutoscaler" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: HorizontalPodAutoscalerSpec diff --git a/k8s/1.23/api/autoscaling/v2beta1/horizontal_pod_autoscaler_list.k b/k8s/1.23/api/autoscaling/v2beta1/horizontal_pod_autoscaler_list.k index 95381428..4629310f 100644 --- a/k8s/1.23/api/autoscaling/v2beta1/horizontal_pod_autoscaler_list.k +++ b/k8s/1.23/api/autoscaling/v2beta1/horizontal_pod_autoscaler_list.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler_list module in k8s.api.autoscaling.v2beta1 This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscalerList: @@ -18,7 +18,7 @@ schema HorizontalPodAutoscalerList: items is the list of horizontal pod autoscaler objects. kind : str, default is "HorizontalPodAutoscalerList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata is the standard list metadata. """ @@ -29,6 +29,6 @@ schema HorizontalPodAutoscalerList: kind: "HorizontalPodAutoscalerList" = "HorizontalPodAutoscalerList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.23/api/autoscaling/v2beta1/object_metric_source.k b/k8s/1.23/api/autoscaling/v2beta1/object_metric_source.k index a8ff4213..af8d307f 100644 --- a/k8s/1.23/api/autoscaling/v2beta1/object_metric_source.k +++ b/k8s/1.23/api/autoscaling/v2beta1/object_metric_source.k @@ -3,7 +3,7 @@ This is the object_metric_source module in k8s.api.autoscaling.v2beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ObjectMetricSource: @@ -16,7 +16,7 @@ schema ObjectMetricSource: averageValue is the target value of the average of the metric across all relevant pods (as a quantity) metricName : str, default is Undefined, required metricName is the name of the metric in question. - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics. target : CrossVersionObjectReference, default is Undefined, required target is the described Kubernetes object. @@ -29,7 +29,7 @@ schema ObjectMetricSource: metricName: str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector target: CrossVersionObjectReference diff --git a/k8s/1.23/api/autoscaling/v2beta1/object_metric_status.k b/k8s/1.23/api/autoscaling/v2beta1/object_metric_status.k index 39aeb9de..b7054bd5 100644 --- a/k8s/1.23/api/autoscaling/v2beta1/object_metric_status.k +++ b/k8s/1.23/api/autoscaling/v2beta1/object_metric_status.k @@ -3,7 +3,7 @@ This is the object_metric_status module in k8s.api.autoscaling.v2beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ObjectMetricStatus: @@ -18,7 +18,7 @@ schema ObjectMetricStatus: currentValue is the current value of the metric (as a quantity). metricName : str, default is Undefined, required metricName is the name of the metric in question. - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the ObjectMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics. target : CrossVersionObjectReference, default is Undefined, required target is the described Kubernetes object. @@ -31,7 +31,7 @@ schema ObjectMetricStatus: metricName: str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector target: CrossVersionObjectReference diff --git a/k8s/1.23/api/autoscaling/v2beta1/pods_metric_source.k b/k8s/1.23/api/autoscaling/v2beta1/pods_metric_source.k index ee0111ef..850fcd7b 100644 --- a/k8s/1.23/api/autoscaling/v2beta1/pods_metric_source.k +++ b/k8s/1.23/api/autoscaling/v2beta1/pods_metric_source.k @@ -3,7 +3,7 @@ This is the pods_metric_source module in k8s.api.autoscaling.v2beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodsMetricSource: @@ -14,7 +14,7 @@ schema PodsMetricSource: ---------- metricName : str, default is Undefined, required metricName is the name of the metric in question - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics. targetAverageValue : str, default is Undefined, required targetAverageValue is the target value of the average of the metric across all relevant pods (as a quantity) @@ -23,7 +23,7 @@ schema PodsMetricSource: metricName: str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector targetAverageValue: str diff --git a/k8s/1.23/api/autoscaling/v2beta1/pods_metric_status.k b/k8s/1.23/api/autoscaling/v2beta1/pods_metric_status.k index 2d8c30c0..0792b4d4 100644 --- a/k8s/1.23/api/autoscaling/v2beta1/pods_metric_status.k +++ b/k8s/1.23/api/autoscaling/v2beta1/pods_metric_status.k @@ -3,7 +3,7 @@ This is the pods_metric_status module in k8s.api.autoscaling.v2beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodsMetricStatus: @@ -16,7 +16,7 @@ schema PodsMetricStatus: currentAverageValue is the current value of the average of the metric across all relevant pods (as a quantity) metricName : str, default is Undefined, required metricName is the name of the metric in question - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the PodsMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics. """ @@ -25,6 +25,6 @@ schema PodsMetricStatus: metricName: str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector diff --git a/k8s/1.23/api/autoscaling/v2beta2/horizontal_pod_autoscaler.k b/k8s/1.23/api/autoscaling/v2beta2/horizontal_pod_autoscaler.k index 9ab9ca42..fb10b245 100644 --- a/k8s/1.23/api/autoscaling/v2beta2/horizontal_pod_autoscaler.k +++ b/k8s/1.23/api/autoscaling/v2beta2/horizontal_pod_autoscaler.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler module in k8s.api.autoscaling.v2beta2 pack This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscaler: @@ -16,7 +16,7 @@ schema HorizontalPodAutoscaler: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "HorizontalPodAutoscaler", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : HorizontalPodAutoscalerSpec, default is Undefined, optional spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema HorizontalPodAutoscaler: kind: "HorizontalPodAutoscaler" = "HorizontalPodAutoscaler" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: HorizontalPodAutoscalerSpec diff --git a/k8s/1.23/api/autoscaling/v2beta2/horizontal_pod_autoscaler_list.k b/k8s/1.23/api/autoscaling/v2beta2/horizontal_pod_autoscaler_list.k index ad127934..152be58d 100644 --- a/k8s/1.23/api/autoscaling/v2beta2/horizontal_pod_autoscaler_list.k +++ b/k8s/1.23/api/autoscaling/v2beta2/horizontal_pod_autoscaler_list.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler_list module in k8s.api.autoscaling.v2beta2 This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscalerList: @@ -18,7 +18,7 @@ schema HorizontalPodAutoscalerList: items is the list of horizontal pod autoscaler objects. kind : str, default is "HorizontalPodAutoscalerList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata is the standard list metadata. """ @@ -29,6 +29,6 @@ schema HorizontalPodAutoscalerList: kind: "HorizontalPodAutoscalerList" = "HorizontalPodAutoscalerList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.23/api/autoscaling/v2beta2/metric_identifier.k b/k8s/1.23/api/autoscaling/v2beta2/metric_identifier.k index 18d313d2..06be0dff 100644 --- a/k8s/1.23/api/autoscaling/v2beta2/metric_identifier.k +++ b/k8s/1.23/api/autoscaling/v2beta2/metric_identifier.k @@ -3,7 +3,7 @@ This is the metric_identifier module in k8s.api.autoscaling.v2beta2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MetricIdentifier: @@ -14,13 +14,13 @@ schema MetricIdentifier: ---------- name : str, default is Undefined, required name is the name of the given metric - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics. """ name: str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector diff --git a/k8s/1.23/api/batch/v1/cron_job.k b/k8s/1.23/api/batch/v1/cron_job.k index 380498ff..c716e33b 100644 --- a/k8s/1.23/api/batch/v1/cron_job.k +++ b/k8s/1.23/api/batch/v1/cron_job.k @@ -3,7 +3,7 @@ This is the cron_job module in k8s.api.batch.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CronJob: @@ -16,7 +16,7 @@ schema CronJob: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CronJob", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : CronJobSpec, default is Undefined, optional Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema CronJob: kind: "CronJob" = "CronJob" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: CronJobSpec diff --git a/k8s/1.23/api/batch/v1/cron_job_list.k b/k8s/1.23/api/batch/v1/cron_job_list.k index 69e1971a..8200a4bd 100644 --- a/k8s/1.23/api/batch/v1/cron_job_list.k +++ b/k8s/1.23/api/batch/v1/cron_job_list.k @@ -3,7 +3,7 @@ This is the cron_job_list module in k8s.api.batch.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CronJobList: @@ -18,7 +18,7 @@ schema CronJobList: items is the list of CronJobs. kind : str, default is "CronJobList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CronJobList: kind: "CronJobList" = "CronJobList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.23/api/batch/v1/job.k b/k8s/1.23/api/batch/v1/job.k index 44fbc917..3e545aac 100644 --- a/k8s/1.23/api/batch/v1/job.k +++ b/k8s/1.23/api/batch/v1/job.k @@ -3,7 +3,7 @@ This is the job module in k8s.api.batch.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Job: @@ -16,7 +16,7 @@ schema Job: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Job", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : JobSpec, default is Undefined, optional Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Job: kind: "Job" = "Job" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: JobSpec diff --git a/k8s/1.23/api/batch/v1/job_list.k b/k8s/1.23/api/batch/v1/job_list.k index 88588804..e2f8aee6 100644 --- a/k8s/1.23/api/batch/v1/job_list.k +++ b/k8s/1.23/api/batch/v1/job_list.k @@ -3,7 +3,7 @@ This is the job_list module in k8s.api.batch.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema JobList: @@ -18,7 +18,7 @@ schema JobList: items is the list of Jobs. kind : str, default is "JobList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema JobList: kind: "JobList" = "JobList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.23/api/batch/v1/job_spec.k b/k8s/1.23/api/batch/v1/job_spec.k index d6a374a8..284dec16 100644 --- a/k8s/1.23/api/batch/v1/job_spec.k +++ b/k8s/1.23/api/batch/v1/job_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema JobSpec: @@ -31,7 +31,7 @@ schema JobSpec: manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector parallelism : int, default is Undefined, optional Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional A label query over pods that should match the pod count. Normally, the system sets this field for you. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors suspend : bool, default is Undefined, optional Suspend specifies whether the Job controller should create Pods or not. If a Job is created with suspend set to true, no Pods are created by the Job controller. If a Job is suspended after creation (i.e. the flag goes from false to true), the Job controller will delete all active Pods associated with this Job. Users must design their workload to gracefully handle this. Suspending a Job will reset the StartTime field of the Job, effectively resetting the ActiveDeadlineSeconds timer too. Defaults to false. @@ -56,7 +56,7 @@ schema JobSpec: parallelism?: int - selector?: v1.LabelSelector + selector?: metav1.LabelSelector suspend?: bool diff --git a/k8s/1.23/api/batch/v1/job_template_spec.k b/k8s/1.23/api/batch/v1/job_template_spec.k index 840a8d23..c1797200 100644 --- a/k8s/1.23/api/batch/v1/job_template_spec.k +++ b/k8s/1.23/api/batch/v1/job_template_spec.k @@ -3,7 +3,7 @@ This is the job_template_spec module in k8s.api.batch.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema JobTemplateSpec: @@ -12,14 +12,14 @@ schema JobTemplateSpec: Attributes ---------- - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : JobSpec, default is Undefined, optional Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status """ - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: JobSpec diff --git a/k8s/1.23/api/batch/v1beta1/cron_job.k b/k8s/1.23/api/batch/v1beta1/cron_job.k index 74c14606..d5d2aa07 100644 --- a/k8s/1.23/api/batch/v1beta1/cron_job.k +++ b/k8s/1.23/api/batch/v1beta1/cron_job.k @@ -3,7 +3,7 @@ This is the cron_job module in k8s.api.batch.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CronJob: @@ -16,7 +16,7 @@ schema CronJob: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CronJob", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : CronJobSpec, default is Undefined, optional Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema CronJob: kind: "CronJob" = "CronJob" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: CronJobSpec diff --git a/k8s/1.23/api/batch/v1beta1/cron_job_list.k b/k8s/1.23/api/batch/v1beta1/cron_job_list.k index cf174c33..4067f805 100644 --- a/k8s/1.23/api/batch/v1beta1/cron_job_list.k +++ b/k8s/1.23/api/batch/v1beta1/cron_job_list.k @@ -3,7 +3,7 @@ This is the cron_job_list module in k8s.api.batch.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CronJobList: @@ -18,7 +18,7 @@ schema CronJobList: items is the list of CronJobs. kind : str, default is "CronJobList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CronJobList: kind: "CronJobList" = "CronJobList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.23/api/batch/v1beta1/job_template_spec.k b/k8s/1.23/api/batch/v1beta1/job_template_spec.k index e032a659..733d4410 100644 --- a/k8s/1.23/api/batch/v1beta1/job_template_spec.k +++ b/k8s/1.23/api/batch/v1beta1/job_template_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.batch.v1 as batchV1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema JobTemplateSpec: @@ -13,14 +13,14 @@ schema JobTemplateSpec: Attributes ---------- - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : batchV1.JobSpec, default is Undefined, optional Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status """ - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: batchV1.JobSpec diff --git a/k8s/1.23/api/certificates/v1/certificate_signing_request.k b/k8s/1.23/api/certificates/v1/certificate_signing_request.k index 70bfc6e0..6697afe5 100644 --- a/k8s/1.23/api/certificates/v1/certificate_signing_request.k +++ b/k8s/1.23/api/certificates/v1/certificate_signing_request.k @@ -3,7 +3,7 @@ This is the certificate_signing_request module in k8s.api.certificates.v1 packag This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CertificateSigningRequest: @@ -22,7 +22,7 @@ schema CertificateSigningRequest: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CertificateSigningRequest", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : CertificateSigningRequestSpec, default is Undefined, required spec contains the certificate request, and is immutable after creation. Only the request, signerName, expirationSeconds, and usages fields can be set on creation. Other fields are derived by Kubernetes and cannot be modified by users. @@ -33,7 +33,7 @@ schema CertificateSigningRequest: kind: "CertificateSigningRequest" = "CertificateSigningRequest" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CertificateSigningRequestSpec diff --git a/k8s/1.23/api/certificates/v1/certificate_signing_request_list.k b/k8s/1.23/api/certificates/v1/certificate_signing_request_list.k index bef8b509..dcf72eab 100644 --- a/k8s/1.23/api/certificates/v1/certificate_signing_request_list.k +++ b/k8s/1.23/api/certificates/v1/certificate_signing_request_list.k @@ -3,7 +3,7 @@ This is the certificate_signing_request_list module in k8s.api.certificates.v1 p This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CertificateSigningRequestList: @@ -18,7 +18,7 @@ schema CertificateSigningRequestList: items is a collection of CertificateSigningRequest objects kind : str, default is "CertificateSigningRequestList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema CertificateSigningRequestList: kind: "CertificateSigningRequestList" = "CertificateSigningRequestList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.23/api/coordination/v1/lease.k b/k8s/1.23/api/coordination/v1/lease.k index f9d243c9..b3722c9a 100644 --- a/k8s/1.23/api/coordination/v1/lease.k +++ b/k8s/1.23/api/coordination/v1/lease.k @@ -3,7 +3,7 @@ This is the lease module in k8s.api.coordination.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Lease: @@ -16,7 +16,7 @@ schema Lease: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Lease", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : LeaseSpec, default is Undefined, optional Specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Lease: kind: "Lease" = "Lease" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: LeaseSpec diff --git a/k8s/1.23/api/coordination/v1/lease_list.k b/k8s/1.23/api/coordination/v1/lease_list.k index 64932a19..93a01ab6 100644 --- a/k8s/1.23/api/coordination/v1/lease_list.k +++ b/k8s/1.23/api/coordination/v1/lease_list.k @@ -3,7 +3,7 @@ This is the lease_list module in k8s.api.coordination.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LeaseList: @@ -18,7 +18,7 @@ schema LeaseList: Items is a list of schema objects. kind : str, default is "LeaseList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema LeaseList: kind: "LeaseList" = "LeaseList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.23/api/core/v1/binding.k b/k8s/1.23/api/core/v1/binding.k index e6e478fe..077459fa 100644 --- a/k8s/1.23/api/core/v1/binding.k +++ b/k8s/1.23/api/core/v1/binding.k @@ -3,7 +3,7 @@ This is the binding module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Binding: @@ -16,7 +16,7 @@ schema Binding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Binding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata target : ObjectReference, default is Undefined, required The target object that you want to bind to the standard object. @@ -27,7 +27,7 @@ schema Binding: kind: "Binding" = "Binding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta target: ObjectReference diff --git a/k8s/1.23/api/core/v1/component_status.k b/k8s/1.23/api/core/v1/component_status.k index 19549c61..0d6862b5 100644 --- a/k8s/1.23/api/core/v1/component_status.k +++ b/k8s/1.23/api/core/v1/component_status.k @@ -3,7 +3,7 @@ This is the component_status module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ComponentStatus: @@ -18,7 +18,7 @@ schema ComponentStatus: List of component conditions observed kind : str, default is "ComponentStatus", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema ComponentStatus: kind: "ComponentStatus" = "ComponentStatus" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta diff --git a/k8s/1.23/api/core/v1/component_status_list.k b/k8s/1.23/api/core/v1/component_status_list.k index 0c8fa890..f76a9a62 100644 --- a/k8s/1.23/api/core/v1/component_status_list.k +++ b/k8s/1.23/api/core/v1/component_status_list.k @@ -3,7 +3,7 @@ This is the component_status_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ComponentStatusList: @@ -18,7 +18,7 @@ schema ComponentStatusList: List of ComponentStatus objects. kind : str, default is "ComponentStatusList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ComponentStatusList: kind: "ComponentStatusList" = "ComponentStatusList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.23/api/core/v1/config_map.k b/k8s/1.23/api/core/v1/config_map.k index ac683b69..ee2a9e47 100644 --- a/k8s/1.23/api/core/v1/config_map.k +++ b/k8s/1.23/api/core/v1/config_map.k @@ -3,7 +3,7 @@ This is the config_map module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ConfigMap: @@ -22,7 +22,7 @@ schema ConfigMap: Immutable, if set to true, ensures that data stored in the ConfigMap cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil. kind : str, default is "ConfigMap", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -37,6 +37,6 @@ schema ConfigMap: kind: "ConfigMap" = "ConfigMap" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta diff --git a/k8s/1.23/api/core/v1/config_map_list.k b/k8s/1.23/api/core/v1/config_map_list.k index 5712f514..35df0e4b 100644 --- a/k8s/1.23/api/core/v1/config_map_list.k +++ b/k8s/1.23/api/core/v1/config_map_list.k @@ -3,7 +3,7 @@ This is the config_map_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ConfigMapList: @@ -18,7 +18,7 @@ schema ConfigMapList: Items is the list of ConfigMaps. kind : str, default is "ConfigMapList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema ConfigMapList: kind: "ConfigMapList" = "ConfigMapList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.23/api/core/v1/endpoints.k b/k8s/1.23/api/core/v1/endpoints.k index c1644290..6b8b80ff 100644 --- a/k8s/1.23/api/core/v1/endpoints.k +++ b/k8s/1.23/api/core/v1/endpoints.k @@ -3,7 +3,7 @@ This is the endpoints module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Endpoints: @@ -28,7 +28,7 @@ schema Endpoints: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Endpoints", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata subsets : [EndpointSubset], default is Undefined, optional The set of all endpoints is the union of all subsets. Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service. @@ -39,7 +39,7 @@ schema Endpoints: kind: "Endpoints" = "Endpoints" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta subsets?: [EndpointSubset] diff --git a/k8s/1.23/api/core/v1/endpoints_list.k b/k8s/1.23/api/core/v1/endpoints_list.k index 7ccf6442..f019c842 100644 --- a/k8s/1.23/api/core/v1/endpoints_list.k +++ b/k8s/1.23/api/core/v1/endpoints_list.k @@ -3,7 +3,7 @@ This is the endpoints_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EndpointsList: @@ -18,7 +18,7 @@ schema EndpointsList: List of endpoints. kind : str, default is "EndpointsList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema EndpointsList: kind: "EndpointsList" = "EndpointsList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.23/api/core/v1/event.k b/k8s/1.23/api/core/v1/event.k index 0cc2ba81..f1564c4b 100644 --- a/k8s/1.23/api/core/v1/event.k +++ b/k8s/1.23/api/core/v1/event.k @@ -3,7 +3,7 @@ This is the event module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Event: @@ -30,7 +30,7 @@ schema Event: The time at which the most recent occurrence of this event was recorded. message : str, default is Undefined, optional A human-readable description of the status of this operation. - metadata : v1.ObjectMeta, default is Undefined, required + metadata : metav1.ObjectMeta, default is Undefined, required Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata reason : str, default is Undefined, optional This should be a short, machine understandable string that gives the reason for the transition into the object's current status. @@ -67,7 +67,7 @@ schema Event: message?: str - metadata: v1.ObjectMeta + metadata: metav1.ObjectMeta reason?: str diff --git a/k8s/1.23/api/core/v1/event_list.k b/k8s/1.23/api/core/v1/event_list.k index e543b7cf..d4ed6ffa 100644 --- a/k8s/1.23/api/core/v1/event_list.k +++ b/k8s/1.23/api/core/v1/event_list.k @@ -3,7 +3,7 @@ This is the event_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EventList: @@ -18,7 +18,7 @@ schema EventList: List of events kind : str, default is "EventList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema EventList: kind: "EventList" = "EventList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.23/api/core/v1/limit_range.k b/k8s/1.23/api/core/v1/limit_range.k index 5de64019..3c476447 100644 --- a/k8s/1.23/api/core/v1/limit_range.k +++ b/k8s/1.23/api/core/v1/limit_range.k @@ -3,7 +3,7 @@ This is the limit_range module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LimitRange: @@ -16,7 +16,7 @@ schema LimitRange: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "LimitRange", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : LimitRangeSpec, default is Undefined, optional Spec defines the limits enforced. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema LimitRange: kind: "LimitRange" = "LimitRange" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: LimitRangeSpec diff --git a/k8s/1.23/api/core/v1/limit_range_list.k b/k8s/1.23/api/core/v1/limit_range_list.k index 61da1fba..fc6b5692 100644 --- a/k8s/1.23/api/core/v1/limit_range_list.k +++ b/k8s/1.23/api/core/v1/limit_range_list.k @@ -3,7 +3,7 @@ This is the limit_range_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LimitRangeList: @@ -18,7 +18,7 @@ schema LimitRangeList: Items is a list of LimitRange objects. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ kind : str, default is "LimitRangeList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema LimitRangeList: kind: "LimitRangeList" = "LimitRangeList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.23/api/core/v1/namespace.k b/k8s/1.23/api/core/v1/namespace.k index 52b6b94f..66125388 100644 --- a/k8s/1.23/api/core/v1/namespace.k +++ b/k8s/1.23/api/core/v1/namespace.k @@ -3,7 +3,7 @@ This is the namespace module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Namespace: @@ -16,7 +16,7 @@ schema Namespace: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Namespace", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : NamespaceSpec, default is Undefined, optional Spec defines the behavior of the Namespace. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Namespace: kind: "Namespace" = "Namespace" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: NamespaceSpec diff --git a/k8s/1.23/api/core/v1/namespace_list.k b/k8s/1.23/api/core/v1/namespace_list.k index 0a362eac..1783b0bc 100644 --- a/k8s/1.23/api/core/v1/namespace_list.k +++ b/k8s/1.23/api/core/v1/namespace_list.k @@ -3,7 +3,7 @@ This is the namespace_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NamespaceList: @@ -18,7 +18,7 @@ schema NamespaceList: Items is the list of Namespace objects in the list. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ kind : str, default is "NamespaceList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema NamespaceList: kind: "NamespaceList" = "NamespaceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.23/api/core/v1/node.k b/k8s/1.23/api/core/v1/node.k index 99f9cab9..dcfea158 100644 --- a/k8s/1.23/api/core/v1/node.k +++ b/k8s/1.23/api/core/v1/node.k @@ -3,7 +3,7 @@ This is the node module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Node: @@ -16,7 +16,7 @@ schema Node: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Node", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : NodeSpec, default is Undefined, optional Spec defines the behavior of a node. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Node: kind: "Node" = "Node" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: NodeSpec diff --git a/k8s/1.23/api/core/v1/node_list.k b/k8s/1.23/api/core/v1/node_list.k index 40992f99..26fe9968 100644 --- a/k8s/1.23/api/core/v1/node_list.k +++ b/k8s/1.23/api/core/v1/node_list.k @@ -3,7 +3,7 @@ This is the node_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NodeList: @@ -18,7 +18,7 @@ schema NodeList: List of nodes kind : str, default is "NodeList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema NodeList: kind: "NodeList" = "NodeList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.23/api/core/v1/persistent_volume.k b/k8s/1.23/api/core/v1/persistent_volume.k index 259223a6..2c6d5ee6 100644 --- a/k8s/1.23/api/core/v1/persistent_volume.k +++ b/k8s/1.23/api/core/v1/persistent_volume.k @@ -3,7 +3,7 @@ This is the persistent_volume module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolume: @@ -16,7 +16,7 @@ schema PersistentVolume: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PersistentVolume", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PersistentVolumeSpec, default is Undefined, optional Spec defines a specification of a persistent volume owned by the cluster. Provisioned by an administrator. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes @@ -27,7 +27,7 @@ schema PersistentVolume: kind: "PersistentVolume" = "PersistentVolume" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PersistentVolumeSpec diff --git a/k8s/1.23/api/core/v1/persistent_volume_claim.k b/k8s/1.23/api/core/v1/persistent_volume_claim.k index eb057e81..02735f90 100644 --- a/k8s/1.23/api/core/v1/persistent_volume_claim.k +++ b/k8s/1.23/api/core/v1/persistent_volume_claim.k @@ -3,7 +3,7 @@ This is the persistent_volume_claim module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeClaim: @@ -16,7 +16,7 @@ schema PersistentVolumeClaim: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PersistentVolumeClaim", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PersistentVolumeClaimSpec, default is Undefined, optional Spec defines the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims @@ -27,7 +27,7 @@ schema PersistentVolumeClaim: kind: "PersistentVolumeClaim" = "PersistentVolumeClaim" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PersistentVolumeClaimSpec diff --git a/k8s/1.23/api/core/v1/persistent_volume_claim_list.k b/k8s/1.23/api/core/v1/persistent_volume_claim_list.k index 85ccc1ee..96669996 100644 --- a/k8s/1.23/api/core/v1/persistent_volume_claim_list.k +++ b/k8s/1.23/api/core/v1/persistent_volume_claim_list.k @@ -3,7 +3,7 @@ This is the persistent_volume_claim_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeClaimList: @@ -18,7 +18,7 @@ schema PersistentVolumeClaimList: A list of persistent volume claims. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims kind : str, default is "PersistentVolumeClaimList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema PersistentVolumeClaimList: kind: "PersistentVolumeClaimList" = "PersistentVolumeClaimList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.23/api/core/v1/persistent_volume_claim_spec.k b/k8s/1.23/api/core/v1/persistent_volume_claim_spec.k index 3f85e1bc..af8f4d96 100644 --- a/k8s/1.23/api/core/v1/persistent_volume_claim_spec.k +++ b/k8s/1.23/api/core/v1/persistent_volume_claim_spec.k @@ -3,7 +3,7 @@ This is the persistent_volume_claim_spec module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeClaimSpec: @@ -25,7 +25,7 @@ schema PersistentVolumeClaimSpec: (Alpha) Using this field requires the AnyVolumeDataSource feature gate to be enabled. resources : ResourceRequirements, default is Undefined, optional Resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional A label query over volumes to consider for binding. storageClassName : str, default is Undefined, optional Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1 @@ -44,7 +44,7 @@ schema PersistentVolumeClaimSpec: resources?: ResourceRequirements - selector?: v1.LabelSelector + selector?: metav1.LabelSelector storageClassName?: str diff --git a/k8s/1.23/api/core/v1/persistent_volume_claim_template.k b/k8s/1.23/api/core/v1/persistent_volume_claim_template.k index e6758b96..a8a010df 100644 --- a/k8s/1.23/api/core/v1/persistent_volume_claim_template.k +++ b/k8s/1.23/api/core/v1/persistent_volume_claim_template.k @@ -3,7 +3,7 @@ This is the persistent_volume_claim_template module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeClaimTemplate: @@ -12,14 +12,14 @@ schema PersistentVolumeClaimTemplate: Attributes ---------- - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. spec : PersistentVolumeClaimSpec, default is Undefined, required The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here. """ - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: PersistentVolumeClaimSpec diff --git a/k8s/1.23/api/core/v1/persistent_volume_list.k b/k8s/1.23/api/core/v1/persistent_volume_list.k index c34d9abb..21a2a32a 100644 --- a/k8s/1.23/api/core/v1/persistent_volume_list.k +++ b/k8s/1.23/api/core/v1/persistent_volume_list.k @@ -3,7 +3,7 @@ This is the persistent_volume_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeList: @@ -18,7 +18,7 @@ schema PersistentVolumeList: List of persistent volumes. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes kind : str, default is "PersistentVolumeList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema PersistentVolumeList: kind: "PersistentVolumeList" = "PersistentVolumeList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.23/api/core/v1/pod.k b/k8s/1.23/api/core/v1/pod.k index 659a9e99..66568628 100644 --- a/k8s/1.23/api/core/v1/pod.k +++ b/k8s/1.23/api/core/v1/pod.k @@ -3,7 +3,7 @@ This is the pod module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Pod: @@ -16,7 +16,7 @@ schema Pod: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Pod", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PodSpec, default is Undefined, optional Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Pod: kind: "Pod" = "Pod" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PodSpec diff --git a/k8s/1.23/api/core/v1/pod_affinity_term.k b/k8s/1.23/api/core/v1/pod_affinity_term.k index 6de7c90c..27874961 100644 --- a/k8s/1.23/api/core/v1/pod_affinity_term.k +++ b/k8s/1.23/api/core/v1/pod_affinity_term.k @@ -3,7 +3,7 @@ This is the pod_affinity_term module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodAffinityTerm: @@ -12,9 +12,9 @@ schema PodAffinityTerm: Attributes ---------- - labelSelector : v1.LabelSelector, default is Undefined, optional + labelSelector : metav1.LabelSelector, default is Undefined, optional A label query over a set of resources, in this case pods. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. This field is beta-level and is only honored when PodAffinityNamespaceSelector feature is enabled. namespaces : [str], default is Undefined, optional namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means "this pod's namespace" @@ -23,9 +23,9 @@ schema PodAffinityTerm: """ - labelSelector?: v1.LabelSelector + labelSelector?: metav1.LabelSelector - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector namespaces?: [str] diff --git a/k8s/1.23/api/core/v1/pod_list.k b/k8s/1.23/api/core/v1/pod_list.k index 10ad5eb9..4c031d05 100644 --- a/k8s/1.23/api/core/v1/pod_list.k +++ b/k8s/1.23/api/core/v1/pod_list.k @@ -3,7 +3,7 @@ This is the pod_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodList: @@ -18,7 +18,7 @@ schema PodList: List of pods. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md kind : str, default is "PodList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema PodList: kind: "PodList" = "PodList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.23/api/core/v1/pod_template.k b/k8s/1.23/api/core/v1/pod_template.k index 98e64f70..6ffbfa64 100644 --- a/k8s/1.23/api/core/v1/pod_template.k +++ b/k8s/1.23/api/core/v1/pod_template.k @@ -3,7 +3,7 @@ This is the pod_template module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodTemplate: @@ -16,7 +16,7 @@ schema PodTemplate: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PodTemplate", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata template : PodTemplateSpec, default is Undefined, optional Template defines the pods that will be created from this pod template. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema PodTemplate: kind: "PodTemplate" = "PodTemplate" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta template?: PodTemplateSpec diff --git a/k8s/1.23/api/core/v1/pod_template_list.k b/k8s/1.23/api/core/v1/pod_template_list.k index 8bb1827f..94024175 100644 --- a/k8s/1.23/api/core/v1/pod_template_list.k +++ b/k8s/1.23/api/core/v1/pod_template_list.k @@ -3,7 +3,7 @@ This is the pod_template_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodTemplateList: @@ -18,7 +18,7 @@ schema PodTemplateList: List of pod templates kind : str, default is "PodTemplateList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema PodTemplateList: kind: "PodTemplateList" = "PodTemplateList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.23/api/core/v1/pod_template_spec.k b/k8s/1.23/api/core/v1/pod_template_spec.k index 1274c88b..6011ef81 100644 --- a/k8s/1.23/api/core/v1/pod_template_spec.k +++ b/k8s/1.23/api/core/v1/pod_template_spec.k @@ -3,7 +3,7 @@ This is the pod_template_spec module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodTemplateSpec: @@ -12,14 +12,14 @@ schema PodTemplateSpec: Attributes ---------- - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PodSpec, default is Undefined, optional Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status """ - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PodSpec diff --git a/k8s/1.23/api/core/v1/replication_controller.k b/k8s/1.23/api/core/v1/replication_controller.k index 08b091e8..37724706 100644 --- a/k8s/1.23/api/core/v1/replication_controller.k +++ b/k8s/1.23/api/core/v1/replication_controller.k @@ -3,7 +3,7 @@ This is the replication_controller module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicationController: @@ -16,7 +16,7 @@ schema ReplicationController: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ReplicationController", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional If the Labels of a ReplicationController are empty, they are defaulted to be the same as the Pod(s) that the replication controller manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : ReplicationControllerSpec, default is Undefined, optional Spec defines the specification of the desired behavior of the replication controller. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema ReplicationController: kind: "ReplicationController" = "ReplicationController" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ReplicationControllerSpec diff --git a/k8s/1.23/api/core/v1/replication_controller_list.k b/k8s/1.23/api/core/v1/replication_controller_list.k index 64afa179..63f9d4b2 100644 --- a/k8s/1.23/api/core/v1/replication_controller_list.k +++ b/k8s/1.23/api/core/v1/replication_controller_list.k @@ -3,7 +3,7 @@ This is the replication_controller_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicationControllerList: @@ -18,7 +18,7 @@ schema ReplicationControllerList: List of replication controllers. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller kind : str, default is "ReplicationControllerList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ReplicationControllerList: kind: "ReplicationControllerList" = "ReplicationControllerList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.23/api/core/v1/resource_quota.k b/k8s/1.23/api/core/v1/resource_quota.k index b7da49d1..0ec7c409 100644 --- a/k8s/1.23/api/core/v1/resource_quota.k +++ b/k8s/1.23/api/core/v1/resource_quota.k @@ -3,7 +3,7 @@ This is the resource_quota module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceQuota: @@ -16,7 +16,7 @@ schema ResourceQuota: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ResourceQuota", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : ResourceQuotaSpec, default is Undefined, optional Spec defines the desired quota. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema ResourceQuota: kind: "ResourceQuota" = "ResourceQuota" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ResourceQuotaSpec diff --git a/k8s/1.23/api/core/v1/resource_quota_list.k b/k8s/1.23/api/core/v1/resource_quota_list.k index ca1424b8..f8dbc87d 100644 --- a/k8s/1.23/api/core/v1/resource_quota_list.k +++ b/k8s/1.23/api/core/v1/resource_quota_list.k @@ -3,7 +3,7 @@ This is the resource_quota_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceQuotaList: @@ -18,7 +18,7 @@ schema ResourceQuotaList: Items is a list of ResourceQuota objects. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/ kind : str, default is "ResourceQuotaList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ResourceQuotaList: kind: "ResourceQuotaList" = "ResourceQuotaList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.23/api/core/v1/secret.k b/k8s/1.23/api/core/v1/secret.k index 315e5f78..79324811 100644 --- a/k8s/1.23/api/core/v1/secret.k +++ b/k8s/1.23/api/core/v1/secret.k @@ -3,7 +3,7 @@ This is the secret module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Secret: @@ -20,7 +20,7 @@ schema Secret: Immutable, if set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil. kind : str, default is "Secret", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata stringData : {str:str}, default is Undefined, optional stringData allows specifying non-binary secret data in string form. It is provided as a write-only input field for convenience. All keys and values are merged into the data field on write, overwriting any existing values. The stringData field is never output when reading from the API. @@ -37,7 +37,7 @@ schema Secret: kind: "Secret" = "Secret" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta stringData?: {str:str} diff --git a/k8s/1.23/api/core/v1/secret_list.k b/k8s/1.23/api/core/v1/secret_list.k index 335c47b4..9e80806b 100644 --- a/k8s/1.23/api/core/v1/secret_list.k +++ b/k8s/1.23/api/core/v1/secret_list.k @@ -3,7 +3,7 @@ This is the secret_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SecretList: @@ -18,7 +18,7 @@ schema SecretList: Items is a list of secret objects. More info: https://kubernetes.io/docs/concepts/configuration/secret kind : str, default is "SecretList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema SecretList: kind: "SecretList" = "SecretList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.23/api/core/v1/service.k b/k8s/1.23/api/core/v1/service.k index 1f259a80..3b86c8ef 100644 --- a/k8s/1.23/api/core/v1/service.k +++ b/k8s/1.23/api/core/v1/service.k @@ -3,7 +3,7 @@ This is the service module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Service: @@ -16,7 +16,7 @@ schema Service: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Service", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : ServiceSpec, default is Undefined, optional Spec defines the behavior of a service. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Service: kind: "Service" = "Service" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ServiceSpec diff --git a/k8s/1.23/api/core/v1/service_account.k b/k8s/1.23/api/core/v1/service_account.k index fc039e4f..c93748eb 100644 --- a/k8s/1.23/api/core/v1/service_account.k +++ b/k8s/1.23/api/core/v1/service_account.k @@ -3,7 +3,7 @@ This is the service_account module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ServiceAccount: @@ -20,7 +20,7 @@ schema ServiceAccount: ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod kind : str, default is "ServiceAccount", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata secrets : [ObjectReference], default is Undefined, optional Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount. More info: https://kubernetes.io/docs/concepts/configuration/secret @@ -35,7 +35,7 @@ schema ServiceAccount: kind: "ServiceAccount" = "ServiceAccount" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta secrets?: [ObjectReference] diff --git a/k8s/1.23/api/core/v1/service_account_list.k b/k8s/1.23/api/core/v1/service_account_list.k index 26a9319a..d8cd46b8 100644 --- a/k8s/1.23/api/core/v1/service_account_list.k +++ b/k8s/1.23/api/core/v1/service_account_list.k @@ -3,7 +3,7 @@ This is the service_account_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ServiceAccountList: @@ -18,7 +18,7 @@ schema ServiceAccountList: List of ServiceAccounts. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ kind : str, default is "ServiceAccountList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ServiceAccountList: kind: "ServiceAccountList" = "ServiceAccountList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.23/api/core/v1/service_list.k b/k8s/1.23/api/core/v1/service_list.k index 0c1e31be..5c4fae8a 100644 --- a/k8s/1.23/api/core/v1/service_list.k +++ b/k8s/1.23/api/core/v1/service_list.k @@ -3,7 +3,7 @@ This is the service_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ServiceList: @@ -18,7 +18,7 @@ schema ServiceList: List of services kind : str, default is "ServiceList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ServiceList: kind: "ServiceList" = "ServiceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.23/api/core/v1/service_status.k b/k8s/1.23/api/core/v1/service_status.k index 029dda86..f1fc66e6 100644 --- a/k8s/1.23/api/core/v1/service_status.k +++ b/k8s/1.23/api/core/v1/service_status.k @@ -3,7 +3,7 @@ This is the service_status module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ServiceStatus: @@ -12,14 +12,14 @@ schema ServiceStatus: Attributes ---------- - conditions : [v1.Condition], default is Undefined, optional + conditions : [metav1.Condition], default is Undefined, optional Current service state loadBalancer : LoadBalancerStatus, default is Undefined, optional LoadBalancer contains the current status of the load-balancer, if one is present. """ - conditions?: [v1.Condition] + conditions?: [metav1.Condition] loadBalancer?: LoadBalancerStatus diff --git a/k8s/1.23/api/core/v1/topology_spread_constraint.k b/k8s/1.23/api/core/v1/topology_spread_constraint.k index b6876b56..2c6626b8 100644 --- a/k8s/1.23/api/core/v1/topology_spread_constraint.k +++ b/k8s/1.23/api/core/v1/topology_spread_constraint.k @@ -3,7 +3,7 @@ This is the topology_spread_constraint module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema TopologySpreadConstraint: @@ -12,7 +12,7 @@ schema TopologySpreadConstraint: Attributes ---------- - labelSelector : v1.LabelSelector, default is Undefined, optional + labelSelector : metav1.LabelSelector, default is Undefined, optional LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain. maxSkew : int, default is Undefined, required MaxSkew describes the degree to which pods may be unevenly distributed. When `whenUnsatisfiable=DoNotSchedule`, it is the maximum permitted difference between the number of matching pods in the target topology and the global minimum. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 1/1/0: | zone1 | zone2 | zone3 | | P | P | | - if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 1/1/1; scheduling it onto zone1(zone2) would make the ActualSkew(2-0) on zone1(zone2) violate MaxSkew(1). - if MaxSkew is 2, incoming pod can be scheduled onto any zone. When `whenUnsatisfiable=ScheduleAnyway`, it is used to give higher precedence to topologies that satisfy it. It's a required field. Default value is 1 and 0 is not allowed. @@ -28,7 +28,7 @@ schema TopologySpreadConstraint: """ - labelSelector?: v1.LabelSelector + labelSelector?: metav1.LabelSelector maxSkew: int diff --git a/k8s/1.23/api/discovery/v1/endpoint_slice.k b/k8s/1.23/api/discovery/v1/endpoint_slice.k index c213c210..5688c1c9 100644 --- a/k8s/1.23/api/discovery/v1/endpoint_slice.k +++ b/k8s/1.23/api/discovery/v1/endpoint_slice.k @@ -3,7 +3,7 @@ This is the endpoint_slice module in k8s.api.discovery.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EndpointSlice: @@ -22,7 +22,7 @@ schema EndpointSlice: endpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints. kind : str, default is "EndpointSlice", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. ports : [EndpointPort], default is Undefined, optional ports specifies the list of network ports exposed by each endpoint in this slice. Each port must have a unique name. When ports is empty, it indicates that there are no defined ports. When a port is defined with a nil port value, it indicates "all ports". Each slice may include a maximum of 100 ports. @@ -37,7 +37,7 @@ schema EndpointSlice: kind: "EndpointSlice" = "EndpointSlice" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta ports?: [EndpointPort] diff --git a/k8s/1.23/api/discovery/v1/endpoint_slice_list.k b/k8s/1.23/api/discovery/v1/endpoint_slice_list.k index d1ca1ed7..241ba06f 100644 --- a/k8s/1.23/api/discovery/v1/endpoint_slice_list.k +++ b/k8s/1.23/api/discovery/v1/endpoint_slice_list.k @@ -3,7 +3,7 @@ This is the endpoint_slice_list module in k8s.api.discovery.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EndpointSliceList: @@ -18,7 +18,7 @@ schema EndpointSliceList: List of endpoint slices kind : str, default is "EndpointSliceList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema EndpointSliceList: kind: "EndpointSliceList" = "EndpointSliceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.23/api/discovery/v1beta1/endpoint_slice.k b/k8s/1.23/api/discovery/v1beta1/endpoint_slice.k index e5bc4f96..c3e65402 100644 --- a/k8s/1.23/api/discovery/v1beta1/endpoint_slice.k +++ b/k8s/1.23/api/discovery/v1beta1/endpoint_slice.k @@ -3,7 +3,7 @@ This is the endpoint_slice module in k8s.api.discovery.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EndpointSlice: @@ -20,7 +20,7 @@ schema EndpointSlice: endpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints. kind : str, default is "EndpointSlice", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. ports : [EndpointPort], default is Undefined, optional ports specifies the list of network ports exposed by each endpoint in this slice. Each port must have a unique name. When ports is empty, it indicates that there are no defined ports. When a port is defined with a nil port value, it indicates "all ports". Each slice may include a maximum of 100 ports. @@ -35,7 +35,7 @@ schema EndpointSlice: kind: "EndpointSlice" = "EndpointSlice" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta ports?: [EndpointPort] diff --git a/k8s/1.23/api/discovery/v1beta1/endpoint_slice_list.k b/k8s/1.23/api/discovery/v1beta1/endpoint_slice_list.k index ad1e929c..62019eae 100644 --- a/k8s/1.23/api/discovery/v1beta1/endpoint_slice_list.k +++ b/k8s/1.23/api/discovery/v1beta1/endpoint_slice_list.k @@ -3,7 +3,7 @@ This is the endpoint_slice_list module in k8s.api.discovery.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EndpointSliceList: @@ -18,7 +18,7 @@ schema EndpointSliceList: List of endpoint slices kind : str, default is "EndpointSliceList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema EndpointSliceList: kind: "EndpointSliceList" = "EndpointSliceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.23/api/events/v1/event_list.k b/k8s/1.23/api/events/v1/event_list.k index 6d5e7dad..4c4d96ba 100644 --- a/k8s/1.23/api/events/v1/event_list.k +++ b/k8s/1.23/api/events/v1/event_list.k @@ -3,7 +3,7 @@ This is the event_list module in k8s.api.events.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EventList: @@ -18,7 +18,7 @@ schema EventList: items is a list of schema objects. kind : str, default is "EventList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema EventList: kind: "EventList" = "EventList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.23/api/events/v1beta1/event_list.k b/k8s/1.23/api/events/v1beta1/event_list.k index fbb9bfa6..85c27cd9 100644 --- a/k8s/1.23/api/events/v1beta1/event_list.k +++ b/k8s/1.23/api/events/v1beta1/event_list.k @@ -3,7 +3,7 @@ This is the event_list module in k8s.api.events.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EventList: @@ -18,7 +18,7 @@ schema EventList: items is a list of schema objects. kind : str, default is "EventList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema EventList: kind: "EventList" = "EventList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.23/api/flowcontrol/v1beta1/flow_schema.k b/k8s/1.23/api/flowcontrol/v1beta1/flow_schema.k index 55faf528..cf4974cd 100644 --- a/k8s/1.23/api/flowcontrol/v1beta1/flow_schema.k +++ b/k8s/1.23/api/flowcontrol/v1beta1/flow_schema.k @@ -3,7 +3,7 @@ This is the flow_schema module in k8s.api.flowcontrol.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema FlowSchema: @@ -16,7 +16,7 @@ schema FlowSchema: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "FlowSchema", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : FlowSchemaSpec, default is Undefined, optional `spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema FlowSchema: kind: "FlowSchema" = "FlowSchema" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: FlowSchemaSpec diff --git a/k8s/1.23/api/flowcontrol/v1beta1/flow_schema_list.k b/k8s/1.23/api/flowcontrol/v1beta1/flow_schema_list.k index 4f91a66c..740f3aa2 100644 --- a/k8s/1.23/api/flowcontrol/v1beta1/flow_schema_list.k +++ b/k8s/1.23/api/flowcontrol/v1beta1/flow_schema_list.k @@ -3,7 +3,7 @@ This is the flow_schema_list module in k8s.api.flowcontrol.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema FlowSchemaList: @@ -18,7 +18,7 @@ schema FlowSchemaList: `items` is a list of FlowSchemas. kind : str, default is "FlowSchemaList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional `metadata` is the standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema FlowSchemaList: kind: "FlowSchemaList" = "FlowSchemaList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.23/api/flowcontrol/v1beta1/priority_level_configuration.k b/k8s/1.23/api/flowcontrol/v1beta1/priority_level_configuration.k index 46ae1bf4..3068b4ac 100644 --- a/k8s/1.23/api/flowcontrol/v1beta1/priority_level_configuration.k +++ b/k8s/1.23/api/flowcontrol/v1beta1/priority_level_configuration.k @@ -3,7 +3,7 @@ This is the priority_level_configuration module in k8s.api.flowcontrol.v1beta1 p This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityLevelConfiguration: @@ -16,7 +16,7 @@ schema PriorityLevelConfiguration: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PriorityLevelConfiguration", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PriorityLevelConfigurationSpec, default is Undefined, optional `spec` is the specification of the desired behavior of a "request-priority". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema PriorityLevelConfiguration: kind: "PriorityLevelConfiguration" = "PriorityLevelConfiguration" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PriorityLevelConfigurationSpec diff --git a/k8s/1.23/api/flowcontrol/v1beta1/priority_level_configuration_list.k b/k8s/1.23/api/flowcontrol/v1beta1/priority_level_configuration_list.k index fbc0a3d7..de2e7738 100644 --- a/k8s/1.23/api/flowcontrol/v1beta1/priority_level_configuration_list.k +++ b/k8s/1.23/api/flowcontrol/v1beta1/priority_level_configuration_list.k @@ -3,7 +3,7 @@ This is the priority_level_configuration_list module in k8s.api.flowcontrol.v1be This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityLevelConfigurationList: @@ -18,7 +18,7 @@ schema PriorityLevelConfigurationList: `items` is a list of request-priorities. kind : str, default is "PriorityLevelConfigurationList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PriorityLevelConfigurationList: kind: "PriorityLevelConfigurationList" = "PriorityLevelConfigurationList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.23/api/flowcontrol/v1beta2/flow_schema.k b/k8s/1.23/api/flowcontrol/v1beta2/flow_schema.k index 38841e20..ca58b323 100644 --- a/k8s/1.23/api/flowcontrol/v1beta2/flow_schema.k +++ b/k8s/1.23/api/flowcontrol/v1beta2/flow_schema.k @@ -3,7 +3,7 @@ This is the flow_schema module in k8s.api.flowcontrol.v1beta2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema FlowSchema: @@ -16,7 +16,7 @@ schema FlowSchema: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "FlowSchema", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : FlowSchemaSpec, default is Undefined, optional `spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema FlowSchema: kind: "FlowSchema" = "FlowSchema" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: FlowSchemaSpec diff --git a/k8s/1.23/api/flowcontrol/v1beta2/flow_schema_list.k b/k8s/1.23/api/flowcontrol/v1beta2/flow_schema_list.k index 41f1f453..084935f5 100644 --- a/k8s/1.23/api/flowcontrol/v1beta2/flow_schema_list.k +++ b/k8s/1.23/api/flowcontrol/v1beta2/flow_schema_list.k @@ -3,7 +3,7 @@ This is the flow_schema_list module in k8s.api.flowcontrol.v1beta2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema FlowSchemaList: @@ -18,7 +18,7 @@ schema FlowSchemaList: `items` is a list of FlowSchemas. kind : str, default is "FlowSchemaList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional `metadata` is the standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema FlowSchemaList: kind: "FlowSchemaList" = "FlowSchemaList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.23/api/flowcontrol/v1beta2/priority_level_configuration.k b/k8s/1.23/api/flowcontrol/v1beta2/priority_level_configuration.k index adfdc552..654decc0 100644 --- a/k8s/1.23/api/flowcontrol/v1beta2/priority_level_configuration.k +++ b/k8s/1.23/api/flowcontrol/v1beta2/priority_level_configuration.k @@ -3,7 +3,7 @@ This is the priority_level_configuration module in k8s.api.flowcontrol.v1beta2 p This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityLevelConfiguration: @@ -16,7 +16,7 @@ schema PriorityLevelConfiguration: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PriorityLevelConfiguration", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PriorityLevelConfigurationSpec, default is Undefined, optional `spec` is the specification of the desired behavior of a "request-priority". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema PriorityLevelConfiguration: kind: "PriorityLevelConfiguration" = "PriorityLevelConfiguration" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PriorityLevelConfigurationSpec diff --git a/k8s/1.23/api/flowcontrol/v1beta2/priority_level_configuration_list.k b/k8s/1.23/api/flowcontrol/v1beta2/priority_level_configuration_list.k index 3677c841..e3b5923d 100644 --- a/k8s/1.23/api/flowcontrol/v1beta2/priority_level_configuration_list.k +++ b/k8s/1.23/api/flowcontrol/v1beta2/priority_level_configuration_list.k @@ -3,7 +3,7 @@ This is the priority_level_configuration_list module in k8s.api.flowcontrol.v1be This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityLevelConfigurationList: @@ -18,7 +18,7 @@ schema PriorityLevelConfigurationList: `items` is a list of request-priorities. kind : str, default is "PriorityLevelConfigurationList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PriorityLevelConfigurationList: kind: "PriorityLevelConfigurationList" = "PriorityLevelConfigurationList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.23/api/networking/v1/ingress.k b/k8s/1.23/api/networking/v1/ingress.k index 84067c5f..7429b93d 100644 --- a/k8s/1.23/api/networking/v1/ingress.k +++ b/k8s/1.23/api/networking/v1/ingress.k @@ -3,7 +3,7 @@ This is the ingress module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Ingress: @@ -16,7 +16,7 @@ schema Ingress: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Ingress", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : IngressSpec, default is Undefined, optional Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Ingress: kind: "Ingress" = "Ingress" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: IngressSpec diff --git a/k8s/1.23/api/networking/v1/ingress_class.k b/k8s/1.23/api/networking/v1/ingress_class.k index 53cf2398..ad2f67bd 100644 --- a/k8s/1.23/api/networking/v1/ingress_class.k +++ b/k8s/1.23/api/networking/v1/ingress_class.k @@ -3,7 +3,7 @@ This is the ingress_class module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema IngressClass: @@ -16,7 +16,7 @@ schema IngressClass: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "IngressClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : IngressClassSpec, default is Undefined, optional Spec is the desired state of the IngressClass. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema IngressClass: kind: "IngressClass" = "IngressClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: IngressClassSpec diff --git a/k8s/1.23/api/networking/v1/ingress_class_list.k b/k8s/1.23/api/networking/v1/ingress_class_list.k index 7a8dfb45..432a667e 100644 --- a/k8s/1.23/api/networking/v1/ingress_class_list.k +++ b/k8s/1.23/api/networking/v1/ingress_class_list.k @@ -3,7 +3,7 @@ This is the ingress_class_list module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema IngressClassList: @@ -18,7 +18,7 @@ schema IngressClassList: Items is the list of IngressClasses. kind : str, default is "IngressClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema IngressClassList: kind: "IngressClassList" = "IngressClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.23/api/networking/v1/ingress_list.k b/k8s/1.23/api/networking/v1/ingress_list.k index 5fc2315f..a73781b0 100644 --- a/k8s/1.23/api/networking/v1/ingress_list.k +++ b/k8s/1.23/api/networking/v1/ingress_list.k @@ -3,7 +3,7 @@ This is the ingress_list module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema IngressList: @@ -18,7 +18,7 @@ schema IngressList: Items is the list of Ingress. kind : str, default is "IngressList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema IngressList: kind: "IngressList" = "IngressList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.23/api/networking/v1/network_policy.k b/k8s/1.23/api/networking/v1/network_policy.k index 888fc8a4..f4ffe0ea 100644 --- a/k8s/1.23/api/networking/v1/network_policy.k +++ b/k8s/1.23/api/networking/v1/network_policy.k @@ -3,7 +3,7 @@ This is the network_policy module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicy: @@ -16,7 +16,7 @@ schema NetworkPolicy: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "NetworkPolicy", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : NetworkPolicySpec, default is Undefined, optional Specification of the desired behavior for this NetworkPolicy. @@ -27,7 +27,7 @@ schema NetworkPolicy: kind: "NetworkPolicy" = "NetworkPolicy" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: NetworkPolicySpec diff --git a/k8s/1.23/api/networking/v1/network_policy_list.k b/k8s/1.23/api/networking/v1/network_policy_list.k index 7a05cb37..8e21e919 100644 --- a/k8s/1.23/api/networking/v1/network_policy_list.k +++ b/k8s/1.23/api/networking/v1/network_policy_list.k @@ -3,7 +3,7 @@ This is the network_policy_list module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicyList: @@ -18,7 +18,7 @@ schema NetworkPolicyList: Items is a list of schema objects. kind : str, default is "NetworkPolicyList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema NetworkPolicyList: kind: "NetworkPolicyList" = "NetworkPolicyList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.23/api/networking/v1/network_policy_peer.k b/k8s/1.23/api/networking/v1/network_policy_peer.k index c579477f..57c680fb 100644 --- a/k8s/1.23/api/networking/v1/network_policy_peer.k +++ b/k8s/1.23/api/networking/v1/network_policy_peer.k @@ -3,7 +3,7 @@ This is the network_policy_peer module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicyPeer: @@ -14,11 +14,11 @@ schema NetworkPolicyPeer: ---------- ipBlock : IPBlock, default is Undefined, optional IPBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional Selects Namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces. If PodSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects all Pods in the Namespaces selected by NamespaceSelector. - podSelector : v1.LabelSelector, default is Undefined, optional + podSelector : metav1.LabelSelector, default is Undefined, optional This is a label selector which selects Pods. This field follows standard label selector semantics; if present but empty, it selects all pods. If NamespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the Pods matching PodSelector in the policy's own Namespace. @@ -27,8 +27,8 @@ schema NetworkPolicyPeer: ipBlock?: IPBlock - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector - podSelector?: v1.LabelSelector + podSelector?: metav1.LabelSelector diff --git a/k8s/1.23/api/networking/v1/network_policy_spec.k b/k8s/1.23/api/networking/v1/network_policy_spec.k index d1b738dc..5ceec480 100644 --- a/k8s/1.23/api/networking/v1/network_policy_spec.k +++ b/k8s/1.23/api/networking/v1/network_policy_spec.k @@ -3,7 +3,7 @@ This is the network_policy_spec module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicySpec: @@ -16,7 +16,7 @@ schema NetworkPolicySpec: List of egress rules to be applied to the selected pods. Outgoing traffic is allowed if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic matches at least one egress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy limits all outgoing traffic (and serves solely to ensure that the pods it selects are isolated by default). This field is beta-level in 1.8 ingress : [NetworkPolicyIngressRule], default is Undefined, optional List of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not allow any traffic (and serves solely to ensure that the pods it selects are isolated by default) - podSelector : v1.LabelSelector, default is Undefined, required + podSelector : metav1.LabelSelector, default is Undefined, required Selects the pods to which this NetworkPolicy object applies. The array of ingress rules is applied to any pods selected by this field. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is NOT optional and follows standard label selector semantics. An empty podSelector matches all pods in this namespace. policyTypes : [str], default is Undefined, optional List of rule types that the NetworkPolicy relates to. Valid options are ["Ingress"], ["Egress"], or ["Ingress", "Egress"]. If this field is not specified, it will default based on the existence of Ingress or Egress rules; policies that contain an Egress section are assumed to affect Egress, and all policies (whether or not they contain an Ingress section) are assumed to affect Ingress. If you want to write an egress-only policy, you must explicitly specify policyTypes [ "Egress" ]. Likewise, if you want to write a policy that specifies that no egress is allowed, you must specify a policyTypes value that include "Egress" (since such a policy would not include an Egress section and would otherwise default to just [ "Ingress" ]). This field is beta-level in 1.8 @@ -27,7 +27,7 @@ schema NetworkPolicySpec: ingress?: [NetworkPolicyIngressRule] - podSelector: v1.LabelSelector + podSelector: metav1.LabelSelector policyTypes?: [str] diff --git a/k8s/1.23/api/node/v1/runtime_class.k b/k8s/1.23/api/node/v1/runtime_class.k index c40f1039..718cd8b9 100644 --- a/k8s/1.23/api/node/v1/runtime_class.k +++ b/k8s/1.23/api/node/v1/runtime_class.k @@ -3,7 +3,7 @@ This is the runtime_class module in k8s.api.node.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RuntimeClass: @@ -18,7 +18,7 @@ schema RuntimeClass: Handler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration. It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called "runc" might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The Handler must be lowercase, conform to the DNS Label (RFC 1123) requirements, and is immutable. kind : str, default is "RuntimeClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata overhead : Overhead, default is Undefined, optional Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see @@ -35,7 +35,7 @@ schema RuntimeClass: kind: "RuntimeClass" = "RuntimeClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta overhead?: Overhead diff --git a/k8s/1.23/api/node/v1/runtime_class_list.k b/k8s/1.23/api/node/v1/runtime_class_list.k index 66bfea91..4f1ac3f5 100644 --- a/k8s/1.23/api/node/v1/runtime_class_list.k +++ b/k8s/1.23/api/node/v1/runtime_class_list.k @@ -3,7 +3,7 @@ This is the runtime_class_list module in k8s.api.node.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RuntimeClassList: @@ -18,7 +18,7 @@ schema RuntimeClassList: Items is a list of schema objects. kind : str, default is "RuntimeClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema RuntimeClassList: kind: "RuntimeClassList" = "RuntimeClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.23/api/node/v1alpha1/runtime_class.k b/k8s/1.23/api/node/v1alpha1/runtime_class.k index e0f55b90..9fc429d8 100644 --- a/k8s/1.23/api/node/v1alpha1/runtime_class.k +++ b/k8s/1.23/api/node/v1alpha1/runtime_class.k @@ -3,7 +3,7 @@ This is the runtime_class module in k8s.api.node.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RuntimeClass: @@ -16,7 +16,7 @@ schema RuntimeClass: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "RuntimeClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : RuntimeClassSpec, default is Undefined, required Specification of the RuntimeClass More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema RuntimeClass: kind: "RuntimeClass" = "RuntimeClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: RuntimeClassSpec diff --git a/k8s/1.23/api/node/v1alpha1/runtime_class_list.k b/k8s/1.23/api/node/v1alpha1/runtime_class_list.k index 9a7cbb22..6db85ede 100644 --- a/k8s/1.23/api/node/v1alpha1/runtime_class_list.k +++ b/k8s/1.23/api/node/v1alpha1/runtime_class_list.k @@ -3,7 +3,7 @@ This is the runtime_class_list module in k8s.api.node.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RuntimeClassList: @@ -18,7 +18,7 @@ schema RuntimeClassList: Items is a list of schema objects. kind : str, default is "RuntimeClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema RuntimeClassList: kind: "RuntimeClassList" = "RuntimeClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.23/api/node/v1beta1/runtime_class.k b/k8s/1.23/api/node/v1beta1/runtime_class.k index 784e460b..bc259d6b 100644 --- a/k8s/1.23/api/node/v1beta1/runtime_class.k +++ b/k8s/1.23/api/node/v1beta1/runtime_class.k @@ -3,7 +3,7 @@ This is the runtime_class module in k8s.api.node.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RuntimeClass: @@ -18,7 +18,7 @@ schema RuntimeClass: Handler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration. It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called "runc" might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The Handler must be lowercase, conform to the DNS Label (RFC 1123) requirements, and is immutable. kind : str, default is "RuntimeClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata overhead : Overhead, default is Undefined, optional Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see https://git.k8s.io/enhancements/keps/sig-node/688-pod-overhead/README.md This field is beta-level as of Kubernetes v1.18, and is only honored by servers that enable the PodOverhead feature. @@ -33,7 +33,7 @@ schema RuntimeClass: kind: "RuntimeClass" = "RuntimeClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta overhead?: Overhead diff --git a/k8s/1.23/api/node/v1beta1/runtime_class_list.k b/k8s/1.23/api/node/v1beta1/runtime_class_list.k index 19de4405..96178e8c 100644 --- a/k8s/1.23/api/node/v1beta1/runtime_class_list.k +++ b/k8s/1.23/api/node/v1beta1/runtime_class_list.k @@ -3,7 +3,7 @@ This is the runtime_class_list module in k8s.api.node.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RuntimeClassList: @@ -18,7 +18,7 @@ schema RuntimeClassList: Items is a list of schema objects. kind : str, default is "RuntimeClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema RuntimeClassList: kind: "RuntimeClassList" = "RuntimeClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.23/api/policy/v1/eviction.k b/k8s/1.23/api/policy/v1/eviction.k index e87c2ee9..121fb323 100644 --- a/k8s/1.23/api/policy/v1/eviction.k +++ b/k8s/1.23/api/policy/v1/eviction.k @@ -3,7 +3,7 @@ This is the eviction module in k8s.api.policy.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Eviction: @@ -14,21 +14,21 @@ schema Eviction: ---------- apiVersion : str, default is "policy/v1", required APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - deleteOptions : v1.DeleteOptions, default is Undefined, optional + deleteOptions : metav1.DeleteOptions, default is Undefined, optional DeleteOptions may be provided kind : str, default is "Eviction", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional ObjectMeta describes the pod that is being evicted. """ apiVersion: "policy/v1" = "policy/v1" - deleteOptions?: v1.DeleteOptions + deleteOptions?: metav1.DeleteOptions kind: "Eviction" = "Eviction" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta diff --git a/k8s/1.23/api/policy/v1/pod_disruption_budget.k b/k8s/1.23/api/policy/v1/pod_disruption_budget.k index 08151f41..02483ed4 100644 --- a/k8s/1.23/api/policy/v1/pod_disruption_budget.k +++ b/k8s/1.23/api/policy/v1/pod_disruption_budget.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget module in k8s.api.policy.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudget: @@ -16,7 +16,7 @@ schema PodDisruptionBudget: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PodDisruptionBudget", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PodDisruptionBudgetSpec, default is Undefined, optional Specification of the desired behavior of the PodDisruptionBudget. @@ -27,7 +27,7 @@ schema PodDisruptionBudget: kind: "PodDisruptionBudget" = "PodDisruptionBudget" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PodDisruptionBudgetSpec diff --git a/k8s/1.23/api/policy/v1/pod_disruption_budget_list.k b/k8s/1.23/api/policy/v1/pod_disruption_budget_list.k index 9075ecd9..0a3f925d 100644 --- a/k8s/1.23/api/policy/v1/pod_disruption_budget_list.k +++ b/k8s/1.23/api/policy/v1/pod_disruption_budget_list.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget_list module in k8s.api.policy.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudgetList: @@ -18,7 +18,7 @@ schema PodDisruptionBudgetList: Items is a list of PodDisruptionBudgets kind : str, default is "PodDisruptionBudgetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PodDisruptionBudgetList: kind: "PodDisruptionBudgetList" = "PodDisruptionBudgetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.23/api/policy/v1/pod_disruption_budget_spec.k b/k8s/1.23/api/policy/v1/pod_disruption_budget_spec.k index 6e881436..39b64d7c 100644 --- a/k8s/1.23/api/policy/v1/pod_disruption_budget_spec.k +++ b/k8s/1.23/api/policy/v1/pod_disruption_budget_spec.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget_spec module in k8s.api.policy.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudgetSpec: @@ -16,7 +16,7 @@ schema PodDisruptionBudgetSpec: An eviction is allowed if at most "maxUnavailable" pods selected by "selector" are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with "minAvailable". minAvailable : int | str, default is Undefined, optional An eviction is allowed if at least "minAvailable" pods selected by "selector" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying "100%". - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional Label query over pods whose evictions are managed by the disruption budget. A null selector will match no pods, while an empty ({}) selector will select all pods within the namespace. """ @@ -25,6 +25,6 @@ schema PodDisruptionBudgetSpec: minAvailable?: int | str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector diff --git a/k8s/1.23/api/policy/v1/pod_disruption_budget_status.k b/k8s/1.23/api/policy/v1/pod_disruption_budget_status.k index 58d0ef88..b8db8025 100644 --- a/k8s/1.23/api/policy/v1/pod_disruption_budget_status.k +++ b/k8s/1.23/api/policy/v1/pod_disruption_budget_status.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget_status module in k8s.api.policy.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudgetStatus: @@ -12,7 +12,7 @@ schema PodDisruptionBudgetStatus: Attributes ---------- - conditions : [v1.Condition], default is Undefined, optional + conditions : [metav1.Condition], default is Undefined, optional Conditions contain conditions for PDB. The disruption controller sets the DisruptionAllowed condition. The following are known values for the reason field (additional reasons could be added in the future): - SyncFailed: The controller encountered an error and wasn't able to compute the number of allowed disruptions. Therefore no disruptions are allowed and the status of the condition will be False. @@ -37,7 +37,7 @@ schema PodDisruptionBudgetStatus: """ - conditions?: [v1.Condition] + conditions?: [metav1.Condition] currentHealthy: int diff --git a/k8s/1.23/api/policy/v1beta1/pod_disruption_budget.k b/k8s/1.23/api/policy/v1beta1/pod_disruption_budget.k index 9e404c30..6ebad63a 100644 --- a/k8s/1.23/api/policy/v1beta1/pod_disruption_budget.k +++ b/k8s/1.23/api/policy/v1beta1/pod_disruption_budget.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget module in k8s.api.policy.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudget: @@ -16,7 +16,7 @@ schema PodDisruptionBudget: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PodDisruptionBudget", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PodDisruptionBudgetSpec, default is Undefined, optional Specification of the desired behavior of the PodDisruptionBudget. @@ -27,7 +27,7 @@ schema PodDisruptionBudget: kind: "PodDisruptionBudget" = "PodDisruptionBudget" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PodDisruptionBudgetSpec diff --git a/k8s/1.23/api/policy/v1beta1/pod_disruption_budget_list.k b/k8s/1.23/api/policy/v1beta1/pod_disruption_budget_list.k index b7dadea2..2c8f94e1 100644 --- a/k8s/1.23/api/policy/v1beta1/pod_disruption_budget_list.k +++ b/k8s/1.23/api/policy/v1beta1/pod_disruption_budget_list.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget_list module in k8s.api.policy.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudgetList: @@ -18,7 +18,7 @@ schema PodDisruptionBudgetList: items list individual PodDisruptionBudget objects kind : str, default is "PodDisruptionBudgetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PodDisruptionBudgetList: kind: "PodDisruptionBudgetList" = "PodDisruptionBudgetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.23/api/policy/v1beta1/pod_disruption_budget_spec.k b/k8s/1.23/api/policy/v1beta1/pod_disruption_budget_spec.k index f89a8e1f..555fad23 100644 --- a/k8s/1.23/api/policy/v1beta1/pod_disruption_budget_spec.k +++ b/k8s/1.23/api/policy/v1beta1/pod_disruption_budget_spec.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget_spec module in k8s.api.policy.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudgetSpec: @@ -16,7 +16,7 @@ schema PodDisruptionBudgetSpec: An eviction is allowed if at most "maxUnavailable" pods selected by "selector" are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with "minAvailable". minAvailable : int | str, default is Undefined, optional An eviction is allowed if at least "minAvailable" pods selected by "selector" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying "100%". - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional Label query over pods whose evictions are managed by the disruption budget. A null selector selects no pods. An empty selector ({}) also selects no pods, which differs from standard behavior of selecting all pods. In policy/v1, an empty selector will select all pods in the namespace. """ @@ -25,6 +25,6 @@ schema PodDisruptionBudgetSpec: minAvailable?: int | str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector diff --git a/k8s/1.23/api/policy/v1beta1/pod_disruption_budget_status.k b/k8s/1.23/api/policy/v1beta1/pod_disruption_budget_status.k index 955efb74..efd5adae 100644 --- a/k8s/1.23/api/policy/v1beta1/pod_disruption_budget_status.k +++ b/k8s/1.23/api/policy/v1beta1/pod_disruption_budget_status.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget_status module in k8s.api.policy.v1beta1 packag This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudgetStatus: @@ -12,7 +12,7 @@ schema PodDisruptionBudgetStatus: Attributes ---------- - conditions : [v1.Condition], default is Undefined, optional + conditions : [metav1.Condition], default is Undefined, optional Conditions contain conditions for PDB. The disruption controller sets the DisruptionAllowed condition. The following are known values for the reason field (additional reasons could be added in the future): - SyncFailed: The controller encountered an error and wasn't able to compute the number of allowed disruptions. Therefore no disruptions are allowed and the status of the condition will be False. @@ -37,7 +37,7 @@ schema PodDisruptionBudgetStatus: """ - conditions?: [v1.Condition] + conditions?: [metav1.Condition] currentHealthy: int diff --git a/k8s/1.23/api/policy/v1beta1/pod_security_policy.k b/k8s/1.23/api/policy/v1beta1/pod_security_policy.k index 5adb52bb..f7d9ec1a 100644 --- a/k8s/1.23/api/policy/v1beta1/pod_security_policy.k +++ b/k8s/1.23/api/policy/v1beta1/pod_security_policy.k @@ -3,7 +3,7 @@ This is the pod_security_policy module in k8s.api.policy.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodSecurityPolicy: @@ -16,7 +16,7 @@ schema PodSecurityPolicy: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PodSecurityPolicy", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PodSecurityPolicySpec, default is Undefined, optional spec defines the policy enforced. @@ -27,7 +27,7 @@ schema PodSecurityPolicy: kind: "PodSecurityPolicy" = "PodSecurityPolicy" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PodSecurityPolicySpec diff --git a/k8s/1.23/api/policy/v1beta1/pod_security_policy_list.k b/k8s/1.23/api/policy/v1beta1/pod_security_policy_list.k index 72500195..422fdc1a 100644 --- a/k8s/1.23/api/policy/v1beta1/pod_security_policy_list.k +++ b/k8s/1.23/api/policy/v1beta1/pod_security_policy_list.k @@ -3,7 +3,7 @@ This is the pod_security_policy_list module in k8s.api.policy.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodSecurityPolicyList: @@ -18,7 +18,7 @@ schema PodSecurityPolicyList: items is a list of schema objects. kind : str, default is "PodSecurityPolicyList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PodSecurityPolicyList: kind: "PodSecurityPolicyList" = "PodSecurityPolicyList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.23/api/rbac/v1/aggregation_rule.k b/k8s/1.23/api/rbac/v1/aggregation_rule.k index c7969ee4..b6898869 100644 --- a/k8s/1.23/api/rbac/v1/aggregation_rule.k +++ b/k8s/1.23/api/rbac/v1/aggregation_rule.k @@ -3,7 +3,7 @@ This is the aggregation_rule module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema AggregationRule: @@ -12,11 +12,11 @@ schema AggregationRule: Attributes ---------- - clusterRoleSelectors : [v1.LabelSelector], default is Undefined, optional + clusterRoleSelectors : [metav1.LabelSelector], default is Undefined, optional ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added """ - clusterRoleSelectors?: [v1.LabelSelector] + clusterRoleSelectors?: [metav1.LabelSelector] diff --git a/k8s/1.23/api/rbac/v1/cluster_role.k b/k8s/1.23/api/rbac/v1/cluster_role.k index fcf42d1b..d32837ea 100644 --- a/k8s/1.23/api/rbac/v1/cluster_role.k +++ b/k8s/1.23/api/rbac/v1/cluster_role.k @@ -3,7 +3,7 @@ This is the cluster_role module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRole: @@ -18,7 +18,7 @@ schema ClusterRole: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ClusterRole", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. rules : [PolicyRule], default is Undefined, optional Rules holds all the PolicyRules for this ClusterRole @@ -31,7 +31,7 @@ schema ClusterRole: kind: "ClusterRole" = "ClusterRole" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta rules?: [PolicyRule] diff --git a/k8s/1.23/api/rbac/v1/cluster_role_binding.k b/k8s/1.23/api/rbac/v1/cluster_role_binding.k index e670588e..1b2c4294 100644 --- a/k8s/1.23/api/rbac/v1/cluster_role_binding.k +++ b/k8s/1.23/api/rbac/v1/cluster_role_binding.k @@ -3,7 +3,7 @@ This is the cluster_role_binding module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleBinding: @@ -16,7 +16,7 @@ schema ClusterRoleBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ClusterRoleBinding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. roleRef : RoleRef, default is Undefined, required RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. @@ -29,7 +29,7 @@ schema ClusterRoleBinding: kind: "ClusterRoleBinding" = "ClusterRoleBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta roleRef: RoleRef diff --git a/k8s/1.23/api/rbac/v1/cluster_role_binding_list.k b/k8s/1.23/api/rbac/v1/cluster_role_binding_list.k index fd53865a..bd13f6fa 100644 --- a/k8s/1.23/api/rbac/v1/cluster_role_binding_list.k +++ b/k8s/1.23/api/rbac/v1/cluster_role_binding_list.k @@ -3,7 +3,7 @@ This is the cluster_role_binding_list module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleBindingList: @@ -18,7 +18,7 @@ schema ClusterRoleBindingList: Items is a list of ClusterRoleBindings kind : str, default is "ClusterRoleBindingList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema ClusterRoleBindingList: kind: "ClusterRoleBindingList" = "ClusterRoleBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.23/api/rbac/v1/cluster_role_list.k b/k8s/1.23/api/rbac/v1/cluster_role_list.k index 8be0e1a6..303e00aa 100644 --- a/k8s/1.23/api/rbac/v1/cluster_role_list.k +++ b/k8s/1.23/api/rbac/v1/cluster_role_list.k @@ -3,7 +3,7 @@ This is the cluster_role_list module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleList: @@ -18,7 +18,7 @@ schema ClusterRoleList: Items is a list of ClusterRoles kind : str, default is "ClusterRoleList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema ClusterRoleList: kind: "ClusterRoleList" = "ClusterRoleList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.23/api/rbac/v1/role.k b/k8s/1.23/api/rbac/v1/role.k index f72c1ab0..db02dfef 100644 --- a/k8s/1.23/api/rbac/v1/role.k +++ b/k8s/1.23/api/rbac/v1/role.k @@ -3,7 +3,7 @@ This is the role module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Role: @@ -16,7 +16,7 @@ schema Role: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Role", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. rules : [PolicyRule], default is Undefined, optional Rules holds all the PolicyRules for this Role @@ -27,7 +27,7 @@ schema Role: kind: "Role" = "Role" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta rules?: [PolicyRule] diff --git a/k8s/1.23/api/rbac/v1/role_binding.k b/k8s/1.23/api/rbac/v1/role_binding.k index a305e8b1..efa93d8c 100644 --- a/k8s/1.23/api/rbac/v1/role_binding.k +++ b/k8s/1.23/api/rbac/v1/role_binding.k @@ -3,7 +3,7 @@ This is the role_binding module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleBinding: @@ -16,7 +16,7 @@ schema RoleBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "RoleBinding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. roleRef : RoleRef, default is Undefined, required RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. @@ -29,7 +29,7 @@ schema RoleBinding: kind: "RoleBinding" = "RoleBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta roleRef: RoleRef diff --git a/k8s/1.23/api/rbac/v1/role_binding_list.k b/k8s/1.23/api/rbac/v1/role_binding_list.k index ef8b7fc8..cb8d7400 100644 --- a/k8s/1.23/api/rbac/v1/role_binding_list.k +++ b/k8s/1.23/api/rbac/v1/role_binding_list.k @@ -3,7 +3,7 @@ This is the role_binding_list module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleBindingList: @@ -18,7 +18,7 @@ schema RoleBindingList: Items is a list of RoleBindings kind : str, default is "RoleBindingList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema RoleBindingList: kind: "RoleBindingList" = "RoleBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.23/api/rbac/v1/role_list.k b/k8s/1.23/api/rbac/v1/role_list.k index 6e7826e6..d102bc0c 100644 --- a/k8s/1.23/api/rbac/v1/role_list.k +++ b/k8s/1.23/api/rbac/v1/role_list.k @@ -3,7 +3,7 @@ This is the role_list module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleList: @@ -18,7 +18,7 @@ schema RoleList: Items is a list of Roles kind : str, default is "RoleList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema RoleList: kind: "RoleList" = "RoleList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.23/api/scheduling/v1/priority_class.k b/k8s/1.23/api/scheduling/v1/priority_class.k index 1bf1a065..06085c45 100644 --- a/k8s/1.23/api/scheduling/v1/priority_class.k +++ b/k8s/1.23/api/scheduling/v1/priority_class.k @@ -3,7 +3,7 @@ This is the priority_class module in k8s.api.scheduling.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityClass: @@ -20,7 +20,7 @@ schema PriorityClass: globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority. kind : str, default is "PriorityClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata preemptionPolicy : str, default is Undefined, optional PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is beta-level, gated by the NonPreemptingPriority feature-gate. @@ -37,7 +37,7 @@ schema PriorityClass: kind: "PriorityClass" = "PriorityClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta preemptionPolicy?: str diff --git a/k8s/1.23/api/scheduling/v1/priority_class_list.k b/k8s/1.23/api/scheduling/v1/priority_class_list.k index ff802048..6d514f6b 100644 --- a/k8s/1.23/api/scheduling/v1/priority_class_list.k +++ b/k8s/1.23/api/scheduling/v1/priority_class_list.k @@ -3,7 +3,7 @@ This is the priority_class_list module in k8s.api.scheduling.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityClassList: @@ -18,7 +18,7 @@ schema PriorityClassList: items is the list of PriorityClasses kind : str, default is "PriorityClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PriorityClassList: kind: "PriorityClassList" = "PriorityClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.23/api/storage/v1/csi_driver.k b/k8s/1.23/api/storage/v1/csi_driver.k index 3302994b..cd222b2a 100644 --- a/k8s/1.23/api/storage/v1/csi_driver.k +++ b/k8s/1.23/api/storage/v1/csi_driver.k @@ -3,7 +3,7 @@ This is the csi_driver module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSIDriver: @@ -16,7 +16,7 @@ schema CSIDriver: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CSIDriver", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. metadata.Name indicates the name of the CSI driver that this object refers to; it MUST be the same name returned by the CSI GetPluginName() call for that driver. The driver name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and alphanumerics between. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : CSIDriverSpec, default is Undefined, required Specification of the CSI Driver. @@ -27,7 +27,7 @@ schema CSIDriver: kind: "CSIDriver" = "CSIDriver" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CSIDriverSpec diff --git a/k8s/1.23/api/storage/v1/csi_driver_list.k b/k8s/1.23/api/storage/v1/csi_driver_list.k index 91531b39..8b09e0f6 100644 --- a/k8s/1.23/api/storage/v1/csi_driver_list.k +++ b/k8s/1.23/api/storage/v1/csi_driver_list.k @@ -3,7 +3,7 @@ This is the csi_driver_list module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSIDriverList: @@ -18,7 +18,7 @@ schema CSIDriverList: items is the list of CSIDriver kind : str, default is "CSIDriverList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CSIDriverList: kind: "CSIDriverList" = "CSIDriverList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.23/api/storage/v1/csi_node.k b/k8s/1.23/api/storage/v1/csi_node.k index 055f8653..6557da03 100644 --- a/k8s/1.23/api/storage/v1/csi_node.k +++ b/k8s/1.23/api/storage/v1/csi_node.k @@ -3,7 +3,7 @@ This is the csi_node module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSINode: @@ -16,7 +16,7 @@ schema CSINode: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CSINode", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata.name must be the Kubernetes node name. spec : CSINodeSpec, default is Undefined, required spec is the specification of CSINode @@ -27,7 +27,7 @@ schema CSINode: kind: "CSINode" = "CSINode" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CSINodeSpec diff --git a/k8s/1.23/api/storage/v1/csi_node_list.k b/k8s/1.23/api/storage/v1/csi_node_list.k index ce5793c1..3a93da71 100644 --- a/k8s/1.23/api/storage/v1/csi_node_list.k +++ b/k8s/1.23/api/storage/v1/csi_node_list.k @@ -3,7 +3,7 @@ This is the csi_node_list module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSINodeList: @@ -18,7 +18,7 @@ schema CSINodeList: items is the list of CSINode kind : str, default is "CSINodeList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CSINodeList: kind: "CSINodeList" = "CSINodeList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.23/api/storage/v1/storage_class_list.k b/k8s/1.23/api/storage/v1/storage_class_list.k index 365e1386..284d43e8 100644 --- a/k8s/1.23/api/storage/v1/storage_class_list.k +++ b/k8s/1.23/api/storage/v1/storage_class_list.k @@ -3,7 +3,7 @@ This is the storage_class_list module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StorageClassList: @@ -18,7 +18,7 @@ schema StorageClassList: Items is the list of StorageClasses kind : str, default is "StorageClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema StorageClassList: kind: "StorageClassList" = "StorageClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.23/api/storage/v1/volume_attachment.k b/k8s/1.23/api/storage/v1/volume_attachment.k index e4b9149f..f98beff1 100644 --- a/k8s/1.23/api/storage/v1/volume_attachment.k +++ b/k8s/1.23/api/storage/v1/volume_attachment.k @@ -3,7 +3,7 @@ This is the volume_attachment module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema VolumeAttachment: @@ -18,7 +18,7 @@ schema VolumeAttachment: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "VolumeAttachment", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : VolumeAttachmentSpec, default is Undefined, required Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system. @@ -29,7 +29,7 @@ schema VolumeAttachment: kind: "VolumeAttachment" = "VolumeAttachment" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: VolumeAttachmentSpec diff --git a/k8s/1.23/api/storage/v1/volume_attachment_list.k b/k8s/1.23/api/storage/v1/volume_attachment_list.k index ef702d0d..0719d0bc 100644 --- a/k8s/1.23/api/storage/v1/volume_attachment_list.k +++ b/k8s/1.23/api/storage/v1/volume_attachment_list.k @@ -3,7 +3,7 @@ This is the volume_attachment_list module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema VolumeAttachmentList: @@ -18,7 +18,7 @@ schema VolumeAttachmentList: Items is the list of VolumeAttachments kind : str, default is "VolumeAttachmentList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema VolumeAttachmentList: kind: "VolumeAttachmentList" = "VolumeAttachmentList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.23/api/storage/v1alpha1/csi_storage_capacity.k b/k8s/1.23/api/storage/v1alpha1/csi_storage_capacity.k index 4fa5781a..2baaab88 100644 --- a/k8s/1.23/api/storage/v1alpha1/csi_storage_capacity.k +++ b/k8s/1.23/api/storage/v1alpha1/csi_storage_capacity.k @@ -3,7 +3,7 @@ This is the csi_storage_capacity module in k8s.api.storage.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSIStorageCapacity: @@ -32,13 +32,13 @@ schema CSIStorageCapacity: MaximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields. This is defined since CSI spec 1.4.0 as the largest size that may be used in a CreateVolumeRequest.capacity_range.required_bytes field to create a volume with the same parameters as those in GetCapacityRequest. The corresponding value in the Kubernetes API is ResourceRequirements.Requests in a volume claim. - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. The name has no particular meaning. It must be be a DNS subdomain (dots allowed, 253 characters). To ensure that there are no conflicts with other CSI drivers on the cluster, the recommendation is to use csisc-, a generated name, or a reverse-domain name which ends with the unique CSI driver name. Objects are namespaced. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - nodeTopology : v1.LabelSelector, default is Undefined, optional + nodeTopology : metav1.LabelSelector, default is Undefined, optional NodeTopology defines which nodes have access to the storage for which capacity was reported. If not set, the storage is not accessible from any node in the cluster. If empty, the storage is accessible from all nodes. This field is immutable. storageClassName : str, default is Undefined, required The name of the StorageClass that the reported capacity applies to. It must meet the same requirements as the name of a StorageClass object (non-empty, DNS subdomain). If that object no longer exists, the CSIStorageCapacity object is obsolete and should be removed by its creator. This field is immutable. @@ -53,9 +53,9 @@ schema CSIStorageCapacity: maximumVolumeSize?: str - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta - nodeTopology?: v1.LabelSelector + nodeTopology?: metav1.LabelSelector storageClassName: str diff --git a/k8s/1.23/api/storage/v1alpha1/csi_storage_capacity_list.k b/k8s/1.23/api/storage/v1alpha1/csi_storage_capacity_list.k index af9ec49e..10082fb8 100644 --- a/k8s/1.23/api/storage/v1alpha1/csi_storage_capacity_list.k +++ b/k8s/1.23/api/storage/v1alpha1/csi_storage_capacity_list.k @@ -3,7 +3,7 @@ This is the csi_storage_capacity_list module in k8s.api.storage.v1alpha1 package This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSIStorageCapacityList: @@ -18,7 +18,7 @@ schema CSIStorageCapacityList: Items is the list of CSIStorageCapacity objects. kind : str, default is "CSIStorageCapacityList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CSIStorageCapacityList: kind: "CSIStorageCapacityList" = "CSIStorageCapacityList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.23/api/storage/v1beta1/csi_storage_capacity.k b/k8s/1.23/api/storage/v1beta1/csi_storage_capacity.k index 45aa4016..4781a3b2 100644 --- a/k8s/1.23/api/storage/v1beta1/csi_storage_capacity.k +++ b/k8s/1.23/api/storage/v1beta1/csi_storage_capacity.k @@ -3,7 +3,7 @@ This is the csi_storage_capacity module in k8s.api.storage.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSIStorageCapacity: @@ -32,13 +32,13 @@ schema CSIStorageCapacity: MaximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields. This is defined since CSI spec 1.4.0 as the largest size that may be used in a CreateVolumeRequest.capacity_range.required_bytes field to create a volume with the same parameters as those in GetCapacityRequest. The corresponding value in the Kubernetes API is ResourceRequirements.Requests in a volume claim. - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. The name has no particular meaning. It must be be a DNS subdomain (dots allowed, 253 characters). To ensure that there are no conflicts with other CSI drivers on the cluster, the recommendation is to use csisc-, a generated name, or a reverse-domain name which ends with the unique CSI driver name. Objects are namespaced. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - nodeTopology : v1.LabelSelector, default is Undefined, optional + nodeTopology : metav1.LabelSelector, default is Undefined, optional NodeTopology defines which nodes have access to the storage for which capacity was reported. If not set, the storage is not accessible from any node in the cluster. If empty, the storage is accessible from all nodes. This field is immutable. storageClassName : str, default is Undefined, required The name of the StorageClass that the reported capacity applies to. It must meet the same requirements as the name of a StorageClass object (non-empty, DNS subdomain). If that object no longer exists, the CSIStorageCapacity object is obsolete and should be removed by its creator. This field is immutable. @@ -53,9 +53,9 @@ schema CSIStorageCapacity: maximumVolumeSize?: str - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta - nodeTopology?: v1.LabelSelector + nodeTopology?: metav1.LabelSelector storageClassName: str diff --git a/k8s/1.23/api/storage/v1beta1/csi_storage_capacity_list.k b/k8s/1.23/api/storage/v1beta1/csi_storage_capacity_list.k index d5125765..e2389f68 100644 --- a/k8s/1.23/api/storage/v1beta1/csi_storage_capacity_list.k +++ b/k8s/1.23/api/storage/v1beta1/csi_storage_capacity_list.k @@ -3,7 +3,7 @@ This is the csi_storage_capacity_list module in k8s.api.storage.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSIStorageCapacityList: @@ -18,7 +18,7 @@ schema CSIStorageCapacityList: Items is the list of CSIStorageCapacity objects. kind : str, default is "CSIStorageCapacityList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CSIStorageCapacityList: kind: "CSIStorageCapacityList" = "CSIStorageCapacityList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.23/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition.k b/k8s/1.23/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition.k index f348f6d1..5010467b 100644 --- a/k8s/1.23/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition.k +++ b/k8s/1.23/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition.k @@ -3,7 +3,7 @@ This is the custom_resource_definition module in k8s.apiextensions_apiserver.pkg This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CustomResourceDefinition: @@ -16,7 +16,7 @@ schema CustomResourceDefinition: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CustomResourceDefinition", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : CustomResourceDefinitionSpec, default is Undefined, required spec describes how the user wants the resources to appear @@ -27,7 +27,7 @@ schema CustomResourceDefinition: kind: "CustomResourceDefinition" = "CustomResourceDefinition" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CustomResourceDefinitionSpec diff --git a/k8s/1.23/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition_list.k b/k8s/1.23/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition_list.k index ca3c928b..8b625323 100644 --- a/k8s/1.23/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition_list.k +++ b/k8s/1.23/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition_list.k @@ -3,7 +3,7 @@ This is the custom_resource_definition_list module in k8s.apiextensions_apiserve This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CustomResourceDefinitionList: @@ -18,7 +18,7 @@ schema CustomResourceDefinitionList: items list individual CustomResourceDefinition objects kind : str, default is "CustomResourceDefinitionList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CustomResourceDefinitionList: kind: "CustomResourceDefinitionList" = "CustomResourceDefinitionList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.23/kcl.mod b/k8s/1.23/kcl.mod index 9fdfddca..15680fdf 100644 --- a/k8s/1.23/kcl.mod +++ b/k8s/1.23/kcl.mod @@ -1,5 +1,5 @@ [package] name = "k8s" edition = "*" -version = "1.23.1" +version = "1.23.2" description = "`k8s` is a KCL module contains all the built-in Kubernetes resource models (the CRDs are not included here)." diff --git a/k8s/1.23/kube_aggregator/pkg/apis/apiregistration/v1/api_service.k b/k8s/1.23/kube_aggregator/pkg/apis/apiregistration/v1/api_service.k index 89028f12..7b645741 100644 --- a/k8s/1.23/kube_aggregator/pkg/apis/apiregistration/v1/api_service.k +++ b/k8s/1.23/kube_aggregator/pkg/apis/apiregistration/v1/api_service.k @@ -3,7 +3,7 @@ This is the api_service module in k8s.kube_aggregator.pkg.apis.apiregistration.v This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema APIService: @@ -16,7 +16,7 @@ schema APIService: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "APIService", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : APIServiceSpec, default is Undefined, optional Spec contains information for locating and communicating with a server @@ -27,7 +27,7 @@ schema APIService: kind: "APIService" = "APIService" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: APIServiceSpec diff --git a/k8s/1.23/kube_aggregator/pkg/apis/apiregistration/v1/api_service_list.k b/k8s/1.23/kube_aggregator/pkg/apis/apiregistration/v1/api_service_list.k index acf02534..3a385202 100644 --- a/k8s/1.23/kube_aggregator/pkg/apis/apiregistration/v1/api_service_list.k +++ b/k8s/1.23/kube_aggregator/pkg/apis/apiregistration/v1/api_service_list.k @@ -3,7 +3,7 @@ This is the api_service_list module in k8s.kube_aggregator.pkg.apis.apiregistrat This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema APIServiceList: @@ -18,7 +18,7 @@ schema APIServiceList: Items is the list of APIService kind : str, default is "APIServiceList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema APIServiceList: kind: "APIServiceList" = "APIServiceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.24/api/admissionregistration/v1/mutating_webhook.k b/k8s/1.24/api/admissionregistration/v1/mutating_webhook.k index 4743ed83..d250f3db 100644 --- a/k8s/1.24/api/admissionregistration/v1/mutating_webhook.k +++ b/k8s/1.24/api/admissionregistration/v1/mutating_webhook.k @@ -3,7 +3,7 @@ This is the mutating_webhook module in k8s.api.admissionregistration.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MutatingWebhook: @@ -28,7 +28,7 @@ schema MutatingWebhook: Defaults to "Equivalent" name : str, default is Undefined, required The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook. For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1"; you will set the selector as follows: "namespaceSelector": { @@ -60,7 +60,7 @@ schema MutatingWebhook: See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors. Default to the empty LabelSelector, which matches everything. - objectSelector : v1.LabelSelector, default is Undefined, optional + objectSelector : metav1.LabelSelector, default is Undefined, optional ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything. reinvocationPolicy : str, default is Undefined, optional reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded". @@ -89,9 +89,9 @@ schema MutatingWebhook: name: str - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector - objectSelector?: v1.LabelSelector + objectSelector?: metav1.LabelSelector reinvocationPolicy?: str diff --git a/k8s/1.24/api/admissionregistration/v1/mutating_webhook_configuration.k b/k8s/1.24/api/admissionregistration/v1/mutating_webhook_configuration.k index a9864b32..0c970740 100644 --- a/k8s/1.24/api/admissionregistration/v1/mutating_webhook_configuration.k +++ b/k8s/1.24/api/admissionregistration/v1/mutating_webhook_configuration.k @@ -3,7 +3,7 @@ This is the mutating_webhook_configuration module in k8s.api.admissionregistrati This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MutatingWebhookConfiguration: @@ -16,7 +16,7 @@ schema MutatingWebhookConfiguration: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "MutatingWebhookConfiguration", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. webhooks : [MutatingWebhook], default is Undefined, optional Webhooks is a list of webhooks and the affected resources and operations. @@ -27,7 +27,7 @@ schema MutatingWebhookConfiguration: kind: "MutatingWebhookConfiguration" = "MutatingWebhookConfiguration" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta webhooks?: [MutatingWebhook] diff --git a/k8s/1.24/api/admissionregistration/v1/mutating_webhook_configuration_list.k b/k8s/1.24/api/admissionregistration/v1/mutating_webhook_configuration_list.k index d4e15e81..b6fd6022 100644 --- a/k8s/1.24/api/admissionregistration/v1/mutating_webhook_configuration_list.k +++ b/k8s/1.24/api/admissionregistration/v1/mutating_webhook_configuration_list.k @@ -3,7 +3,7 @@ This is the mutating_webhook_configuration_list module in k8s.api.admissionregis This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MutatingWebhookConfigurationList: @@ -18,7 +18,7 @@ schema MutatingWebhookConfigurationList: List of MutatingWebhookConfiguration. kind : str, default is "MutatingWebhookConfigurationList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema MutatingWebhookConfigurationList: kind: "MutatingWebhookConfigurationList" = "MutatingWebhookConfigurationList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.24/api/admissionregistration/v1/validating_webhook.k b/k8s/1.24/api/admissionregistration/v1/validating_webhook.k index afc5dc6a..efec1e6a 100644 --- a/k8s/1.24/api/admissionregistration/v1/validating_webhook.k +++ b/k8s/1.24/api/admissionregistration/v1/validating_webhook.k @@ -3,7 +3,7 @@ This is the validating_webhook module in k8s.api.admissionregistration.v1 packag This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingWebhook: @@ -28,7 +28,7 @@ schema ValidatingWebhook: Defaults to "Equivalent" name : str, default is Undefined, required The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook. For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1"; you will set the selector as follows: "namespaceSelector": { @@ -60,7 +60,7 @@ schema ValidatingWebhook: See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels for more examples of label selectors. Default to the empty LabelSelector, which matches everything. - objectSelector : v1.LabelSelector, default is Undefined, optional + objectSelector : metav1.LabelSelector, default is Undefined, optional ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything. rules : [RuleWithOperations], default is Undefined, optional Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects. @@ -81,9 +81,9 @@ schema ValidatingWebhook: name: str - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector - objectSelector?: v1.LabelSelector + objectSelector?: metav1.LabelSelector rules?: [RuleWithOperations] diff --git a/k8s/1.24/api/admissionregistration/v1/validating_webhook_configuration.k b/k8s/1.24/api/admissionregistration/v1/validating_webhook_configuration.k index 2b45293a..e35bb335 100644 --- a/k8s/1.24/api/admissionregistration/v1/validating_webhook_configuration.k +++ b/k8s/1.24/api/admissionregistration/v1/validating_webhook_configuration.k @@ -3,7 +3,7 @@ This is the validating_webhook_configuration module in k8s.api.admissionregistra This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingWebhookConfiguration: @@ -16,7 +16,7 @@ schema ValidatingWebhookConfiguration: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ValidatingWebhookConfiguration", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. webhooks : [ValidatingWebhook], default is Undefined, optional Webhooks is a list of webhooks and the affected resources and operations. @@ -27,7 +27,7 @@ schema ValidatingWebhookConfiguration: kind: "ValidatingWebhookConfiguration" = "ValidatingWebhookConfiguration" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta webhooks?: [ValidatingWebhook] diff --git a/k8s/1.24/api/admissionregistration/v1/validating_webhook_configuration_list.k b/k8s/1.24/api/admissionregistration/v1/validating_webhook_configuration_list.k index 0515b188..2691da1c 100644 --- a/k8s/1.24/api/admissionregistration/v1/validating_webhook_configuration_list.k +++ b/k8s/1.24/api/admissionregistration/v1/validating_webhook_configuration_list.k @@ -3,7 +3,7 @@ This is the validating_webhook_configuration_list module in k8s.api.admissionreg This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingWebhookConfigurationList: @@ -18,7 +18,7 @@ schema ValidatingWebhookConfigurationList: List of ValidatingWebhookConfiguration. kind : str, default is "ValidatingWebhookConfigurationList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ValidatingWebhookConfigurationList: kind: "ValidatingWebhookConfigurationList" = "ValidatingWebhookConfigurationList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.24/api/apiserverinternal/v1alpha1/storage_version.k b/k8s/1.24/api/apiserverinternal/v1alpha1/storage_version.k index 4e3de9df..9723ca14 100644 --- a/k8s/1.24/api/apiserverinternal/v1alpha1/storage_version.k +++ b/k8s/1.24/api/apiserverinternal/v1alpha1/storage_version.k @@ -3,7 +3,7 @@ This is the storage_version module in k8s.api.apiserverinternal.v1alpha1 package This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StorageVersion: @@ -16,7 +16,7 @@ schema StorageVersion: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "StorageVersion", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional The name is .. spec : any, default is Undefined, required Spec is an empty spec. It is here to comply with Kubernetes API style. @@ -27,7 +27,7 @@ schema StorageVersion: kind: "StorageVersion" = "StorageVersion" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: any diff --git a/k8s/1.24/api/apiserverinternal/v1alpha1/storage_version_list.k b/k8s/1.24/api/apiserverinternal/v1alpha1/storage_version_list.k index 1da65e55..a75d5c84 100644 --- a/k8s/1.24/api/apiserverinternal/v1alpha1/storage_version_list.k +++ b/k8s/1.24/api/apiserverinternal/v1alpha1/storage_version_list.k @@ -3,7 +3,7 @@ This is the storage_version_list module in k8s.api.apiserverinternal.v1alpha1 pa This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StorageVersionList: @@ -18,7 +18,7 @@ schema StorageVersionList: Items holds a list of StorageVersion kind : str, default is "StorageVersionList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema StorageVersionList: kind: "StorageVersionList" = "StorageVersionList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.24/api/apps/v1/controller_revision.k b/k8s/1.24/api/apps/v1/controller_revision.k index dbb3d441..56163182 100644 --- a/k8s/1.24/api/apps/v1/controller_revision.k +++ b/k8s/1.24/api/apps/v1/controller_revision.k @@ -3,7 +3,7 @@ This is the controller_revision module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ControllerRevision: @@ -18,7 +18,7 @@ schema ControllerRevision: Data is the serialized representation of the state. kind : str, default is "ControllerRevision", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata revision : int, default is Undefined, required Revision indicates the revision of the state represented by Data. @@ -31,7 +31,7 @@ schema ControllerRevision: kind: "ControllerRevision" = "ControllerRevision" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta revision: int diff --git a/k8s/1.24/api/apps/v1/controller_revision_list.k b/k8s/1.24/api/apps/v1/controller_revision_list.k index e145fcff..bb64d1fe 100644 --- a/k8s/1.24/api/apps/v1/controller_revision_list.k +++ b/k8s/1.24/api/apps/v1/controller_revision_list.k @@ -3,7 +3,7 @@ This is the controller_revision_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ControllerRevisionList: @@ -18,7 +18,7 @@ schema ControllerRevisionList: Items is the list of ControllerRevisions kind : str, default is "ControllerRevisionList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema ControllerRevisionList: kind: "ControllerRevisionList" = "ControllerRevisionList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.24/api/apps/v1/daemon_set.k b/k8s/1.24/api/apps/v1/daemon_set.k index 33e7b68b..fd1c7c20 100644 --- a/k8s/1.24/api/apps/v1/daemon_set.k +++ b/k8s/1.24/api/apps/v1/daemon_set.k @@ -3,7 +3,7 @@ This is the daemon_set module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DaemonSet: @@ -16,7 +16,7 @@ schema DaemonSet: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "DaemonSet", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : DaemonSetSpec, default is Undefined, optional The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema DaemonSet: kind: "DaemonSet" = "DaemonSet" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: DaemonSetSpec diff --git a/k8s/1.24/api/apps/v1/daemon_set_list.k b/k8s/1.24/api/apps/v1/daemon_set_list.k index 3515d999..795c26f8 100644 --- a/k8s/1.24/api/apps/v1/daemon_set_list.k +++ b/k8s/1.24/api/apps/v1/daemon_set_list.k @@ -3,7 +3,7 @@ This is the daemon_set_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DaemonSetList: @@ -18,7 +18,7 @@ schema DaemonSetList: A list of daemon sets. kind : str, default is "DaemonSetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema DaemonSetList: kind: "DaemonSetList" = "DaemonSetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.24/api/apps/v1/daemon_set_spec.k b/k8s/1.24/api/apps/v1/daemon_set_spec.k index caf3faf8..352f849c 100644 --- a/k8s/1.24/api/apps/v1/daemon_set_spec.k +++ b/k8s/1.24/api/apps/v1/daemon_set_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DaemonSetSpec: @@ -17,7 +17,7 @@ schema DaemonSetSpec: The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready). revisionHistoryLimit : int, default is Undefined, optional The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required A label query over pods that are managed by the daemon set. Must match in order to be controlled. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors template : corev1.PodTemplateSpec, default is Undefined, required An object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template @@ -30,7 +30,7 @@ schema DaemonSetSpec: revisionHistoryLimit?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector template: corev1.PodTemplateSpec diff --git a/k8s/1.24/api/apps/v1/deployment.k b/k8s/1.24/api/apps/v1/deployment.k index 38b5af9e..12cf0b73 100644 --- a/k8s/1.24/api/apps/v1/deployment.k +++ b/k8s/1.24/api/apps/v1/deployment.k @@ -3,7 +3,7 @@ This is the deployment module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Deployment: @@ -16,7 +16,7 @@ schema Deployment: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Deployment", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : DeploymentSpec, default is Undefined, optional Specification of the desired behavior of the Deployment. @@ -27,7 +27,7 @@ schema Deployment: kind: "Deployment" = "Deployment" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: DeploymentSpec diff --git a/k8s/1.24/api/apps/v1/deployment_list.k b/k8s/1.24/api/apps/v1/deployment_list.k index a83ce0d5..8fa44e9b 100644 --- a/k8s/1.24/api/apps/v1/deployment_list.k +++ b/k8s/1.24/api/apps/v1/deployment_list.k @@ -3,7 +3,7 @@ This is the deployment_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DeploymentList: @@ -18,7 +18,7 @@ schema DeploymentList: Items is the list of Deployments. kind : str, default is "DeploymentList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema DeploymentList: kind: "DeploymentList" = "DeploymentList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.24/api/apps/v1/deployment_spec.k b/k8s/1.24/api/apps/v1/deployment_spec.k index b8591d9a..c0f14ef0 100644 --- a/k8s/1.24/api/apps/v1/deployment_spec.k +++ b/k8s/1.24/api/apps/v1/deployment_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DeploymentSpec: @@ -23,7 +23,7 @@ schema DeploymentSpec: Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1. revisionHistoryLimit : int, default is Undefined, optional The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. It must match the pod template's labels. strategy : DeploymentStrategy, default is Undefined, optional The deployment strategy to use to replace existing pods with new ones. @@ -42,7 +42,7 @@ schema DeploymentSpec: revisionHistoryLimit?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector strategy?: DeploymentStrategy diff --git a/k8s/1.24/api/apps/v1/replica_set.k b/k8s/1.24/api/apps/v1/replica_set.k index 0497ff66..79552175 100644 --- a/k8s/1.24/api/apps/v1/replica_set.k +++ b/k8s/1.24/api/apps/v1/replica_set.k @@ -3,7 +3,7 @@ This is the replica_set module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicaSet: @@ -16,7 +16,7 @@ schema ReplicaSet: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ReplicaSet", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : ReplicaSetSpec, default is Undefined, optional Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema ReplicaSet: kind: "ReplicaSet" = "ReplicaSet" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ReplicaSetSpec diff --git a/k8s/1.24/api/apps/v1/replica_set_list.k b/k8s/1.24/api/apps/v1/replica_set_list.k index 0e25bef7..689ca9bb 100644 --- a/k8s/1.24/api/apps/v1/replica_set_list.k +++ b/k8s/1.24/api/apps/v1/replica_set_list.k @@ -3,7 +3,7 @@ This is the replica_set_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicaSetList: @@ -18,7 +18,7 @@ schema ReplicaSetList: List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller kind : str, default is "ReplicaSetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ReplicaSetList: kind: "ReplicaSetList" = "ReplicaSetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.24/api/apps/v1/replica_set_spec.k b/k8s/1.24/api/apps/v1/replica_set_spec.k index 700810d3..53ae3f6f 100644 --- a/k8s/1.24/api/apps/v1/replica_set_spec.k +++ b/k8s/1.24/api/apps/v1/replica_set_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicaSetSpec: @@ -17,7 +17,7 @@ schema ReplicaSetSpec: Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) replicas : int, default is Undefined, optional Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required Selector is a label query over pods that should match the replica count. Label keys and values that must match in order to be controlled by this replica set. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors template : corev1.PodTemplateSpec, default is Undefined, optional Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template @@ -28,7 +28,7 @@ schema ReplicaSetSpec: replicas?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector template?: corev1.PodTemplateSpec diff --git a/k8s/1.24/api/apps/v1/stateful_set.k b/k8s/1.24/api/apps/v1/stateful_set.k index c3b7106d..18d52ced 100644 --- a/k8s/1.24/api/apps/v1/stateful_set.k +++ b/k8s/1.24/api/apps/v1/stateful_set.k @@ -3,7 +3,7 @@ This is the stateful_set module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StatefulSet: @@ -20,7 +20,7 @@ schema StatefulSet: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "StatefulSet", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : StatefulSetSpec, default is Undefined, optional Spec defines the desired identities of pods in this set. @@ -31,7 +31,7 @@ schema StatefulSet: kind: "StatefulSet" = "StatefulSet" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: StatefulSetSpec diff --git a/k8s/1.24/api/apps/v1/stateful_set_list.k b/k8s/1.24/api/apps/v1/stateful_set_list.k index 2eec95d8..441abc55 100644 --- a/k8s/1.24/api/apps/v1/stateful_set_list.k +++ b/k8s/1.24/api/apps/v1/stateful_set_list.k @@ -3,7 +3,7 @@ This is the stateful_set_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StatefulSetList: @@ -18,7 +18,7 @@ schema StatefulSetList: Items is the list of stateful sets. kind : str, default is "StatefulSetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema StatefulSetList: kind: "StatefulSetList" = "StatefulSetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.24/api/apps/v1/stateful_set_spec.k b/k8s/1.24/api/apps/v1/stateful_set_spec.k index d57e7ed3..30d12a13 100644 --- a/k8s/1.24/api/apps/v1/stateful_set_spec.k +++ b/k8s/1.24/api/apps/v1/stateful_set_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StatefulSetSpec: @@ -25,7 +25,7 @@ schema StatefulSetSpec: replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1. revisionHistoryLimit : int, default is Undefined, optional revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10. - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required selector is a label query over pods that should match the replica count. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors serviceName : str, default is Undefined, required serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where "pod-specific-string" is managed by the StatefulSet controller. @@ -48,7 +48,7 @@ schema StatefulSetSpec: revisionHistoryLimit?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector serviceName: str diff --git a/k8s/1.24/api/authentication/v1/token_request.k b/k8s/1.24/api/authentication/v1/token_request.k index 429ebd8e..477cf85e 100644 --- a/k8s/1.24/api/authentication/v1/token_request.k +++ b/k8s/1.24/api/authentication/v1/token_request.k @@ -3,7 +3,7 @@ This is the token_request module in k8s.api.authentication.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema TokenRequest: @@ -16,7 +16,7 @@ schema TokenRequest: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "TokenRequest", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : TokenRequestSpec, default is Undefined, required Spec holds information about the request being evaluated @@ -27,7 +27,7 @@ schema TokenRequest: kind: "TokenRequest" = "TokenRequest" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: TokenRequestSpec diff --git a/k8s/1.24/api/authentication/v1/token_review.k b/k8s/1.24/api/authentication/v1/token_review.k index 62c61db1..349936f3 100644 --- a/k8s/1.24/api/authentication/v1/token_review.k +++ b/k8s/1.24/api/authentication/v1/token_review.k @@ -3,7 +3,7 @@ This is the token_review module in k8s.api.authentication.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema TokenReview: @@ -16,7 +16,7 @@ schema TokenReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "TokenReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : TokenReviewSpec, default is Undefined, required Spec holds information about the request being evaluated @@ -27,7 +27,7 @@ schema TokenReview: kind: "TokenReview" = "TokenReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: TokenReviewSpec diff --git a/k8s/1.24/api/authorization/v1/local_subject_access_review.k b/k8s/1.24/api/authorization/v1/local_subject_access_review.k index 79b08fbe..4cf5723a 100644 --- a/k8s/1.24/api/authorization/v1/local_subject_access_review.k +++ b/k8s/1.24/api/authorization/v1/local_subject_access_review.k @@ -3,7 +3,7 @@ This is the local_subject_access_review module in k8s.api.authorization.v1 packa This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LocalSubjectAccessReview: @@ -16,7 +16,7 @@ schema LocalSubjectAccessReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "LocalSubjectAccessReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : SubjectAccessReviewSpec, default is Undefined, required Spec holds information about the request being evaluated. spec.namespace must be equal to the namespace you made the request against. If empty, it is defaulted. @@ -27,7 +27,7 @@ schema LocalSubjectAccessReview: kind: "LocalSubjectAccessReview" = "LocalSubjectAccessReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SubjectAccessReviewSpec diff --git a/k8s/1.24/api/authorization/v1/self_subject_access_review.k b/k8s/1.24/api/authorization/v1/self_subject_access_review.k index 4fd1e21e..d32833e7 100644 --- a/k8s/1.24/api/authorization/v1/self_subject_access_review.k +++ b/k8s/1.24/api/authorization/v1/self_subject_access_review.k @@ -3,7 +3,7 @@ This is the self_subject_access_review module in k8s.api.authorization.v1 packag This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SelfSubjectAccessReview: @@ -16,7 +16,7 @@ schema SelfSubjectAccessReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SelfSubjectAccessReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : SelfSubjectAccessReviewSpec, default is Undefined, required Spec holds information about the request being evaluated. user and groups must be empty @@ -27,7 +27,7 @@ schema SelfSubjectAccessReview: kind: "SelfSubjectAccessReview" = "SelfSubjectAccessReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SelfSubjectAccessReviewSpec diff --git a/k8s/1.24/api/authorization/v1/self_subject_rules_review.k b/k8s/1.24/api/authorization/v1/self_subject_rules_review.k index a29ee599..baaf47ac 100644 --- a/k8s/1.24/api/authorization/v1/self_subject_rules_review.k +++ b/k8s/1.24/api/authorization/v1/self_subject_rules_review.k @@ -3,7 +3,7 @@ This is the self_subject_rules_review module in k8s.api.authorization.v1 package This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SelfSubjectRulesReview: @@ -16,7 +16,7 @@ schema SelfSubjectRulesReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SelfSubjectRulesReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : SelfSubjectRulesReviewSpec, default is Undefined, required Spec holds information about the request being evaluated. @@ -27,7 +27,7 @@ schema SelfSubjectRulesReview: kind: "SelfSubjectRulesReview" = "SelfSubjectRulesReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SelfSubjectRulesReviewSpec diff --git a/k8s/1.24/api/authorization/v1/subject_access_review.k b/k8s/1.24/api/authorization/v1/subject_access_review.k index 9d15bdb3..d054d8f5 100644 --- a/k8s/1.24/api/authorization/v1/subject_access_review.k +++ b/k8s/1.24/api/authorization/v1/subject_access_review.k @@ -3,7 +3,7 @@ This is the subject_access_review module in k8s.api.authorization.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SubjectAccessReview: @@ -16,7 +16,7 @@ schema SubjectAccessReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SubjectAccessReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : SubjectAccessReviewSpec, default is Undefined, required Spec holds information about the request being evaluated @@ -27,7 +27,7 @@ schema SubjectAccessReview: kind: "SubjectAccessReview" = "SubjectAccessReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SubjectAccessReviewSpec diff --git a/k8s/1.24/api/autoscaling/v1/horizontal_pod_autoscaler.k b/k8s/1.24/api/autoscaling/v1/horizontal_pod_autoscaler.k index eea68027..b81a2839 100644 --- a/k8s/1.24/api/autoscaling/v1/horizontal_pod_autoscaler.k +++ b/k8s/1.24/api/autoscaling/v1/horizontal_pod_autoscaler.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler module in k8s.api.autoscaling.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscaler: @@ -16,7 +16,7 @@ schema HorizontalPodAutoscaler: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "HorizontalPodAutoscaler", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : HorizontalPodAutoscalerSpec, default is Undefined, optional behaviour of autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema HorizontalPodAutoscaler: kind: "HorizontalPodAutoscaler" = "HorizontalPodAutoscaler" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: HorizontalPodAutoscalerSpec diff --git a/k8s/1.24/api/autoscaling/v1/horizontal_pod_autoscaler_list.k b/k8s/1.24/api/autoscaling/v1/horizontal_pod_autoscaler_list.k index 829f7b8b..40a58fe3 100644 --- a/k8s/1.24/api/autoscaling/v1/horizontal_pod_autoscaler_list.k +++ b/k8s/1.24/api/autoscaling/v1/horizontal_pod_autoscaler_list.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler_list module in k8s.api.autoscaling.v1 pack This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscalerList: @@ -18,7 +18,7 @@ schema HorizontalPodAutoscalerList: list of horizontal pod autoscaler objects. kind : str, default is "HorizontalPodAutoscalerList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema HorizontalPodAutoscalerList: kind: "HorizontalPodAutoscalerList" = "HorizontalPodAutoscalerList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.24/api/autoscaling/v1/scale.k b/k8s/1.24/api/autoscaling/v1/scale.k index d9bbdae4..1466aa0e 100644 --- a/k8s/1.24/api/autoscaling/v1/scale.k +++ b/k8s/1.24/api/autoscaling/v1/scale.k @@ -3,7 +3,7 @@ This is the scale module in k8s.api.autoscaling.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Scale: @@ -16,7 +16,7 @@ schema Scale: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Scale", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. spec : ScaleSpec, default is Undefined, optional defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema Scale: kind: "Scale" = "Scale" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ScaleSpec diff --git a/k8s/1.24/api/autoscaling/v2/horizontal_pod_autoscaler.k b/k8s/1.24/api/autoscaling/v2/horizontal_pod_autoscaler.k index 45093baf..80ed131b 100644 --- a/k8s/1.24/api/autoscaling/v2/horizontal_pod_autoscaler.k +++ b/k8s/1.24/api/autoscaling/v2/horizontal_pod_autoscaler.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler module in k8s.api.autoscaling.v2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscaler: @@ -16,7 +16,7 @@ schema HorizontalPodAutoscaler: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "HorizontalPodAutoscaler", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : HorizontalPodAutoscalerSpec, default is Undefined, optional spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema HorizontalPodAutoscaler: kind: "HorizontalPodAutoscaler" = "HorizontalPodAutoscaler" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: HorizontalPodAutoscalerSpec diff --git a/k8s/1.24/api/autoscaling/v2/horizontal_pod_autoscaler_list.k b/k8s/1.24/api/autoscaling/v2/horizontal_pod_autoscaler_list.k index 07b059fb..87bfa8bf 100644 --- a/k8s/1.24/api/autoscaling/v2/horizontal_pod_autoscaler_list.k +++ b/k8s/1.24/api/autoscaling/v2/horizontal_pod_autoscaler_list.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler_list module in k8s.api.autoscaling.v2 pack This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscalerList: @@ -18,7 +18,7 @@ schema HorizontalPodAutoscalerList: items is the list of horizontal pod autoscaler objects. kind : str, default is "HorizontalPodAutoscalerList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata is the standard list metadata. """ @@ -29,6 +29,6 @@ schema HorizontalPodAutoscalerList: kind: "HorizontalPodAutoscalerList" = "HorizontalPodAutoscalerList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.24/api/autoscaling/v2/metric_identifier.k b/k8s/1.24/api/autoscaling/v2/metric_identifier.k index d1538fb1..df0007a9 100644 --- a/k8s/1.24/api/autoscaling/v2/metric_identifier.k +++ b/k8s/1.24/api/autoscaling/v2/metric_identifier.k @@ -3,7 +3,7 @@ This is the metric_identifier module in k8s.api.autoscaling.v2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MetricIdentifier: @@ -14,13 +14,13 @@ schema MetricIdentifier: ---------- name : str, default is Undefined, required name is the name of the given metric - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics. """ name: str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector diff --git a/k8s/1.24/api/autoscaling/v2beta1/external_metric_source.k b/k8s/1.24/api/autoscaling/v2beta1/external_metric_source.k index 23887048..b1ff85f3 100644 --- a/k8s/1.24/api/autoscaling/v2beta1/external_metric_source.k +++ b/k8s/1.24/api/autoscaling/v2beta1/external_metric_source.k @@ -3,7 +3,7 @@ This is the external_metric_source module in k8s.api.autoscaling.v2beta1 package This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ExternalMetricSource: @@ -14,7 +14,7 @@ schema ExternalMetricSource: ---------- metricName : str, default is Undefined, required metricName is the name of the metric in question. - metricSelector : v1.LabelSelector, default is Undefined, optional + metricSelector : metav1.LabelSelector, default is Undefined, optional metricSelector is used to identify a specific time series within a given metric. targetAverageValue : str, default is Undefined, optional targetAverageValue is the target per-pod value of global metric (as a quantity). Mutually exclusive with TargetValue. @@ -25,7 +25,7 @@ schema ExternalMetricSource: metricName: str - metricSelector?: v1.LabelSelector + metricSelector?: metav1.LabelSelector targetAverageValue?: str diff --git a/k8s/1.24/api/autoscaling/v2beta1/external_metric_status.k b/k8s/1.24/api/autoscaling/v2beta1/external_metric_status.k index 507ffd14..39a87bad 100644 --- a/k8s/1.24/api/autoscaling/v2beta1/external_metric_status.k +++ b/k8s/1.24/api/autoscaling/v2beta1/external_metric_status.k @@ -3,7 +3,7 @@ This is the external_metric_status module in k8s.api.autoscaling.v2beta1 package This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ExternalMetricStatus: @@ -18,7 +18,7 @@ schema ExternalMetricStatus: currentValue is the current value of the metric (as a quantity) metricName : str, default is Undefined, required metricName is the name of a metric used for autoscaling in metric system. - metricSelector : v1.LabelSelector, default is Undefined, optional + metricSelector : metav1.LabelSelector, default is Undefined, optional metricSelector is used to identify a specific time series within a given metric. """ @@ -29,6 +29,6 @@ schema ExternalMetricStatus: metricName: str - metricSelector?: v1.LabelSelector + metricSelector?: metav1.LabelSelector diff --git a/k8s/1.24/api/autoscaling/v2beta1/horizontal_pod_autoscaler.k b/k8s/1.24/api/autoscaling/v2beta1/horizontal_pod_autoscaler.k index 47c8b64c..4ea3ff99 100644 --- a/k8s/1.24/api/autoscaling/v2beta1/horizontal_pod_autoscaler.k +++ b/k8s/1.24/api/autoscaling/v2beta1/horizontal_pod_autoscaler.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler module in k8s.api.autoscaling.v2beta1 pack This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscaler: @@ -16,7 +16,7 @@ schema HorizontalPodAutoscaler: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "HorizontalPodAutoscaler", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : HorizontalPodAutoscalerSpec, default is Undefined, optional spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema HorizontalPodAutoscaler: kind: "HorizontalPodAutoscaler" = "HorizontalPodAutoscaler" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: HorizontalPodAutoscalerSpec diff --git a/k8s/1.24/api/autoscaling/v2beta1/horizontal_pod_autoscaler_list.k b/k8s/1.24/api/autoscaling/v2beta1/horizontal_pod_autoscaler_list.k index 95381428..4629310f 100644 --- a/k8s/1.24/api/autoscaling/v2beta1/horizontal_pod_autoscaler_list.k +++ b/k8s/1.24/api/autoscaling/v2beta1/horizontal_pod_autoscaler_list.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler_list module in k8s.api.autoscaling.v2beta1 This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscalerList: @@ -18,7 +18,7 @@ schema HorizontalPodAutoscalerList: items is the list of horizontal pod autoscaler objects. kind : str, default is "HorizontalPodAutoscalerList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata is the standard list metadata. """ @@ -29,6 +29,6 @@ schema HorizontalPodAutoscalerList: kind: "HorizontalPodAutoscalerList" = "HorizontalPodAutoscalerList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.24/api/autoscaling/v2beta1/object_metric_source.k b/k8s/1.24/api/autoscaling/v2beta1/object_metric_source.k index a8ff4213..af8d307f 100644 --- a/k8s/1.24/api/autoscaling/v2beta1/object_metric_source.k +++ b/k8s/1.24/api/autoscaling/v2beta1/object_metric_source.k @@ -3,7 +3,7 @@ This is the object_metric_source module in k8s.api.autoscaling.v2beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ObjectMetricSource: @@ -16,7 +16,7 @@ schema ObjectMetricSource: averageValue is the target value of the average of the metric across all relevant pods (as a quantity) metricName : str, default is Undefined, required metricName is the name of the metric in question. - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics. target : CrossVersionObjectReference, default is Undefined, required target is the described Kubernetes object. @@ -29,7 +29,7 @@ schema ObjectMetricSource: metricName: str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector target: CrossVersionObjectReference diff --git a/k8s/1.24/api/autoscaling/v2beta1/object_metric_status.k b/k8s/1.24/api/autoscaling/v2beta1/object_metric_status.k index 39aeb9de..b7054bd5 100644 --- a/k8s/1.24/api/autoscaling/v2beta1/object_metric_status.k +++ b/k8s/1.24/api/autoscaling/v2beta1/object_metric_status.k @@ -3,7 +3,7 @@ This is the object_metric_status module in k8s.api.autoscaling.v2beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ObjectMetricStatus: @@ -18,7 +18,7 @@ schema ObjectMetricStatus: currentValue is the current value of the metric (as a quantity). metricName : str, default is Undefined, required metricName is the name of the metric in question. - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the ObjectMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics. target : CrossVersionObjectReference, default is Undefined, required target is the described Kubernetes object. @@ -31,7 +31,7 @@ schema ObjectMetricStatus: metricName: str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector target: CrossVersionObjectReference diff --git a/k8s/1.24/api/autoscaling/v2beta1/pods_metric_source.k b/k8s/1.24/api/autoscaling/v2beta1/pods_metric_source.k index ee0111ef..850fcd7b 100644 --- a/k8s/1.24/api/autoscaling/v2beta1/pods_metric_source.k +++ b/k8s/1.24/api/autoscaling/v2beta1/pods_metric_source.k @@ -3,7 +3,7 @@ This is the pods_metric_source module in k8s.api.autoscaling.v2beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodsMetricSource: @@ -14,7 +14,7 @@ schema PodsMetricSource: ---------- metricName : str, default is Undefined, required metricName is the name of the metric in question - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics. targetAverageValue : str, default is Undefined, required targetAverageValue is the target value of the average of the metric across all relevant pods (as a quantity) @@ -23,7 +23,7 @@ schema PodsMetricSource: metricName: str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector targetAverageValue: str diff --git a/k8s/1.24/api/autoscaling/v2beta1/pods_metric_status.k b/k8s/1.24/api/autoscaling/v2beta1/pods_metric_status.k index 2d8c30c0..0792b4d4 100644 --- a/k8s/1.24/api/autoscaling/v2beta1/pods_metric_status.k +++ b/k8s/1.24/api/autoscaling/v2beta1/pods_metric_status.k @@ -3,7 +3,7 @@ This is the pods_metric_status module in k8s.api.autoscaling.v2beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodsMetricStatus: @@ -16,7 +16,7 @@ schema PodsMetricStatus: currentAverageValue is the current value of the average of the metric across all relevant pods (as a quantity) metricName : str, default is Undefined, required metricName is the name of the metric in question - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the PodsMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics. """ @@ -25,6 +25,6 @@ schema PodsMetricStatus: metricName: str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector diff --git a/k8s/1.24/api/autoscaling/v2beta2/horizontal_pod_autoscaler.k b/k8s/1.24/api/autoscaling/v2beta2/horizontal_pod_autoscaler.k index 9ab9ca42..fb10b245 100644 --- a/k8s/1.24/api/autoscaling/v2beta2/horizontal_pod_autoscaler.k +++ b/k8s/1.24/api/autoscaling/v2beta2/horizontal_pod_autoscaler.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler module in k8s.api.autoscaling.v2beta2 pack This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscaler: @@ -16,7 +16,7 @@ schema HorizontalPodAutoscaler: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "HorizontalPodAutoscaler", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : HorizontalPodAutoscalerSpec, default is Undefined, optional spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema HorizontalPodAutoscaler: kind: "HorizontalPodAutoscaler" = "HorizontalPodAutoscaler" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: HorizontalPodAutoscalerSpec diff --git a/k8s/1.24/api/autoscaling/v2beta2/horizontal_pod_autoscaler_list.k b/k8s/1.24/api/autoscaling/v2beta2/horizontal_pod_autoscaler_list.k index ad127934..152be58d 100644 --- a/k8s/1.24/api/autoscaling/v2beta2/horizontal_pod_autoscaler_list.k +++ b/k8s/1.24/api/autoscaling/v2beta2/horizontal_pod_autoscaler_list.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler_list module in k8s.api.autoscaling.v2beta2 This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscalerList: @@ -18,7 +18,7 @@ schema HorizontalPodAutoscalerList: items is the list of horizontal pod autoscaler objects. kind : str, default is "HorizontalPodAutoscalerList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata is the standard list metadata. """ @@ -29,6 +29,6 @@ schema HorizontalPodAutoscalerList: kind: "HorizontalPodAutoscalerList" = "HorizontalPodAutoscalerList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.24/api/autoscaling/v2beta2/metric_identifier.k b/k8s/1.24/api/autoscaling/v2beta2/metric_identifier.k index 18d313d2..06be0dff 100644 --- a/k8s/1.24/api/autoscaling/v2beta2/metric_identifier.k +++ b/k8s/1.24/api/autoscaling/v2beta2/metric_identifier.k @@ -3,7 +3,7 @@ This is the metric_identifier module in k8s.api.autoscaling.v2beta2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MetricIdentifier: @@ -14,13 +14,13 @@ schema MetricIdentifier: ---------- name : str, default is Undefined, required name is the name of the given metric - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics. """ name: str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector diff --git a/k8s/1.24/api/batch/v1/cron_job.k b/k8s/1.24/api/batch/v1/cron_job.k index 380498ff..c716e33b 100644 --- a/k8s/1.24/api/batch/v1/cron_job.k +++ b/k8s/1.24/api/batch/v1/cron_job.k @@ -3,7 +3,7 @@ This is the cron_job module in k8s.api.batch.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CronJob: @@ -16,7 +16,7 @@ schema CronJob: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CronJob", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : CronJobSpec, default is Undefined, optional Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema CronJob: kind: "CronJob" = "CronJob" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: CronJobSpec diff --git a/k8s/1.24/api/batch/v1/cron_job_list.k b/k8s/1.24/api/batch/v1/cron_job_list.k index 69e1971a..8200a4bd 100644 --- a/k8s/1.24/api/batch/v1/cron_job_list.k +++ b/k8s/1.24/api/batch/v1/cron_job_list.k @@ -3,7 +3,7 @@ This is the cron_job_list module in k8s.api.batch.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CronJobList: @@ -18,7 +18,7 @@ schema CronJobList: items is the list of CronJobs. kind : str, default is "CronJobList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CronJobList: kind: "CronJobList" = "CronJobList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.24/api/batch/v1/job.k b/k8s/1.24/api/batch/v1/job.k index 44fbc917..3e545aac 100644 --- a/k8s/1.24/api/batch/v1/job.k +++ b/k8s/1.24/api/batch/v1/job.k @@ -3,7 +3,7 @@ This is the job module in k8s.api.batch.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Job: @@ -16,7 +16,7 @@ schema Job: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Job", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : JobSpec, default is Undefined, optional Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Job: kind: "Job" = "Job" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: JobSpec diff --git a/k8s/1.24/api/batch/v1/job_list.k b/k8s/1.24/api/batch/v1/job_list.k index 88588804..e2f8aee6 100644 --- a/k8s/1.24/api/batch/v1/job_list.k +++ b/k8s/1.24/api/batch/v1/job_list.k @@ -3,7 +3,7 @@ This is the job_list module in k8s.api.batch.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema JobList: @@ -18,7 +18,7 @@ schema JobList: items is the list of Jobs. kind : str, default is "JobList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema JobList: kind: "JobList" = "JobList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.24/api/batch/v1/job_spec.k b/k8s/1.24/api/batch/v1/job_spec.k index 255ba4c7..4d356e56 100644 --- a/k8s/1.24/api/batch/v1/job_spec.k +++ b/k8s/1.24/api/batch/v1/job_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema JobSpec: @@ -31,7 +31,7 @@ schema JobSpec: manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector parallelism : int, default is Undefined, optional Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional A label query over pods that should match the pod count. Normally, the system sets this field for you. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors suspend : bool, default is Undefined, optional Suspend specifies whether the Job controller should create Pods or not. If a Job is created with suspend set to true, no Pods are created by the Job controller. If a Job is suspended after creation (i.e. the flag goes from false to true), the Job controller will delete all active Pods associated with this Job. Users must design their workload to gracefully handle this. Suspending a Job will reset the StartTime field of the Job, effectively resetting the ActiveDeadlineSeconds timer too. Defaults to false. @@ -54,7 +54,7 @@ schema JobSpec: parallelism?: int - selector?: v1.LabelSelector + selector?: metav1.LabelSelector suspend?: bool diff --git a/k8s/1.24/api/batch/v1/job_template_spec.k b/k8s/1.24/api/batch/v1/job_template_spec.k index 840a8d23..c1797200 100644 --- a/k8s/1.24/api/batch/v1/job_template_spec.k +++ b/k8s/1.24/api/batch/v1/job_template_spec.k @@ -3,7 +3,7 @@ This is the job_template_spec module in k8s.api.batch.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema JobTemplateSpec: @@ -12,14 +12,14 @@ schema JobTemplateSpec: Attributes ---------- - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : JobSpec, default is Undefined, optional Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status """ - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: JobSpec diff --git a/k8s/1.24/api/batch/v1beta1/cron_job.k b/k8s/1.24/api/batch/v1beta1/cron_job.k index 74c14606..d5d2aa07 100644 --- a/k8s/1.24/api/batch/v1beta1/cron_job.k +++ b/k8s/1.24/api/batch/v1beta1/cron_job.k @@ -3,7 +3,7 @@ This is the cron_job module in k8s.api.batch.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CronJob: @@ -16,7 +16,7 @@ schema CronJob: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CronJob", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : CronJobSpec, default is Undefined, optional Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema CronJob: kind: "CronJob" = "CronJob" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: CronJobSpec diff --git a/k8s/1.24/api/batch/v1beta1/cron_job_list.k b/k8s/1.24/api/batch/v1beta1/cron_job_list.k index cf174c33..4067f805 100644 --- a/k8s/1.24/api/batch/v1beta1/cron_job_list.k +++ b/k8s/1.24/api/batch/v1beta1/cron_job_list.k @@ -3,7 +3,7 @@ This is the cron_job_list module in k8s.api.batch.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CronJobList: @@ -18,7 +18,7 @@ schema CronJobList: items is the list of CronJobs. kind : str, default is "CronJobList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CronJobList: kind: "CronJobList" = "CronJobList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.24/api/batch/v1beta1/job_template_spec.k b/k8s/1.24/api/batch/v1beta1/job_template_spec.k index e032a659..733d4410 100644 --- a/k8s/1.24/api/batch/v1beta1/job_template_spec.k +++ b/k8s/1.24/api/batch/v1beta1/job_template_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.batch.v1 as batchV1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema JobTemplateSpec: @@ -13,14 +13,14 @@ schema JobTemplateSpec: Attributes ---------- - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : batchV1.JobSpec, default is Undefined, optional Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status """ - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: batchV1.JobSpec diff --git a/k8s/1.24/api/certificates/v1/certificate_signing_request.k b/k8s/1.24/api/certificates/v1/certificate_signing_request.k index 70bfc6e0..6697afe5 100644 --- a/k8s/1.24/api/certificates/v1/certificate_signing_request.k +++ b/k8s/1.24/api/certificates/v1/certificate_signing_request.k @@ -3,7 +3,7 @@ This is the certificate_signing_request module in k8s.api.certificates.v1 packag This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CertificateSigningRequest: @@ -22,7 +22,7 @@ schema CertificateSigningRequest: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CertificateSigningRequest", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : CertificateSigningRequestSpec, default is Undefined, required spec contains the certificate request, and is immutable after creation. Only the request, signerName, expirationSeconds, and usages fields can be set on creation. Other fields are derived by Kubernetes and cannot be modified by users. @@ -33,7 +33,7 @@ schema CertificateSigningRequest: kind: "CertificateSigningRequest" = "CertificateSigningRequest" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CertificateSigningRequestSpec diff --git a/k8s/1.24/api/certificates/v1/certificate_signing_request_list.k b/k8s/1.24/api/certificates/v1/certificate_signing_request_list.k index bef8b509..dcf72eab 100644 --- a/k8s/1.24/api/certificates/v1/certificate_signing_request_list.k +++ b/k8s/1.24/api/certificates/v1/certificate_signing_request_list.k @@ -3,7 +3,7 @@ This is the certificate_signing_request_list module in k8s.api.certificates.v1 p This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CertificateSigningRequestList: @@ -18,7 +18,7 @@ schema CertificateSigningRequestList: items is a collection of CertificateSigningRequest objects kind : str, default is "CertificateSigningRequestList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema CertificateSigningRequestList: kind: "CertificateSigningRequestList" = "CertificateSigningRequestList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.24/api/coordination/v1/lease.k b/k8s/1.24/api/coordination/v1/lease.k index f9d243c9..b3722c9a 100644 --- a/k8s/1.24/api/coordination/v1/lease.k +++ b/k8s/1.24/api/coordination/v1/lease.k @@ -3,7 +3,7 @@ This is the lease module in k8s.api.coordination.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Lease: @@ -16,7 +16,7 @@ schema Lease: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Lease", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : LeaseSpec, default is Undefined, optional Specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Lease: kind: "Lease" = "Lease" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: LeaseSpec diff --git a/k8s/1.24/api/coordination/v1/lease_list.k b/k8s/1.24/api/coordination/v1/lease_list.k index 64932a19..93a01ab6 100644 --- a/k8s/1.24/api/coordination/v1/lease_list.k +++ b/k8s/1.24/api/coordination/v1/lease_list.k @@ -3,7 +3,7 @@ This is the lease_list module in k8s.api.coordination.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LeaseList: @@ -18,7 +18,7 @@ schema LeaseList: Items is a list of schema objects. kind : str, default is "LeaseList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema LeaseList: kind: "LeaseList" = "LeaseList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.24/api/core/v1/binding.k b/k8s/1.24/api/core/v1/binding.k index e6e478fe..077459fa 100644 --- a/k8s/1.24/api/core/v1/binding.k +++ b/k8s/1.24/api/core/v1/binding.k @@ -3,7 +3,7 @@ This is the binding module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Binding: @@ -16,7 +16,7 @@ schema Binding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Binding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata target : ObjectReference, default is Undefined, required The target object that you want to bind to the standard object. @@ -27,7 +27,7 @@ schema Binding: kind: "Binding" = "Binding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta target: ObjectReference diff --git a/k8s/1.24/api/core/v1/component_status.k b/k8s/1.24/api/core/v1/component_status.k index 19549c61..0d6862b5 100644 --- a/k8s/1.24/api/core/v1/component_status.k +++ b/k8s/1.24/api/core/v1/component_status.k @@ -3,7 +3,7 @@ This is the component_status module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ComponentStatus: @@ -18,7 +18,7 @@ schema ComponentStatus: List of component conditions observed kind : str, default is "ComponentStatus", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema ComponentStatus: kind: "ComponentStatus" = "ComponentStatus" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta diff --git a/k8s/1.24/api/core/v1/component_status_list.k b/k8s/1.24/api/core/v1/component_status_list.k index 0c8fa890..f76a9a62 100644 --- a/k8s/1.24/api/core/v1/component_status_list.k +++ b/k8s/1.24/api/core/v1/component_status_list.k @@ -3,7 +3,7 @@ This is the component_status_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ComponentStatusList: @@ -18,7 +18,7 @@ schema ComponentStatusList: List of ComponentStatus objects. kind : str, default is "ComponentStatusList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ComponentStatusList: kind: "ComponentStatusList" = "ComponentStatusList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.24/api/core/v1/config_map.k b/k8s/1.24/api/core/v1/config_map.k index ac683b69..ee2a9e47 100644 --- a/k8s/1.24/api/core/v1/config_map.k +++ b/k8s/1.24/api/core/v1/config_map.k @@ -3,7 +3,7 @@ This is the config_map module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ConfigMap: @@ -22,7 +22,7 @@ schema ConfigMap: Immutable, if set to true, ensures that data stored in the ConfigMap cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil. kind : str, default is "ConfigMap", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -37,6 +37,6 @@ schema ConfigMap: kind: "ConfigMap" = "ConfigMap" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta diff --git a/k8s/1.24/api/core/v1/config_map_list.k b/k8s/1.24/api/core/v1/config_map_list.k index 5712f514..35df0e4b 100644 --- a/k8s/1.24/api/core/v1/config_map_list.k +++ b/k8s/1.24/api/core/v1/config_map_list.k @@ -3,7 +3,7 @@ This is the config_map_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ConfigMapList: @@ -18,7 +18,7 @@ schema ConfigMapList: Items is the list of ConfigMaps. kind : str, default is "ConfigMapList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema ConfigMapList: kind: "ConfigMapList" = "ConfigMapList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.24/api/core/v1/endpoints.k b/k8s/1.24/api/core/v1/endpoints.k index c1644290..6b8b80ff 100644 --- a/k8s/1.24/api/core/v1/endpoints.k +++ b/k8s/1.24/api/core/v1/endpoints.k @@ -3,7 +3,7 @@ This is the endpoints module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Endpoints: @@ -28,7 +28,7 @@ schema Endpoints: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Endpoints", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata subsets : [EndpointSubset], default is Undefined, optional The set of all endpoints is the union of all subsets. Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service. @@ -39,7 +39,7 @@ schema Endpoints: kind: "Endpoints" = "Endpoints" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta subsets?: [EndpointSubset] diff --git a/k8s/1.24/api/core/v1/endpoints_list.k b/k8s/1.24/api/core/v1/endpoints_list.k index 7ccf6442..f019c842 100644 --- a/k8s/1.24/api/core/v1/endpoints_list.k +++ b/k8s/1.24/api/core/v1/endpoints_list.k @@ -3,7 +3,7 @@ This is the endpoints_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EndpointsList: @@ -18,7 +18,7 @@ schema EndpointsList: List of endpoints. kind : str, default is "EndpointsList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema EndpointsList: kind: "EndpointsList" = "EndpointsList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.24/api/core/v1/event.k b/k8s/1.24/api/core/v1/event.k index 0cc2ba81..f1564c4b 100644 --- a/k8s/1.24/api/core/v1/event.k +++ b/k8s/1.24/api/core/v1/event.k @@ -3,7 +3,7 @@ This is the event module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Event: @@ -30,7 +30,7 @@ schema Event: The time at which the most recent occurrence of this event was recorded. message : str, default is Undefined, optional A human-readable description of the status of this operation. - metadata : v1.ObjectMeta, default is Undefined, required + metadata : metav1.ObjectMeta, default is Undefined, required Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata reason : str, default is Undefined, optional This should be a short, machine understandable string that gives the reason for the transition into the object's current status. @@ -67,7 +67,7 @@ schema Event: message?: str - metadata: v1.ObjectMeta + metadata: metav1.ObjectMeta reason?: str diff --git a/k8s/1.24/api/core/v1/event_list.k b/k8s/1.24/api/core/v1/event_list.k index e543b7cf..d4ed6ffa 100644 --- a/k8s/1.24/api/core/v1/event_list.k +++ b/k8s/1.24/api/core/v1/event_list.k @@ -3,7 +3,7 @@ This is the event_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EventList: @@ -18,7 +18,7 @@ schema EventList: List of events kind : str, default is "EventList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema EventList: kind: "EventList" = "EventList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.24/api/core/v1/limit_range.k b/k8s/1.24/api/core/v1/limit_range.k index 5de64019..3c476447 100644 --- a/k8s/1.24/api/core/v1/limit_range.k +++ b/k8s/1.24/api/core/v1/limit_range.k @@ -3,7 +3,7 @@ This is the limit_range module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LimitRange: @@ -16,7 +16,7 @@ schema LimitRange: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "LimitRange", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : LimitRangeSpec, default is Undefined, optional Spec defines the limits enforced. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema LimitRange: kind: "LimitRange" = "LimitRange" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: LimitRangeSpec diff --git a/k8s/1.24/api/core/v1/limit_range_list.k b/k8s/1.24/api/core/v1/limit_range_list.k index 61da1fba..fc6b5692 100644 --- a/k8s/1.24/api/core/v1/limit_range_list.k +++ b/k8s/1.24/api/core/v1/limit_range_list.k @@ -3,7 +3,7 @@ This is the limit_range_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LimitRangeList: @@ -18,7 +18,7 @@ schema LimitRangeList: Items is a list of LimitRange objects. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ kind : str, default is "LimitRangeList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema LimitRangeList: kind: "LimitRangeList" = "LimitRangeList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.24/api/core/v1/namespace.k b/k8s/1.24/api/core/v1/namespace.k index 52b6b94f..66125388 100644 --- a/k8s/1.24/api/core/v1/namespace.k +++ b/k8s/1.24/api/core/v1/namespace.k @@ -3,7 +3,7 @@ This is the namespace module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Namespace: @@ -16,7 +16,7 @@ schema Namespace: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Namespace", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : NamespaceSpec, default is Undefined, optional Spec defines the behavior of the Namespace. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Namespace: kind: "Namespace" = "Namespace" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: NamespaceSpec diff --git a/k8s/1.24/api/core/v1/namespace_list.k b/k8s/1.24/api/core/v1/namespace_list.k index 0a362eac..1783b0bc 100644 --- a/k8s/1.24/api/core/v1/namespace_list.k +++ b/k8s/1.24/api/core/v1/namespace_list.k @@ -3,7 +3,7 @@ This is the namespace_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NamespaceList: @@ -18,7 +18,7 @@ schema NamespaceList: Items is the list of Namespace objects in the list. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ kind : str, default is "NamespaceList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema NamespaceList: kind: "NamespaceList" = "NamespaceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.24/api/core/v1/node.k b/k8s/1.24/api/core/v1/node.k index 99f9cab9..dcfea158 100644 --- a/k8s/1.24/api/core/v1/node.k +++ b/k8s/1.24/api/core/v1/node.k @@ -3,7 +3,7 @@ This is the node module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Node: @@ -16,7 +16,7 @@ schema Node: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Node", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : NodeSpec, default is Undefined, optional Spec defines the behavior of a node. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Node: kind: "Node" = "Node" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: NodeSpec diff --git a/k8s/1.24/api/core/v1/node_list.k b/k8s/1.24/api/core/v1/node_list.k index 40992f99..26fe9968 100644 --- a/k8s/1.24/api/core/v1/node_list.k +++ b/k8s/1.24/api/core/v1/node_list.k @@ -3,7 +3,7 @@ This is the node_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NodeList: @@ -18,7 +18,7 @@ schema NodeList: List of nodes kind : str, default is "NodeList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema NodeList: kind: "NodeList" = "NodeList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.24/api/core/v1/persistent_volume.k b/k8s/1.24/api/core/v1/persistent_volume.k index ed41f554..1f3d5968 100644 --- a/k8s/1.24/api/core/v1/persistent_volume.k +++ b/k8s/1.24/api/core/v1/persistent_volume.k @@ -3,7 +3,7 @@ This is the persistent_volume module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolume: @@ -16,7 +16,7 @@ schema PersistentVolume: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PersistentVolume", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PersistentVolumeSpec, default is Undefined, optional spec defines a specification of a persistent volume owned by the cluster. Provisioned by an administrator. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes @@ -27,7 +27,7 @@ schema PersistentVolume: kind: "PersistentVolume" = "PersistentVolume" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PersistentVolumeSpec diff --git a/k8s/1.24/api/core/v1/persistent_volume_claim.k b/k8s/1.24/api/core/v1/persistent_volume_claim.k index 1b478b67..65da03d4 100644 --- a/k8s/1.24/api/core/v1/persistent_volume_claim.k +++ b/k8s/1.24/api/core/v1/persistent_volume_claim.k @@ -3,7 +3,7 @@ This is the persistent_volume_claim module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeClaim: @@ -16,7 +16,7 @@ schema PersistentVolumeClaim: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PersistentVolumeClaim", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PersistentVolumeClaimSpec, default is Undefined, optional spec defines the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims @@ -27,7 +27,7 @@ schema PersistentVolumeClaim: kind: "PersistentVolumeClaim" = "PersistentVolumeClaim" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PersistentVolumeClaimSpec diff --git a/k8s/1.24/api/core/v1/persistent_volume_claim_list.k b/k8s/1.24/api/core/v1/persistent_volume_claim_list.k index e09bc2ef..23447a12 100644 --- a/k8s/1.24/api/core/v1/persistent_volume_claim_list.k +++ b/k8s/1.24/api/core/v1/persistent_volume_claim_list.k @@ -3,7 +3,7 @@ This is the persistent_volume_claim_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeClaimList: @@ -18,7 +18,7 @@ schema PersistentVolumeClaimList: items is a list of persistent volume claims. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims kind : str, default is "PersistentVolumeClaimList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema PersistentVolumeClaimList: kind: "PersistentVolumeClaimList" = "PersistentVolumeClaimList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.24/api/core/v1/persistent_volume_claim_spec.k b/k8s/1.24/api/core/v1/persistent_volume_claim_spec.k index 589eeb35..77927ee5 100644 --- a/k8s/1.24/api/core/v1/persistent_volume_claim_spec.k +++ b/k8s/1.24/api/core/v1/persistent_volume_claim_spec.k @@ -3,7 +3,7 @@ This is the persistent_volume_claim_spec module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeClaimSpec: @@ -25,7 +25,7 @@ schema PersistentVolumeClaimSpec: (Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled. resources : ResourceRequirements, default is Undefined, optional resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector is a label query over volumes to consider for binding. storageClassName : str, default is Undefined, optional storageClassName is the name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1 @@ -44,7 +44,7 @@ schema PersistentVolumeClaimSpec: resources?: ResourceRequirements - selector?: v1.LabelSelector + selector?: metav1.LabelSelector storageClassName?: str diff --git a/k8s/1.24/api/core/v1/persistent_volume_claim_template.k b/k8s/1.24/api/core/v1/persistent_volume_claim_template.k index e6758b96..a8a010df 100644 --- a/k8s/1.24/api/core/v1/persistent_volume_claim_template.k +++ b/k8s/1.24/api/core/v1/persistent_volume_claim_template.k @@ -3,7 +3,7 @@ This is the persistent_volume_claim_template module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeClaimTemplate: @@ -12,14 +12,14 @@ schema PersistentVolumeClaimTemplate: Attributes ---------- - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. spec : PersistentVolumeClaimSpec, default is Undefined, required The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here. """ - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: PersistentVolumeClaimSpec diff --git a/k8s/1.24/api/core/v1/persistent_volume_list.k b/k8s/1.24/api/core/v1/persistent_volume_list.k index b1498d78..1d426ef6 100644 --- a/k8s/1.24/api/core/v1/persistent_volume_list.k +++ b/k8s/1.24/api/core/v1/persistent_volume_list.k @@ -3,7 +3,7 @@ This is the persistent_volume_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeList: @@ -18,7 +18,7 @@ schema PersistentVolumeList: items is a list of persistent volumes. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes kind : str, default is "PersistentVolumeList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema PersistentVolumeList: kind: "PersistentVolumeList" = "PersistentVolumeList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.24/api/core/v1/pod.k b/k8s/1.24/api/core/v1/pod.k index 659a9e99..66568628 100644 --- a/k8s/1.24/api/core/v1/pod.k +++ b/k8s/1.24/api/core/v1/pod.k @@ -3,7 +3,7 @@ This is the pod module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Pod: @@ -16,7 +16,7 @@ schema Pod: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Pod", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PodSpec, default is Undefined, optional Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Pod: kind: "Pod" = "Pod" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PodSpec diff --git a/k8s/1.24/api/core/v1/pod_affinity_term.k b/k8s/1.24/api/core/v1/pod_affinity_term.k index fa331b29..a0bd3408 100644 --- a/k8s/1.24/api/core/v1/pod_affinity_term.k +++ b/k8s/1.24/api/core/v1/pod_affinity_term.k @@ -3,7 +3,7 @@ This is the pod_affinity_term module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodAffinityTerm: @@ -12,9 +12,9 @@ schema PodAffinityTerm: Attributes ---------- - labelSelector : v1.LabelSelector, default is Undefined, optional + labelSelector : metav1.LabelSelector, default is Undefined, optional A label query over a set of resources, in this case pods. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. namespaces : [str], default is Undefined, optional namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means "this pod's namespace". @@ -23,9 +23,9 @@ schema PodAffinityTerm: """ - labelSelector?: v1.LabelSelector + labelSelector?: metav1.LabelSelector - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector namespaces?: [str] diff --git a/k8s/1.24/api/core/v1/pod_list.k b/k8s/1.24/api/core/v1/pod_list.k index 10ad5eb9..4c031d05 100644 --- a/k8s/1.24/api/core/v1/pod_list.k +++ b/k8s/1.24/api/core/v1/pod_list.k @@ -3,7 +3,7 @@ This is the pod_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodList: @@ -18,7 +18,7 @@ schema PodList: List of pods. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md kind : str, default is "PodList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema PodList: kind: "PodList" = "PodList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.24/api/core/v1/pod_template.k b/k8s/1.24/api/core/v1/pod_template.k index 98e64f70..6ffbfa64 100644 --- a/k8s/1.24/api/core/v1/pod_template.k +++ b/k8s/1.24/api/core/v1/pod_template.k @@ -3,7 +3,7 @@ This is the pod_template module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodTemplate: @@ -16,7 +16,7 @@ schema PodTemplate: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PodTemplate", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata template : PodTemplateSpec, default is Undefined, optional Template defines the pods that will be created from this pod template. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema PodTemplate: kind: "PodTemplate" = "PodTemplate" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta template?: PodTemplateSpec diff --git a/k8s/1.24/api/core/v1/pod_template_list.k b/k8s/1.24/api/core/v1/pod_template_list.k index 8bb1827f..94024175 100644 --- a/k8s/1.24/api/core/v1/pod_template_list.k +++ b/k8s/1.24/api/core/v1/pod_template_list.k @@ -3,7 +3,7 @@ This is the pod_template_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodTemplateList: @@ -18,7 +18,7 @@ schema PodTemplateList: List of pod templates kind : str, default is "PodTemplateList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema PodTemplateList: kind: "PodTemplateList" = "PodTemplateList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.24/api/core/v1/pod_template_spec.k b/k8s/1.24/api/core/v1/pod_template_spec.k index 1274c88b..6011ef81 100644 --- a/k8s/1.24/api/core/v1/pod_template_spec.k +++ b/k8s/1.24/api/core/v1/pod_template_spec.k @@ -3,7 +3,7 @@ This is the pod_template_spec module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodTemplateSpec: @@ -12,14 +12,14 @@ schema PodTemplateSpec: Attributes ---------- - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PodSpec, default is Undefined, optional Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status """ - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PodSpec diff --git a/k8s/1.24/api/core/v1/replication_controller.k b/k8s/1.24/api/core/v1/replication_controller.k index 08b091e8..37724706 100644 --- a/k8s/1.24/api/core/v1/replication_controller.k +++ b/k8s/1.24/api/core/v1/replication_controller.k @@ -3,7 +3,7 @@ This is the replication_controller module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicationController: @@ -16,7 +16,7 @@ schema ReplicationController: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ReplicationController", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional If the Labels of a ReplicationController are empty, they are defaulted to be the same as the Pod(s) that the replication controller manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : ReplicationControllerSpec, default is Undefined, optional Spec defines the specification of the desired behavior of the replication controller. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema ReplicationController: kind: "ReplicationController" = "ReplicationController" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ReplicationControllerSpec diff --git a/k8s/1.24/api/core/v1/replication_controller_list.k b/k8s/1.24/api/core/v1/replication_controller_list.k index 64afa179..63f9d4b2 100644 --- a/k8s/1.24/api/core/v1/replication_controller_list.k +++ b/k8s/1.24/api/core/v1/replication_controller_list.k @@ -3,7 +3,7 @@ This is the replication_controller_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicationControllerList: @@ -18,7 +18,7 @@ schema ReplicationControllerList: List of replication controllers. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller kind : str, default is "ReplicationControllerList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ReplicationControllerList: kind: "ReplicationControllerList" = "ReplicationControllerList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.24/api/core/v1/resource_quota.k b/k8s/1.24/api/core/v1/resource_quota.k index b7da49d1..0ec7c409 100644 --- a/k8s/1.24/api/core/v1/resource_quota.k +++ b/k8s/1.24/api/core/v1/resource_quota.k @@ -3,7 +3,7 @@ This is the resource_quota module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceQuota: @@ -16,7 +16,7 @@ schema ResourceQuota: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ResourceQuota", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : ResourceQuotaSpec, default is Undefined, optional Spec defines the desired quota. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema ResourceQuota: kind: "ResourceQuota" = "ResourceQuota" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ResourceQuotaSpec diff --git a/k8s/1.24/api/core/v1/resource_quota_list.k b/k8s/1.24/api/core/v1/resource_quota_list.k index ca1424b8..f8dbc87d 100644 --- a/k8s/1.24/api/core/v1/resource_quota_list.k +++ b/k8s/1.24/api/core/v1/resource_quota_list.k @@ -3,7 +3,7 @@ This is the resource_quota_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceQuotaList: @@ -18,7 +18,7 @@ schema ResourceQuotaList: Items is a list of ResourceQuota objects. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/ kind : str, default is "ResourceQuotaList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ResourceQuotaList: kind: "ResourceQuotaList" = "ResourceQuotaList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.24/api/core/v1/secret.k b/k8s/1.24/api/core/v1/secret.k index 315e5f78..79324811 100644 --- a/k8s/1.24/api/core/v1/secret.k +++ b/k8s/1.24/api/core/v1/secret.k @@ -3,7 +3,7 @@ This is the secret module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Secret: @@ -20,7 +20,7 @@ schema Secret: Immutable, if set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil. kind : str, default is "Secret", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata stringData : {str:str}, default is Undefined, optional stringData allows specifying non-binary secret data in string form. It is provided as a write-only input field for convenience. All keys and values are merged into the data field on write, overwriting any existing values. The stringData field is never output when reading from the API. @@ -37,7 +37,7 @@ schema Secret: kind: "Secret" = "Secret" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta stringData?: {str:str} diff --git a/k8s/1.24/api/core/v1/secret_list.k b/k8s/1.24/api/core/v1/secret_list.k index 335c47b4..9e80806b 100644 --- a/k8s/1.24/api/core/v1/secret_list.k +++ b/k8s/1.24/api/core/v1/secret_list.k @@ -3,7 +3,7 @@ This is the secret_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SecretList: @@ -18,7 +18,7 @@ schema SecretList: Items is a list of secret objects. More info: https://kubernetes.io/docs/concepts/configuration/secret kind : str, default is "SecretList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema SecretList: kind: "SecretList" = "SecretList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.24/api/core/v1/service.k b/k8s/1.24/api/core/v1/service.k index 1f259a80..3b86c8ef 100644 --- a/k8s/1.24/api/core/v1/service.k +++ b/k8s/1.24/api/core/v1/service.k @@ -3,7 +3,7 @@ This is the service module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Service: @@ -16,7 +16,7 @@ schema Service: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Service", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : ServiceSpec, default is Undefined, optional Spec defines the behavior of a service. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Service: kind: "Service" = "Service" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ServiceSpec diff --git a/k8s/1.24/api/core/v1/service_account.k b/k8s/1.24/api/core/v1/service_account.k index 3ffd21b4..2570f531 100644 --- a/k8s/1.24/api/core/v1/service_account.k +++ b/k8s/1.24/api/core/v1/service_account.k @@ -3,7 +3,7 @@ This is the service_account module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ServiceAccount: @@ -20,7 +20,7 @@ schema ServiceAccount: ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod kind : str, default is "ServiceAccount", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata secrets : [ObjectReference], default is Undefined, optional Secrets is a list of the secrets in the same namespace that pods running using this ServiceAccount are allowed to use. Pods are only limited to this list if this service account has a "kubernetes.io/enforce-mountable-secrets" annotation set to "true". This field should not be used to find auto-generated service account token secrets for use outside of pods. Instead, tokens can be requested directly using the TokenRequest API, or service account token secrets can be manually created. More info: https://kubernetes.io/docs/concepts/configuration/secret @@ -35,7 +35,7 @@ schema ServiceAccount: kind: "ServiceAccount" = "ServiceAccount" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta secrets?: [ObjectReference] diff --git a/k8s/1.24/api/core/v1/service_account_list.k b/k8s/1.24/api/core/v1/service_account_list.k index 26a9319a..d8cd46b8 100644 --- a/k8s/1.24/api/core/v1/service_account_list.k +++ b/k8s/1.24/api/core/v1/service_account_list.k @@ -3,7 +3,7 @@ This is the service_account_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ServiceAccountList: @@ -18,7 +18,7 @@ schema ServiceAccountList: List of ServiceAccounts. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ kind : str, default is "ServiceAccountList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ServiceAccountList: kind: "ServiceAccountList" = "ServiceAccountList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.24/api/core/v1/service_list.k b/k8s/1.24/api/core/v1/service_list.k index 0c1e31be..5c4fae8a 100644 --- a/k8s/1.24/api/core/v1/service_list.k +++ b/k8s/1.24/api/core/v1/service_list.k @@ -3,7 +3,7 @@ This is the service_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ServiceList: @@ -18,7 +18,7 @@ schema ServiceList: List of services kind : str, default is "ServiceList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ServiceList: kind: "ServiceList" = "ServiceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.24/api/core/v1/service_status.k b/k8s/1.24/api/core/v1/service_status.k index 029dda86..f1fc66e6 100644 --- a/k8s/1.24/api/core/v1/service_status.k +++ b/k8s/1.24/api/core/v1/service_status.k @@ -3,7 +3,7 @@ This is the service_status module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ServiceStatus: @@ -12,14 +12,14 @@ schema ServiceStatus: Attributes ---------- - conditions : [v1.Condition], default is Undefined, optional + conditions : [metav1.Condition], default is Undefined, optional Current service state loadBalancer : LoadBalancerStatus, default is Undefined, optional LoadBalancer contains the current status of the load-balancer, if one is present. """ - conditions?: [v1.Condition] + conditions?: [metav1.Condition] loadBalancer?: LoadBalancerStatus diff --git a/k8s/1.24/api/core/v1/topology_spread_constraint.k b/k8s/1.24/api/core/v1/topology_spread_constraint.k index 39a0ce81..ede092b9 100644 --- a/k8s/1.24/api/core/v1/topology_spread_constraint.k +++ b/k8s/1.24/api/core/v1/topology_spread_constraint.k @@ -3,7 +3,7 @@ This is the topology_spread_constraint module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema TopologySpreadConstraint: @@ -12,7 +12,7 @@ schema TopologySpreadConstraint: Attributes ---------- - labelSelector : v1.LabelSelector, default is Undefined, optional + labelSelector : metav1.LabelSelector, default is Undefined, optional LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain. maxSkew : int, default is Undefined, required MaxSkew describes the degree to which pods may be unevenly distributed. When `whenUnsatisfiable=DoNotSchedule`, it is the maximum permitted difference between the number of matching pods in the target topology and the global minimum. The global minimum is the minimum number of matching pods in an eligible domain or zero if the number of eligible domains is less than MinDomains. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 2/2/1: In this case, the global minimum is 1. | zone1 | zone2 | zone3 | | P P | P P | P | - if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 2/2/2; scheduling it onto zone1(zone2) would make the ActualSkew(3-1) on zone1(zone2) violate MaxSkew(1). - if MaxSkew is 2, incoming pod can be scheduled onto any zone. When `whenUnsatisfiable=ScheduleAnyway`, it is used to give higher precedence to topologies that satisfy it. It's a required field. Default value is 1 and 0 is not allowed. @@ -34,7 +34,7 @@ schema TopologySpreadConstraint: """ - labelSelector?: v1.LabelSelector + labelSelector?: metav1.LabelSelector maxSkew: int diff --git a/k8s/1.24/api/discovery/v1/endpoint_slice.k b/k8s/1.24/api/discovery/v1/endpoint_slice.k index c213c210..5688c1c9 100644 --- a/k8s/1.24/api/discovery/v1/endpoint_slice.k +++ b/k8s/1.24/api/discovery/v1/endpoint_slice.k @@ -3,7 +3,7 @@ This is the endpoint_slice module in k8s.api.discovery.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EndpointSlice: @@ -22,7 +22,7 @@ schema EndpointSlice: endpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints. kind : str, default is "EndpointSlice", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. ports : [EndpointPort], default is Undefined, optional ports specifies the list of network ports exposed by each endpoint in this slice. Each port must have a unique name. When ports is empty, it indicates that there are no defined ports. When a port is defined with a nil port value, it indicates "all ports". Each slice may include a maximum of 100 ports. @@ -37,7 +37,7 @@ schema EndpointSlice: kind: "EndpointSlice" = "EndpointSlice" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta ports?: [EndpointPort] diff --git a/k8s/1.24/api/discovery/v1/endpoint_slice_list.k b/k8s/1.24/api/discovery/v1/endpoint_slice_list.k index d1ca1ed7..241ba06f 100644 --- a/k8s/1.24/api/discovery/v1/endpoint_slice_list.k +++ b/k8s/1.24/api/discovery/v1/endpoint_slice_list.k @@ -3,7 +3,7 @@ This is the endpoint_slice_list module in k8s.api.discovery.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EndpointSliceList: @@ -18,7 +18,7 @@ schema EndpointSliceList: List of endpoint slices kind : str, default is "EndpointSliceList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema EndpointSliceList: kind: "EndpointSliceList" = "EndpointSliceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.24/api/discovery/v1beta1/endpoint_slice.k b/k8s/1.24/api/discovery/v1beta1/endpoint_slice.k index e5bc4f96..c3e65402 100644 --- a/k8s/1.24/api/discovery/v1beta1/endpoint_slice.k +++ b/k8s/1.24/api/discovery/v1beta1/endpoint_slice.k @@ -3,7 +3,7 @@ This is the endpoint_slice module in k8s.api.discovery.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EndpointSlice: @@ -20,7 +20,7 @@ schema EndpointSlice: endpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints. kind : str, default is "EndpointSlice", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. ports : [EndpointPort], default is Undefined, optional ports specifies the list of network ports exposed by each endpoint in this slice. Each port must have a unique name. When ports is empty, it indicates that there are no defined ports. When a port is defined with a nil port value, it indicates "all ports". Each slice may include a maximum of 100 ports. @@ -35,7 +35,7 @@ schema EndpointSlice: kind: "EndpointSlice" = "EndpointSlice" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta ports?: [EndpointPort] diff --git a/k8s/1.24/api/discovery/v1beta1/endpoint_slice_list.k b/k8s/1.24/api/discovery/v1beta1/endpoint_slice_list.k index ad1e929c..62019eae 100644 --- a/k8s/1.24/api/discovery/v1beta1/endpoint_slice_list.k +++ b/k8s/1.24/api/discovery/v1beta1/endpoint_slice_list.k @@ -3,7 +3,7 @@ This is the endpoint_slice_list module in k8s.api.discovery.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EndpointSliceList: @@ -18,7 +18,7 @@ schema EndpointSliceList: List of endpoint slices kind : str, default is "EndpointSliceList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema EndpointSliceList: kind: "EndpointSliceList" = "EndpointSliceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.24/api/events/v1/event_list.k b/k8s/1.24/api/events/v1/event_list.k index 6d5e7dad..4c4d96ba 100644 --- a/k8s/1.24/api/events/v1/event_list.k +++ b/k8s/1.24/api/events/v1/event_list.k @@ -3,7 +3,7 @@ This is the event_list module in k8s.api.events.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EventList: @@ -18,7 +18,7 @@ schema EventList: items is a list of schema objects. kind : str, default is "EventList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema EventList: kind: "EventList" = "EventList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.24/api/events/v1beta1/event_list.k b/k8s/1.24/api/events/v1beta1/event_list.k index fbb9bfa6..85c27cd9 100644 --- a/k8s/1.24/api/events/v1beta1/event_list.k +++ b/k8s/1.24/api/events/v1beta1/event_list.k @@ -3,7 +3,7 @@ This is the event_list module in k8s.api.events.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EventList: @@ -18,7 +18,7 @@ schema EventList: items is a list of schema objects. kind : str, default is "EventList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema EventList: kind: "EventList" = "EventList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.24/api/flowcontrol/v1beta1/flow_schema.k b/k8s/1.24/api/flowcontrol/v1beta1/flow_schema.k index 55faf528..cf4974cd 100644 --- a/k8s/1.24/api/flowcontrol/v1beta1/flow_schema.k +++ b/k8s/1.24/api/flowcontrol/v1beta1/flow_schema.k @@ -3,7 +3,7 @@ This is the flow_schema module in k8s.api.flowcontrol.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema FlowSchema: @@ -16,7 +16,7 @@ schema FlowSchema: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "FlowSchema", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : FlowSchemaSpec, default is Undefined, optional `spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema FlowSchema: kind: "FlowSchema" = "FlowSchema" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: FlowSchemaSpec diff --git a/k8s/1.24/api/flowcontrol/v1beta1/flow_schema_list.k b/k8s/1.24/api/flowcontrol/v1beta1/flow_schema_list.k index 4f91a66c..740f3aa2 100644 --- a/k8s/1.24/api/flowcontrol/v1beta1/flow_schema_list.k +++ b/k8s/1.24/api/flowcontrol/v1beta1/flow_schema_list.k @@ -3,7 +3,7 @@ This is the flow_schema_list module in k8s.api.flowcontrol.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema FlowSchemaList: @@ -18,7 +18,7 @@ schema FlowSchemaList: `items` is a list of FlowSchemas. kind : str, default is "FlowSchemaList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional `metadata` is the standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema FlowSchemaList: kind: "FlowSchemaList" = "FlowSchemaList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.24/api/flowcontrol/v1beta1/priority_level_configuration.k b/k8s/1.24/api/flowcontrol/v1beta1/priority_level_configuration.k index 46ae1bf4..3068b4ac 100644 --- a/k8s/1.24/api/flowcontrol/v1beta1/priority_level_configuration.k +++ b/k8s/1.24/api/flowcontrol/v1beta1/priority_level_configuration.k @@ -3,7 +3,7 @@ This is the priority_level_configuration module in k8s.api.flowcontrol.v1beta1 p This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityLevelConfiguration: @@ -16,7 +16,7 @@ schema PriorityLevelConfiguration: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PriorityLevelConfiguration", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PriorityLevelConfigurationSpec, default is Undefined, optional `spec` is the specification of the desired behavior of a "request-priority". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema PriorityLevelConfiguration: kind: "PriorityLevelConfiguration" = "PriorityLevelConfiguration" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PriorityLevelConfigurationSpec diff --git a/k8s/1.24/api/flowcontrol/v1beta1/priority_level_configuration_list.k b/k8s/1.24/api/flowcontrol/v1beta1/priority_level_configuration_list.k index fbc0a3d7..de2e7738 100644 --- a/k8s/1.24/api/flowcontrol/v1beta1/priority_level_configuration_list.k +++ b/k8s/1.24/api/flowcontrol/v1beta1/priority_level_configuration_list.k @@ -3,7 +3,7 @@ This is the priority_level_configuration_list module in k8s.api.flowcontrol.v1be This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityLevelConfigurationList: @@ -18,7 +18,7 @@ schema PriorityLevelConfigurationList: `items` is a list of request-priorities. kind : str, default is "PriorityLevelConfigurationList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PriorityLevelConfigurationList: kind: "PriorityLevelConfigurationList" = "PriorityLevelConfigurationList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.24/api/flowcontrol/v1beta2/flow_schema.k b/k8s/1.24/api/flowcontrol/v1beta2/flow_schema.k index 38841e20..ca58b323 100644 --- a/k8s/1.24/api/flowcontrol/v1beta2/flow_schema.k +++ b/k8s/1.24/api/flowcontrol/v1beta2/flow_schema.k @@ -3,7 +3,7 @@ This is the flow_schema module in k8s.api.flowcontrol.v1beta2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema FlowSchema: @@ -16,7 +16,7 @@ schema FlowSchema: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "FlowSchema", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : FlowSchemaSpec, default is Undefined, optional `spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema FlowSchema: kind: "FlowSchema" = "FlowSchema" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: FlowSchemaSpec diff --git a/k8s/1.24/api/flowcontrol/v1beta2/flow_schema_list.k b/k8s/1.24/api/flowcontrol/v1beta2/flow_schema_list.k index 41f1f453..084935f5 100644 --- a/k8s/1.24/api/flowcontrol/v1beta2/flow_schema_list.k +++ b/k8s/1.24/api/flowcontrol/v1beta2/flow_schema_list.k @@ -3,7 +3,7 @@ This is the flow_schema_list module in k8s.api.flowcontrol.v1beta2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema FlowSchemaList: @@ -18,7 +18,7 @@ schema FlowSchemaList: `items` is a list of FlowSchemas. kind : str, default is "FlowSchemaList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional `metadata` is the standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema FlowSchemaList: kind: "FlowSchemaList" = "FlowSchemaList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.24/api/flowcontrol/v1beta2/priority_level_configuration.k b/k8s/1.24/api/flowcontrol/v1beta2/priority_level_configuration.k index adfdc552..654decc0 100644 --- a/k8s/1.24/api/flowcontrol/v1beta2/priority_level_configuration.k +++ b/k8s/1.24/api/flowcontrol/v1beta2/priority_level_configuration.k @@ -3,7 +3,7 @@ This is the priority_level_configuration module in k8s.api.flowcontrol.v1beta2 p This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityLevelConfiguration: @@ -16,7 +16,7 @@ schema PriorityLevelConfiguration: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PriorityLevelConfiguration", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PriorityLevelConfigurationSpec, default is Undefined, optional `spec` is the specification of the desired behavior of a "request-priority". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema PriorityLevelConfiguration: kind: "PriorityLevelConfiguration" = "PriorityLevelConfiguration" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PriorityLevelConfigurationSpec diff --git a/k8s/1.24/api/flowcontrol/v1beta2/priority_level_configuration_list.k b/k8s/1.24/api/flowcontrol/v1beta2/priority_level_configuration_list.k index 3677c841..e3b5923d 100644 --- a/k8s/1.24/api/flowcontrol/v1beta2/priority_level_configuration_list.k +++ b/k8s/1.24/api/flowcontrol/v1beta2/priority_level_configuration_list.k @@ -3,7 +3,7 @@ This is the priority_level_configuration_list module in k8s.api.flowcontrol.v1be This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityLevelConfigurationList: @@ -18,7 +18,7 @@ schema PriorityLevelConfigurationList: `items` is a list of request-priorities. kind : str, default is "PriorityLevelConfigurationList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PriorityLevelConfigurationList: kind: "PriorityLevelConfigurationList" = "PriorityLevelConfigurationList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.24/api/networking/v1/ingress.k b/k8s/1.24/api/networking/v1/ingress.k index 84067c5f..7429b93d 100644 --- a/k8s/1.24/api/networking/v1/ingress.k +++ b/k8s/1.24/api/networking/v1/ingress.k @@ -3,7 +3,7 @@ This is the ingress module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Ingress: @@ -16,7 +16,7 @@ schema Ingress: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Ingress", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : IngressSpec, default is Undefined, optional Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Ingress: kind: "Ingress" = "Ingress" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: IngressSpec diff --git a/k8s/1.24/api/networking/v1/ingress_class.k b/k8s/1.24/api/networking/v1/ingress_class.k index 53cf2398..ad2f67bd 100644 --- a/k8s/1.24/api/networking/v1/ingress_class.k +++ b/k8s/1.24/api/networking/v1/ingress_class.k @@ -3,7 +3,7 @@ This is the ingress_class module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema IngressClass: @@ -16,7 +16,7 @@ schema IngressClass: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "IngressClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : IngressClassSpec, default is Undefined, optional Spec is the desired state of the IngressClass. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema IngressClass: kind: "IngressClass" = "IngressClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: IngressClassSpec diff --git a/k8s/1.24/api/networking/v1/ingress_class_list.k b/k8s/1.24/api/networking/v1/ingress_class_list.k index 7a8dfb45..432a667e 100644 --- a/k8s/1.24/api/networking/v1/ingress_class_list.k +++ b/k8s/1.24/api/networking/v1/ingress_class_list.k @@ -3,7 +3,7 @@ This is the ingress_class_list module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema IngressClassList: @@ -18,7 +18,7 @@ schema IngressClassList: Items is the list of IngressClasses. kind : str, default is "IngressClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema IngressClassList: kind: "IngressClassList" = "IngressClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.24/api/networking/v1/ingress_list.k b/k8s/1.24/api/networking/v1/ingress_list.k index 5fc2315f..a73781b0 100644 --- a/k8s/1.24/api/networking/v1/ingress_list.k +++ b/k8s/1.24/api/networking/v1/ingress_list.k @@ -3,7 +3,7 @@ This is the ingress_list module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema IngressList: @@ -18,7 +18,7 @@ schema IngressList: Items is the list of Ingress. kind : str, default is "IngressList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema IngressList: kind: "IngressList" = "IngressList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.24/api/networking/v1/network_policy.k b/k8s/1.24/api/networking/v1/network_policy.k index 888fc8a4..f4ffe0ea 100644 --- a/k8s/1.24/api/networking/v1/network_policy.k +++ b/k8s/1.24/api/networking/v1/network_policy.k @@ -3,7 +3,7 @@ This is the network_policy module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicy: @@ -16,7 +16,7 @@ schema NetworkPolicy: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "NetworkPolicy", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : NetworkPolicySpec, default is Undefined, optional Specification of the desired behavior for this NetworkPolicy. @@ -27,7 +27,7 @@ schema NetworkPolicy: kind: "NetworkPolicy" = "NetworkPolicy" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: NetworkPolicySpec diff --git a/k8s/1.24/api/networking/v1/network_policy_list.k b/k8s/1.24/api/networking/v1/network_policy_list.k index 7a05cb37..8e21e919 100644 --- a/k8s/1.24/api/networking/v1/network_policy_list.k +++ b/k8s/1.24/api/networking/v1/network_policy_list.k @@ -3,7 +3,7 @@ This is the network_policy_list module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicyList: @@ -18,7 +18,7 @@ schema NetworkPolicyList: Items is a list of schema objects. kind : str, default is "NetworkPolicyList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema NetworkPolicyList: kind: "NetworkPolicyList" = "NetworkPolicyList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.24/api/networking/v1/network_policy_peer.k b/k8s/1.24/api/networking/v1/network_policy_peer.k index c579477f..57c680fb 100644 --- a/k8s/1.24/api/networking/v1/network_policy_peer.k +++ b/k8s/1.24/api/networking/v1/network_policy_peer.k @@ -3,7 +3,7 @@ This is the network_policy_peer module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicyPeer: @@ -14,11 +14,11 @@ schema NetworkPolicyPeer: ---------- ipBlock : IPBlock, default is Undefined, optional IPBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional Selects Namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces. If PodSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects all Pods in the Namespaces selected by NamespaceSelector. - podSelector : v1.LabelSelector, default is Undefined, optional + podSelector : metav1.LabelSelector, default is Undefined, optional This is a label selector which selects Pods. This field follows standard label selector semantics; if present but empty, it selects all pods. If NamespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the Pods matching PodSelector in the policy's own Namespace. @@ -27,8 +27,8 @@ schema NetworkPolicyPeer: ipBlock?: IPBlock - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector - podSelector?: v1.LabelSelector + podSelector?: metav1.LabelSelector diff --git a/k8s/1.24/api/networking/v1/network_policy_spec.k b/k8s/1.24/api/networking/v1/network_policy_spec.k index d1b738dc..5ceec480 100644 --- a/k8s/1.24/api/networking/v1/network_policy_spec.k +++ b/k8s/1.24/api/networking/v1/network_policy_spec.k @@ -3,7 +3,7 @@ This is the network_policy_spec module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicySpec: @@ -16,7 +16,7 @@ schema NetworkPolicySpec: List of egress rules to be applied to the selected pods. Outgoing traffic is allowed if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic matches at least one egress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy limits all outgoing traffic (and serves solely to ensure that the pods it selects are isolated by default). This field is beta-level in 1.8 ingress : [NetworkPolicyIngressRule], default is Undefined, optional List of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not allow any traffic (and serves solely to ensure that the pods it selects are isolated by default) - podSelector : v1.LabelSelector, default is Undefined, required + podSelector : metav1.LabelSelector, default is Undefined, required Selects the pods to which this NetworkPolicy object applies. The array of ingress rules is applied to any pods selected by this field. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is NOT optional and follows standard label selector semantics. An empty podSelector matches all pods in this namespace. policyTypes : [str], default is Undefined, optional List of rule types that the NetworkPolicy relates to. Valid options are ["Ingress"], ["Egress"], or ["Ingress", "Egress"]. If this field is not specified, it will default based on the existence of Ingress or Egress rules; policies that contain an Egress section are assumed to affect Egress, and all policies (whether or not they contain an Ingress section) are assumed to affect Ingress. If you want to write an egress-only policy, you must explicitly specify policyTypes [ "Egress" ]. Likewise, if you want to write a policy that specifies that no egress is allowed, you must specify a policyTypes value that include "Egress" (since such a policy would not include an Egress section and would otherwise default to just [ "Ingress" ]). This field is beta-level in 1.8 @@ -27,7 +27,7 @@ schema NetworkPolicySpec: ingress?: [NetworkPolicyIngressRule] - podSelector: v1.LabelSelector + podSelector: metav1.LabelSelector policyTypes?: [str] diff --git a/k8s/1.24/api/networking/v1/network_policy_status.k b/k8s/1.24/api/networking/v1/network_policy_status.k index 82635871..ba919de0 100644 --- a/k8s/1.24/api/networking/v1/network_policy_status.k +++ b/k8s/1.24/api/networking/v1/network_policy_status.k @@ -3,7 +3,7 @@ This is the network_policy_status module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicyStatus: @@ -12,11 +12,11 @@ schema NetworkPolicyStatus: Attributes ---------- - conditions : [v1.Condition], default is Undefined, optional + conditions : [metav1.Condition], default is Undefined, optional Conditions holds an array of metav1.Condition that describe the state of the NetworkPolicy. Current service state """ - conditions?: [v1.Condition] + conditions?: [metav1.Condition] diff --git a/k8s/1.24/api/node/v1/runtime_class.k b/k8s/1.24/api/node/v1/runtime_class.k index e415e1d0..ee184cbf 100644 --- a/k8s/1.24/api/node/v1/runtime_class.k +++ b/k8s/1.24/api/node/v1/runtime_class.k @@ -3,7 +3,7 @@ This is the runtime_class module in k8s.api.node.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RuntimeClass: @@ -18,7 +18,7 @@ schema RuntimeClass: Handler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration. It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called "runc" might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The Handler must be lowercase, conform to the DNS Label (RFC 1123) requirements, and is immutable. kind : str, default is "RuntimeClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata overhead : Overhead, default is Undefined, optional Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see @@ -34,7 +34,7 @@ schema RuntimeClass: kind: "RuntimeClass" = "RuntimeClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta overhead?: Overhead diff --git a/k8s/1.24/api/node/v1/runtime_class_list.k b/k8s/1.24/api/node/v1/runtime_class_list.k index 66bfea91..4f1ac3f5 100644 --- a/k8s/1.24/api/node/v1/runtime_class_list.k +++ b/k8s/1.24/api/node/v1/runtime_class_list.k @@ -3,7 +3,7 @@ This is the runtime_class_list module in k8s.api.node.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RuntimeClassList: @@ -18,7 +18,7 @@ schema RuntimeClassList: Items is a list of schema objects. kind : str, default is "RuntimeClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema RuntimeClassList: kind: "RuntimeClassList" = "RuntimeClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.24/api/node/v1beta1/runtime_class.k b/k8s/1.24/api/node/v1beta1/runtime_class.k index eb8515dd..e28d6e1b 100644 --- a/k8s/1.24/api/node/v1beta1/runtime_class.k +++ b/k8s/1.24/api/node/v1beta1/runtime_class.k @@ -3,7 +3,7 @@ This is the runtime_class module in k8s.api.node.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RuntimeClass: @@ -18,7 +18,7 @@ schema RuntimeClass: Handler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration. It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called "runc" might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The Handler must be lowercase, conform to the DNS Label (RFC 1123) requirements, and is immutable. kind : str, default is "RuntimeClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata overhead : Overhead, default is Undefined, optional Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see https://git.k8s.io/enhancements/keps/sig-node/688-pod-overhead/README.md @@ -33,7 +33,7 @@ schema RuntimeClass: kind: "RuntimeClass" = "RuntimeClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta overhead?: Overhead diff --git a/k8s/1.24/api/node/v1beta1/runtime_class_list.k b/k8s/1.24/api/node/v1beta1/runtime_class_list.k index 19de4405..96178e8c 100644 --- a/k8s/1.24/api/node/v1beta1/runtime_class_list.k +++ b/k8s/1.24/api/node/v1beta1/runtime_class_list.k @@ -3,7 +3,7 @@ This is the runtime_class_list module in k8s.api.node.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RuntimeClassList: @@ -18,7 +18,7 @@ schema RuntimeClassList: Items is a list of schema objects. kind : str, default is "RuntimeClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema RuntimeClassList: kind: "RuntimeClassList" = "RuntimeClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.24/api/policy/v1/eviction.k b/k8s/1.24/api/policy/v1/eviction.k index e87c2ee9..121fb323 100644 --- a/k8s/1.24/api/policy/v1/eviction.k +++ b/k8s/1.24/api/policy/v1/eviction.k @@ -3,7 +3,7 @@ This is the eviction module in k8s.api.policy.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Eviction: @@ -14,21 +14,21 @@ schema Eviction: ---------- apiVersion : str, default is "policy/v1", required APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - deleteOptions : v1.DeleteOptions, default is Undefined, optional + deleteOptions : metav1.DeleteOptions, default is Undefined, optional DeleteOptions may be provided kind : str, default is "Eviction", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional ObjectMeta describes the pod that is being evicted. """ apiVersion: "policy/v1" = "policy/v1" - deleteOptions?: v1.DeleteOptions + deleteOptions?: metav1.DeleteOptions kind: "Eviction" = "Eviction" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta diff --git a/k8s/1.24/api/policy/v1/pod_disruption_budget.k b/k8s/1.24/api/policy/v1/pod_disruption_budget.k index 08151f41..02483ed4 100644 --- a/k8s/1.24/api/policy/v1/pod_disruption_budget.k +++ b/k8s/1.24/api/policy/v1/pod_disruption_budget.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget module in k8s.api.policy.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudget: @@ -16,7 +16,7 @@ schema PodDisruptionBudget: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PodDisruptionBudget", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PodDisruptionBudgetSpec, default is Undefined, optional Specification of the desired behavior of the PodDisruptionBudget. @@ -27,7 +27,7 @@ schema PodDisruptionBudget: kind: "PodDisruptionBudget" = "PodDisruptionBudget" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PodDisruptionBudgetSpec diff --git a/k8s/1.24/api/policy/v1/pod_disruption_budget_list.k b/k8s/1.24/api/policy/v1/pod_disruption_budget_list.k index 9075ecd9..0a3f925d 100644 --- a/k8s/1.24/api/policy/v1/pod_disruption_budget_list.k +++ b/k8s/1.24/api/policy/v1/pod_disruption_budget_list.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget_list module in k8s.api.policy.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudgetList: @@ -18,7 +18,7 @@ schema PodDisruptionBudgetList: Items is a list of PodDisruptionBudgets kind : str, default is "PodDisruptionBudgetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PodDisruptionBudgetList: kind: "PodDisruptionBudgetList" = "PodDisruptionBudgetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.24/api/policy/v1/pod_disruption_budget_spec.k b/k8s/1.24/api/policy/v1/pod_disruption_budget_spec.k index 6e881436..39b64d7c 100644 --- a/k8s/1.24/api/policy/v1/pod_disruption_budget_spec.k +++ b/k8s/1.24/api/policy/v1/pod_disruption_budget_spec.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget_spec module in k8s.api.policy.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudgetSpec: @@ -16,7 +16,7 @@ schema PodDisruptionBudgetSpec: An eviction is allowed if at most "maxUnavailable" pods selected by "selector" are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with "minAvailable". minAvailable : int | str, default is Undefined, optional An eviction is allowed if at least "minAvailable" pods selected by "selector" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying "100%". - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional Label query over pods whose evictions are managed by the disruption budget. A null selector will match no pods, while an empty ({}) selector will select all pods within the namespace. """ @@ -25,6 +25,6 @@ schema PodDisruptionBudgetSpec: minAvailable?: int | str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector diff --git a/k8s/1.24/api/policy/v1/pod_disruption_budget_status.k b/k8s/1.24/api/policy/v1/pod_disruption_budget_status.k index 58d0ef88..b8db8025 100644 --- a/k8s/1.24/api/policy/v1/pod_disruption_budget_status.k +++ b/k8s/1.24/api/policy/v1/pod_disruption_budget_status.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget_status module in k8s.api.policy.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudgetStatus: @@ -12,7 +12,7 @@ schema PodDisruptionBudgetStatus: Attributes ---------- - conditions : [v1.Condition], default is Undefined, optional + conditions : [metav1.Condition], default is Undefined, optional Conditions contain conditions for PDB. The disruption controller sets the DisruptionAllowed condition. The following are known values for the reason field (additional reasons could be added in the future): - SyncFailed: The controller encountered an error and wasn't able to compute the number of allowed disruptions. Therefore no disruptions are allowed and the status of the condition will be False. @@ -37,7 +37,7 @@ schema PodDisruptionBudgetStatus: """ - conditions?: [v1.Condition] + conditions?: [metav1.Condition] currentHealthy: int diff --git a/k8s/1.24/api/policy/v1beta1/pod_disruption_budget.k b/k8s/1.24/api/policy/v1beta1/pod_disruption_budget.k index 9e404c30..6ebad63a 100644 --- a/k8s/1.24/api/policy/v1beta1/pod_disruption_budget.k +++ b/k8s/1.24/api/policy/v1beta1/pod_disruption_budget.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget module in k8s.api.policy.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudget: @@ -16,7 +16,7 @@ schema PodDisruptionBudget: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PodDisruptionBudget", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PodDisruptionBudgetSpec, default is Undefined, optional Specification of the desired behavior of the PodDisruptionBudget. @@ -27,7 +27,7 @@ schema PodDisruptionBudget: kind: "PodDisruptionBudget" = "PodDisruptionBudget" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PodDisruptionBudgetSpec diff --git a/k8s/1.24/api/policy/v1beta1/pod_disruption_budget_list.k b/k8s/1.24/api/policy/v1beta1/pod_disruption_budget_list.k index b7dadea2..2c8f94e1 100644 --- a/k8s/1.24/api/policy/v1beta1/pod_disruption_budget_list.k +++ b/k8s/1.24/api/policy/v1beta1/pod_disruption_budget_list.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget_list module in k8s.api.policy.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudgetList: @@ -18,7 +18,7 @@ schema PodDisruptionBudgetList: items list individual PodDisruptionBudget objects kind : str, default is "PodDisruptionBudgetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PodDisruptionBudgetList: kind: "PodDisruptionBudgetList" = "PodDisruptionBudgetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.24/api/policy/v1beta1/pod_disruption_budget_spec.k b/k8s/1.24/api/policy/v1beta1/pod_disruption_budget_spec.k index f89a8e1f..555fad23 100644 --- a/k8s/1.24/api/policy/v1beta1/pod_disruption_budget_spec.k +++ b/k8s/1.24/api/policy/v1beta1/pod_disruption_budget_spec.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget_spec module in k8s.api.policy.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudgetSpec: @@ -16,7 +16,7 @@ schema PodDisruptionBudgetSpec: An eviction is allowed if at most "maxUnavailable" pods selected by "selector" are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with "minAvailable". minAvailable : int | str, default is Undefined, optional An eviction is allowed if at least "minAvailable" pods selected by "selector" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying "100%". - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional Label query over pods whose evictions are managed by the disruption budget. A null selector selects no pods. An empty selector ({}) also selects no pods, which differs from standard behavior of selecting all pods. In policy/v1, an empty selector will select all pods in the namespace. """ @@ -25,6 +25,6 @@ schema PodDisruptionBudgetSpec: minAvailable?: int | str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector diff --git a/k8s/1.24/api/policy/v1beta1/pod_disruption_budget_status.k b/k8s/1.24/api/policy/v1beta1/pod_disruption_budget_status.k index 955efb74..efd5adae 100644 --- a/k8s/1.24/api/policy/v1beta1/pod_disruption_budget_status.k +++ b/k8s/1.24/api/policy/v1beta1/pod_disruption_budget_status.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget_status module in k8s.api.policy.v1beta1 packag This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudgetStatus: @@ -12,7 +12,7 @@ schema PodDisruptionBudgetStatus: Attributes ---------- - conditions : [v1.Condition], default is Undefined, optional + conditions : [metav1.Condition], default is Undefined, optional Conditions contain conditions for PDB. The disruption controller sets the DisruptionAllowed condition. The following are known values for the reason field (additional reasons could be added in the future): - SyncFailed: The controller encountered an error and wasn't able to compute the number of allowed disruptions. Therefore no disruptions are allowed and the status of the condition will be False. @@ -37,7 +37,7 @@ schema PodDisruptionBudgetStatus: """ - conditions?: [v1.Condition] + conditions?: [metav1.Condition] currentHealthy: int diff --git a/k8s/1.24/api/policy/v1beta1/pod_security_policy.k b/k8s/1.24/api/policy/v1beta1/pod_security_policy.k index 5adb52bb..f7d9ec1a 100644 --- a/k8s/1.24/api/policy/v1beta1/pod_security_policy.k +++ b/k8s/1.24/api/policy/v1beta1/pod_security_policy.k @@ -3,7 +3,7 @@ This is the pod_security_policy module in k8s.api.policy.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodSecurityPolicy: @@ -16,7 +16,7 @@ schema PodSecurityPolicy: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PodSecurityPolicy", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PodSecurityPolicySpec, default is Undefined, optional spec defines the policy enforced. @@ -27,7 +27,7 @@ schema PodSecurityPolicy: kind: "PodSecurityPolicy" = "PodSecurityPolicy" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PodSecurityPolicySpec diff --git a/k8s/1.24/api/policy/v1beta1/pod_security_policy_list.k b/k8s/1.24/api/policy/v1beta1/pod_security_policy_list.k index 72500195..422fdc1a 100644 --- a/k8s/1.24/api/policy/v1beta1/pod_security_policy_list.k +++ b/k8s/1.24/api/policy/v1beta1/pod_security_policy_list.k @@ -3,7 +3,7 @@ This is the pod_security_policy_list module in k8s.api.policy.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodSecurityPolicyList: @@ -18,7 +18,7 @@ schema PodSecurityPolicyList: items is a list of schema objects. kind : str, default is "PodSecurityPolicyList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PodSecurityPolicyList: kind: "PodSecurityPolicyList" = "PodSecurityPolicyList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.24/api/rbac/v1/aggregation_rule.k b/k8s/1.24/api/rbac/v1/aggregation_rule.k index c7969ee4..b6898869 100644 --- a/k8s/1.24/api/rbac/v1/aggregation_rule.k +++ b/k8s/1.24/api/rbac/v1/aggregation_rule.k @@ -3,7 +3,7 @@ This is the aggregation_rule module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema AggregationRule: @@ -12,11 +12,11 @@ schema AggregationRule: Attributes ---------- - clusterRoleSelectors : [v1.LabelSelector], default is Undefined, optional + clusterRoleSelectors : [metav1.LabelSelector], default is Undefined, optional ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added """ - clusterRoleSelectors?: [v1.LabelSelector] + clusterRoleSelectors?: [metav1.LabelSelector] diff --git a/k8s/1.24/api/rbac/v1/cluster_role.k b/k8s/1.24/api/rbac/v1/cluster_role.k index fcf42d1b..d32837ea 100644 --- a/k8s/1.24/api/rbac/v1/cluster_role.k +++ b/k8s/1.24/api/rbac/v1/cluster_role.k @@ -3,7 +3,7 @@ This is the cluster_role module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRole: @@ -18,7 +18,7 @@ schema ClusterRole: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ClusterRole", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. rules : [PolicyRule], default is Undefined, optional Rules holds all the PolicyRules for this ClusterRole @@ -31,7 +31,7 @@ schema ClusterRole: kind: "ClusterRole" = "ClusterRole" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta rules?: [PolicyRule] diff --git a/k8s/1.24/api/rbac/v1/cluster_role_binding.k b/k8s/1.24/api/rbac/v1/cluster_role_binding.k index e670588e..1b2c4294 100644 --- a/k8s/1.24/api/rbac/v1/cluster_role_binding.k +++ b/k8s/1.24/api/rbac/v1/cluster_role_binding.k @@ -3,7 +3,7 @@ This is the cluster_role_binding module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleBinding: @@ -16,7 +16,7 @@ schema ClusterRoleBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ClusterRoleBinding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. roleRef : RoleRef, default is Undefined, required RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. @@ -29,7 +29,7 @@ schema ClusterRoleBinding: kind: "ClusterRoleBinding" = "ClusterRoleBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta roleRef: RoleRef diff --git a/k8s/1.24/api/rbac/v1/cluster_role_binding_list.k b/k8s/1.24/api/rbac/v1/cluster_role_binding_list.k index fd53865a..bd13f6fa 100644 --- a/k8s/1.24/api/rbac/v1/cluster_role_binding_list.k +++ b/k8s/1.24/api/rbac/v1/cluster_role_binding_list.k @@ -3,7 +3,7 @@ This is the cluster_role_binding_list module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleBindingList: @@ -18,7 +18,7 @@ schema ClusterRoleBindingList: Items is a list of ClusterRoleBindings kind : str, default is "ClusterRoleBindingList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema ClusterRoleBindingList: kind: "ClusterRoleBindingList" = "ClusterRoleBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.24/api/rbac/v1/cluster_role_list.k b/k8s/1.24/api/rbac/v1/cluster_role_list.k index 8be0e1a6..303e00aa 100644 --- a/k8s/1.24/api/rbac/v1/cluster_role_list.k +++ b/k8s/1.24/api/rbac/v1/cluster_role_list.k @@ -3,7 +3,7 @@ This is the cluster_role_list module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleList: @@ -18,7 +18,7 @@ schema ClusterRoleList: Items is a list of ClusterRoles kind : str, default is "ClusterRoleList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema ClusterRoleList: kind: "ClusterRoleList" = "ClusterRoleList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.24/api/rbac/v1/role.k b/k8s/1.24/api/rbac/v1/role.k index f72c1ab0..db02dfef 100644 --- a/k8s/1.24/api/rbac/v1/role.k +++ b/k8s/1.24/api/rbac/v1/role.k @@ -3,7 +3,7 @@ This is the role module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Role: @@ -16,7 +16,7 @@ schema Role: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Role", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. rules : [PolicyRule], default is Undefined, optional Rules holds all the PolicyRules for this Role @@ -27,7 +27,7 @@ schema Role: kind: "Role" = "Role" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta rules?: [PolicyRule] diff --git a/k8s/1.24/api/rbac/v1/role_binding.k b/k8s/1.24/api/rbac/v1/role_binding.k index a305e8b1..efa93d8c 100644 --- a/k8s/1.24/api/rbac/v1/role_binding.k +++ b/k8s/1.24/api/rbac/v1/role_binding.k @@ -3,7 +3,7 @@ This is the role_binding module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleBinding: @@ -16,7 +16,7 @@ schema RoleBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "RoleBinding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. roleRef : RoleRef, default is Undefined, required RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. @@ -29,7 +29,7 @@ schema RoleBinding: kind: "RoleBinding" = "RoleBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta roleRef: RoleRef diff --git a/k8s/1.24/api/rbac/v1/role_binding_list.k b/k8s/1.24/api/rbac/v1/role_binding_list.k index ef8b7fc8..cb8d7400 100644 --- a/k8s/1.24/api/rbac/v1/role_binding_list.k +++ b/k8s/1.24/api/rbac/v1/role_binding_list.k @@ -3,7 +3,7 @@ This is the role_binding_list module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleBindingList: @@ -18,7 +18,7 @@ schema RoleBindingList: Items is a list of RoleBindings kind : str, default is "RoleBindingList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema RoleBindingList: kind: "RoleBindingList" = "RoleBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.24/api/rbac/v1/role_list.k b/k8s/1.24/api/rbac/v1/role_list.k index 6e7826e6..d102bc0c 100644 --- a/k8s/1.24/api/rbac/v1/role_list.k +++ b/k8s/1.24/api/rbac/v1/role_list.k @@ -3,7 +3,7 @@ This is the role_list module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleList: @@ -18,7 +18,7 @@ schema RoleList: Items is a list of Roles kind : str, default is "RoleList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema RoleList: kind: "RoleList" = "RoleList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.24/api/scheduling/v1/priority_class.k b/k8s/1.24/api/scheduling/v1/priority_class.k index 2944896d..a405221b 100644 --- a/k8s/1.24/api/scheduling/v1/priority_class.k +++ b/k8s/1.24/api/scheduling/v1/priority_class.k @@ -3,7 +3,7 @@ This is the priority_class module in k8s.api.scheduling.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityClass: @@ -20,7 +20,7 @@ schema PriorityClass: globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority. kind : str, default is "PriorityClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata preemptionPolicy : str, default is Undefined, optional PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. @@ -37,7 +37,7 @@ schema PriorityClass: kind: "PriorityClass" = "PriorityClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta preemptionPolicy?: str diff --git a/k8s/1.24/api/scheduling/v1/priority_class_list.k b/k8s/1.24/api/scheduling/v1/priority_class_list.k index ff802048..6d514f6b 100644 --- a/k8s/1.24/api/scheduling/v1/priority_class_list.k +++ b/k8s/1.24/api/scheduling/v1/priority_class_list.k @@ -3,7 +3,7 @@ This is the priority_class_list module in k8s.api.scheduling.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityClassList: @@ -18,7 +18,7 @@ schema PriorityClassList: items is the list of PriorityClasses kind : str, default is "PriorityClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PriorityClassList: kind: "PriorityClassList" = "PriorityClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.24/api/storage/v1/csi_driver.k b/k8s/1.24/api/storage/v1/csi_driver.k index 3302994b..cd222b2a 100644 --- a/k8s/1.24/api/storage/v1/csi_driver.k +++ b/k8s/1.24/api/storage/v1/csi_driver.k @@ -3,7 +3,7 @@ This is the csi_driver module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSIDriver: @@ -16,7 +16,7 @@ schema CSIDriver: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CSIDriver", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. metadata.Name indicates the name of the CSI driver that this object refers to; it MUST be the same name returned by the CSI GetPluginName() call for that driver. The driver name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and alphanumerics between. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : CSIDriverSpec, default is Undefined, required Specification of the CSI Driver. @@ -27,7 +27,7 @@ schema CSIDriver: kind: "CSIDriver" = "CSIDriver" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CSIDriverSpec diff --git a/k8s/1.24/api/storage/v1/csi_driver_list.k b/k8s/1.24/api/storage/v1/csi_driver_list.k index 91531b39..8b09e0f6 100644 --- a/k8s/1.24/api/storage/v1/csi_driver_list.k +++ b/k8s/1.24/api/storage/v1/csi_driver_list.k @@ -3,7 +3,7 @@ This is the csi_driver_list module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSIDriverList: @@ -18,7 +18,7 @@ schema CSIDriverList: items is the list of CSIDriver kind : str, default is "CSIDriverList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CSIDriverList: kind: "CSIDriverList" = "CSIDriverList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.24/api/storage/v1/csi_node.k b/k8s/1.24/api/storage/v1/csi_node.k index 055f8653..6557da03 100644 --- a/k8s/1.24/api/storage/v1/csi_node.k +++ b/k8s/1.24/api/storage/v1/csi_node.k @@ -3,7 +3,7 @@ This is the csi_node module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSINode: @@ -16,7 +16,7 @@ schema CSINode: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CSINode", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata.name must be the Kubernetes node name. spec : CSINodeSpec, default is Undefined, required spec is the specification of CSINode @@ -27,7 +27,7 @@ schema CSINode: kind: "CSINode" = "CSINode" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CSINodeSpec diff --git a/k8s/1.24/api/storage/v1/csi_node_list.k b/k8s/1.24/api/storage/v1/csi_node_list.k index ce5793c1..3a93da71 100644 --- a/k8s/1.24/api/storage/v1/csi_node_list.k +++ b/k8s/1.24/api/storage/v1/csi_node_list.k @@ -3,7 +3,7 @@ This is the csi_node_list module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSINodeList: @@ -18,7 +18,7 @@ schema CSINodeList: items is the list of CSINode kind : str, default is "CSINodeList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CSINodeList: kind: "CSINodeList" = "CSINodeList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.24/api/storage/v1/csi_storage_capacity.k b/k8s/1.24/api/storage/v1/csi_storage_capacity.k index 0c46193b..090620ce 100644 --- a/k8s/1.24/api/storage/v1/csi_storage_capacity.k +++ b/k8s/1.24/api/storage/v1/csi_storage_capacity.k @@ -3,7 +3,7 @@ This is the csi_storage_capacity module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSIStorageCapacity: @@ -32,13 +32,13 @@ schema CSIStorageCapacity: MaximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields. This is defined since CSI spec 1.4.0 as the largest size that may be used in a CreateVolumeRequest.capacity_range.required_bytes field to create a volume with the same parameters as those in GetCapacityRequest. The corresponding value in the Kubernetes API is ResourceRequirements.Requests in a volume claim. - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. The name has no particular meaning. It must be be a DNS subdomain (dots allowed, 253 characters). To ensure that there are no conflicts with other CSI drivers on the cluster, the recommendation is to use csisc-, a generated name, or a reverse-domain name which ends with the unique CSI driver name. Objects are namespaced. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - nodeTopology : v1.LabelSelector, default is Undefined, optional + nodeTopology : metav1.LabelSelector, default is Undefined, optional NodeTopology defines which nodes have access to the storage for which capacity was reported. If not set, the storage is not accessible from any node in the cluster. If empty, the storage is accessible from all nodes. This field is immutable. storageClassName : str, default is Undefined, required The name of the StorageClass that the reported capacity applies to. It must meet the same requirements as the name of a StorageClass object (non-empty, DNS subdomain). If that object no longer exists, the CSIStorageCapacity object is obsolete and should be removed by its creator. This field is immutable. @@ -53,9 +53,9 @@ schema CSIStorageCapacity: maximumVolumeSize?: str - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta - nodeTopology?: v1.LabelSelector + nodeTopology?: metav1.LabelSelector storageClassName: str diff --git a/k8s/1.24/api/storage/v1/csi_storage_capacity_list.k b/k8s/1.24/api/storage/v1/csi_storage_capacity_list.k index ad68b8d1..c8435d7f 100644 --- a/k8s/1.24/api/storage/v1/csi_storage_capacity_list.k +++ b/k8s/1.24/api/storage/v1/csi_storage_capacity_list.k @@ -3,7 +3,7 @@ This is the csi_storage_capacity_list module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSIStorageCapacityList: @@ -18,7 +18,7 @@ schema CSIStorageCapacityList: Items is the list of CSIStorageCapacity objects. kind : str, default is "CSIStorageCapacityList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CSIStorageCapacityList: kind: "CSIStorageCapacityList" = "CSIStorageCapacityList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.24/api/storage/v1/storage_class_list.k b/k8s/1.24/api/storage/v1/storage_class_list.k index 365e1386..284d43e8 100644 --- a/k8s/1.24/api/storage/v1/storage_class_list.k +++ b/k8s/1.24/api/storage/v1/storage_class_list.k @@ -3,7 +3,7 @@ This is the storage_class_list module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StorageClassList: @@ -18,7 +18,7 @@ schema StorageClassList: Items is the list of StorageClasses kind : str, default is "StorageClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema StorageClassList: kind: "StorageClassList" = "StorageClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.24/api/storage/v1/volume_attachment.k b/k8s/1.24/api/storage/v1/volume_attachment.k index e4b9149f..f98beff1 100644 --- a/k8s/1.24/api/storage/v1/volume_attachment.k +++ b/k8s/1.24/api/storage/v1/volume_attachment.k @@ -3,7 +3,7 @@ This is the volume_attachment module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema VolumeAttachment: @@ -18,7 +18,7 @@ schema VolumeAttachment: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "VolumeAttachment", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : VolumeAttachmentSpec, default is Undefined, required Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system. @@ -29,7 +29,7 @@ schema VolumeAttachment: kind: "VolumeAttachment" = "VolumeAttachment" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: VolumeAttachmentSpec diff --git a/k8s/1.24/api/storage/v1/volume_attachment_list.k b/k8s/1.24/api/storage/v1/volume_attachment_list.k index ef702d0d..0719d0bc 100644 --- a/k8s/1.24/api/storage/v1/volume_attachment_list.k +++ b/k8s/1.24/api/storage/v1/volume_attachment_list.k @@ -3,7 +3,7 @@ This is the volume_attachment_list module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema VolumeAttachmentList: @@ -18,7 +18,7 @@ schema VolumeAttachmentList: Items is the list of VolumeAttachments kind : str, default is "VolumeAttachmentList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema VolumeAttachmentList: kind: "VolumeAttachmentList" = "VolumeAttachmentList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.24/api/storage/v1beta1/csi_storage_capacity.k b/k8s/1.24/api/storage/v1beta1/csi_storage_capacity.k index 9ab34c4d..2d1eb175 100644 --- a/k8s/1.24/api/storage/v1beta1/csi_storage_capacity.k +++ b/k8s/1.24/api/storage/v1beta1/csi_storage_capacity.k @@ -3,7 +3,7 @@ This is the csi_storage_capacity module in k8s.api.storage.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSIStorageCapacity: @@ -32,13 +32,13 @@ schema CSIStorageCapacity: MaximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields. This is defined since CSI spec 1.4.0 as the largest size that may be used in a CreateVolumeRequest.capacity_range.required_bytes field to create a volume with the same parameters as those in GetCapacityRequest. The corresponding value in the Kubernetes API is ResourceRequirements.Requests in a volume claim. - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. The name has no particular meaning. It must be be a DNS subdomain (dots allowed, 253 characters). To ensure that there are no conflicts with other CSI drivers on the cluster, the recommendation is to use csisc-, a generated name, or a reverse-domain name which ends with the unique CSI driver name. Objects are namespaced. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - nodeTopology : v1.LabelSelector, default is Undefined, optional + nodeTopology : metav1.LabelSelector, default is Undefined, optional NodeTopology defines which nodes have access to the storage for which capacity was reported. If not set, the storage is not accessible from any node in the cluster. If empty, the storage is accessible from all nodes. This field is immutable. storageClassName : str, default is Undefined, required The name of the StorageClass that the reported capacity applies to. It must meet the same requirements as the name of a StorageClass object (non-empty, DNS subdomain). If that object no longer exists, the CSIStorageCapacity object is obsolete and should be removed by its creator. This field is immutable. @@ -53,9 +53,9 @@ schema CSIStorageCapacity: maximumVolumeSize?: str - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta - nodeTopology?: v1.LabelSelector + nodeTopology?: metav1.LabelSelector storageClassName: str diff --git a/k8s/1.24/api/storage/v1beta1/csi_storage_capacity_list.k b/k8s/1.24/api/storage/v1beta1/csi_storage_capacity_list.k index d5125765..e2389f68 100644 --- a/k8s/1.24/api/storage/v1beta1/csi_storage_capacity_list.k +++ b/k8s/1.24/api/storage/v1beta1/csi_storage_capacity_list.k @@ -3,7 +3,7 @@ This is the csi_storage_capacity_list module in k8s.api.storage.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSIStorageCapacityList: @@ -18,7 +18,7 @@ schema CSIStorageCapacityList: Items is the list of CSIStorageCapacity objects. kind : str, default is "CSIStorageCapacityList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CSIStorageCapacityList: kind: "CSIStorageCapacityList" = "CSIStorageCapacityList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.24/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition.k b/k8s/1.24/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition.k index f348f6d1..5010467b 100644 --- a/k8s/1.24/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition.k +++ b/k8s/1.24/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition.k @@ -3,7 +3,7 @@ This is the custom_resource_definition module in k8s.apiextensions_apiserver.pkg This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CustomResourceDefinition: @@ -16,7 +16,7 @@ schema CustomResourceDefinition: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CustomResourceDefinition", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : CustomResourceDefinitionSpec, default is Undefined, required spec describes how the user wants the resources to appear @@ -27,7 +27,7 @@ schema CustomResourceDefinition: kind: "CustomResourceDefinition" = "CustomResourceDefinition" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CustomResourceDefinitionSpec diff --git a/k8s/1.24/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition_list.k b/k8s/1.24/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition_list.k index ca3c928b..8b625323 100644 --- a/k8s/1.24/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition_list.k +++ b/k8s/1.24/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition_list.k @@ -3,7 +3,7 @@ This is the custom_resource_definition_list module in k8s.apiextensions_apiserve This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CustomResourceDefinitionList: @@ -18,7 +18,7 @@ schema CustomResourceDefinitionList: items list individual CustomResourceDefinition objects kind : str, default is "CustomResourceDefinitionList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CustomResourceDefinitionList: kind: "CustomResourceDefinitionList" = "CustomResourceDefinitionList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.24/kcl.mod b/k8s/1.24/kcl.mod index 5dc96102..9895c868 100644 --- a/k8s/1.24/kcl.mod +++ b/k8s/1.24/kcl.mod @@ -1,5 +1,5 @@ [package] name = "k8s" edition = "*" -version = "1.24.1" +version = "1.24.2" description = "`k8s` is a KCL module contains all the built-in Kubernetes resource models (the CRDs are not included here)." diff --git a/k8s/1.24/kube_aggregator/pkg/apis/apiregistration/v1/api_service.k b/k8s/1.24/kube_aggregator/pkg/apis/apiregistration/v1/api_service.k index 89028f12..7b645741 100644 --- a/k8s/1.24/kube_aggregator/pkg/apis/apiregistration/v1/api_service.k +++ b/k8s/1.24/kube_aggregator/pkg/apis/apiregistration/v1/api_service.k @@ -3,7 +3,7 @@ This is the api_service module in k8s.kube_aggregator.pkg.apis.apiregistration.v This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema APIService: @@ -16,7 +16,7 @@ schema APIService: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "APIService", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : APIServiceSpec, default is Undefined, optional Spec contains information for locating and communicating with a server @@ -27,7 +27,7 @@ schema APIService: kind: "APIService" = "APIService" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: APIServiceSpec diff --git a/k8s/1.24/kube_aggregator/pkg/apis/apiregistration/v1/api_service_list.k b/k8s/1.24/kube_aggregator/pkg/apis/apiregistration/v1/api_service_list.k index acf02534..3a385202 100644 --- a/k8s/1.24/kube_aggregator/pkg/apis/apiregistration/v1/api_service_list.k +++ b/k8s/1.24/kube_aggregator/pkg/apis/apiregistration/v1/api_service_list.k @@ -3,7 +3,7 @@ This is the api_service_list module in k8s.kube_aggregator.pkg.apis.apiregistrat This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema APIServiceList: @@ -18,7 +18,7 @@ schema APIServiceList: Items is the list of APIService kind : str, default is "APIServiceList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema APIServiceList: kind: "APIServiceList" = "APIServiceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.25/api/admissionregistration/v1/mutating_webhook.k b/k8s/1.25/api/admissionregistration/v1/mutating_webhook.k index 4743ed83..d250f3db 100644 --- a/k8s/1.25/api/admissionregistration/v1/mutating_webhook.k +++ b/k8s/1.25/api/admissionregistration/v1/mutating_webhook.k @@ -3,7 +3,7 @@ This is the mutating_webhook module in k8s.api.admissionregistration.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MutatingWebhook: @@ -28,7 +28,7 @@ schema MutatingWebhook: Defaults to "Equivalent" name : str, default is Undefined, required The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook. For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1"; you will set the selector as follows: "namespaceSelector": { @@ -60,7 +60,7 @@ schema MutatingWebhook: See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors. Default to the empty LabelSelector, which matches everything. - objectSelector : v1.LabelSelector, default is Undefined, optional + objectSelector : metav1.LabelSelector, default is Undefined, optional ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything. reinvocationPolicy : str, default is Undefined, optional reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded". @@ -89,9 +89,9 @@ schema MutatingWebhook: name: str - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector - objectSelector?: v1.LabelSelector + objectSelector?: metav1.LabelSelector reinvocationPolicy?: str diff --git a/k8s/1.25/api/admissionregistration/v1/mutating_webhook_configuration.k b/k8s/1.25/api/admissionregistration/v1/mutating_webhook_configuration.k index a9864b32..0c970740 100644 --- a/k8s/1.25/api/admissionregistration/v1/mutating_webhook_configuration.k +++ b/k8s/1.25/api/admissionregistration/v1/mutating_webhook_configuration.k @@ -3,7 +3,7 @@ This is the mutating_webhook_configuration module in k8s.api.admissionregistrati This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MutatingWebhookConfiguration: @@ -16,7 +16,7 @@ schema MutatingWebhookConfiguration: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "MutatingWebhookConfiguration", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. webhooks : [MutatingWebhook], default is Undefined, optional Webhooks is a list of webhooks and the affected resources and operations. @@ -27,7 +27,7 @@ schema MutatingWebhookConfiguration: kind: "MutatingWebhookConfiguration" = "MutatingWebhookConfiguration" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta webhooks?: [MutatingWebhook] diff --git a/k8s/1.25/api/admissionregistration/v1/mutating_webhook_configuration_list.k b/k8s/1.25/api/admissionregistration/v1/mutating_webhook_configuration_list.k index d4e15e81..b6fd6022 100644 --- a/k8s/1.25/api/admissionregistration/v1/mutating_webhook_configuration_list.k +++ b/k8s/1.25/api/admissionregistration/v1/mutating_webhook_configuration_list.k @@ -3,7 +3,7 @@ This is the mutating_webhook_configuration_list module in k8s.api.admissionregis This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MutatingWebhookConfigurationList: @@ -18,7 +18,7 @@ schema MutatingWebhookConfigurationList: List of MutatingWebhookConfiguration. kind : str, default is "MutatingWebhookConfigurationList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema MutatingWebhookConfigurationList: kind: "MutatingWebhookConfigurationList" = "MutatingWebhookConfigurationList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.25/api/admissionregistration/v1/validating_webhook.k b/k8s/1.25/api/admissionregistration/v1/validating_webhook.k index afc5dc6a..efec1e6a 100644 --- a/k8s/1.25/api/admissionregistration/v1/validating_webhook.k +++ b/k8s/1.25/api/admissionregistration/v1/validating_webhook.k @@ -3,7 +3,7 @@ This is the validating_webhook module in k8s.api.admissionregistration.v1 packag This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingWebhook: @@ -28,7 +28,7 @@ schema ValidatingWebhook: Defaults to "Equivalent" name : str, default is Undefined, required The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook. For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1"; you will set the selector as follows: "namespaceSelector": { @@ -60,7 +60,7 @@ schema ValidatingWebhook: See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels for more examples of label selectors. Default to the empty LabelSelector, which matches everything. - objectSelector : v1.LabelSelector, default is Undefined, optional + objectSelector : metav1.LabelSelector, default is Undefined, optional ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything. rules : [RuleWithOperations], default is Undefined, optional Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects. @@ -81,9 +81,9 @@ schema ValidatingWebhook: name: str - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector - objectSelector?: v1.LabelSelector + objectSelector?: metav1.LabelSelector rules?: [RuleWithOperations] diff --git a/k8s/1.25/api/admissionregistration/v1/validating_webhook_configuration.k b/k8s/1.25/api/admissionregistration/v1/validating_webhook_configuration.k index 2b45293a..e35bb335 100644 --- a/k8s/1.25/api/admissionregistration/v1/validating_webhook_configuration.k +++ b/k8s/1.25/api/admissionregistration/v1/validating_webhook_configuration.k @@ -3,7 +3,7 @@ This is the validating_webhook_configuration module in k8s.api.admissionregistra This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingWebhookConfiguration: @@ -16,7 +16,7 @@ schema ValidatingWebhookConfiguration: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ValidatingWebhookConfiguration", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. webhooks : [ValidatingWebhook], default is Undefined, optional Webhooks is a list of webhooks and the affected resources and operations. @@ -27,7 +27,7 @@ schema ValidatingWebhookConfiguration: kind: "ValidatingWebhookConfiguration" = "ValidatingWebhookConfiguration" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta webhooks?: [ValidatingWebhook] diff --git a/k8s/1.25/api/admissionregistration/v1/validating_webhook_configuration_list.k b/k8s/1.25/api/admissionregistration/v1/validating_webhook_configuration_list.k index 0515b188..2691da1c 100644 --- a/k8s/1.25/api/admissionregistration/v1/validating_webhook_configuration_list.k +++ b/k8s/1.25/api/admissionregistration/v1/validating_webhook_configuration_list.k @@ -3,7 +3,7 @@ This is the validating_webhook_configuration_list module in k8s.api.admissionreg This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingWebhookConfigurationList: @@ -18,7 +18,7 @@ schema ValidatingWebhookConfigurationList: List of ValidatingWebhookConfiguration. kind : str, default is "ValidatingWebhookConfigurationList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ValidatingWebhookConfigurationList: kind: "ValidatingWebhookConfigurationList" = "ValidatingWebhookConfigurationList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.25/api/apiserverinternal/v1alpha1/storage_version.k b/k8s/1.25/api/apiserverinternal/v1alpha1/storage_version.k index 4e3de9df..9723ca14 100644 --- a/k8s/1.25/api/apiserverinternal/v1alpha1/storage_version.k +++ b/k8s/1.25/api/apiserverinternal/v1alpha1/storage_version.k @@ -3,7 +3,7 @@ This is the storage_version module in k8s.api.apiserverinternal.v1alpha1 package This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StorageVersion: @@ -16,7 +16,7 @@ schema StorageVersion: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "StorageVersion", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional The name is .. spec : any, default is Undefined, required Spec is an empty spec. It is here to comply with Kubernetes API style. @@ -27,7 +27,7 @@ schema StorageVersion: kind: "StorageVersion" = "StorageVersion" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: any diff --git a/k8s/1.25/api/apiserverinternal/v1alpha1/storage_version_list.k b/k8s/1.25/api/apiserverinternal/v1alpha1/storage_version_list.k index 1da65e55..a75d5c84 100644 --- a/k8s/1.25/api/apiserverinternal/v1alpha1/storage_version_list.k +++ b/k8s/1.25/api/apiserverinternal/v1alpha1/storage_version_list.k @@ -3,7 +3,7 @@ This is the storage_version_list module in k8s.api.apiserverinternal.v1alpha1 pa This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StorageVersionList: @@ -18,7 +18,7 @@ schema StorageVersionList: Items holds a list of StorageVersion kind : str, default is "StorageVersionList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema StorageVersionList: kind: "StorageVersionList" = "StorageVersionList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.25/api/apps/v1/controller_revision.k b/k8s/1.25/api/apps/v1/controller_revision.k index dbb3d441..56163182 100644 --- a/k8s/1.25/api/apps/v1/controller_revision.k +++ b/k8s/1.25/api/apps/v1/controller_revision.k @@ -3,7 +3,7 @@ This is the controller_revision module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ControllerRevision: @@ -18,7 +18,7 @@ schema ControllerRevision: Data is the serialized representation of the state. kind : str, default is "ControllerRevision", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata revision : int, default is Undefined, required Revision indicates the revision of the state represented by Data. @@ -31,7 +31,7 @@ schema ControllerRevision: kind: "ControllerRevision" = "ControllerRevision" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta revision: int diff --git a/k8s/1.25/api/apps/v1/controller_revision_list.k b/k8s/1.25/api/apps/v1/controller_revision_list.k index e145fcff..bb64d1fe 100644 --- a/k8s/1.25/api/apps/v1/controller_revision_list.k +++ b/k8s/1.25/api/apps/v1/controller_revision_list.k @@ -3,7 +3,7 @@ This is the controller_revision_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ControllerRevisionList: @@ -18,7 +18,7 @@ schema ControllerRevisionList: Items is the list of ControllerRevisions kind : str, default is "ControllerRevisionList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema ControllerRevisionList: kind: "ControllerRevisionList" = "ControllerRevisionList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.25/api/apps/v1/daemon_set.k b/k8s/1.25/api/apps/v1/daemon_set.k index 33e7b68b..fd1c7c20 100644 --- a/k8s/1.25/api/apps/v1/daemon_set.k +++ b/k8s/1.25/api/apps/v1/daemon_set.k @@ -3,7 +3,7 @@ This is the daemon_set module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DaemonSet: @@ -16,7 +16,7 @@ schema DaemonSet: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "DaemonSet", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : DaemonSetSpec, default is Undefined, optional The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema DaemonSet: kind: "DaemonSet" = "DaemonSet" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: DaemonSetSpec diff --git a/k8s/1.25/api/apps/v1/daemon_set_list.k b/k8s/1.25/api/apps/v1/daemon_set_list.k index 3515d999..795c26f8 100644 --- a/k8s/1.25/api/apps/v1/daemon_set_list.k +++ b/k8s/1.25/api/apps/v1/daemon_set_list.k @@ -3,7 +3,7 @@ This is the daemon_set_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DaemonSetList: @@ -18,7 +18,7 @@ schema DaemonSetList: A list of daemon sets. kind : str, default is "DaemonSetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema DaemonSetList: kind: "DaemonSetList" = "DaemonSetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.25/api/apps/v1/daemon_set_spec.k b/k8s/1.25/api/apps/v1/daemon_set_spec.k index caf3faf8..352f849c 100644 --- a/k8s/1.25/api/apps/v1/daemon_set_spec.k +++ b/k8s/1.25/api/apps/v1/daemon_set_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DaemonSetSpec: @@ -17,7 +17,7 @@ schema DaemonSetSpec: The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready). revisionHistoryLimit : int, default is Undefined, optional The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required A label query over pods that are managed by the daemon set. Must match in order to be controlled. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors template : corev1.PodTemplateSpec, default is Undefined, required An object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template @@ -30,7 +30,7 @@ schema DaemonSetSpec: revisionHistoryLimit?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector template: corev1.PodTemplateSpec diff --git a/k8s/1.25/api/apps/v1/deployment.k b/k8s/1.25/api/apps/v1/deployment.k index 38b5af9e..12cf0b73 100644 --- a/k8s/1.25/api/apps/v1/deployment.k +++ b/k8s/1.25/api/apps/v1/deployment.k @@ -3,7 +3,7 @@ This is the deployment module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Deployment: @@ -16,7 +16,7 @@ schema Deployment: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Deployment", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : DeploymentSpec, default is Undefined, optional Specification of the desired behavior of the Deployment. @@ -27,7 +27,7 @@ schema Deployment: kind: "Deployment" = "Deployment" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: DeploymentSpec diff --git a/k8s/1.25/api/apps/v1/deployment_list.k b/k8s/1.25/api/apps/v1/deployment_list.k index a83ce0d5..8fa44e9b 100644 --- a/k8s/1.25/api/apps/v1/deployment_list.k +++ b/k8s/1.25/api/apps/v1/deployment_list.k @@ -3,7 +3,7 @@ This is the deployment_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DeploymentList: @@ -18,7 +18,7 @@ schema DeploymentList: Items is the list of Deployments. kind : str, default is "DeploymentList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema DeploymentList: kind: "DeploymentList" = "DeploymentList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.25/api/apps/v1/deployment_spec.k b/k8s/1.25/api/apps/v1/deployment_spec.k index b8591d9a..c0f14ef0 100644 --- a/k8s/1.25/api/apps/v1/deployment_spec.k +++ b/k8s/1.25/api/apps/v1/deployment_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DeploymentSpec: @@ -23,7 +23,7 @@ schema DeploymentSpec: Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1. revisionHistoryLimit : int, default is Undefined, optional The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. It must match the pod template's labels. strategy : DeploymentStrategy, default is Undefined, optional The deployment strategy to use to replace existing pods with new ones. @@ -42,7 +42,7 @@ schema DeploymentSpec: revisionHistoryLimit?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector strategy?: DeploymentStrategy diff --git a/k8s/1.25/api/apps/v1/replica_set.k b/k8s/1.25/api/apps/v1/replica_set.k index 0497ff66..79552175 100644 --- a/k8s/1.25/api/apps/v1/replica_set.k +++ b/k8s/1.25/api/apps/v1/replica_set.k @@ -3,7 +3,7 @@ This is the replica_set module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicaSet: @@ -16,7 +16,7 @@ schema ReplicaSet: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ReplicaSet", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : ReplicaSetSpec, default is Undefined, optional Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema ReplicaSet: kind: "ReplicaSet" = "ReplicaSet" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ReplicaSetSpec diff --git a/k8s/1.25/api/apps/v1/replica_set_list.k b/k8s/1.25/api/apps/v1/replica_set_list.k index 0e25bef7..689ca9bb 100644 --- a/k8s/1.25/api/apps/v1/replica_set_list.k +++ b/k8s/1.25/api/apps/v1/replica_set_list.k @@ -3,7 +3,7 @@ This is the replica_set_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicaSetList: @@ -18,7 +18,7 @@ schema ReplicaSetList: List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller kind : str, default is "ReplicaSetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ReplicaSetList: kind: "ReplicaSetList" = "ReplicaSetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.25/api/apps/v1/replica_set_spec.k b/k8s/1.25/api/apps/v1/replica_set_spec.k index 700810d3..53ae3f6f 100644 --- a/k8s/1.25/api/apps/v1/replica_set_spec.k +++ b/k8s/1.25/api/apps/v1/replica_set_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicaSetSpec: @@ -17,7 +17,7 @@ schema ReplicaSetSpec: Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) replicas : int, default is Undefined, optional Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required Selector is a label query over pods that should match the replica count. Label keys and values that must match in order to be controlled by this replica set. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors template : corev1.PodTemplateSpec, default is Undefined, optional Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template @@ -28,7 +28,7 @@ schema ReplicaSetSpec: replicas?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector template?: corev1.PodTemplateSpec diff --git a/k8s/1.25/api/apps/v1/stateful_set.k b/k8s/1.25/api/apps/v1/stateful_set.k index c3b7106d..18d52ced 100644 --- a/k8s/1.25/api/apps/v1/stateful_set.k +++ b/k8s/1.25/api/apps/v1/stateful_set.k @@ -3,7 +3,7 @@ This is the stateful_set module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StatefulSet: @@ -20,7 +20,7 @@ schema StatefulSet: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "StatefulSet", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : StatefulSetSpec, default is Undefined, optional Spec defines the desired identities of pods in this set. @@ -31,7 +31,7 @@ schema StatefulSet: kind: "StatefulSet" = "StatefulSet" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: StatefulSetSpec diff --git a/k8s/1.25/api/apps/v1/stateful_set_list.k b/k8s/1.25/api/apps/v1/stateful_set_list.k index 2eec95d8..441abc55 100644 --- a/k8s/1.25/api/apps/v1/stateful_set_list.k +++ b/k8s/1.25/api/apps/v1/stateful_set_list.k @@ -3,7 +3,7 @@ This is the stateful_set_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StatefulSetList: @@ -18,7 +18,7 @@ schema StatefulSetList: Items is the list of stateful sets. kind : str, default is "StatefulSetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema StatefulSetList: kind: "StatefulSetList" = "StatefulSetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.25/api/apps/v1/stateful_set_spec.k b/k8s/1.25/api/apps/v1/stateful_set_spec.k index 6ab16dcd..45373f5d 100644 --- a/k8s/1.25/api/apps/v1/stateful_set_spec.k +++ b/k8s/1.25/api/apps/v1/stateful_set_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StatefulSetSpec: @@ -25,7 +25,7 @@ schema StatefulSetSpec: replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1. revisionHistoryLimit : int, default is Undefined, optional revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10. - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required selector is a label query over pods that should match the replica count. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors serviceName : str, default is Undefined, required serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where "pod-specific-string" is managed by the StatefulSet controller. @@ -48,7 +48,7 @@ schema StatefulSetSpec: revisionHistoryLimit?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector serviceName: str diff --git a/k8s/1.25/api/authentication/v1/token_request.k b/k8s/1.25/api/authentication/v1/token_request.k index 429ebd8e..477cf85e 100644 --- a/k8s/1.25/api/authentication/v1/token_request.k +++ b/k8s/1.25/api/authentication/v1/token_request.k @@ -3,7 +3,7 @@ This is the token_request module in k8s.api.authentication.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema TokenRequest: @@ -16,7 +16,7 @@ schema TokenRequest: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "TokenRequest", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : TokenRequestSpec, default is Undefined, required Spec holds information about the request being evaluated @@ -27,7 +27,7 @@ schema TokenRequest: kind: "TokenRequest" = "TokenRequest" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: TokenRequestSpec diff --git a/k8s/1.25/api/authentication/v1/token_review.k b/k8s/1.25/api/authentication/v1/token_review.k index 62c61db1..349936f3 100644 --- a/k8s/1.25/api/authentication/v1/token_review.k +++ b/k8s/1.25/api/authentication/v1/token_review.k @@ -3,7 +3,7 @@ This is the token_review module in k8s.api.authentication.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema TokenReview: @@ -16,7 +16,7 @@ schema TokenReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "TokenReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : TokenReviewSpec, default is Undefined, required Spec holds information about the request being evaluated @@ -27,7 +27,7 @@ schema TokenReview: kind: "TokenReview" = "TokenReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: TokenReviewSpec diff --git a/k8s/1.25/api/authorization/v1/local_subject_access_review.k b/k8s/1.25/api/authorization/v1/local_subject_access_review.k index 79b08fbe..4cf5723a 100644 --- a/k8s/1.25/api/authorization/v1/local_subject_access_review.k +++ b/k8s/1.25/api/authorization/v1/local_subject_access_review.k @@ -3,7 +3,7 @@ This is the local_subject_access_review module in k8s.api.authorization.v1 packa This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LocalSubjectAccessReview: @@ -16,7 +16,7 @@ schema LocalSubjectAccessReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "LocalSubjectAccessReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : SubjectAccessReviewSpec, default is Undefined, required Spec holds information about the request being evaluated. spec.namespace must be equal to the namespace you made the request against. If empty, it is defaulted. @@ -27,7 +27,7 @@ schema LocalSubjectAccessReview: kind: "LocalSubjectAccessReview" = "LocalSubjectAccessReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SubjectAccessReviewSpec diff --git a/k8s/1.25/api/authorization/v1/self_subject_access_review.k b/k8s/1.25/api/authorization/v1/self_subject_access_review.k index 4fd1e21e..d32833e7 100644 --- a/k8s/1.25/api/authorization/v1/self_subject_access_review.k +++ b/k8s/1.25/api/authorization/v1/self_subject_access_review.k @@ -3,7 +3,7 @@ This is the self_subject_access_review module in k8s.api.authorization.v1 packag This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SelfSubjectAccessReview: @@ -16,7 +16,7 @@ schema SelfSubjectAccessReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SelfSubjectAccessReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : SelfSubjectAccessReviewSpec, default is Undefined, required Spec holds information about the request being evaluated. user and groups must be empty @@ -27,7 +27,7 @@ schema SelfSubjectAccessReview: kind: "SelfSubjectAccessReview" = "SelfSubjectAccessReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SelfSubjectAccessReviewSpec diff --git a/k8s/1.25/api/authorization/v1/self_subject_rules_review.k b/k8s/1.25/api/authorization/v1/self_subject_rules_review.k index a29ee599..baaf47ac 100644 --- a/k8s/1.25/api/authorization/v1/self_subject_rules_review.k +++ b/k8s/1.25/api/authorization/v1/self_subject_rules_review.k @@ -3,7 +3,7 @@ This is the self_subject_rules_review module in k8s.api.authorization.v1 package This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SelfSubjectRulesReview: @@ -16,7 +16,7 @@ schema SelfSubjectRulesReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SelfSubjectRulesReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : SelfSubjectRulesReviewSpec, default is Undefined, required Spec holds information about the request being evaluated. @@ -27,7 +27,7 @@ schema SelfSubjectRulesReview: kind: "SelfSubjectRulesReview" = "SelfSubjectRulesReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SelfSubjectRulesReviewSpec diff --git a/k8s/1.25/api/authorization/v1/subject_access_review.k b/k8s/1.25/api/authorization/v1/subject_access_review.k index 9d15bdb3..d054d8f5 100644 --- a/k8s/1.25/api/authorization/v1/subject_access_review.k +++ b/k8s/1.25/api/authorization/v1/subject_access_review.k @@ -3,7 +3,7 @@ This is the subject_access_review module in k8s.api.authorization.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SubjectAccessReview: @@ -16,7 +16,7 @@ schema SubjectAccessReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SubjectAccessReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : SubjectAccessReviewSpec, default is Undefined, required Spec holds information about the request being evaluated @@ -27,7 +27,7 @@ schema SubjectAccessReview: kind: "SubjectAccessReview" = "SubjectAccessReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SubjectAccessReviewSpec diff --git a/k8s/1.25/api/autoscaling/v1/horizontal_pod_autoscaler.k b/k8s/1.25/api/autoscaling/v1/horizontal_pod_autoscaler.k index eea68027..b81a2839 100644 --- a/k8s/1.25/api/autoscaling/v1/horizontal_pod_autoscaler.k +++ b/k8s/1.25/api/autoscaling/v1/horizontal_pod_autoscaler.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler module in k8s.api.autoscaling.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscaler: @@ -16,7 +16,7 @@ schema HorizontalPodAutoscaler: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "HorizontalPodAutoscaler", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : HorizontalPodAutoscalerSpec, default is Undefined, optional behaviour of autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema HorizontalPodAutoscaler: kind: "HorizontalPodAutoscaler" = "HorizontalPodAutoscaler" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: HorizontalPodAutoscalerSpec diff --git a/k8s/1.25/api/autoscaling/v1/horizontal_pod_autoscaler_list.k b/k8s/1.25/api/autoscaling/v1/horizontal_pod_autoscaler_list.k index 829f7b8b..40a58fe3 100644 --- a/k8s/1.25/api/autoscaling/v1/horizontal_pod_autoscaler_list.k +++ b/k8s/1.25/api/autoscaling/v1/horizontal_pod_autoscaler_list.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler_list module in k8s.api.autoscaling.v1 pack This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscalerList: @@ -18,7 +18,7 @@ schema HorizontalPodAutoscalerList: list of horizontal pod autoscaler objects. kind : str, default is "HorizontalPodAutoscalerList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema HorizontalPodAutoscalerList: kind: "HorizontalPodAutoscalerList" = "HorizontalPodAutoscalerList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.25/api/autoscaling/v1/scale.k b/k8s/1.25/api/autoscaling/v1/scale.k index d9bbdae4..1466aa0e 100644 --- a/k8s/1.25/api/autoscaling/v1/scale.k +++ b/k8s/1.25/api/autoscaling/v1/scale.k @@ -3,7 +3,7 @@ This is the scale module in k8s.api.autoscaling.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Scale: @@ -16,7 +16,7 @@ schema Scale: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Scale", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. spec : ScaleSpec, default is Undefined, optional defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema Scale: kind: "Scale" = "Scale" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ScaleSpec diff --git a/k8s/1.25/api/autoscaling/v2/horizontal_pod_autoscaler.k b/k8s/1.25/api/autoscaling/v2/horizontal_pod_autoscaler.k index 45093baf..80ed131b 100644 --- a/k8s/1.25/api/autoscaling/v2/horizontal_pod_autoscaler.k +++ b/k8s/1.25/api/autoscaling/v2/horizontal_pod_autoscaler.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler module in k8s.api.autoscaling.v2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscaler: @@ -16,7 +16,7 @@ schema HorizontalPodAutoscaler: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "HorizontalPodAutoscaler", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : HorizontalPodAutoscalerSpec, default is Undefined, optional spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema HorizontalPodAutoscaler: kind: "HorizontalPodAutoscaler" = "HorizontalPodAutoscaler" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: HorizontalPodAutoscalerSpec diff --git a/k8s/1.25/api/autoscaling/v2/horizontal_pod_autoscaler_list.k b/k8s/1.25/api/autoscaling/v2/horizontal_pod_autoscaler_list.k index 07b059fb..87bfa8bf 100644 --- a/k8s/1.25/api/autoscaling/v2/horizontal_pod_autoscaler_list.k +++ b/k8s/1.25/api/autoscaling/v2/horizontal_pod_autoscaler_list.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler_list module in k8s.api.autoscaling.v2 pack This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscalerList: @@ -18,7 +18,7 @@ schema HorizontalPodAutoscalerList: items is the list of horizontal pod autoscaler objects. kind : str, default is "HorizontalPodAutoscalerList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata is the standard list metadata. """ @@ -29,6 +29,6 @@ schema HorizontalPodAutoscalerList: kind: "HorizontalPodAutoscalerList" = "HorizontalPodAutoscalerList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.25/api/autoscaling/v2/metric_identifier.k b/k8s/1.25/api/autoscaling/v2/metric_identifier.k index d1538fb1..df0007a9 100644 --- a/k8s/1.25/api/autoscaling/v2/metric_identifier.k +++ b/k8s/1.25/api/autoscaling/v2/metric_identifier.k @@ -3,7 +3,7 @@ This is the metric_identifier module in k8s.api.autoscaling.v2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MetricIdentifier: @@ -14,13 +14,13 @@ schema MetricIdentifier: ---------- name : str, default is Undefined, required name is the name of the given metric - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics. """ name: str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector diff --git a/k8s/1.25/api/autoscaling/v2beta2/horizontal_pod_autoscaler.k b/k8s/1.25/api/autoscaling/v2beta2/horizontal_pod_autoscaler.k index 9ab9ca42..fb10b245 100644 --- a/k8s/1.25/api/autoscaling/v2beta2/horizontal_pod_autoscaler.k +++ b/k8s/1.25/api/autoscaling/v2beta2/horizontal_pod_autoscaler.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler module in k8s.api.autoscaling.v2beta2 pack This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscaler: @@ -16,7 +16,7 @@ schema HorizontalPodAutoscaler: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "HorizontalPodAutoscaler", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : HorizontalPodAutoscalerSpec, default is Undefined, optional spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema HorizontalPodAutoscaler: kind: "HorizontalPodAutoscaler" = "HorizontalPodAutoscaler" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: HorizontalPodAutoscalerSpec diff --git a/k8s/1.25/api/autoscaling/v2beta2/horizontal_pod_autoscaler_list.k b/k8s/1.25/api/autoscaling/v2beta2/horizontal_pod_autoscaler_list.k index ad127934..152be58d 100644 --- a/k8s/1.25/api/autoscaling/v2beta2/horizontal_pod_autoscaler_list.k +++ b/k8s/1.25/api/autoscaling/v2beta2/horizontal_pod_autoscaler_list.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler_list module in k8s.api.autoscaling.v2beta2 This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscalerList: @@ -18,7 +18,7 @@ schema HorizontalPodAutoscalerList: items is the list of horizontal pod autoscaler objects. kind : str, default is "HorizontalPodAutoscalerList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata is the standard list metadata. """ @@ -29,6 +29,6 @@ schema HorizontalPodAutoscalerList: kind: "HorizontalPodAutoscalerList" = "HorizontalPodAutoscalerList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.25/api/autoscaling/v2beta2/metric_identifier.k b/k8s/1.25/api/autoscaling/v2beta2/metric_identifier.k index 18d313d2..06be0dff 100644 --- a/k8s/1.25/api/autoscaling/v2beta2/metric_identifier.k +++ b/k8s/1.25/api/autoscaling/v2beta2/metric_identifier.k @@ -3,7 +3,7 @@ This is the metric_identifier module in k8s.api.autoscaling.v2beta2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MetricIdentifier: @@ -14,13 +14,13 @@ schema MetricIdentifier: ---------- name : str, default is Undefined, required name is the name of the given metric - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics. """ name: str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector diff --git a/k8s/1.25/api/batch/v1/cron_job.k b/k8s/1.25/api/batch/v1/cron_job.k index 380498ff..c716e33b 100644 --- a/k8s/1.25/api/batch/v1/cron_job.k +++ b/k8s/1.25/api/batch/v1/cron_job.k @@ -3,7 +3,7 @@ This is the cron_job module in k8s.api.batch.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CronJob: @@ -16,7 +16,7 @@ schema CronJob: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CronJob", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : CronJobSpec, default is Undefined, optional Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema CronJob: kind: "CronJob" = "CronJob" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: CronJobSpec diff --git a/k8s/1.25/api/batch/v1/cron_job_list.k b/k8s/1.25/api/batch/v1/cron_job_list.k index 69e1971a..8200a4bd 100644 --- a/k8s/1.25/api/batch/v1/cron_job_list.k +++ b/k8s/1.25/api/batch/v1/cron_job_list.k @@ -3,7 +3,7 @@ This is the cron_job_list module in k8s.api.batch.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CronJobList: @@ -18,7 +18,7 @@ schema CronJobList: items is the list of CronJobs. kind : str, default is "CronJobList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CronJobList: kind: "CronJobList" = "CronJobList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.25/api/batch/v1/job.k b/k8s/1.25/api/batch/v1/job.k index 44fbc917..3e545aac 100644 --- a/k8s/1.25/api/batch/v1/job.k +++ b/k8s/1.25/api/batch/v1/job.k @@ -3,7 +3,7 @@ This is the job module in k8s.api.batch.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Job: @@ -16,7 +16,7 @@ schema Job: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Job", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : JobSpec, default is Undefined, optional Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Job: kind: "Job" = "Job" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: JobSpec diff --git a/k8s/1.25/api/batch/v1/job_list.k b/k8s/1.25/api/batch/v1/job_list.k index 88588804..e2f8aee6 100644 --- a/k8s/1.25/api/batch/v1/job_list.k +++ b/k8s/1.25/api/batch/v1/job_list.k @@ -3,7 +3,7 @@ This is the job_list module in k8s.api.batch.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema JobList: @@ -18,7 +18,7 @@ schema JobList: items is the list of Jobs. kind : str, default is "JobList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema JobList: kind: "JobList" = "JobList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.25/api/batch/v1/job_spec.k b/k8s/1.25/api/batch/v1/job_spec.k index 97e20689..49d65982 100644 --- a/k8s/1.25/api/batch/v1/job_spec.k +++ b/k8s/1.25/api/batch/v1/job_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema JobSpec: @@ -35,7 +35,7 @@ schema JobSpec: Specifies the policy of handling failed pods. In particular, it allows to specify the set of actions and conditions which need to be satisfied to take the associated action. If empty, the default behaviour applies - the counter of failed pods, represented by the jobs's .status.failed field, is incremented and it is checked against the backoffLimit. This field cannot be used in combination with restartPolicy=OnFailure. This field is alpha-level. To use this field, you must enable the `JobPodFailurePolicy` feature gate (disabled by default). - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional A label query over pods that should match the pod count. Normally, the system sets this field for you. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors suspend : bool, default is Undefined, optional Suspend specifies whether the Job controller should create Pods or not. If a Job is created with suspend set to true, no Pods are created by the Job controller. If a Job is suspended after creation (i.e. the flag goes from false to true), the Job controller will delete all active Pods associated with this Job. Users must design their workload to gracefully handle this. Suspending a Job will reset the StartTime field of the Job, effectively resetting the ActiveDeadlineSeconds timer too. Defaults to false. @@ -60,7 +60,7 @@ schema JobSpec: podFailurePolicy?: PodFailurePolicy - selector?: v1.LabelSelector + selector?: metav1.LabelSelector suspend?: bool diff --git a/k8s/1.25/api/batch/v1/job_template_spec.k b/k8s/1.25/api/batch/v1/job_template_spec.k index 840a8d23..c1797200 100644 --- a/k8s/1.25/api/batch/v1/job_template_spec.k +++ b/k8s/1.25/api/batch/v1/job_template_spec.k @@ -3,7 +3,7 @@ This is the job_template_spec module in k8s.api.batch.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema JobTemplateSpec: @@ -12,14 +12,14 @@ schema JobTemplateSpec: Attributes ---------- - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : JobSpec, default is Undefined, optional Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status """ - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: JobSpec diff --git a/k8s/1.25/api/certificates/v1/certificate_signing_request.k b/k8s/1.25/api/certificates/v1/certificate_signing_request.k index 70bfc6e0..6697afe5 100644 --- a/k8s/1.25/api/certificates/v1/certificate_signing_request.k +++ b/k8s/1.25/api/certificates/v1/certificate_signing_request.k @@ -3,7 +3,7 @@ This is the certificate_signing_request module in k8s.api.certificates.v1 packag This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CertificateSigningRequest: @@ -22,7 +22,7 @@ schema CertificateSigningRequest: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CertificateSigningRequest", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : CertificateSigningRequestSpec, default is Undefined, required spec contains the certificate request, and is immutable after creation. Only the request, signerName, expirationSeconds, and usages fields can be set on creation. Other fields are derived by Kubernetes and cannot be modified by users. @@ -33,7 +33,7 @@ schema CertificateSigningRequest: kind: "CertificateSigningRequest" = "CertificateSigningRequest" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CertificateSigningRequestSpec diff --git a/k8s/1.25/api/certificates/v1/certificate_signing_request_list.k b/k8s/1.25/api/certificates/v1/certificate_signing_request_list.k index bef8b509..dcf72eab 100644 --- a/k8s/1.25/api/certificates/v1/certificate_signing_request_list.k +++ b/k8s/1.25/api/certificates/v1/certificate_signing_request_list.k @@ -3,7 +3,7 @@ This is the certificate_signing_request_list module in k8s.api.certificates.v1 p This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CertificateSigningRequestList: @@ -18,7 +18,7 @@ schema CertificateSigningRequestList: items is a collection of CertificateSigningRequest objects kind : str, default is "CertificateSigningRequestList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema CertificateSigningRequestList: kind: "CertificateSigningRequestList" = "CertificateSigningRequestList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.25/api/coordination/v1/lease.k b/k8s/1.25/api/coordination/v1/lease.k index f9d243c9..b3722c9a 100644 --- a/k8s/1.25/api/coordination/v1/lease.k +++ b/k8s/1.25/api/coordination/v1/lease.k @@ -3,7 +3,7 @@ This is the lease module in k8s.api.coordination.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Lease: @@ -16,7 +16,7 @@ schema Lease: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Lease", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : LeaseSpec, default is Undefined, optional Specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Lease: kind: "Lease" = "Lease" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: LeaseSpec diff --git a/k8s/1.25/api/coordination/v1/lease_list.k b/k8s/1.25/api/coordination/v1/lease_list.k index 64932a19..93a01ab6 100644 --- a/k8s/1.25/api/coordination/v1/lease_list.k +++ b/k8s/1.25/api/coordination/v1/lease_list.k @@ -3,7 +3,7 @@ This is the lease_list module in k8s.api.coordination.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LeaseList: @@ -18,7 +18,7 @@ schema LeaseList: Items is a list of schema objects. kind : str, default is "LeaseList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema LeaseList: kind: "LeaseList" = "LeaseList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.25/api/core/v1/binding.k b/k8s/1.25/api/core/v1/binding.k index e6e478fe..077459fa 100644 --- a/k8s/1.25/api/core/v1/binding.k +++ b/k8s/1.25/api/core/v1/binding.k @@ -3,7 +3,7 @@ This is the binding module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Binding: @@ -16,7 +16,7 @@ schema Binding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Binding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata target : ObjectReference, default is Undefined, required The target object that you want to bind to the standard object. @@ -27,7 +27,7 @@ schema Binding: kind: "Binding" = "Binding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta target: ObjectReference diff --git a/k8s/1.25/api/core/v1/component_status.k b/k8s/1.25/api/core/v1/component_status.k index 19549c61..0d6862b5 100644 --- a/k8s/1.25/api/core/v1/component_status.k +++ b/k8s/1.25/api/core/v1/component_status.k @@ -3,7 +3,7 @@ This is the component_status module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ComponentStatus: @@ -18,7 +18,7 @@ schema ComponentStatus: List of component conditions observed kind : str, default is "ComponentStatus", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema ComponentStatus: kind: "ComponentStatus" = "ComponentStatus" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta diff --git a/k8s/1.25/api/core/v1/component_status_list.k b/k8s/1.25/api/core/v1/component_status_list.k index 0c8fa890..f76a9a62 100644 --- a/k8s/1.25/api/core/v1/component_status_list.k +++ b/k8s/1.25/api/core/v1/component_status_list.k @@ -3,7 +3,7 @@ This is the component_status_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ComponentStatusList: @@ -18,7 +18,7 @@ schema ComponentStatusList: List of ComponentStatus objects. kind : str, default is "ComponentStatusList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ComponentStatusList: kind: "ComponentStatusList" = "ComponentStatusList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.25/api/core/v1/config_map.k b/k8s/1.25/api/core/v1/config_map.k index ac683b69..ee2a9e47 100644 --- a/k8s/1.25/api/core/v1/config_map.k +++ b/k8s/1.25/api/core/v1/config_map.k @@ -3,7 +3,7 @@ This is the config_map module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ConfigMap: @@ -22,7 +22,7 @@ schema ConfigMap: Immutable, if set to true, ensures that data stored in the ConfigMap cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil. kind : str, default is "ConfigMap", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -37,6 +37,6 @@ schema ConfigMap: kind: "ConfigMap" = "ConfigMap" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta diff --git a/k8s/1.25/api/core/v1/config_map_list.k b/k8s/1.25/api/core/v1/config_map_list.k index 5712f514..35df0e4b 100644 --- a/k8s/1.25/api/core/v1/config_map_list.k +++ b/k8s/1.25/api/core/v1/config_map_list.k @@ -3,7 +3,7 @@ This is the config_map_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ConfigMapList: @@ -18,7 +18,7 @@ schema ConfigMapList: Items is the list of ConfigMaps. kind : str, default is "ConfigMapList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema ConfigMapList: kind: "ConfigMapList" = "ConfigMapList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.25/api/core/v1/endpoints.k b/k8s/1.25/api/core/v1/endpoints.k index c1644290..6b8b80ff 100644 --- a/k8s/1.25/api/core/v1/endpoints.k +++ b/k8s/1.25/api/core/v1/endpoints.k @@ -3,7 +3,7 @@ This is the endpoints module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Endpoints: @@ -28,7 +28,7 @@ schema Endpoints: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Endpoints", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata subsets : [EndpointSubset], default is Undefined, optional The set of all endpoints is the union of all subsets. Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service. @@ -39,7 +39,7 @@ schema Endpoints: kind: "Endpoints" = "Endpoints" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta subsets?: [EndpointSubset] diff --git a/k8s/1.25/api/core/v1/endpoints_list.k b/k8s/1.25/api/core/v1/endpoints_list.k index 7ccf6442..f019c842 100644 --- a/k8s/1.25/api/core/v1/endpoints_list.k +++ b/k8s/1.25/api/core/v1/endpoints_list.k @@ -3,7 +3,7 @@ This is the endpoints_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EndpointsList: @@ -18,7 +18,7 @@ schema EndpointsList: List of endpoints. kind : str, default is "EndpointsList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema EndpointsList: kind: "EndpointsList" = "EndpointsList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.25/api/core/v1/event.k b/k8s/1.25/api/core/v1/event.k index 0cc2ba81..f1564c4b 100644 --- a/k8s/1.25/api/core/v1/event.k +++ b/k8s/1.25/api/core/v1/event.k @@ -3,7 +3,7 @@ This is the event module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Event: @@ -30,7 +30,7 @@ schema Event: The time at which the most recent occurrence of this event was recorded. message : str, default is Undefined, optional A human-readable description of the status of this operation. - metadata : v1.ObjectMeta, default is Undefined, required + metadata : metav1.ObjectMeta, default is Undefined, required Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata reason : str, default is Undefined, optional This should be a short, machine understandable string that gives the reason for the transition into the object's current status. @@ -67,7 +67,7 @@ schema Event: message?: str - metadata: v1.ObjectMeta + metadata: metav1.ObjectMeta reason?: str diff --git a/k8s/1.25/api/core/v1/event_list.k b/k8s/1.25/api/core/v1/event_list.k index e543b7cf..d4ed6ffa 100644 --- a/k8s/1.25/api/core/v1/event_list.k +++ b/k8s/1.25/api/core/v1/event_list.k @@ -3,7 +3,7 @@ This is the event_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EventList: @@ -18,7 +18,7 @@ schema EventList: List of events kind : str, default is "EventList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema EventList: kind: "EventList" = "EventList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.25/api/core/v1/limit_range.k b/k8s/1.25/api/core/v1/limit_range.k index 5de64019..3c476447 100644 --- a/k8s/1.25/api/core/v1/limit_range.k +++ b/k8s/1.25/api/core/v1/limit_range.k @@ -3,7 +3,7 @@ This is the limit_range module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LimitRange: @@ -16,7 +16,7 @@ schema LimitRange: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "LimitRange", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : LimitRangeSpec, default is Undefined, optional Spec defines the limits enforced. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema LimitRange: kind: "LimitRange" = "LimitRange" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: LimitRangeSpec diff --git a/k8s/1.25/api/core/v1/limit_range_list.k b/k8s/1.25/api/core/v1/limit_range_list.k index 61da1fba..fc6b5692 100644 --- a/k8s/1.25/api/core/v1/limit_range_list.k +++ b/k8s/1.25/api/core/v1/limit_range_list.k @@ -3,7 +3,7 @@ This is the limit_range_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LimitRangeList: @@ -18,7 +18,7 @@ schema LimitRangeList: Items is a list of LimitRange objects. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ kind : str, default is "LimitRangeList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema LimitRangeList: kind: "LimitRangeList" = "LimitRangeList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.25/api/core/v1/namespace.k b/k8s/1.25/api/core/v1/namespace.k index 52b6b94f..66125388 100644 --- a/k8s/1.25/api/core/v1/namespace.k +++ b/k8s/1.25/api/core/v1/namespace.k @@ -3,7 +3,7 @@ This is the namespace module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Namespace: @@ -16,7 +16,7 @@ schema Namespace: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Namespace", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : NamespaceSpec, default is Undefined, optional Spec defines the behavior of the Namespace. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Namespace: kind: "Namespace" = "Namespace" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: NamespaceSpec diff --git a/k8s/1.25/api/core/v1/namespace_list.k b/k8s/1.25/api/core/v1/namespace_list.k index 0a362eac..1783b0bc 100644 --- a/k8s/1.25/api/core/v1/namespace_list.k +++ b/k8s/1.25/api/core/v1/namespace_list.k @@ -3,7 +3,7 @@ This is the namespace_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NamespaceList: @@ -18,7 +18,7 @@ schema NamespaceList: Items is the list of Namespace objects in the list. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ kind : str, default is "NamespaceList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema NamespaceList: kind: "NamespaceList" = "NamespaceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.25/api/core/v1/node.k b/k8s/1.25/api/core/v1/node.k index 99f9cab9..dcfea158 100644 --- a/k8s/1.25/api/core/v1/node.k +++ b/k8s/1.25/api/core/v1/node.k @@ -3,7 +3,7 @@ This is the node module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Node: @@ -16,7 +16,7 @@ schema Node: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Node", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : NodeSpec, default is Undefined, optional Spec defines the behavior of a node. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Node: kind: "Node" = "Node" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: NodeSpec diff --git a/k8s/1.25/api/core/v1/node_list.k b/k8s/1.25/api/core/v1/node_list.k index 40992f99..26fe9968 100644 --- a/k8s/1.25/api/core/v1/node_list.k +++ b/k8s/1.25/api/core/v1/node_list.k @@ -3,7 +3,7 @@ This is the node_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NodeList: @@ -18,7 +18,7 @@ schema NodeList: List of nodes kind : str, default is "NodeList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema NodeList: kind: "NodeList" = "NodeList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.25/api/core/v1/persistent_volume.k b/k8s/1.25/api/core/v1/persistent_volume.k index ed41f554..1f3d5968 100644 --- a/k8s/1.25/api/core/v1/persistent_volume.k +++ b/k8s/1.25/api/core/v1/persistent_volume.k @@ -3,7 +3,7 @@ This is the persistent_volume module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolume: @@ -16,7 +16,7 @@ schema PersistentVolume: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PersistentVolume", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PersistentVolumeSpec, default is Undefined, optional spec defines a specification of a persistent volume owned by the cluster. Provisioned by an administrator. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes @@ -27,7 +27,7 @@ schema PersistentVolume: kind: "PersistentVolume" = "PersistentVolume" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PersistentVolumeSpec diff --git a/k8s/1.25/api/core/v1/persistent_volume_claim.k b/k8s/1.25/api/core/v1/persistent_volume_claim.k index 1b478b67..65da03d4 100644 --- a/k8s/1.25/api/core/v1/persistent_volume_claim.k +++ b/k8s/1.25/api/core/v1/persistent_volume_claim.k @@ -3,7 +3,7 @@ This is the persistent_volume_claim module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeClaim: @@ -16,7 +16,7 @@ schema PersistentVolumeClaim: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PersistentVolumeClaim", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PersistentVolumeClaimSpec, default is Undefined, optional spec defines the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims @@ -27,7 +27,7 @@ schema PersistentVolumeClaim: kind: "PersistentVolumeClaim" = "PersistentVolumeClaim" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PersistentVolumeClaimSpec diff --git a/k8s/1.25/api/core/v1/persistent_volume_claim_list.k b/k8s/1.25/api/core/v1/persistent_volume_claim_list.k index e09bc2ef..23447a12 100644 --- a/k8s/1.25/api/core/v1/persistent_volume_claim_list.k +++ b/k8s/1.25/api/core/v1/persistent_volume_claim_list.k @@ -3,7 +3,7 @@ This is the persistent_volume_claim_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeClaimList: @@ -18,7 +18,7 @@ schema PersistentVolumeClaimList: items is a list of persistent volume claims. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims kind : str, default is "PersistentVolumeClaimList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema PersistentVolumeClaimList: kind: "PersistentVolumeClaimList" = "PersistentVolumeClaimList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.25/api/core/v1/persistent_volume_claim_spec.k b/k8s/1.25/api/core/v1/persistent_volume_claim_spec.k index 589eeb35..77927ee5 100644 --- a/k8s/1.25/api/core/v1/persistent_volume_claim_spec.k +++ b/k8s/1.25/api/core/v1/persistent_volume_claim_spec.k @@ -3,7 +3,7 @@ This is the persistent_volume_claim_spec module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeClaimSpec: @@ -25,7 +25,7 @@ schema PersistentVolumeClaimSpec: (Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled. resources : ResourceRequirements, default is Undefined, optional resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector is a label query over volumes to consider for binding. storageClassName : str, default is Undefined, optional storageClassName is the name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1 @@ -44,7 +44,7 @@ schema PersistentVolumeClaimSpec: resources?: ResourceRequirements - selector?: v1.LabelSelector + selector?: metav1.LabelSelector storageClassName?: str diff --git a/k8s/1.25/api/core/v1/persistent_volume_claim_template.k b/k8s/1.25/api/core/v1/persistent_volume_claim_template.k index e6758b96..a8a010df 100644 --- a/k8s/1.25/api/core/v1/persistent_volume_claim_template.k +++ b/k8s/1.25/api/core/v1/persistent_volume_claim_template.k @@ -3,7 +3,7 @@ This is the persistent_volume_claim_template module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeClaimTemplate: @@ -12,14 +12,14 @@ schema PersistentVolumeClaimTemplate: Attributes ---------- - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. spec : PersistentVolumeClaimSpec, default is Undefined, required The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here. """ - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: PersistentVolumeClaimSpec diff --git a/k8s/1.25/api/core/v1/persistent_volume_list.k b/k8s/1.25/api/core/v1/persistent_volume_list.k index b1498d78..1d426ef6 100644 --- a/k8s/1.25/api/core/v1/persistent_volume_list.k +++ b/k8s/1.25/api/core/v1/persistent_volume_list.k @@ -3,7 +3,7 @@ This is the persistent_volume_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeList: @@ -18,7 +18,7 @@ schema PersistentVolumeList: items is a list of persistent volumes. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes kind : str, default is "PersistentVolumeList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema PersistentVolumeList: kind: "PersistentVolumeList" = "PersistentVolumeList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.25/api/core/v1/pod.k b/k8s/1.25/api/core/v1/pod.k index 659a9e99..66568628 100644 --- a/k8s/1.25/api/core/v1/pod.k +++ b/k8s/1.25/api/core/v1/pod.k @@ -3,7 +3,7 @@ This is the pod module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Pod: @@ -16,7 +16,7 @@ schema Pod: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Pod", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PodSpec, default is Undefined, optional Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Pod: kind: "Pod" = "Pod" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PodSpec diff --git a/k8s/1.25/api/core/v1/pod_affinity_term.k b/k8s/1.25/api/core/v1/pod_affinity_term.k index fa331b29..a0bd3408 100644 --- a/k8s/1.25/api/core/v1/pod_affinity_term.k +++ b/k8s/1.25/api/core/v1/pod_affinity_term.k @@ -3,7 +3,7 @@ This is the pod_affinity_term module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodAffinityTerm: @@ -12,9 +12,9 @@ schema PodAffinityTerm: Attributes ---------- - labelSelector : v1.LabelSelector, default is Undefined, optional + labelSelector : metav1.LabelSelector, default is Undefined, optional A label query over a set of resources, in this case pods. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. namespaces : [str], default is Undefined, optional namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means "this pod's namespace". @@ -23,9 +23,9 @@ schema PodAffinityTerm: """ - labelSelector?: v1.LabelSelector + labelSelector?: metav1.LabelSelector - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector namespaces?: [str] diff --git a/k8s/1.25/api/core/v1/pod_list.k b/k8s/1.25/api/core/v1/pod_list.k index 10ad5eb9..4c031d05 100644 --- a/k8s/1.25/api/core/v1/pod_list.k +++ b/k8s/1.25/api/core/v1/pod_list.k @@ -3,7 +3,7 @@ This is the pod_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodList: @@ -18,7 +18,7 @@ schema PodList: List of pods. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md kind : str, default is "PodList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema PodList: kind: "PodList" = "PodList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.25/api/core/v1/pod_template.k b/k8s/1.25/api/core/v1/pod_template.k index 98e64f70..6ffbfa64 100644 --- a/k8s/1.25/api/core/v1/pod_template.k +++ b/k8s/1.25/api/core/v1/pod_template.k @@ -3,7 +3,7 @@ This is the pod_template module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodTemplate: @@ -16,7 +16,7 @@ schema PodTemplate: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PodTemplate", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata template : PodTemplateSpec, default is Undefined, optional Template defines the pods that will be created from this pod template. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema PodTemplate: kind: "PodTemplate" = "PodTemplate" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta template?: PodTemplateSpec diff --git a/k8s/1.25/api/core/v1/pod_template_list.k b/k8s/1.25/api/core/v1/pod_template_list.k index 8bb1827f..94024175 100644 --- a/k8s/1.25/api/core/v1/pod_template_list.k +++ b/k8s/1.25/api/core/v1/pod_template_list.k @@ -3,7 +3,7 @@ This is the pod_template_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodTemplateList: @@ -18,7 +18,7 @@ schema PodTemplateList: List of pod templates kind : str, default is "PodTemplateList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema PodTemplateList: kind: "PodTemplateList" = "PodTemplateList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.25/api/core/v1/pod_template_spec.k b/k8s/1.25/api/core/v1/pod_template_spec.k index 1274c88b..6011ef81 100644 --- a/k8s/1.25/api/core/v1/pod_template_spec.k +++ b/k8s/1.25/api/core/v1/pod_template_spec.k @@ -3,7 +3,7 @@ This is the pod_template_spec module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodTemplateSpec: @@ -12,14 +12,14 @@ schema PodTemplateSpec: Attributes ---------- - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PodSpec, default is Undefined, optional Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status """ - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PodSpec diff --git a/k8s/1.25/api/core/v1/replication_controller.k b/k8s/1.25/api/core/v1/replication_controller.k index 08b091e8..37724706 100644 --- a/k8s/1.25/api/core/v1/replication_controller.k +++ b/k8s/1.25/api/core/v1/replication_controller.k @@ -3,7 +3,7 @@ This is the replication_controller module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicationController: @@ -16,7 +16,7 @@ schema ReplicationController: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ReplicationController", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional If the Labels of a ReplicationController are empty, they are defaulted to be the same as the Pod(s) that the replication controller manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : ReplicationControllerSpec, default is Undefined, optional Spec defines the specification of the desired behavior of the replication controller. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema ReplicationController: kind: "ReplicationController" = "ReplicationController" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ReplicationControllerSpec diff --git a/k8s/1.25/api/core/v1/replication_controller_list.k b/k8s/1.25/api/core/v1/replication_controller_list.k index 64afa179..63f9d4b2 100644 --- a/k8s/1.25/api/core/v1/replication_controller_list.k +++ b/k8s/1.25/api/core/v1/replication_controller_list.k @@ -3,7 +3,7 @@ This is the replication_controller_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicationControllerList: @@ -18,7 +18,7 @@ schema ReplicationControllerList: List of replication controllers. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller kind : str, default is "ReplicationControllerList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ReplicationControllerList: kind: "ReplicationControllerList" = "ReplicationControllerList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.25/api/core/v1/resource_quota.k b/k8s/1.25/api/core/v1/resource_quota.k index b7da49d1..0ec7c409 100644 --- a/k8s/1.25/api/core/v1/resource_quota.k +++ b/k8s/1.25/api/core/v1/resource_quota.k @@ -3,7 +3,7 @@ This is the resource_quota module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceQuota: @@ -16,7 +16,7 @@ schema ResourceQuota: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ResourceQuota", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : ResourceQuotaSpec, default is Undefined, optional Spec defines the desired quota. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema ResourceQuota: kind: "ResourceQuota" = "ResourceQuota" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ResourceQuotaSpec diff --git a/k8s/1.25/api/core/v1/resource_quota_list.k b/k8s/1.25/api/core/v1/resource_quota_list.k index ca1424b8..f8dbc87d 100644 --- a/k8s/1.25/api/core/v1/resource_quota_list.k +++ b/k8s/1.25/api/core/v1/resource_quota_list.k @@ -3,7 +3,7 @@ This is the resource_quota_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceQuotaList: @@ -18,7 +18,7 @@ schema ResourceQuotaList: Items is a list of ResourceQuota objects. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/ kind : str, default is "ResourceQuotaList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ResourceQuotaList: kind: "ResourceQuotaList" = "ResourceQuotaList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.25/api/core/v1/secret.k b/k8s/1.25/api/core/v1/secret.k index 315e5f78..79324811 100644 --- a/k8s/1.25/api/core/v1/secret.k +++ b/k8s/1.25/api/core/v1/secret.k @@ -3,7 +3,7 @@ This is the secret module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Secret: @@ -20,7 +20,7 @@ schema Secret: Immutable, if set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil. kind : str, default is "Secret", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata stringData : {str:str}, default is Undefined, optional stringData allows specifying non-binary secret data in string form. It is provided as a write-only input field for convenience. All keys and values are merged into the data field on write, overwriting any existing values. The stringData field is never output when reading from the API. @@ -37,7 +37,7 @@ schema Secret: kind: "Secret" = "Secret" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta stringData?: {str:str} diff --git a/k8s/1.25/api/core/v1/secret_list.k b/k8s/1.25/api/core/v1/secret_list.k index 335c47b4..9e80806b 100644 --- a/k8s/1.25/api/core/v1/secret_list.k +++ b/k8s/1.25/api/core/v1/secret_list.k @@ -3,7 +3,7 @@ This is the secret_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SecretList: @@ -18,7 +18,7 @@ schema SecretList: Items is a list of secret objects. More info: https://kubernetes.io/docs/concepts/configuration/secret kind : str, default is "SecretList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema SecretList: kind: "SecretList" = "SecretList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.25/api/core/v1/service.k b/k8s/1.25/api/core/v1/service.k index 1f259a80..3b86c8ef 100644 --- a/k8s/1.25/api/core/v1/service.k +++ b/k8s/1.25/api/core/v1/service.k @@ -3,7 +3,7 @@ This is the service module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Service: @@ -16,7 +16,7 @@ schema Service: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Service", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : ServiceSpec, default is Undefined, optional Spec defines the behavior of a service. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Service: kind: "Service" = "Service" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ServiceSpec diff --git a/k8s/1.25/api/core/v1/service_account.k b/k8s/1.25/api/core/v1/service_account.k index 3ffd21b4..2570f531 100644 --- a/k8s/1.25/api/core/v1/service_account.k +++ b/k8s/1.25/api/core/v1/service_account.k @@ -3,7 +3,7 @@ This is the service_account module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ServiceAccount: @@ -20,7 +20,7 @@ schema ServiceAccount: ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod kind : str, default is "ServiceAccount", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata secrets : [ObjectReference], default is Undefined, optional Secrets is a list of the secrets in the same namespace that pods running using this ServiceAccount are allowed to use. Pods are only limited to this list if this service account has a "kubernetes.io/enforce-mountable-secrets" annotation set to "true". This field should not be used to find auto-generated service account token secrets for use outside of pods. Instead, tokens can be requested directly using the TokenRequest API, or service account token secrets can be manually created. More info: https://kubernetes.io/docs/concepts/configuration/secret @@ -35,7 +35,7 @@ schema ServiceAccount: kind: "ServiceAccount" = "ServiceAccount" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta secrets?: [ObjectReference] diff --git a/k8s/1.25/api/core/v1/service_account_list.k b/k8s/1.25/api/core/v1/service_account_list.k index 26a9319a..d8cd46b8 100644 --- a/k8s/1.25/api/core/v1/service_account_list.k +++ b/k8s/1.25/api/core/v1/service_account_list.k @@ -3,7 +3,7 @@ This is the service_account_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ServiceAccountList: @@ -18,7 +18,7 @@ schema ServiceAccountList: List of ServiceAccounts. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ kind : str, default is "ServiceAccountList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ServiceAccountList: kind: "ServiceAccountList" = "ServiceAccountList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.25/api/core/v1/service_list.k b/k8s/1.25/api/core/v1/service_list.k index 0c1e31be..5c4fae8a 100644 --- a/k8s/1.25/api/core/v1/service_list.k +++ b/k8s/1.25/api/core/v1/service_list.k @@ -3,7 +3,7 @@ This is the service_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ServiceList: @@ -18,7 +18,7 @@ schema ServiceList: List of services kind : str, default is "ServiceList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ServiceList: kind: "ServiceList" = "ServiceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.25/api/core/v1/service_status.k b/k8s/1.25/api/core/v1/service_status.k index 029dda86..f1fc66e6 100644 --- a/k8s/1.25/api/core/v1/service_status.k +++ b/k8s/1.25/api/core/v1/service_status.k @@ -3,7 +3,7 @@ This is the service_status module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ServiceStatus: @@ -12,14 +12,14 @@ schema ServiceStatus: Attributes ---------- - conditions : [v1.Condition], default is Undefined, optional + conditions : [metav1.Condition], default is Undefined, optional Current service state loadBalancer : LoadBalancerStatus, default is Undefined, optional LoadBalancer contains the current status of the load-balancer, if one is present. """ - conditions?: [v1.Condition] + conditions?: [metav1.Condition] loadBalancer?: LoadBalancerStatus diff --git a/k8s/1.25/api/core/v1/topology_spread_constraint.k b/k8s/1.25/api/core/v1/topology_spread_constraint.k index 54b9e021..e88e9125 100644 --- a/k8s/1.25/api/core/v1/topology_spread_constraint.k +++ b/k8s/1.25/api/core/v1/topology_spread_constraint.k @@ -3,7 +3,7 @@ This is the topology_spread_constraint module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema TopologySpreadConstraint: @@ -12,7 +12,7 @@ schema TopologySpreadConstraint: Attributes ---------- - labelSelector : v1.LabelSelector, default is Undefined, optional + labelSelector : metav1.LabelSelector, default is Undefined, optional LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain. matchLabelKeys : [str], default is Undefined, optional MatchLabelKeys is a set of pod label keys to select the pods over which spreading will be calculated. The keys are used to lookup values from the incoming pod labels, those key-value labels are ANDed with labelSelector to select the group of existing pods over which spreading will be calculated for the incoming pod. Keys that don't exist in the incoming pod labels will be ignored. A null or empty list means only match against labelSelector. @@ -44,7 +44,7 @@ schema TopologySpreadConstraint: """ - labelSelector?: v1.LabelSelector + labelSelector?: metav1.LabelSelector matchLabelKeys?: [str] diff --git a/k8s/1.25/api/discovery/v1/endpoint_slice.k b/k8s/1.25/api/discovery/v1/endpoint_slice.k index c213c210..5688c1c9 100644 --- a/k8s/1.25/api/discovery/v1/endpoint_slice.k +++ b/k8s/1.25/api/discovery/v1/endpoint_slice.k @@ -3,7 +3,7 @@ This is the endpoint_slice module in k8s.api.discovery.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EndpointSlice: @@ -22,7 +22,7 @@ schema EndpointSlice: endpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints. kind : str, default is "EndpointSlice", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. ports : [EndpointPort], default is Undefined, optional ports specifies the list of network ports exposed by each endpoint in this slice. Each port must have a unique name. When ports is empty, it indicates that there are no defined ports. When a port is defined with a nil port value, it indicates "all ports". Each slice may include a maximum of 100 ports. @@ -37,7 +37,7 @@ schema EndpointSlice: kind: "EndpointSlice" = "EndpointSlice" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta ports?: [EndpointPort] diff --git a/k8s/1.25/api/discovery/v1/endpoint_slice_list.k b/k8s/1.25/api/discovery/v1/endpoint_slice_list.k index d1ca1ed7..241ba06f 100644 --- a/k8s/1.25/api/discovery/v1/endpoint_slice_list.k +++ b/k8s/1.25/api/discovery/v1/endpoint_slice_list.k @@ -3,7 +3,7 @@ This is the endpoint_slice_list module in k8s.api.discovery.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EndpointSliceList: @@ -18,7 +18,7 @@ schema EndpointSliceList: List of endpoint slices kind : str, default is "EndpointSliceList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema EndpointSliceList: kind: "EndpointSliceList" = "EndpointSliceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.25/api/events/v1/event_list.k b/k8s/1.25/api/events/v1/event_list.k index 6d5e7dad..4c4d96ba 100644 --- a/k8s/1.25/api/events/v1/event_list.k +++ b/k8s/1.25/api/events/v1/event_list.k @@ -3,7 +3,7 @@ This is the event_list module in k8s.api.events.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EventList: @@ -18,7 +18,7 @@ schema EventList: items is a list of schema objects. kind : str, default is "EventList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema EventList: kind: "EventList" = "EventList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.25/api/flowcontrol/v1beta1/flow_schema.k b/k8s/1.25/api/flowcontrol/v1beta1/flow_schema.k index 55faf528..cf4974cd 100644 --- a/k8s/1.25/api/flowcontrol/v1beta1/flow_schema.k +++ b/k8s/1.25/api/flowcontrol/v1beta1/flow_schema.k @@ -3,7 +3,7 @@ This is the flow_schema module in k8s.api.flowcontrol.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema FlowSchema: @@ -16,7 +16,7 @@ schema FlowSchema: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "FlowSchema", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : FlowSchemaSpec, default is Undefined, optional `spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema FlowSchema: kind: "FlowSchema" = "FlowSchema" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: FlowSchemaSpec diff --git a/k8s/1.25/api/flowcontrol/v1beta1/flow_schema_list.k b/k8s/1.25/api/flowcontrol/v1beta1/flow_schema_list.k index 4f91a66c..740f3aa2 100644 --- a/k8s/1.25/api/flowcontrol/v1beta1/flow_schema_list.k +++ b/k8s/1.25/api/flowcontrol/v1beta1/flow_schema_list.k @@ -3,7 +3,7 @@ This is the flow_schema_list module in k8s.api.flowcontrol.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema FlowSchemaList: @@ -18,7 +18,7 @@ schema FlowSchemaList: `items` is a list of FlowSchemas. kind : str, default is "FlowSchemaList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional `metadata` is the standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema FlowSchemaList: kind: "FlowSchemaList" = "FlowSchemaList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.25/api/flowcontrol/v1beta1/priority_level_configuration.k b/k8s/1.25/api/flowcontrol/v1beta1/priority_level_configuration.k index 46ae1bf4..3068b4ac 100644 --- a/k8s/1.25/api/flowcontrol/v1beta1/priority_level_configuration.k +++ b/k8s/1.25/api/flowcontrol/v1beta1/priority_level_configuration.k @@ -3,7 +3,7 @@ This is the priority_level_configuration module in k8s.api.flowcontrol.v1beta1 p This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityLevelConfiguration: @@ -16,7 +16,7 @@ schema PriorityLevelConfiguration: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PriorityLevelConfiguration", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PriorityLevelConfigurationSpec, default is Undefined, optional `spec` is the specification of the desired behavior of a "request-priority". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema PriorityLevelConfiguration: kind: "PriorityLevelConfiguration" = "PriorityLevelConfiguration" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PriorityLevelConfigurationSpec diff --git a/k8s/1.25/api/flowcontrol/v1beta1/priority_level_configuration_list.k b/k8s/1.25/api/flowcontrol/v1beta1/priority_level_configuration_list.k index fbc0a3d7..de2e7738 100644 --- a/k8s/1.25/api/flowcontrol/v1beta1/priority_level_configuration_list.k +++ b/k8s/1.25/api/flowcontrol/v1beta1/priority_level_configuration_list.k @@ -3,7 +3,7 @@ This is the priority_level_configuration_list module in k8s.api.flowcontrol.v1be This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityLevelConfigurationList: @@ -18,7 +18,7 @@ schema PriorityLevelConfigurationList: `items` is a list of request-priorities. kind : str, default is "PriorityLevelConfigurationList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PriorityLevelConfigurationList: kind: "PriorityLevelConfigurationList" = "PriorityLevelConfigurationList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.25/api/flowcontrol/v1beta2/flow_schema.k b/k8s/1.25/api/flowcontrol/v1beta2/flow_schema.k index 38841e20..ca58b323 100644 --- a/k8s/1.25/api/flowcontrol/v1beta2/flow_schema.k +++ b/k8s/1.25/api/flowcontrol/v1beta2/flow_schema.k @@ -3,7 +3,7 @@ This is the flow_schema module in k8s.api.flowcontrol.v1beta2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema FlowSchema: @@ -16,7 +16,7 @@ schema FlowSchema: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "FlowSchema", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : FlowSchemaSpec, default is Undefined, optional `spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema FlowSchema: kind: "FlowSchema" = "FlowSchema" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: FlowSchemaSpec diff --git a/k8s/1.25/api/flowcontrol/v1beta2/flow_schema_list.k b/k8s/1.25/api/flowcontrol/v1beta2/flow_schema_list.k index 41f1f453..084935f5 100644 --- a/k8s/1.25/api/flowcontrol/v1beta2/flow_schema_list.k +++ b/k8s/1.25/api/flowcontrol/v1beta2/flow_schema_list.k @@ -3,7 +3,7 @@ This is the flow_schema_list module in k8s.api.flowcontrol.v1beta2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema FlowSchemaList: @@ -18,7 +18,7 @@ schema FlowSchemaList: `items` is a list of FlowSchemas. kind : str, default is "FlowSchemaList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional `metadata` is the standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema FlowSchemaList: kind: "FlowSchemaList" = "FlowSchemaList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.25/api/flowcontrol/v1beta2/priority_level_configuration.k b/k8s/1.25/api/flowcontrol/v1beta2/priority_level_configuration.k index adfdc552..654decc0 100644 --- a/k8s/1.25/api/flowcontrol/v1beta2/priority_level_configuration.k +++ b/k8s/1.25/api/flowcontrol/v1beta2/priority_level_configuration.k @@ -3,7 +3,7 @@ This is the priority_level_configuration module in k8s.api.flowcontrol.v1beta2 p This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityLevelConfiguration: @@ -16,7 +16,7 @@ schema PriorityLevelConfiguration: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PriorityLevelConfiguration", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PriorityLevelConfigurationSpec, default is Undefined, optional `spec` is the specification of the desired behavior of a "request-priority". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema PriorityLevelConfiguration: kind: "PriorityLevelConfiguration" = "PriorityLevelConfiguration" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PriorityLevelConfigurationSpec diff --git a/k8s/1.25/api/flowcontrol/v1beta2/priority_level_configuration_list.k b/k8s/1.25/api/flowcontrol/v1beta2/priority_level_configuration_list.k index 3677c841..e3b5923d 100644 --- a/k8s/1.25/api/flowcontrol/v1beta2/priority_level_configuration_list.k +++ b/k8s/1.25/api/flowcontrol/v1beta2/priority_level_configuration_list.k @@ -3,7 +3,7 @@ This is the priority_level_configuration_list module in k8s.api.flowcontrol.v1be This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityLevelConfigurationList: @@ -18,7 +18,7 @@ schema PriorityLevelConfigurationList: `items` is a list of request-priorities. kind : str, default is "PriorityLevelConfigurationList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PriorityLevelConfigurationList: kind: "PriorityLevelConfigurationList" = "PriorityLevelConfigurationList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.25/api/networking/v1/ingress.k b/k8s/1.25/api/networking/v1/ingress.k index 84067c5f..7429b93d 100644 --- a/k8s/1.25/api/networking/v1/ingress.k +++ b/k8s/1.25/api/networking/v1/ingress.k @@ -3,7 +3,7 @@ This is the ingress module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Ingress: @@ -16,7 +16,7 @@ schema Ingress: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Ingress", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : IngressSpec, default is Undefined, optional Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Ingress: kind: "Ingress" = "Ingress" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: IngressSpec diff --git a/k8s/1.25/api/networking/v1/ingress_class.k b/k8s/1.25/api/networking/v1/ingress_class.k index 53cf2398..ad2f67bd 100644 --- a/k8s/1.25/api/networking/v1/ingress_class.k +++ b/k8s/1.25/api/networking/v1/ingress_class.k @@ -3,7 +3,7 @@ This is the ingress_class module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema IngressClass: @@ -16,7 +16,7 @@ schema IngressClass: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "IngressClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : IngressClassSpec, default is Undefined, optional Spec is the desired state of the IngressClass. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema IngressClass: kind: "IngressClass" = "IngressClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: IngressClassSpec diff --git a/k8s/1.25/api/networking/v1/ingress_class_list.k b/k8s/1.25/api/networking/v1/ingress_class_list.k index 7a8dfb45..432a667e 100644 --- a/k8s/1.25/api/networking/v1/ingress_class_list.k +++ b/k8s/1.25/api/networking/v1/ingress_class_list.k @@ -3,7 +3,7 @@ This is the ingress_class_list module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema IngressClassList: @@ -18,7 +18,7 @@ schema IngressClassList: Items is the list of IngressClasses. kind : str, default is "IngressClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema IngressClassList: kind: "IngressClassList" = "IngressClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.25/api/networking/v1/ingress_list.k b/k8s/1.25/api/networking/v1/ingress_list.k index 5fc2315f..a73781b0 100644 --- a/k8s/1.25/api/networking/v1/ingress_list.k +++ b/k8s/1.25/api/networking/v1/ingress_list.k @@ -3,7 +3,7 @@ This is the ingress_list module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema IngressList: @@ -18,7 +18,7 @@ schema IngressList: Items is the list of Ingress. kind : str, default is "IngressList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema IngressList: kind: "IngressList" = "IngressList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.25/api/networking/v1/network_policy.k b/k8s/1.25/api/networking/v1/network_policy.k index 888fc8a4..f4ffe0ea 100644 --- a/k8s/1.25/api/networking/v1/network_policy.k +++ b/k8s/1.25/api/networking/v1/network_policy.k @@ -3,7 +3,7 @@ This is the network_policy module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicy: @@ -16,7 +16,7 @@ schema NetworkPolicy: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "NetworkPolicy", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : NetworkPolicySpec, default is Undefined, optional Specification of the desired behavior for this NetworkPolicy. @@ -27,7 +27,7 @@ schema NetworkPolicy: kind: "NetworkPolicy" = "NetworkPolicy" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: NetworkPolicySpec diff --git a/k8s/1.25/api/networking/v1/network_policy_list.k b/k8s/1.25/api/networking/v1/network_policy_list.k index 7a05cb37..8e21e919 100644 --- a/k8s/1.25/api/networking/v1/network_policy_list.k +++ b/k8s/1.25/api/networking/v1/network_policy_list.k @@ -3,7 +3,7 @@ This is the network_policy_list module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicyList: @@ -18,7 +18,7 @@ schema NetworkPolicyList: Items is a list of schema objects. kind : str, default is "NetworkPolicyList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema NetworkPolicyList: kind: "NetworkPolicyList" = "NetworkPolicyList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.25/api/networking/v1/network_policy_peer.k b/k8s/1.25/api/networking/v1/network_policy_peer.k index c579477f..57c680fb 100644 --- a/k8s/1.25/api/networking/v1/network_policy_peer.k +++ b/k8s/1.25/api/networking/v1/network_policy_peer.k @@ -3,7 +3,7 @@ This is the network_policy_peer module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicyPeer: @@ -14,11 +14,11 @@ schema NetworkPolicyPeer: ---------- ipBlock : IPBlock, default is Undefined, optional IPBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional Selects Namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces. If PodSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects all Pods in the Namespaces selected by NamespaceSelector. - podSelector : v1.LabelSelector, default is Undefined, optional + podSelector : metav1.LabelSelector, default is Undefined, optional This is a label selector which selects Pods. This field follows standard label selector semantics; if present but empty, it selects all pods. If NamespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the Pods matching PodSelector in the policy's own Namespace. @@ -27,8 +27,8 @@ schema NetworkPolicyPeer: ipBlock?: IPBlock - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector - podSelector?: v1.LabelSelector + podSelector?: metav1.LabelSelector diff --git a/k8s/1.25/api/networking/v1/network_policy_spec.k b/k8s/1.25/api/networking/v1/network_policy_spec.k index d1b738dc..5ceec480 100644 --- a/k8s/1.25/api/networking/v1/network_policy_spec.k +++ b/k8s/1.25/api/networking/v1/network_policy_spec.k @@ -3,7 +3,7 @@ This is the network_policy_spec module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicySpec: @@ -16,7 +16,7 @@ schema NetworkPolicySpec: List of egress rules to be applied to the selected pods. Outgoing traffic is allowed if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic matches at least one egress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy limits all outgoing traffic (and serves solely to ensure that the pods it selects are isolated by default). This field is beta-level in 1.8 ingress : [NetworkPolicyIngressRule], default is Undefined, optional List of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not allow any traffic (and serves solely to ensure that the pods it selects are isolated by default) - podSelector : v1.LabelSelector, default is Undefined, required + podSelector : metav1.LabelSelector, default is Undefined, required Selects the pods to which this NetworkPolicy object applies. The array of ingress rules is applied to any pods selected by this field. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is NOT optional and follows standard label selector semantics. An empty podSelector matches all pods in this namespace. policyTypes : [str], default is Undefined, optional List of rule types that the NetworkPolicy relates to. Valid options are ["Ingress"], ["Egress"], or ["Ingress", "Egress"]. If this field is not specified, it will default based on the existence of Ingress or Egress rules; policies that contain an Egress section are assumed to affect Egress, and all policies (whether or not they contain an Ingress section) are assumed to affect Ingress. If you want to write an egress-only policy, you must explicitly specify policyTypes [ "Egress" ]. Likewise, if you want to write a policy that specifies that no egress is allowed, you must specify a policyTypes value that include "Egress" (since such a policy would not include an Egress section and would otherwise default to just [ "Ingress" ]). This field is beta-level in 1.8 @@ -27,7 +27,7 @@ schema NetworkPolicySpec: ingress?: [NetworkPolicyIngressRule] - podSelector: v1.LabelSelector + podSelector: metav1.LabelSelector policyTypes?: [str] diff --git a/k8s/1.25/api/networking/v1/network_policy_status.k b/k8s/1.25/api/networking/v1/network_policy_status.k index 82635871..ba919de0 100644 --- a/k8s/1.25/api/networking/v1/network_policy_status.k +++ b/k8s/1.25/api/networking/v1/network_policy_status.k @@ -3,7 +3,7 @@ This is the network_policy_status module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicyStatus: @@ -12,11 +12,11 @@ schema NetworkPolicyStatus: Attributes ---------- - conditions : [v1.Condition], default is Undefined, optional + conditions : [metav1.Condition], default is Undefined, optional Conditions holds an array of metav1.Condition that describe the state of the NetworkPolicy. Current service state """ - conditions?: [v1.Condition] + conditions?: [metav1.Condition] diff --git a/k8s/1.25/api/networking/v1alpha1/cluster_cidr.k b/k8s/1.25/api/networking/v1alpha1/cluster_cidr.k index 3ed530f3..8e47dfc0 100644 --- a/k8s/1.25/api/networking/v1alpha1/cluster_cidr.k +++ b/k8s/1.25/api/networking/v1alpha1/cluster_cidr.k @@ -3,7 +3,7 @@ This is the cluster_cidr module in k8s.api.networking.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterCIDR: @@ -16,7 +16,7 @@ schema ClusterCIDR: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ClusterCIDR", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : ClusterCIDRSpec, default is Undefined, optional Spec is the desired state of the ClusterCIDR. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema ClusterCIDR: kind: "ClusterCIDR" = "ClusterCIDR" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ClusterCIDRSpec diff --git a/k8s/1.25/api/networking/v1alpha1/cluster_cidr_list.k b/k8s/1.25/api/networking/v1alpha1/cluster_cidr_list.k index 64de913e..bdd5e392 100644 --- a/k8s/1.25/api/networking/v1alpha1/cluster_cidr_list.k +++ b/k8s/1.25/api/networking/v1alpha1/cluster_cidr_list.k @@ -3,7 +3,7 @@ This is the cluster_cidr_list module in k8s.api.networking.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterCIDRList: @@ -18,7 +18,7 @@ schema ClusterCIDRList: Items is the list of ClusterCIDRs. kind : str, default is "ClusterCIDRList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema ClusterCIDRList: kind: "ClusterCIDRList" = "ClusterCIDRList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.25/api/node/v1/runtime_class.k b/k8s/1.25/api/node/v1/runtime_class.k index e415e1d0..ee184cbf 100644 --- a/k8s/1.25/api/node/v1/runtime_class.k +++ b/k8s/1.25/api/node/v1/runtime_class.k @@ -3,7 +3,7 @@ This is the runtime_class module in k8s.api.node.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RuntimeClass: @@ -18,7 +18,7 @@ schema RuntimeClass: Handler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration. It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called "runc" might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The Handler must be lowercase, conform to the DNS Label (RFC 1123) requirements, and is immutable. kind : str, default is "RuntimeClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata overhead : Overhead, default is Undefined, optional Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see @@ -34,7 +34,7 @@ schema RuntimeClass: kind: "RuntimeClass" = "RuntimeClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta overhead?: Overhead diff --git a/k8s/1.25/api/node/v1/runtime_class_list.k b/k8s/1.25/api/node/v1/runtime_class_list.k index 66bfea91..4f1ac3f5 100644 --- a/k8s/1.25/api/node/v1/runtime_class_list.k +++ b/k8s/1.25/api/node/v1/runtime_class_list.k @@ -3,7 +3,7 @@ This is the runtime_class_list module in k8s.api.node.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RuntimeClassList: @@ -18,7 +18,7 @@ schema RuntimeClassList: Items is a list of schema objects. kind : str, default is "RuntimeClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema RuntimeClassList: kind: "RuntimeClassList" = "RuntimeClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.25/api/policy/v1/eviction.k b/k8s/1.25/api/policy/v1/eviction.k index e87c2ee9..121fb323 100644 --- a/k8s/1.25/api/policy/v1/eviction.k +++ b/k8s/1.25/api/policy/v1/eviction.k @@ -3,7 +3,7 @@ This is the eviction module in k8s.api.policy.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Eviction: @@ -14,21 +14,21 @@ schema Eviction: ---------- apiVersion : str, default is "policy/v1", required APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - deleteOptions : v1.DeleteOptions, default is Undefined, optional + deleteOptions : metav1.DeleteOptions, default is Undefined, optional DeleteOptions may be provided kind : str, default is "Eviction", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional ObjectMeta describes the pod that is being evicted. """ apiVersion: "policy/v1" = "policy/v1" - deleteOptions?: v1.DeleteOptions + deleteOptions?: metav1.DeleteOptions kind: "Eviction" = "Eviction" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta diff --git a/k8s/1.25/api/policy/v1/pod_disruption_budget.k b/k8s/1.25/api/policy/v1/pod_disruption_budget.k index 08151f41..02483ed4 100644 --- a/k8s/1.25/api/policy/v1/pod_disruption_budget.k +++ b/k8s/1.25/api/policy/v1/pod_disruption_budget.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget module in k8s.api.policy.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudget: @@ -16,7 +16,7 @@ schema PodDisruptionBudget: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PodDisruptionBudget", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PodDisruptionBudgetSpec, default is Undefined, optional Specification of the desired behavior of the PodDisruptionBudget. @@ -27,7 +27,7 @@ schema PodDisruptionBudget: kind: "PodDisruptionBudget" = "PodDisruptionBudget" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PodDisruptionBudgetSpec diff --git a/k8s/1.25/api/policy/v1/pod_disruption_budget_list.k b/k8s/1.25/api/policy/v1/pod_disruption_budget_list.k index 9075ecd9..0a3f925d 100644 --- a/k8s/1.25/api/policy/v1/pod_disruption_budget_list.k +++ b/k8s/1.25/api/policy/v1/pod_disruption_budget_list.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget_list module in k8s.api.policy.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudgetList: @@ -18,7 +18,7 @@ schema PodDisruptionBudgetList: Items is a list of PodDisruptionBudgets kind : str, default is "PodDisruptionBudgetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PodDisruptionBudgetList: kind: "PodDisruptionBudgetList" = "PodDisruptionBudgetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.25/api/policy/v1/pod_disruption_budget_spec.k b/k8s/1.25/api/policy/v1/pod_disruption_budget_spec.k index 6e881436..39b64d7c 100644 --- a/k8s/1.25/api/policy/v1/pod_disruption_budget_spec.k +++ b/k8s/1.25/api/policy/v1/pod_disruption_budget_spec.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget_spec module in k8s.api.policy.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudgetSpec: @@ -16,7 +16,7 @@ schema PodDisruptionBudgetSpec: An eviction is allowed if at most "maxUnavailable" pods selected by "selector" are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with "minAvailable". minAvailable : int | str, default is Undefined, optional An eviction is allowed if at least "minAvailable" pods selected by "selector" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying "100%". - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional Label query over pods whose evictions are managed by the disruption budget. A null selector will match no pods, while an empty ({}) selector will select all pods within the namespace. """ @@ -25,6 +25,6 @@ schema PodDisruptionBudgetSpec: minAvailable?: int | str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector diff --git a/k8s/1.25/api/policy/v1/pod_disruption_budget_status.k b/k8s/1.25/api/policy/v1/pod_disruption_budget_status.k index 58d0ef88..b8db8025 100644 --- a/k8s/1.25/api/policy/v1/pod_disruption_budget_status.k +++ b/k8s/1.25/api/policy/v1/pod_disruption_budget_status.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget_status module in k8s.api.policy.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudgetStatus: @@ -12,7 +12,7 @@ schema PodDisruptionBudgetStatus: Attributes ---------- - conditions : [v1.Condition], default is Undefined, optional + conditions : [metav1.Condition], default is Undefined, optional Conditions contain conditions for PDB. The disruption controller sets the DisruptionAllowed condition. The following are known values for the reason field (additional reasons could be added in the future): - SyncFailed: The controller encountered an error and wasn't able to compute the number of allowed disruptions. Therefore no disruptions are allowed and the status of the condition will be False. @@ -37,7 +37,7 @@ schema PodDisruptionBudgetStatus: """ - conditions?: [v1.Condition] + conditions?: [metav1.Condition] currentHealthy: int diff --git a/k8s/1.25/api/rbac/v1/aggregation_rule.k b/k8s/1.25/api/rbac/v1/aggregation_rule.k index c7969ee4..b6898869 100644 --- a/k8s/1.25/api/rbac/v1/aggregation_rule.k +++ b/k8s/1.25/api/rbac/v1/aggregation_rule.k @@ -3,7 +3,7 @@ This is the aggregation_rule module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema AggregationRule: @@ -12,11 +12,11 @@ schema AggregationRule: Attributes ---------- - clusterRoleSelectors : [v1.LabelSelector], default is Undefined, optional + clusterRoleSelectors : [metav1.LabelSelector], default is Undefined, optional ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added """ - clusterRoleSelectors?: [v1.LabelSelector] + clusterRoleSelectors?: [metav1.LabelSelector] diff --git a/k8s/1.25/api/rbac/v1/cluster_role.k b/k8s/1.25/api/rbac/v1/cluster_role.k index fcf42d1b..d32837ea 100644 --- a/k8s/1.25/api/rbac/v1/cluster_role.k +++ b/k8s/1.25/api/rbac/v1/cluster_role.k @@ -3,7 +3,7 @@ This is the cluster_role module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRole: @@ -18,7 +18,7 @@ schema ClusterRole: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ClusterRole", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. rules : [PolicyRule], default is Undefined, optional Rules holds all the PolicyRules for this ClusterRole @@ -31,7 +31,7 @@ schema ClusterRole: kind: "ClusterRole" = "ClusterRole" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta rules?: [PolicyRule] diff --git a/k8s/1.25/api/rbac/v1/cluster_role_binding.k b/k8s/1.25/api/rbac/v1/cluster_role_binding.k index e670588e..1b2c4294 100644 --- a/k8s/1.25/api/rbac/v1/cluster_role_binding.k +++ b/k8s/1.25/api/rbac/v1/cluster_role_binding.k @@ -3,7 +3,7 @@ This is the cluster_role_binding module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleBinding: @@ -16,7 +16,7 @@ schema ClusterRoleBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ClusterRoleBinding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. roleRef : RoleRef, default is Undefined, required RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. @@ -29,7 +29,7 @@ schema ClusterRoleBinding: kind: "ClusterRoleBinding" = "ClusterRoleBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta roleRef: RoleRef diff --git a/k8s/1.25/api/rbac/v1/cluster_role_binding_list.k b/k8s/1.25/api/rbac/v1/cluster_role_binding_list.k index fd53865a..bd13f6fa 100644 --- a/k8s/1.25/api/rbac/v1/cluster_role_binding_list.k +++ b/k8s/1.25/api/rbac/v1/cluster_role_binding_list.k @@ -3,7 +3,7 @@ This is the cluster_role_binding_list module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleBindingList: @@ -18,7 +18,7 @@ schema ClusterRoleBindingList: Items is a list of ClusterRoleBindings kind : str, default is "ClusterRoleBindingList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema ClusterRoleBindingList: kind: "ClusterRoleBindingList" = "ClusterRoleBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.25/api/rbac/v1/cluster_role_list.k b/k8s/1.25/api/rbac/v1/cluster_role_list.k index 8be0e1a6..303e00aa 100644 --- a/k8s/1.25/api/rbac/v1/cluster_role_list.k +++ b/k8s/1.25/api/rbac/v1/cluster_role_list.k @@ -3,7 +3,7 @@ This is the cluster_role_list module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleList: @@ -18,7 +18,7 @@ schema ClusterRoleList: Items is a list of ClusterRoles kind : str, default is "ClusterRoleList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema ClusterRoleList: kind: "ClusterRoleList" = "ClusterRoleList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.25/api/rbac/v1/role.k b/k8s/1.25/api/rbac/v1/role.k index f72c1ab0..db02dfef 100644 --- a/k8s/1.25/api/rbac/v1/role.k +++ b/k8s/1.25/api/rbac/v1/role.k @@ -3,7 +3,7 @@ This is the role module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Role: @@ -16,7 +16,7 @@ schema Role: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Role", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. rules : [PolicyRule], default is Undefined, optional Rules holds all the PolicyRules for this Role @@ -27,7 +27,7 @@ schema Role: kind: "Role" = "Role" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta rules?: [PolicyRule] diff --git a/k8s/1.25/api/rbac/v1/role_binding.k b/k8s/1.25/api/rbac/v1/role_binding.k index a305e8b1..efa93d8c 100644 --- a/k8s/1.25/api/rbac/v1/role_binding.k +++ b/k8s/1.25/api/rbac/v1/role_binding.k @@ -3,7 +3,7 @@ This is the role_binding module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleBinding: @@ -16,7 +16,7 @@ schema RoleBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "RoleBinding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. roleRef : RoleRef, default is Undefined, required RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. @@ -29,7 +29,7 @@ schema RoleBinding: kind: "RoleBinding" = "RoleBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta roleRef: RoleRef diff --git a/k8s/1.25/api/rbac/v1/role_binding_list.k b/k8s/1.25/api/rbac/v1/role_binding_list.k index ef8b7fc8..cb8d7400 100644 --- a/k8s/1.25/api/rbac/v1/role_binding_list.k +++ b/k8s/1.25/api/rbac/v1/role_binding_list.k @@ -3,7 +3,7 @@ This is the role_binding_list module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleBindingList: @@ -18,7 +18,7 @@ schema RoleBindingList: Items is a list of RoleBindings kind : str, default is "RoleBindingList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema RoleBindingList: kind: "RoleBindingList" = "RoleBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.25/api/rbac/v1/role_list.k b/k8s/1.25/api/rbac/v1/role_list.k index 6e7826e6..d102bc0c 100644 --- a/k8s/1.25/api/rbac/v1/role_list.k +++ b/k8s/1.25/api/rbac/v1/role_list.k @@ -3,7 +3,7 @@ This is the role_list module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleList: @@ -18,7 +18,7 @@ schema RoleList: Items is a list of Roles kind : str, default is "RoleList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema RoleList: kind: "RoleList" = "RoleList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.25/api/scheduling/v1/priority_class.k b/k8s/1.25/api/scheduling/v1/priority_class.k index 2944896d..a405221b 100644 --- a/k8s/1.25/api/scheduling/v1/priority_class.k +++ b/k8s/1.25/api/scheduling/v1/priority_class.k @@ -3,7 +3,7 @@ This is the priority_class module in k8s.api.scheduling.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityClass: @@ -20,7 +20,7 @@ schema PriorityClass: globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority. kind : str, default is "PriorityClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata preemptionPolicy : str, default is Undefined, optional PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. @@ -37,7 +37,7 @@ schema PriorityClass: kind: "PriorityClass" = "PriorityClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta preemptionPolicy?: str diff --git a/k8s/1.25/api/scheduling/v1/priority_class_list.k b/k8s/1.25/api/scheduling/v1/priority_class_list.k index ff802048..6d514f6b 100644 --- a/k8s/1.25/api/scheduling/v1/priority_class_list.k +++ b/k8s/1.25/api/scheduling/v1/priority_class_list.k @@ -3,7 +3,7 @@ This is the priority_class_list module in k8s.api.scheduling.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityClassList: @@ -18,7 +18,7 @@ schema PriorityClassList: items is the list of PriorityClasses kind : str, default is "PriorityClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PriorityClassList: kind: "PriorityClassList" = "PriorityClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.25/api/storage/v1/csi_driver.k b/k8s/1.25/api/storage/v1/csi_driver.k index 3302994b..cd222b2a 100644 --- a/k8s/1.25/api/storage/v1/csi_driver.k +++ b/k8s/1.25/api/storage/v1/csi_driver.k @@ -3,7 +3,7 @@ This is the csi_driver module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSIDriver: @@ -16,7 +16,7 @@ schema CSIDriver: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CSIDriver", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. metadata.Name indicates the name of the CSI driver that this object refers to; it MUST be the same name returned by the CSI GetPluginName() call for that driver. The driver name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and alphanumerics between. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : CSIDriverSpec, default is Undefined, required Specification of the CSI Driver. @@ -27,7 +27,7 @@ schema CSIDriver: kind: "CSIDriver" = "CSIDriver" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CSIDriverSpec diff --git a/k8s/1.25/api/storage/v1/csi_driver_list.k b/k8s/1.25/api/storage/v1/csi_driver_list.k index 91531b39..8b09e0f6 100644 --- a/k8s/1.25/api/storage/v1/csi_driver_list.k +++ b/k8s/1.25/api/storage/v1/csi_driver_list.k @@ -3,7 +3,7 @@ This is the csi_driver_list module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSIDriverList: @@ -18,7 +18,7 @@ schema CSIDriverList: items is the list of CSIDriver kind : str, default is "CSIDriverList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CSIDriverList: kind: "CSIDriverList" = "CSIDriverList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.25/api/storage/v1/csi_node.k b/k8s/1.25/api/storage/v1/csi_node.k index 055f8653..6557da03 100644 --- a/k8s/1.25/api/storage/v1/csi_node.k +++ b/k8s/1.25/api/storage/v1/csi_node.k @@ -3,7 +3,7 @@ This is the csi_node module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSINode: @@ -16,7 +16,7 @@ schema CSINode: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CSINode", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata.name must be the Kubernetes node name. spec : CSINodeSpec, default is Undefined, required spec is the specification of CSINode @@ -27,7 +27,7 @@ schema CSINode: kind: "CSINode" = "CSINode" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CSINodeSpec diff --git a/k8s/1.25/api/storage/v1/csi_node_list.k b/k8s/1.25/api/storage/v1/csi_node_list.k index ce5793c1..3a93da71 100644 --- a/k8s/1.25/api/storage/v1/csi_node_list.k +++ b/k8s/1.25/api/storage/v1/csi_node_list.k @@ -3,7 +3,7 @@ This is the csi_node_list module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSINodeList: @@ -18,7 +18,7 @@ schema CSINodeList: items is the list of CSINode kind : str, default is "CSINodeList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CSINodeList: kind: "CSINodeList" = "CSINodeList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.25/api/storage/v1/csi_storage_capacity.k b/k8s/1.25/api/storage/v1/csi_storage_capacity.k index 0c46193b..090620ce 100644 --- a/k8s/1.25/api/storage/v1/csi_storage_capacity.k +++ b/k8s/1.25/api/storage/v1/csi_storage_capacity.k @@ -3,7 +3,7 @@ This is the csi_storage_capacity module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSIStorageCapacity: @@ -32,13 +32,13 @@ schema CSIStorageCapacity: MaximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields. This is defined since CSI spec 1.4.0 as the largest size that may be used in a CreateVolumeRequest.capacity_range.required_bytes field to create a volume with the same parameters as those in GetCapacityRequest. The corresponding value in the Kubernetes API is ResourceRequirements.Requests in a volume claim. - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. The name has no particular meaning. It must be be a DNS subdomain (dots allowed, 253 characters). To ensure that there are no conflicts with other CSI drivers on the cluster, the recommendation is to use csisc-, a generated name, or a reverse-domain name which ends with the unique CSI driver name. Objects are namespaced. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - nodeTopology : v1.LabelSelector, default is Undefined, optional + nodeTopology : metav1.LabelSelector, default is Undefined, optional NodeTopology defines which nodes have access to the storage for which capacity was reported. If not set, the storage is not accessible from any node in the cluster. If empty, the storage is accessible from all nodes. This field is immutable. storageClassName : str, default is Undefined, required The name of the StorageClass that the reported capacity applies to. It must meet the same requirements as the name of a StorageClass object (non-empty, DNS subdomain). If that object no longer exists, the CSIStorageCapacity object is obsolete and should be removed by its creator. This field is immutable. @@ -53,9 +53,9 @@ schema CSIStorageCapacity: maximumVolumeSize?: str - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta - nodeTopology?: v1.LabelSelector + nodeTopology?: metav1.LabelSelector storageClassName: str diff --git a/k8s/1.25/api/storage/v1/csi_storage_capacity_list.k b/k8s/1.25/api/storage/v1/csi_storage_capacity_list.k index ad68b8d1..c8435d7f 100644 --- a/k8s/1.25/api/storage/v1/csi_storage_capacity_list.k +++ b/k8s/1.25/api/storage/v1/csi_storage_capacity_list.k @@ -3,7 +3,7 @@ This is the csi_storage_capacity_list module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSIStorageCapacityList: @@ -18,7 +18,7 @@ schema CSIStorageCapacityList: Items is the list of CSIStorageCapacity objects. kind : str, default is "CSIStorageCapacityList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CSIStorageCapacityList: kind: "CSIStorageCapacityList" = "CSIStorageCapacityList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.25/api/storage/v1/storage_class_list.k b/k8s/1.25/api/storage/v1/storage_class_list.k index 365e1386..284d43e8 100644 --- a/k8s/1.25/api/storage/v1/storage_class_list.k +++ b/k8s/1.25/api/storage/v1/storage_class_list.k @@ -3,7 +3,7 @@ This is the storage_class_list module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StorageClassList: @@ -18,7 +18,7 @@ schema StorageClassList: Items is the list of StorageClasses kind : str, default is "StorageClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema StorageClassList: kind: "StorageClassList" = "StorageClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.25/api/storage/v1/volume_attachment.k b/k8s/1.25/api/storage/v1/volume_attachment.k index e4b9149f..f98beff1 100644 --- a/k8s/1.25/api/storage/v1/volume_attachment.k +++ b/k8s/1.25/api/storage/v1/volume_attachment.k @@ -3,7 +3,7 @@ This is the volume_attachment module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema VolumeAttachment: @@ -18,7 +18,7 @@ schema VolumeAttachment: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "VolumeAttachment", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : VolumeAttachmentSpec, default is Undefined, required Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system. @@ -29,7 +29,7 @@ schema VolumeAttachment: kind: "VolumeAttachment" = "VolumeAttachment" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: VolumeAttachmentSpec diff --git a/k8s/1.25/api/storage/v1/volume_attachment_list.k b/k8s/1.25/api/storage/v1/volume_attachment_list.k index ef702d0d..0719d0bc 100644 --- a/k8s/1.25/api/storage/v1/volume_attachment_list.k +++ b/k8s/1.25/api/storage/v1/volume_attachment_list.k @@ -3,7 +3,7 @@ This is the volume_attachment_list module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema VolumeAttachmentList: @@ -18,7 +18,7 @@ schema VolumeAttachmentList: Items is the list of VolumeAttachments kind : str, default is "VolumeAttachmentList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema VolumeAttachmentList: kind: "VolumeAttachmentList" = "VolumeAttachmentList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.25/api/storage/v1beta1/csi_storage_capacity.k b/k8s/1.25/api/storage/v1beta1/csi_storage_capacity.k index 9ab34c4d..2d1eb175 100644 --- a/k8s/1.25/api/storage/v1beta1/csi_storage_capacity.k +++ b/k8s/1.25/api/storage/v1beta1/csi_storage_capacity.k @@ -3,7 +3,7 @@ This is the csi_storage_capacity module in k8s.api.storage.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSIStorageCapacity: @@ -32,13 +32,13 @@ schema CSIStorageCapacity: MaximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields. This is defined since CSI spec 1.4.0 as the largest size that may be used in a CreateVolumeRequest.capacity_range.required_bytes field to create a volume with the same parameters as those in GetCapacityRequest. The corresponding value in the Kubernetes API is ResourceRequirements.Requests in a volume claim. - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. The name has no particular meaning. It must be be a DNS subdomain (dots allowed, 253 characters). To ensure that there are no conflicts with other CSI drivers on the cluster, the recommendation is to use csisc-, a generated name, or a reverse-domain name which ends with the unique CSI driver name. Objects are namespaced. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - nodeTopology : v1.LabelSelector, default is Undefined, optional + nodeTopology : metav1.LabelSelector, default is Undefined, optional NodeTopology defines which nodes have access to the storage for which capacity was reported. If not set, the storage is not accessible from any node in the cluster. If empty, the storage is accessible from all nodes. This field is immutable. storageClassName : str, default is Undefined, required The name of the StorageClass that the reported capacity applies to. It must meet the same requirements as the name of a StorageClass object (non-empty, DNS subdomain). If that object no longer exists, the CSIStorageCapacity object is obsolete and should be removed by its creator. This field is immutable. @@ -53,9 +53,9 @@ schema CSIStorageCapacity: maximumVolumeSize?: str - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta - nodeTopology?: v1.LabelSelector + nodeTopology?: metav1.LabelSelector storageClassName: str diff --git a/k8s/1.25/api/storage/v1beta1/csi_storage_capacity_list.k b/k8s/1.25/api/storage/v1beta1/csi_storage_capacity_list.k index d5125765..e2389f68 100644 --- a/k8s/1.25/api/storage/v1beta1/csi_storage_capacity_list.k +++ b/k8s/1.25/api/storage/v1beta1/csi_storage_capacity_list.k @@ -3,7 +3,7 @@ This is the csi_storage_capacity_list module in k8s.api.storage.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSIStorageCapacityList: @@ -18,7 +18,7 @@ schema CSIStorageCapacityList: Items is the list of CSIStorageCapacity objects. kind : str, default is "CSIStorageCapacityList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CSIStorageCapacityList: kind: "CSIStorageCapacityList" = "CSIStorageCapacityList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.25/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition.k b/k8s/1.25/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition.k index f348f6d1..5010467b 100644 --- a/k8s/1.25/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition.k +++ b/k8s/1.25/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition.k @@ -3,7 +3,7 @@ This is the custom_resource_definition module in k8s.apiextensions_apiserver.pkg This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CustomResourceDefinition: @@ -16,7 +16,7 @@ schema CustomResourceDefinition: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CustomResourceDefinition", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : CustomResourceDefinitionSpec, default is Undefined, required spec describes how the user wants the resources to appear @@ -27,7 +27,7 @@ schema CustomResourceDefinition: kind: "CustomResourceDefinition" = "CustomResourceDefinition" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CustomResourceDefinitionSpec diff --git a/k8s/1.25/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition_list.k b/k8s/1.25/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition_list.k index ca3c928b..8b625323 100644 --- a/k8s/1.25/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition_list.k +++ b/k8s/1.25/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition_list.k @@ -3,7 +3,7 @@ This is the custom_resource_definition_list module in k8s.apiextensions_apiserve This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CustomResourceDefinitionList: @@ -18,7 +18,7 @@ schema CustomResourceDefinitionList: items list individual CustomResourceDefinition objects kind : str, default is "CustomResourceDefinitionList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CustomResourceDefinitionList: kind: "CustomResourceDefinitionList" = "CustomResourceDefinitionList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.25/kcl.mod b/k8s/1.25/kcl.mod index 8fda7dcd..d66966fc 100644 --- a/k8s/1.25/kcl.mod +++ b/k8s/1.25/kcl.mod @@ -1,5 +1,5 @@ [package] name = "k8s" edition = "*" -version = "1.25.1" +version = "1.25.2" description = "`k8s` is a KCL module contains all the built-in Kubernetes resource models (the CRDs are not included here)." diff --git a/k8s/1.25/kube_aggregator/pkg/apis/apiregistration/v1/api_service.k b/k8s/1.25/kube_aggregator/pkg/apis/apiregistration/v1/api_service.k index 89028f12..7b645741 100644 --- a/k8s/1.25/kube_aggregator/pkg/apis/apiregistration/v1/api_service.k +++ b/k8s/1.25/kube_aggregator/pkg/apis/apiregistration/v1/api_service.k @@ -3,7 +3,7 @@ This is the api_service module in k8s.kube_aggregator.pkg.apis.apiregistration.v This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema APIService: @@ -16,7 +16,7 @@ schema APIService: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "APIService", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : APIServiceSpec, default is Undefined, optional Spec contains information for locating and communicating with a server @@ -27,7 +27,7 @@ schema APIService: kind: "APIService" = "APIService" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: APIServiceSpec diff --git a/k8s/1.25/kube_aggregator/pkg/apis/apiregistration/v1/api_service_list.k b/k8s/1.25/kube_aggregator/pkg/apis/apiregistration/v1/api_service_list.k index acf02534..3a385202 100644 --- a/k8s/1.25/kube_aggregator/pkg/apis/apiregistration/v1/api_service_list.k +++ b/k8s/1.25/kube_aggregator/pkg/apis/apiregistration/v1/api_service_list.k @@ -3,7 +3,7 @@ This is the api_service_list module in k8s.kube_aggregator.pkg.apis.apiregistrat This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema APIServiceList: @@ -18,7 +18,7 @@ schema APIServiceList: Items is the list of APIService kind : str, default is "APIServiceList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema APIServiceList: kind: "APIServiceList" = "APIServiceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.26/api/admissionregistration/v1/mutating_webhook.k b/k8s/1.26/api/admissionregistration/v1/mutating_webhook.k index 4743ed83..d250f3db 100644 --- a/k8s/1.26/api/admissionregistration/v1/mutating_webhook.k +++ b/k8s/1.26/api/admissionregistration/v1/mutating_webhook.k @@ -3,7 +3,7 @@ This is the mutating_webhook module in k8s.api.admissionregistration.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MutatingWebhook: @@ -28,7 +28,7 @@ schema MutatingWebhook: Defaults to "Equivalent" name : str, default is Undefined, required The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook. For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1"; you will set the selector as follows: "namespaceSelector": { @@ -60,7 +60,7 @@ schema MutatingWebhook: See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors. Default to the empty LabelSelector, which matches everything. - objectSelector : v1.LabelSelector, default is Undefined, optional + objectSelector : metav1.LabelSelector, default is Undefined, optional ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything. reinvocationPolicy : str, default is Undefined, optional reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded". @@ -89,9 +89,9 @@ schema MutatingWebhook: name: str - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector - objectSelector?: v1.LabelSelector + objectSelector?: metav1.LabelSelector reinvocationPolicy?: str diff --git a/k8s/1.26/api/admissionregistration/v1/mutating_webhook_configuration.k b/k8s/1.26/api/admissionregistration/v1/mutating_webhook_configuration.k index a9864b32..0c970740 100644 --- a/k8s/1.26/api/admissionregistration/v1/mutating_webhook_configuration.k +++ b/k8s/1.26/api/admissionregistration/v1/mutating_webhook_configuration.k @@ -3,7 +3,7 @@ This is the mutating_webhook_configuration module in k8s.api.admissionregistrati This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MutatingWebhookConfiguration: @@ -16,7 +16,7 @@ schema MutatingWebhookConfiguration: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "MutatingWebhookConfiguration", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. webhooks : [MutatingWebhook], default is Undefined, optional Webhooks is a list of webhooks and the affected resources and operations. @@ -27,7 +27,7 @@ schema MutatingWebhookConfiguration: kind: "MutatingWebhookConfiguration" = "MutatingWebhookConfiguration" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta webhooks?: [MutatingWebhook] diff --git a/k8s/1.26/api/admissionregistration/v1/mutating_webhook_configuration_list.k b/k8s/1.26/api/admissionregistration/v1/mutating_webhook_configuration_list.k index d4e15e81..b6fd6022 100644 --- a/k8s/1.26/api/admissionregistration/v1/mutating_webhook_configuration_list.k +++ b/k8s/1.26/api/admissionregistration/v1/mutating_webhook_configuration_list.k @@ -3,7 +3,7 @@ This is the mutating_webhook_configuration_list module in k8s.api.admissionregis This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MutatingWebhookConfigurationList: @@ -18,7 +18,7 @@ schema MutatingWebhookConfigurationList: List of MutatingWebhookConfiguration. kind : str, default is "MutatingWebhookConfigurationList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema MutatingWebhookConfigurationList: kind: "MutatingWebhookConfigurationList" = "MutatingWebhookConfigurationList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.26/api/admissionregistration/v1/validating_webhook.k b/k8s/1.26/api/admissionregistration/v1/validating_webhook.k index afc5dc6a..efec1e6a 100644 --- a/k8s/1.26/api/admissionregistration/v1/validating_webhook.k +++ b/k8s/1.26/api/admissionregistration/v1/validating_webhook.k @@ -3,7 +3,7 @@ This is the validating_webhook module in k8s.api.admissionregistration.v1 packag This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingWebhook: @@ -28,7 +28,7 @@ schema ValidatingWebhook: Defaults to "Equivalent" name : str, default is Undefined, required The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook. For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1"; you will set the selector as follows: "namespaceSelector": { @@ -60,7 +60,7 @@ schema ValidatingWebhook: See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels for more examples of label selectors. Default to the empty LabelSelector, which matches everything. - objectSelector : v1.LabelSelector, default is Undefined, optional + objectSelector : metav1.LabelSelector, default is Undefined, optional ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything. rules : [RuleWithOperations], default is Undefined, optional Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects. @@ -81,9 +81,9 @@ schema ValidatingWebhook: name: str - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector - objectSelector?: v1.LabelSelector + objectSelector?: metav1.LabelSelector rules?: [RuleWithOperations] diff --git a/k8s/1.26/api/admissionregistration/v1/validating_webhook_configuration.k b/k8s/1.26/api/admissionregistration/v1/validating_webhook_configuration.k index 2b45293a..e35bb335 100644 --- a/k8s/1.26/api/admissionregistration/v1/validating_webhook_configuration.k +++ b/k8s/1.26/api/admissionregistration/v1/validating_webhook_configuration.k @@ -3,7 +3,7 @@ This is the validating_webhook_configuration module in k8s.api.admissionregistra This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingWebhookConfiguration: @@ -16,7 +16,7 @@ schema ValidatingWebhookConfiguration: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ValidatingWebhookConfiguration", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. webhooks : [ValidatingWebhook], default is Undefined, optional Webhooks is a list of webhooks and the affected resources and operations. @@ -27,7 +27,7 @@ schema ValidatingWebhookConfiguration: kind: "ValidatingWebhookConfiguration" = "ValidatingWebhookConfiguration" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta webhooks?: [ValidatingWebhook] diff --git a/k8s/1.26/api/admissionregistration/v1/validating_webhook_configuration_list.k b/k8s/1.26/api/admissionregistration/v1/validating_webhook_configuration_list.k index 0515b188..2691da1c 100644 --- a/k8s/1.26/api/admissionregistration/v1/validating_webhook_configuration_list.k +++ b/k8s/1.26/api/admissionregistration/v1/validating_webhook_configuration_list.k @@ -3,7 +3,7 @@ This is the validating_webhook_configuration_list module in k8s.api.admissionreg This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingWebhookConfigurationList: @@ -18,7 +18,7 @@ schema ValidatingWebhookConfigurationList: List of ValidatingWebhookConfiguration. kind : str, default is "ValidatingWebhookConfigurationList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ValidatingWebhookConfigurationList: kind: "ValidatingWebhookConfigurationList" = "ValidatingWebhookConfigurationList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.26/api/admissionregistration/v1alpha1/match_resources.k b/k8s/1.26/api/admissionregistration/v1alpha1/match_resources.k index d86be0e0..47769c40 100644 --- a/k8s/1.26/api/admissionregistration/v1alpha1/match_resources.k +++ b/k8s/1.26/api/admissionregistration/v1alpha1/match_resources.k @@ -3,7 +3,7 @@ This is the match_resources module in k8s.api.admissionregistration.v1alpha1 pac This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MatchResources: @@ -22,7 +22,7 @@ schema MatchResources: - Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the ValidatingAdmissionPolicy. Defaults to "Equivalent" - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional NamespaceSelector decides whether to run the admission control policy on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the policy. For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1"; you will set the selector as follows: "namespaceSelector": { @@ -54,7 +54,7 @@ schema MatchResources: See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors. Default to the empty LabelSelector, which matches everything. - objectSelector : v1.LabelSelector, default is Undefined, optional + objectSelector : metav1.LabelSelector, default is Undefined, optional ObjectSelector decides whether to run the validation based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the cel validation, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything. resourceRules : [NamedRuleWithOperations], default is Undefined, optional ResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy matches. The policy cares about an operation if it matches _any_ Rule. @@ -65,9 +65,9 @@ schema MatchResources: matchPolicy?: str - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector - objectSelector?: v1.LabelSelector + objectSelector?: metav1.LabelSelector resourceRules?: [NamedRuleWithOperations] diff --git a/k8s/1.26/api/admissionregistration/v1alpha1/validating_admission_policy.k b/k8s/1.26/api/admissionregistration/v1alpha1/validating_admission_policy.k index e7c00f7b..9c6fa4d4 100644 --- a/k8s/1.26/api/admissionregistration/v1alpha1/validating_admission_policy.k +++ b/k8s/1.26/api/admissionregistration/v1alpha1/validating_admission_policy.k @@ -3,7 +3,7 @@ This is the validating_admission_policy module in k8s.api.admissionregistration. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingAdmissionPolicy: @@ -16,7 +16,7 @@ schema ValidatingAdmissionPolicy: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ValidatingAdmissionPolicy", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. spec : ValidatingAdmissionPolicySpec, default is Undefined, optional Specification of the desired behavior of the ValidatingAdmissionPolicy. @@ -27,7 +27,7 @@ schema ValidatingAdmissionPolicy: kind: "ValidatingAdmissionPolicy" = "ValidatingAdmissionPolicy" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ValidatingAdmissionPolicySpec diff --git a/k8s/1.26/api/admissionregistration/v1alpha1/validating_admission_policy_binding.k b/k8s/1.26/api/admissionregistration/v1alpha1/validating_admission_policy_binding.k index 96043689..387aad2f 100644 --- a/k8s/1.26/api/admissionregistration/v1alpha1/validating_admission_policy_binding.k +++ b/k8s/1.26/api/admissionregistration/v1alpha1/validating_admission_policy_binding.k @@ -3,7 +3,7 @@ This is the validating_admission_policy_binding module in k8s.api.admissionregis This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingAdmissionPolicyBinding: @@ -16,7 +16,7 @@ schema ValidatingAdmissionPolicyBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ValidatingAdmissionPolicyBinding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. spec : ValidatingAdmissionPolicyBindingSpec, default is Undefined, optional Specification of the desired behavior of the ValidatingAdmissionPolicyBinding. @@ -27,7 +27,7 @@ schema ValidatingAdmissionPolicyBinding: kind: "ValidatingAdmissionPolicyBinding" = "ValidatingAdmissionPolicyBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ValidatingAdmissionPolicyBindingSpec diff --git a/k8s/1.26/api/admissionregistration/v1alpha1/validating_admission_policy_binding_list.k b/k8s/1.26/api/admissionregistration/v1alpha1/validating_admission_policy_binding_list.k index 0e7e8fc5..46d10fbf 100644 --- a/k8s/1.26/api/admissionregistration/v1alpha1/validating_admission_policy_binding_list.k +++ b/k8s/1.26/api/admissionregistration/v1alpha1/validating_admission_policy_binding_list.k @@ -3,7 +3,7 @@ This is the validating_admission_policy_binding_list module in k8s.api.admission This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingAdmissionPolicyBindingList: @@ -18,7 +18,7 @@ schema ValidatingAdmissionPolicyBindingList: List of PolicyBinding. kind : str, default is "ValidatingAdmissionPolicyBindingList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ValidatingAdmissionPolicyBindingList: kind: "ValidatingAdmissionPolicyBindingList" = "ValidatingAdmissionPolicyBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.26/api/admissionregistration/v1alpha1/validating_admission_policy_list.k b/k8s/1.26/api/admissionregistration/v1alpha1/validating_admission_policy_list.k index cd0c51df..d3aa1e7e 100644 --- a/k8s/1.26/api/admissionregistration/v1alpha1/validating_admission_policy_list.k +++ b/k8s/1.26/api/admissionregistration/v1alpha1/validating_admission_policy_list.k @@ -3,7 +3,7 @@ This is the validating_admission_policy_list module in k8s.api.admissionregistra This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingAdmissionPolicyList: @@ -18,7 +18,7 @@ schema ValidatingAdmissionPolicyList: List of ValidatingAdmissionPolicy. kind : str, default is "ValidatingAdmissionPolicyList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ValidatingAdmissionPolicyList: kind: "ValidatingAdmissionPolicyList" = "ValidatingAdmissionPolicyList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.26/api/apiserverinternal/v1alpha1/storage_version.k b/k8s/1.26/api/apiserverinternal/v1alpha1/storage_version.k index 4e3de9df..9723ca14 100644 --- a/k8s/1.26/api/apiserverinternal/v1alpha1/storage_version.k +++ b/k8s/1.26/api/apiserverinternal/v1alpha1/storage_version.k @@ -3,7 +3,7 @@ This is the storage_version module in k8s.api.apiserverinternal.v1alpha1 package This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StorageVersion: @@ -16,7 +16,7 @@ schema StorageVersion: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "StorageVersion", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional The name is .. spec : any, default is Undefined, required Spec is an empty spec. It is here to comply with Kubernetes API style. @@ -27,7 +27,7 @@ schema StorageVersion: kind: "StorageVersion" = "StorageVersion" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: any diff --git a/k8s/1.26/api/apiserverinternal/v1alpha1/storage_version_list.k b/k8s/1.26/api/apiserverinternal/v1alpha1/storage_version_list.k index 1da65e55..a75d5c84 100644 --- a/k8s/1.26/api/apiserverinternal/v1alpha1/storage_version_list.k +++ b/k8s/1.26/api/apiserverinternal/v1alpha1/storage_version_list.k @@ -3,7 +3,7 @@ This is the storage_version_list module in k8s.api.apiserverinternal.v1alpha1 pa This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StorageVersionList: @@ -18,7 +18,7 @@ schema StorageVersionList: Items holds a list of StorageVersion kind : str, default is "StorageVersionList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema StorageVersionList: kind: "StorageVersionList" = "StorageVersionList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.26/api/apps/v1/controller_revision.k b/k8s/1.26/api/apps/v1/controller_revision.k index dbb3d441..56163182 100644 --- a/k8s/1.26/api/apps/v1/controller_revision.k +++ b/k8s/1.26/api/apps/v1/controller_revision.k @@ -3,7 +3,7 @@ This is the controller_revision module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ControllerRevision: @@ -18,7 +18,7 @@ schema ControllerRevision: Data is the serialized representation of the state. kind : str, default is "ControllerRevision", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata revision : int, default is Undefined, required Revision indicates the revision of the state represented by Data. @@ -31,7 +31,7 @@ schema ControllerRevision: kind: "ControllerRevision" = "ControllerRevision" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta revision: int diff --git a/k8s/1.26/api/apps/v1/controller_revision_list.k b/k8s/1.26/api/apps/v1/controller_revision_list.k index e145fcff..bb64d1fe 100644 --- a/k8s/1.26/api/apps/v1/controller_revision_list.k +++ b/k8s/1.26/api/apps/v1/controller_revision_list.k @@ -3,7 +3,7 @@ This is the controller_revision_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ControllerRevisionList: @@ -18,7 +18,7 @@ schema ControllerRevisionList: Items is the list of ControllerRevisions kind : str, default is "ControllerRevisionList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema ControllerRevisionList: kind: "ControllerRevisionList" = "ControllerRevisionList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.26/api/apps/v1/daemon_set.k b/k8s/1.26/api/apps/v1/daemon_set.k index 33e7b68b..fd1c7c20 100644 --- a/k8s/1.26/api/apps/v1/daemon_set.k +++ b/k8s/1.26/api/apps/v1/daemon_set.k @@ -3,7 +3,7 @@ This is the daemon_set module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DaemonSet: @@ -16,7 +16,7 @@ schema DaemonSet: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "DaemonSet", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : DaemonSetSpec, default is Undefined, optional The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema DaemonSet: kind: "DaemonSet" = "DaemonSet" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: DaemonSetSpec diff --git a/k8s/1.26/api/apps/v1/daemon_set_list.k b/k8s/1.26/api/apps/v1/daemon_set_list.k index 3515d999..795c26f8 100644 --- a/k8s/1.26/api/apps/v1/daemon_set_list.k +++ b/k8s/1.26/api/apps/v1/daemon_set_list.k @@ -3,7 +3,7 @@ This is the daemon_set_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DaemonSetList: @@ -18,7 +18,7 @@ schema DaemonSetList: A list of daemon sets. kind : str, default is "DaemonSetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema DaemonSetList: kind: "DaemonSetList" = "DaemonSetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.26/api/apps/v1/daemon_set_spec.k b/k8s/1.26/api/apps/v1/daemon_set_spec.k index caf3faf8..352f849c 100644 --- a/k8s/1.26/api/apps/v1/daemon_set_spec.k +++ b/k8s/1.26/api/apps/v1/daemon_set_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DaemonSetSpec: @@ -17,7 +17,7 @@ schema DaemonSetSpec: The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready). revisionHistoryLimit : int, default is Undefined, optional The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required A label query over pods that are managed by the daemon set. Must match in order to be controlled. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors template : corev1.PodTemplateSpec, default is Undefined, required An object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template @@ -30,7 +30,7 @@ schema DaemonSetSpec: revisionHistoryLimit?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector template: corev1.PodTemplateSpec diff --git a/k8s/1.26/api/apps/v1/deployment.k b/k8s/1.26/api/apps/v1/deployment.k index 38b5af9e..12cf0b73 100644 --- a/k8s/1.26/api/apps/v1/deployment.k +++ b/k8s/1.26/api/apps/v1/deployment.k @@ -3,7 +3,7 @@ This is the deployment module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Deployment: @@ -16,7 +16,7 @@ schema Deployment: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Deployment", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : DeploymentSpec, default is Undefined, optional Specification of the desired behavior of the Deployment. @@ -27,7 +27,7 @@ schema Deployment: kind: "Deployment" = "Deployment" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: DeploymentSpec diff --git a/k8s/1.26/api/apps/v1/deployment_list.k b/k8s/1.26/api/apps/v1/deployment_list.k index a83ce0d5..8fa44e9b 100644 --- a/k8s/1.26/api/apps/v1/deployment_list.k +++ b/k8s/1.26/api/apps/v1/deployment_list.k @@ -3,7 +3,7 @@ This is the deployment_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DeploymentList: @@ -18,7 +18,7 @@ schema DeploymentList: Items is the list of Deployments. kind : str, default is "DeploymentList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema DeploymentList: kind: "DeploymentList" = "DeploymentList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.26/api/apps/v1/deployment_spec.k b/k8s/1.26/api/apps/v1/deployment_spec.k index b8591d9a..c0f14ef0 100644 --- a/k8s/1.26/api/apps/v1/deployment_spec.k +++ b/k8s/1.26/api/apps/v1/deployment_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DeploymentSpec: @@ -23,7 +23,7 @@ schema DeploymentSpec: Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1. revisionHistoryLimit : int, default is Undefined, optional The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. It must match the pod template's labels. strategy : DeploymentStrategy, default is Undefined, optional The deployment strategy to use to replace existing pods with new ones. @@ -42,7 +42,7 @@ schema DeploymentSpec: revisionHistoryLimit?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector strategy?: DeploymentStrategy diff --git a/k8s/1.26/api/apps/v1/replica_set.k b/k8s/1.26/api/apps/v1/replica_set.k index 0497ff66..79552175 100644 --- a/k8s/1.26/api/apps/v1/replica_set.k +++ b/k8s/1.26/api/apps/v1/replica_set.k @@ -3,7 +3,7 @@ This is the replica_set module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicaSet: @@ -16,7 +16,7 @@ schema ReplicaSet: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ReplicaSet", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : ReplicaSetSpec, default is Undefined, optional Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema ReplicaSet: kind: "ReplicaSet" = "ReplicaSet" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ReplicaSetSpec diff --git a/k8s/1.26/api/apps/v1/replica_set_list.k b/k8s/1.26/api/apps/v1/replica_set_list.k index 0e25bef7..689ca9bb 100644 --- a/k8s/1.26/api/apps/v1/replica_set_list.k +++ b/k8s/1.26/api/apps/v1/replica_set_list.k @@ -3,7 +3,7 @@ This is the replica_set_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicaSetList: @@ -18,7 +18,7 @@ schema ReplicaSetList: List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller kind : str, default is "ReplicaSetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ReplicaSetList: kind: "ReplicaSetList" = "ReplicaSetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.26/api/apps/v1/replica_set_spec.k b/k8s/1.26/api/apps/v1/replica_set_spec.k index 700810d3..53ae3f6f 100644 --- a/k8s/1.26/api/apps/v1/replica_set_spec.k +++ b/k8s/1.26/api/apps/v1/replica_set_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicaSetSpec: @@ -17,7 +17,7 @@ schema ReplicaSetSpec: Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) replicas : int, default is Undefined, optional Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required Selector is a label query over pods that should match the replica count. Label keys and values that must match in order to be controlled by this replica set. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors template : corev1.PodTemplateSpec, default is Undefined, optional Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template @@ -28,7 +28,7 @@ schema ReplicaSetSpec: replicas?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector template?: corev1.PodTemplateSpec diff --git a/k8s/1.26/api/apps/v1/stateful_set.k b/k8s/1.26/api/apps/v1/stateful_set.k index c3b7106d..18d52ced 100644 --- a/k8s/1.26/api/apps/v1/stateful_set.k +++ b/k8s/1.26/api/apps/v1/stateful_set.k @@ -3,7 +3,7 @@ This is the stateful_set module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StatefulSet: @@ -20,7 +20,7 @@ schema StatefulSet: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "StatefulSet", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : StatefulSetSpec, default is Undefined, optional Spec defines the desired identities of pods in this set. @@ -31,7 +31,7 @@ schema StatefulSet: kind: "StatefulSet" = "StatefulSet" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: StatefulSetSpec diff --git a/k8s/1.26/api/apps/v1/stateful_set_list.k b/k8s/1.26/api/apps/v1/stateful_set_list.k index 2eec95d8..441abc55 100644 --- a/k8s/1.26/api/apps/v1/stateful_set_list.k +++ b/k8s/1.26/api/apps/v1/stateful_set_list.k @@ -3,7 +3,7 @@ This is the stateful_set_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StatefulSetList: @@ -18,7 +18,7 @@ schema StatefulSetList: Items is the list of stateful sets. kind : str, default is "StatefulSetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema StatefulSetList: kind: "StatefulSetList" = "StatefulSetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.26/api/apps/v1/stateful_set_spec.k b/k8s/1.26/api/apps/v1/stateful_set_spec.k index e33b14a9..0788ea6b 100644 --- a/k8s/1.26/api/apps/v1/stateful_set_spec.k +++ b/k8s/1.26/api/apps/v1/stateful_set_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StatefulSetSpec: @@ -27,7 +27,7 @@ schema StatefulSetSpec: replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1. revisionHistoryLimit : int, default is Undefined, optional revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10. - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required selector is a label query over pods that should match the replica count. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors serviceName : str, default is Undefined, required serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where "pod-specific-string" is managed by the StatefulSet controller. @@ -52,7 +52,7 @@ schema StatefulSetSpec: revisionHistoryLimit?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector serviceName: str diff --git a/k8s/1.26/api/authentication/v1/token_request.k b/k8s/1.26/api/authentication/v1/token_request.k index 429ebd8e..477cf85e 100644 --- a/k8s/1.26/api/authentication/v1/token_request.k +++ b/k8s/1.26/api/authentication/v1/token_request.k @@ -3,7 +3,7 @@ This is the token_request module in k8s.api.authentication.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema TokenRequest: @@ -16,7 +16,7 @@ schema TokenRequest: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "TokenRequest", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : TokenRequestSpec, default is Undefined, required Spec holds information about the request being evaluated @@ -27,7 +27,7 @@ schema TokenRequest: kind: "TokenRequest" = "TokenRequest" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: TokenRequestSpec diff --git a/k8s/1.26/api/authentication/v1/token_review.k b/k8s/1.26/api/authentication/v1/token_review.k index 62c61db1..349936f3 100644 --- a/k8s/1.26/api/authentication/v1/token_review.k +++ b/k8s/1.26/api/authentication/v1/token_review.k @@ -3,7 +3,7 @@ This is the token_review module in k8s.api.authentication.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema TokenReview: @@ -16,7 +16,7 @@ schema TokenReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "TokenReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : TokenReviewSpec, default is Undefined, required Spec holds information about the request being evaluated @@ -27,7 +27,7 @@ schema TokenReview: kind: "TokenReview" = "TokenReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: TokenReviewSpec diff --git a/k8s/1.26/api/authentication/v1alpha1/self_subject_review.k b/k8s/1.26/api/authentication/v1alpha1/self_subject_review.k index c1781bd2..f17afff9 100644 --- a/k8s/1.26/api/authentication/v1alpha1/self_subject_review.k +++ b/k8s/1.26/api/authentication/v1alpha1/self_subject_review.k @@ -3,7 +3,7 @@ This is the self_subject_review module in k8s.api.authentication.v1alpha1 packag This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SelfSubjectReview: @@ -16,7 +16,7 @@ schema SelfSubjectReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SelfSubjectReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -25,6 +25,6 @@ schema SelfSubjectReview: kind: "SelfSubjectReview" = "SelfSubjectReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta diff --git a/k8s/1.26/api/authorization/v1/local_subject_access_review.k b/k8s/1.26/api/authorization/v1/local_subject_access_review.k index 79b08fbe..4cf5723a 100644 --- a/k8s/1.26/api/authorization/v1/local_subject_access_review.k +++ b/k8s/1.26/api/authorization/v1/local_subject_access_review.k @@ -3,7 +3,7 @@ This is the local_subject_access_review module in k8s.api.authorization.v1 packa This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LocalSubjectAccessReview: @@ -16,7 +16,7 @@ schema LocalSubjectAccessReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "LocalSubjectAccessReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : SubjectAccessReviewSpec, default is Undefined, required Spec holds information about the request being evaluated. spec.namespace must be equal to the namespace you made the request against. If empty, it is defaulted. @@ -27,7 +27,7 @@ schema LocalSubjectAccessReview: kind: "LocalSubjectAccessReview" = "LocalSubjectAccessReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SubjectAccessReviewSpec diff --git a/k8s/1.26/api/authorization/v1/self_subject_access_review.k b/k8s/1.26/api/authorization/v1/self_subject_access_review.k index 4fd1e21e..d32833e7 100644 --- a/k8s/1.26/api/authorization/v1/self_subject_access_review.k +++ b/k8s/1.26/api/authorization/v1/self_subject_access_review.k @@ -3,7 +3,7 @@ This is the self_subject_access_review module in k8s.api.authorization.v1 packag This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SelfSubjectAccessReview: @@ -16,7 +16,7 @@ schema SelfSubjectAccessReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SelfSubjectAccessReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : SelfSubjectAccessReviewSpec, default is Undefined, required Spec holds information about the request being evaluated. user and groups must be empty @@ -27,7 +27,7 @@ schema SelfSubjectAccessReview: kind: "SelfSubjectAccessReview" = "SelfSubjectAccessReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SelfSubjectAccessReviewSpec diff --git a/k8s/1.26/api/authorization/v1/self_subject_rules_review.k b/k8s/1.26/api/authorization/v1/self_subject_rules_review.k index a29ee599..baaf47ac 100644 --- a/k8s/1.26/api/authorization/v1/self_subject_rules_review.k +++ b/k8s/1.26/api/authorization/v1/self_subject_rules_review.k @@ -3,7 +3,7 @@ This is the self_subject_rules_review module in k8s.api.authorization.v1 package This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SelfSubjectRulesReview: @@ -16,7 +16,7 @@ schema SelfSubjectRulesReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SelfSubjectRulesReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : SelfSubjectRulesReviewSpec, default is Undefined, required Spec holds information about the request being evaluated. @@ -27,7 +27,7 @@ schema SelfSubjectRulesReview: kind: "SelfSubjectRulesReview" = "SelfSubjectRulesReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SelfSubjectRulesReviewSpec diff --git a/k8s/1.26/api/authorization/v1/subject_access_review.k b/k8s/1.26/api/authorization/v1/subject_access_review.k index 9d15bdb3..d054d8f5 100644 --- a/k8s/1.26/api/authorization/v1/subject_access_review.k +++ b/k8s/1.26/api/authorization/v1/subject_access_review.k @@ -3,7 +3,7 @@ This is the subject_access_review module in k8s.api.authorization.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SubjectAccessReview: @@ -16,7 +16,7 @@ schema SubjectAccessReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SubjectAccessReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : SubjectAccessReviewSpec, default is Undefined, required Spec holds information about the request being evaluated @@ -27,7 +27,7 @@ schema SubjectAccessReview: kind: "SubjectAccessReview" = "SubjectAccessReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SubjectAccessReviewSpec diff --git a/k8s/1.26/api/autoscaling/v1/horizontal_pod_autoscaler.k b/k8s/1.26/api/autoscaling/v1/horizontal_pod_autoscaler.k index eea68027..b81a2839 100644 --- a/k8s/1.26/api/autoscaling/v1/horizontal_pod_autoscaler.k +++ b/k8s/1.26/api/autoscaling/v1/horizontal_pod_autoscaler.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler module in k8s.api.autoscaling.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscaler: @@ -16,7 +16,7 @@ schema HorizontalPodAutoscaler: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "HorizontalPodAutoscaler", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : HorizontalPodAutoscalerSpec, default is Undefined, optional behaviour of autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema HorizontalPodAutoscaler: kind: "HorizontalPodAutoscaler" = "HorizontalPodAutoscaler" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: HorizontalPodAutoscalerSpec diff --git a/k8s/1.26/api/autoscaling/v1/horizontal_pod_autoscaler_list.k b/k8s/1.26/api/autoscaling/v1/horizontal_pod_autoscaler_list.k index 829f7b8b..40a58fe3 100644 --- a/k8s/1.26/api/autoscaling/v1/horizontal_pod_autoscaler_list.k +++ b/k8s/1.26/api/autoscaling/v1/horizontal_pod_autoscaler_list.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler_list module in k8s.api.autoscaling.v1 pack This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscalerList: @@ -18,7 +18,7 @@ schema HorizontalPodAutoscalerList: list of horizontal pod autoscaler objects. kind : str, default is "HorizontalPodAutoscalerList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema HorizontalPodAutoscalerList: kind: "HorizontalPodAutoscalerList" = "HorizontalPodAutoscalerList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.26/api/autoscaling/v1/scale.k b/k8s/1.26/api/autoscaling/v1/scale.k index d9bbdae4..1466aa0e 100644 --- a/k8s/1.26/api/autoscaling/v1/scale.k +++ b/k8s/1.26/api/autoscaling/v1/scale.k @@ -3,7 +3,7 @@ This is the scale module in k8s.api.autoscaling.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Scale: @@ -16,7 +16,7 @@ schema Scale: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Scale", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. spec : ScaleSpec, default is Undefined, optional defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema Scale: kind: "Scale" = "Scale" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ScaleSpec diff --git a/k8s/1.26/api/autoscaling/v2/horizontal_pod_autoscaler.k b/k8s/1.26/api/autoscaling/v2/horizontal_pod_autoscaler.k index 45093baf..80ed131b 100644 --- a/k8s/1.26/api/autoscaling/v2/horizontal_pod_autoscaler.k +++ b/k8s/1.26/api/autoscaling/v2/horizontal_pod_autoscaler.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler module in k8s.api.autoscaling.v2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscaler: @@ -16,7 +16,7 @@ schema HorizontalPodAutoscaler: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "HorizontalPodAutoscaler", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : HorizontalPodAutoscalerSpec, default is Undefined, optional spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema HorizontalPodAutoscaler: kind: "HorizontalPodAutoscaler" = "HorizontalPodAutoscaler" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: HorizontalPodAutoscalerSpec diff --git a/k8s/1.26/api/autoscaling/v2/horizontal_pod_autoscaler_list.k b/k8s/1.26/api/autoscaling/v2/horizontal_pod_autoscaler_list.k index 07b059fb..87bfa8bf 100644 --- a/k8s/1.26/api/autoscaling/v2/horizontal_pod_autoscaler_list.k +++ b/k8s/1.26/api/autoscaling/v2/horizontal_pod_autoscaler_list.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler_list module in k8s.api.autoscaling.v2 pack This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscalerList: @@ -18,7 +18,7 @@ schema HorizontalPodAutoscalerList: items is the list of horizontal pod autoscaler objects. kind : str, default is "HorizontalPodAutoscalerList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata is the standard list metadata. """ @@ -29,6 +29,6 @@ schema HorizontalPodAutoscalerList: kind: "HorizontalPodAutoscalerList" = "HorizontalPodAutoscalerList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.26/api/autoscaling/v2/metric_identifier.k b/k8s/1.26/api/autoscaling/v2/metric_identifier.k index d1538fb1..df0007a9 100644 --- a/k8s/1.26/api/autoscaling/v2/metric_identifier.k +++ b/k8s/1.26/api/autoscaling/v2/metric_identifier.k @@ -3,7 +3,7 @@ This is the metric_identifier module in k8s.api.autoscaling.v2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MetricIdentifier: @@ -14,13 +14,13 @@ schema MetricIdentifier: ---------- name : str, default is Undefined, required name is the name of the given metric - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics. """ name: str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector diff --git a/k8s/1.26/api/batch/v1/cron_job.k b/k8s/1.26/api/batch/v1/cron_job.k index 380498ff..c716e33b 100644 --- a/k8s/1.26/api/batch/v1/cron_job.k +++ b/k8s/1.26/api/batch/v1/cron_job.k @@ -3,7 +3,7 @@ This is the cron_job module in k8s.api.batch.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CronJob: @@ -16,7 +16,7 @@ schema CronJob: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CronJob", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : CronJobSpec, default is Undefined, optional Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema CronJob: kind: "CronJob" = "CronJob" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: CronJobSpec diff --git a/k8s/1.26/api/batch/v1/cron_job_list.k b/k8s/1.26/api/batch/v1/cron_job_list.k index 69e1971a..8200a4bd 100644 --- a/k8s/1.26/api/batch/v1/cron_job_list.k +++ b/k8s/1.26/api/batch/v1/cron_job_list.k @@ -3,7 +3,7 @@ This is the cron_job_list module in k8s.api.batch.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CronJobList: @@ -18,7 +18,7 @@ schema CronJobList: items is the list of CronJobs. kind : str, default is "CronJobList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CronJobList: kind: "CronJobList" = "CronJobList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.26/api/batch/v1/job.k b/k8s/1.26/api/batch/v1/job.k index 44fbc917..3e545aac 100644 --- a/k8s/1.26/api/batch/v1/job.k +++ b/k8s/1.26/api/batch/v1/job.k @@ -3,7 +3,7 @@ This is the job module in k8s.api.batch.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Job: @@ -16,7 +16,7 @@ schema Job: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Job", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : JobSpec, default is Undefined, optional Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Job: kind: "Job" = "Job" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: JobSpec diff --git a/k8s/1.26/api/batch/v1/job_list.k b/k8s/1.26/api/batch/v1/job_list.k index 88588804..e2f8aee6 100644 --- a/k8s/1.26/api/batch/v1/job_list.k +++ b/k8s/1.26/api/batch/v1/job_list.k @@ -3,7 +3,7 @@ This is the job_list module in k8s.api.batch.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema JobList: @@ -18,7 +18,7 @@ schema JobList: items is the list of Jobs. kind : str, default is "JobList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema JobList: kind: "JobList" = "JobList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.26/api/batch/v1/job_spec.k b/k8s/1.26/api/batch/v1/job_spec.k index 38170d45..d24ea969 100644 --- a/k8s/1.26/api/batch/v1/job_spec.k +++ b/k8s/1.26/api/batch/v1/job_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema JobSpec: @@ -35,7 +35,7 @@ schema JobSpec: Specifies the policy of handling failed pods. In particular, it allows to specify the set of actions and conditions which need to be satisfied to take the associated action. If empty, the default behaviour applies - the counter of failed pods, represented by the jobs's .status.failed field, is incremented and it is checked against the backoffLimit. This field cannot be used in combination with restartPolicy=OnFailure. This field is beta-level. It can be used when the `JobPodFailurePolicy` feature gate is enabled (enabled by default). - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional A label query over pods that should match the pod count. Normally, the system sets this field for you. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors suspend : bool, default is Undefined, optional Suspend specifies whether the Job controller should create Pods or not. If a Job is created with suspend set to true, no Pods are created by the Job controller. If a Job is suspended after creation (i.e. the flag goes from false to true), the Job controller will delete all active Pods associated with this Job. Users must design their workload to gracefully handle this. Suspending a Job will reset the StartTime field of the Job, effectively resetting the ActiveDeadlineSeconds timer too. Defaults to false. @@ -60,7 +60,7 @@ schema JobSpec: podFailurePolicy?: PodFailurePolicy - selector?: v1.LabelSelector + selector?: metav1.LabelSelector suspend?: bool diff --git a/k8s/1.26/api/batch/v1/job_template_spec.k b/k8s/1.26/api/batch/v1/job_template_spec.k index 840a8d23..c1797200 100644 --- a/k8s/1.26/api/batch/v1/job_template_spec.k +++ b/k8s/1.26/api/batch/v1/job_template_spec.k @@ -3,7 +3,7 @@ This is the job_template_spec module in k8s.api.batch.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema JobTemplateSpec: @@ -12,14 +12,14 @@ schema JobTemplateSpec: Attributes ---------- - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : JobSpec, default is Undefined, optional Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status """ - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: JobSpec diff --git a/k8s/1.26/api/certificates/v1/certificate_signing_request.k b/k8s/1.26/api/certificates/v1/certificate_signing_request.k index 70bfc6e0..6697afe5 100644 --- a/k8s/1.26/api/certificates/v1/certificate_signing_request.k +++ b/k8s/1.26/api/certificates/v1/certificate_signing_request.k @@ -3,7 +3,7 @@ This is the certificate_signing_request module in k8s.api.certificates.v1 packag This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CertificateSigningRequest: @@ -22,7 +22,7 @@ schema CertificateSigningRequest: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CertificateSigningRequest", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : CertificateSigningRequestSpec, default is Undefined, required spec contains the certificate request, and is immutable after creation. Only the request, signerName, expirationSeconds, and usages fields can be set on creation. Other fields are derived by Kubernetes and cannot be modified by users. @@ -33,7 +33,7 @@ schema CertificateSigningRequest: kind: "CertificateSigningRequest" = "CertificateSigningRequest" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CertificateSigningRequestSpec diff --git a/k8s/1.26/api/certificates/v1/certificate_signing_request_list.k b/k8s/1.26/api/certificates/v1/certificate_signing_request_list.k index bef8b509..dcf72eab 100644 --- a/k8s/1.26/api/certificates/v1/certificate_signing_request_list.k +++ b/k8s/1.26/api/certificates/v1/certificate_signing_request_list.k @@ -3,7 +3,7 @@ This is the certificate_signing_request_list module in k8s.api.certificates.v1 p This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CertificateSigningRequestList: @@ -18,7 +18,7 @@ schema CertificateSigningRequestList: items is a collection of CertificateSigningRequest objects kind : str, default is "CertificateSigningRequestList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema CertificateSigningRequestList: kind: "CertificateSigningRequestList" = "CertificateSigningRequestList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.26/api/coordination/v1/lease.k b/k8s/1.26/api/coordination/v1/lease.k index f9d243c9..b3722c9a 100644 --- a/k8s/1.26/api/coordination/v1/lease.k +++ b/k8s/1.26/api/coordination/v1/lease.k @@ -3,7 +3,7 @@ This is the lease module in k8s.api.coordination.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Lease: @@ -16,7 +16,7 @@ schema Lease: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Lease", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : LeaseSpec, default is Undefined, optional Specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Lease: kind: "Lease" = "Lease" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: LeaseSpec diff --git a/k8s/1.26/api/coordination/v1/lease_list.k b/k8s/1.26/api/coordination/v1/lease_list.k index 64932a19..93a01ab6 100644 --- a/k8s/1.26/api/coordination/v1/lease_list.k +++ b/k8s/1.26/api/coordination/v1/lease_list.k @@ -3,7 +3,7 @@ This is the lease_list module in k8s.api.coordination.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LeaseList: @@ -18,7 +18,7 @@ schema LeaseList: Items is a list of schema objects. kind : str, default is "LeaseList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema LeaseList: kind: "LeaseList" = "LeaseList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.26/api/core/v1/binding.k b/k8s/1.26/api/core/v1/binding.k index e6e478fe..077459fa 100644 --- a/k8s/1.26/api/core/v1/binding.k +++ b/k8s/1.26/api/core/v1/binding.k @@ -3,7 +3,7 @@ This is the binding module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Binding: @@ -16,7 +16,7 @@ schema Binding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Binding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata target : ObjectReference, default is Undefined, required The target object that you want to bind to the standard object. @@ -27,7 +27,7 @@ schema Binding: kind: "Binding" = "Binding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta target: ObjectReference diff --git a/k8s/1.26/api/core/v1/component_status.k b/k8s/1.26/api/core/v1/component_status.k index 19549c61..0d6862b5 100644 --- a/k8s/1.26/api/core/v1/component_status.k +++ b/k8s/1.26/api/core/v1/component_status.k @@ -3,7 +3,7 @@ This is the component_status module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ComponentStatus: @@ -18,7 +18,7 @@ schema ComponentStatus: List of component conditions observed kind : str, default is "ComponentStatus", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema ComponentStatus: kind: "ComponentStatus" = "ComponentStatus" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta diff --git a/k8s/1.26/api/core/v1/component_status_list.k b/k8s/1.26/api/core/v1/component_status_list.k index 0c8fa890..f76a9a62 100644 --- a/k8s/1.26/api/core/v1/component_status_list.k +++ b/k8s/1.26/api/core/v1/component_status_list.k @@ -3,7 +3,7 @@ This is the component_status_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ComponentStatusList: @@ -18,7 +18,7 @@ schema ComponentStatusList: List of ComponentStatus objects. kind : str, default is "ComponentStatusList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ComponentStatusList: kind: "ComponentStatusList" = "ComponentStatusList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.26/api/core/v1/config_map.k b/k8s/1.26/api/core/v1/config_map.k index ac683b69..ee2a9e47 100644 --- a/k8s/1.26/api/core/v1/config_map.k +++ b/k8s/1.26/api/core/v1/config_map.k @@ -3,7 +3,7 @@ This is the config_map module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ConfigMap: @@ -22,7 +22,7 @@ schema ConfigMap: Immutable, if set to true, ensures that data stored in the ConfigMap cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil. kind : str, default is "ConfigMap", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -37,6 +37,6 @@ schema ConfigMap: kind: "ConfigMap" = "ConfigMap" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta diff --git a/k8s/1.26/api/core/v1/config_map_list.k b/k8s/1.26/api/core/v1/config_map_list.k index 5712f514..35df0e4b 100644 --- a/k8s/1.26/api/core/v1/config_map_list.k +++ b/k8s/1.26/api/core/v1/config_map_list.k @@ -3,7 +3,7 @@ This is the config_map_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ConfigMapList: @@ -18,7 +18,7 @@ schema ConfigMapList: Items is the list of ConfigMaps. kind : str, default is "ConfigMapList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema ConfigMapList: kind: "ConfigMapList" = "ConfigMapList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.26/api/core/v1/endpoints.k b/k8s/1.26/api/core/v1/endpoints.k index c1644290..6b8b80ff 100644 --- a/k8s/1.26/api/core/v1/endpoints.k +++ b/k8s/1.26/api/core/v1/endpoints.k @@ -3,7 +3,7 @@ This is the endpoints module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Endpoints: @@ -28,7 +28,7 @@ schema Endpoints: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Endpoints", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata subsets : [EndpointSubset], default is Undefined, optional The set of all endpoints is the union of all subsets. Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service. @@ -39,7 +39,7 @@ schema Endpoints: kind: "Endpoints" = "Endpoints" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta subsets?: [EndpointSubset] diff --git a/k8s/1.26/api/core/v1/endpoints_list.k b/k8s/1.26/api/core/v1/endpoints_list.k index 7ccf6442..f019c842 100644 --- a/k8s/1.26/api/core/v1/endpoints_list.k +++ b/k8s/1.26/api/core/v1/endpoints_list.k @@ -3,7 +3,7 @@ This is the endpoints_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EndpointsList: @@ -18,7 +18,7 @@ schema EndpointsList: List of endpoints. kind : str, default is "EndpointsList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema EndpointsList: kind: "EndpointsList" = "EndpointsList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.26/api/core/v1/event.k b/k8s/1.26/api/core/v1/event.k index 0cc2ba81..f1564c4b 100644 --- a/k8s/1.26/api/core/v1/event.k +++ b/k8s/1.26/api/core/v1/event.k @@ -3,7 +3,7 @@ This is the event module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Event: @@ -30,7 +30,7 @@ schema Event: The time at which the most recent occurrence of this event was recorded. message : str, default is Undefined, optional A human-readable description of the status of this operation. - metadata : v1.ObjectMeta, default is Undefined, required + metadata : metav1.ObjectMeta, default is Undefined, required Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata reason : str, default is Undefined, optional This should be a short, machine understandable string that gives the reason for the transition into the object's current status. @@ -67,7 +67,7 @@ schema Event: message?: str - metadata: v1.ObjectMeta + metadata: metav1.ObjectMeta reason?: str diff --git a/k8s/1.26/api/core/v1/event_list.k b/k8s/1.26/api/core/v1/event_list.k index e543b7cf..d4ed6ffa 100644 --- a/k8s/1.26/api/core/v1/event_list.k +++ b/k8s/1.26/api/core/v1/event_list.k @@ -3,7 +3,7 @@ This is the event_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EventList: @@ -18,7 +18,7 @@ schema EventList: List of events kind : str, default is "EventList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema EventList: kind: "EventList" = "EventList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.26/api/core/v1/limit_range.k b/k8s/1.26/api/core/v1/limit_range.k index 5de64019..3c476447 100644 --- a/k8s/1.26/api/core/v1/limit_range.k +++ b/k8s/1.26/api/core/v1/limit_range.k @@ -3,7 +3,7 @@ This is the limit_range module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LimitRange: @@ -16,7 +16,7 @@ schema LimitRange: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "LimitRange", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : LimitRangeSpec, default is Undefined, optional Spec defines the limits enforced. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema LimitRange: kind: "LimitRange" = "LimitRange" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: LimitRangeSpec diff --git a/k8s/1.26/api/core/v1/limit_range_list.k b/k8s/1.26/api/core/v1/limit_range_list.k index 61da1fba..fc6b5692 100644 --- a/k8s/1.26/api/core/v1/limit_range_list.k +++ b/k8s/1.26/api/core/v1/limit_range_list.k @@ -3,7 +3,7 @@ This is the limit_range_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LimitRangeList: @@ -18,7 +18,7 @@ schema LimitRangeList: Items is a list of LimitRange objects. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ kind : str, default is "LimitRangeList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema LimitRangeList: kind: "LimitRangeList" = "LimitRangeList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.26/api/core/v1/namespace.k b/k8s/1.26/api/core/v1/namespace.k index 52b6b94f..66125388 100644 --- a/k8s/1.26/api/core/v1/namespace.k +++ b/k8s/1.26/api/core/v1/namespace.k @@ -3,7 +3,7 @@ This is the namespace module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Namespace: @@ -16,7 +16,7 @@ schema Namespace: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Namespace", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : NamespaceSpec, default is Undefined, optional Spec defines the behavior of the Namespace. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Namespace: kind: "Namespace" = "Namespace" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: NamespaceSpec diff --git a/k8s/1.26/api/core/v1/namespace_list.k b/k8s/1.26/api/core/v1/namespace_list.k index 0a362eac..1783b0bc 100644 --- a/k8s/1.26/api/core/v1/namespace_list.k +++ b/k8s/1.26/api/core/v1/namespace_list.k @@ -3,7 +3,7 @@ This is the namespace_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NamespaceList: @@ -18,7 +18,7 @@ schema NamespaceList: Items is the list of Namespace objects in the list. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ kind : str, default is "NamespaceList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema NamespaceList: kind: "NamespaceList" = "NamespaceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.26/api/core/v1/node.k b/k8s/1.26/api/core/v1/node.k index 99f9cab9..dcfea158 100644 --- a/k8s/1.26/api/core/v1/node.k +++ b/k8s/1.26/api/core/v1/node.k @@ -3,7 +3,7 @@ This is the node module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Node: @@ -16,7 +16,7 @@ schema Node: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Node", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : NodeSpec, default is Undefined, optional Spec defines the behavior of a node. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Node: kind: "Node" = "Node" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: NodeSpec diff --git a/k8s/1.26/api/core/v1/node_list.k b/k8s/1.26/api/core/v1/node_list.k index 40992f99..26fe9968 100644 --- a/k8s/1.26/api/core/v1/node_list.k +++ b/k8s/1.26/api/core/v1/node_list.k @@ -3,7 +3,7 @@ This is the node_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NodeList: @@ -18,7 +18,7 @@ schema NodeList: List of nodes kind : str, default is "NodeList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema NodeList: kind: "NodeList" = "NodeList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.26/api/core/v1/persistent_volume.k b/k8s/1.26/api/core/v1/persistent_volume.k index ed41f554..1f3d5968 100644 --- a/k8s/1.26/api/core/v1/persistent_volume.k +++ b/k8s/1.26/api/core/v1/persistent_volume.k @@ -3,7 +3,7 @@ This is the persistent_volume module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolume: @@ -16,7 +16,7 @@ schema PersistentVolume: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PersistentVolume", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PersistentVolumeSpec, default is Undefined, optional spec defines a specification of a persistent volume owned by the cluster. Provisioned by an administrator. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes @@ -27,7 +27,7 @@ schema PersistentVolume: kind: "PersistentVolume" = "PersistentVolume" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PersistentVolumeSpec diff --git a/k8s/1.26/api/core/v1/persistent_volume_claim.k b/k8s/1.26/api/core/v1/persistent_volume_claim.k index 1b478b67..65da03d4 100644 --- a/k8s/1.26/api/core/v1/persistent_volume_claim.k +++ b/k8s/1.26/api/core/v1/persistent_volume_claim.k @@ -3,7 +3,7 @@ This is the persistent_volume_claim module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeClaim: @@ -16,7 +16,7 @@ schema PersistentVolumeClaim: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PersistentVolumeClaim", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PersistentVolumeClaimSpec, default is Undefined, optional spec defines the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims @@ -27,7 +27,7 @@ schema PersistentVolumeClaim: kind: "PersistentVolumeClaim" = "PersistentVolumeClaim" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PersistentVolumeClaimSpec diff --git a/k8s/1.26/api/core/v1/persistent_volume_claim_list.k b/k8s/1.26/api/core/v1/persistent_volume_claim_list.k index e09bc2ef..23447a12 100644 --- a/k8s/1.26/api/core/v1/persistent_volume_claim_list.k +++ b/k8s/1.26/api/core/v1/persistent_volume_claim_list.k @@ -3,7 +3,7 @@ This is the persistent_volume_claim_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeClaimList: @@ -18,7 +18,7 @@ schema PersistentVolumeClaimList: items is a list of persistent volume claims. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims kind : str, default is "PersistentVolumeClaimList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema PersistentVolumeClaimList: kind: "PersistentVolumeClaimList" = "PersistentVolumeClaimList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.26/api/core/v1/persistent_volume_claim_spec.k b/k8s/1.26/api/core/v1/persistent_volume_claim_spec.k index fda9a7cb..422e4be4 100644 --- a/k8s/1.26/api/core/v1/persistent_volume_claim_spec.k +++ b/k8s/1.26/api/core/v1/persistent_volume_claim_spec.k @@ -3,7 +3,7 @@ This is the persistent_volume_claim_spec module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeClaimSpec: @@ -27,7 +27,7 @@ schema PersistentVolumeClaimSpec: (Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled. (Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled. resources : ResourceRequirements, default is Undefined, optional resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector is a label query over volumes to consider for binding. storageClassName : str, default is Undefined, optional storageClassName is the name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1 @@ -46,7 +46,7 @@ schema PersistentVolumeClaimSpec: resources?: ResourceRequirements - selector?: v1.LabelSelector + selector?: metav1.LabelSelector storageClassName?: str diff --git a/k8s/1.26/api/core/v1/persistent_volume_claim_template.k b/k8s/1.26/api/core/v1/persistent_volume_claim_template.k index e6758b96..a8a010df 100644 --- a/k8s/1.26/api/core/v1/persistent_volume_claim_template.k +++ b/k8s/1.26/api/core/v1/persistent_volume_claim_template.k @@ -3,7 +3,7 @@ This is the persistent_volume_claim_template module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeClaimTemplate: @@ -12,14 +12,14 @@ schema PersistentVolumeClaimTemplate: Attributes ---------- - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. spec : PersistentVolumeClaimSpec, default is Undefined, required The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here. """ - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: PersistentVolumeClaimSpec diff --git a/k8s/1.26/api/core/v1/persistent_volume_list.k b/k8s/1.26/api/core/v1/persistent_volume_list.k index b1498d78..1d426ef6 100644 --- a/k8s/1.26/api/core/v1/persistent_volume_list.k +++ b/k8s/1.26/api/core/v1/persistent_volume_list.k @@ -3,7 +3,7 @@ This is the persistent_volume_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeList: @@ -18,7 +18,7 @@ schema PersistentVolumeList: items is a list of persistent volumes. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes kind : str, default is "PersistentVolumeList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema PersistentVolumeList: kind: "PersistentVolumeList" = "PersistentVolumeList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.26/api/core/v1/pod.k b/k8s/1.26/api/core/v1/pod.k index 659a9e99..66568628 100644 --- a/k8s/1.26/api/core/v1/pod.k +++ b/k8s/1.26/api/core/v1/pod.k @@ -3,7 +3,7 @@ This is the pod module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Pod: @@ -16,7 +16,7 @@ schema Pod: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Pod", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PodSpec, default is Undefined, optional Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Pod: kind: "Pod" = "Pod" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PodSpec diff --git a/k8s/1.26/api/core/v1/pod_affinity_term.k b/k8s/1.26/api/core/v1/pod_affinity_term.k index fa331b29..a0bd3408 100644 --- a/k8s/1.26/api/core/v1/pod_affinity_term.k +++ b/k8s/1.26/api/core/v1/pod_affinity_term.k @@ -3,7 +3,7 @@ This is the pod_affinity_term module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodAffinityTerm: @@ -12,9 +12,9 @@ schema PodAffinityTerm: Attributes ---------- - labelSelector : v1.LabelSelector, default is Undefined, optional + labelSelector : metav1.LabelSelector, default is Undefined, optional A label query over a set of resources, in this case pods. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. namespaces : [str], default is Undefined, optional namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means "this pod's namespace". @@ -23,9 +23,9 @@ schema PodAffinityTerm: """ - labelSelector?: v1.LabelSelector + labelSelector?: metav1.LabelSelector - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector namespaces?: [str] diff --git a/k8s/1.26/api/core/v1/pod_list.k b/k8s/1.26/api/core/v1/pod_list.k index 10ad5eb9..4c031d05 100644 --- a/k8s/1.26/api/core/v1/pod_list.k +++ b/k8s/1.26/api/core/v1/pod_list.k @@ -3,7 +3,7 @@ This is the pod_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodList: @@ -18,7 +18,7 @@ schema PodList: List of pods. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md kind : str, default is "PodList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema PodList: kind: "PodList" = "PodList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.26/api/core/v1/pod_template.k b/k8s/1.26/api/core/v1/pod_template.k index 98e64f70..6ffbfa64 100644 --- a/k8s/1.26/api/core/v1/pod_template.k +++ b/k8s/1.26/api/core/v1/pod_template.k @@ -3,7 +3,7 @@ This is the pod_template module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodTemplate: @@ -16,7 +16,7 @@ schema PodTemplate: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PodTemplate", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata template : PodTemplateSpec, default is Undefined, optional Template defines the pods that will be created from this pod template. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema PodTemplate: kind: "PodTemplate" = "PodTemplate" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta template?: PodTemplateSpec diff --git a/k8s/1.26/api/core/v1/pod_template_list.k b/k8s/1.26/api/core/v1/pod_template_list.k index 8bb1827f..94024175 100644 --- a/k8s/1.26/api/core/v1/pod_template_list.k +++ b/k8s/1.26/api/core/v1/pod_template_list.k @@ -3,7 +3,7 @@ This is the pod_template_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodTemplateList: @@ -18,7 +18,7 @@ schema PodTemplateList: List of pod templates kind : str, default is "PodTemplateList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema PodTemplateList: kind: "PodTemplateList" = "PodTemplateList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.26/api/core/v1/pod_template_spec.k b/k8s/1.26/api/core/v1/pod_template_spec.k index 1274c88b..6011ef81 100644 --- a/k8s/1.26/api/core/v1/pod_template_spec.k +++ b/k8s/1.26/api/core/v1/pod_template_spec.k @@ -3,7 +3,7 @@ This is the pod_template_spec module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodTemplateSpec: @@ -12,14 +12,14 @@ schema PodTemplateSpec: Attributes ---------- - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PodSpec, default is Undefined, optional Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status """ - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PodSpec diff --git a/k8s/1.26/api/core/v1/replication_controller.k b/k8s/1.26/api/core/v1/replication_controller.k index 08b091e8..37724706 100644 --- a/k8s/1.26/api/core/v1/replication_controller.k +++ b/k8s/1.26/api/core/v1/replication_controller.k @@ -3,7 +3,7 @@ This is the replication_controller module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicationController: @@ -16,7 +16,7 @@ schema ReplicationController: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ReplicationController", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional If the Labels of a ReplicationController are empty, they are defaulted to be the same as the Pod(s) that the replication controller manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : ReplicationControllerSpec, default is Undefined, optional Spec defines the specification of the desired behavior of the replication controller. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema ReplicationController: kind: "ReplicationController" = "ReplicationController" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ReplicationControllerSpec diff --git a/k8s/1.26/api/core/v1/replication_controller_list.k b/k8s/1.26/api/core/v1/replication_controller_list.k index 64afa179..63f9d4b2 100644 --- a/k8s/1.26/api/core/v1/replication_controller_list.k +++ b/k8s/1.26/api/core/v1/replication_controller_list.k @@ -3,7 +3,7 @@ This is the replication_controller_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicationControllerList: @@ -18,7 +18,7 @@ schema ReplicationControllerList: List of replication controllers. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller kind : str, default is "ReplicationControllerList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ReplicationControllerList: kind: "ReplicationControllerList" = "ReplicationControllerList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.26/api/core/v1/resource_quota.k b/k8s/1.26/api/core/v1/resource_quota.k index b7da49d1..0ec7c409 100644 --- a/k8s/1.26/api/core/v1/resource_quota.k +++ b/k8s/1.26/api/core/v1/resource_quota.k @@ -3,7 +3,7 @@ This is the resource_quota module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceQuota: @@ -16,7 +16,7 @@ schema ResourceQuota: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ResourceQuota", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : ResourceQuotaSpec, default is Undefined, optional Spec defines the desired quota. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema ResourceQuota: kind: "ResourceQuota" = "ResourceQuota" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ResourceQuotaSpec diff --git a/k8s/1.26/api/core/v1/resource_quota_list.k b/k8s/1.26/api/core/v1/resource_quota_list.k index ca1424b8..f8dbc87d 100644 --- a/k8s/1.26/api/core/v1/resource_quota_list.k +++ b/k8s/1.26/api/core/v1/resource_quota_list.k @@ -3,7 +3,7 @@ This is the resource_quota_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceQuotaList: @@ -18,7 +18,7 @@ schema ResourceQuotaList: Items is a list of ResourceQuota objects. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/ kind : str, default is "ResourceQuotaList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ResourceQuotaList: kind: "ResourceQuotaList" = "ResourceQuotaList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.26/api/core/v1/secret.k b/k8s/1.26/api/core/v1/secret.k index 315e5f78..79324811 100644 --- a/k8s/1.26/api/core/v1/secret.k +++ b/k8s/1.26/api/core/v1/secret.k @@ -3,7 +3,7 @@ This is the secret module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Secret: @@ -20,7 +20,7 @@ schema Secret: Immutable, if set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil. kind : str, default is "Secret", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata stringData : {str:str}, default is Undefined, optional stringData allows specifying non-binary secret data in string form. It is provided as a write-only input field for convenience. All keys and values are merged into the data field on write, overwriting any existing values. The stringData field is never output when reading from the API. @@ -37,7 +37,7 @@ schema Secret: kind: "Secret" = "Secret" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta stringData?: {str:str} diff --git a/k8s/1.26/api/core/v1/secret_list.k b/k8s/1.26/api/core/v1/secret_list.k index 335c47b4..9e80806b 100644 --- a/k8s/1.26/api/core/v1/secret_list.k +++ b/k8s/1.26/api/core/v1/secret_list.k @@ -3,7 +3,7 @@ This is the secret_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SecretList: @@ -18,7 +18,7 @@ schema SecretList: Items is a list of secret objects. More info: https://kubernetes.io/docs/concepts/configuration/secret kind : str, default is "SecretList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema SecretList: kind: "SecretList" = "SecretList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.26/api/core/v1/service.k b/k8s/1.26/api/core/v1/service.k index 1f259a80..3b86c8ef 100644 --- a/k8s/1.26/api/core/v1/service.k +++ b/k8s/1.26/api/core/v1/service.k @@ -3,7 +3,7 @@ This is the service module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Service: @@ -16,7 +16,7 @@ schema Service: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Service", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : ServiceSpec, default is Undefined, optional Spec defines the behavior of a service. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Service: kind: "Service" = "Service" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ServiceSpec diff --git a/k8s/1.26/api/core/v1/service_account.k b/k8s/1.26/api/core/v1/service_account.k index 3ffd21b4..2570f531 100644 --- a/k8s/1.26/api/core/v1/service_account.k +++ b/k8s/1.26/api/core/v1/service_account.k @@ -3,7 +3,7 @@ This is the service_account module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ServiceAccount: @@ -20,7 +20,7 @@ schema ServiceAccount: ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod kind : str, default is "ServiceAccount", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata secrets : [ObjectReference], default is Undefined, optional Secrets is a list of the secrets in the same namespace that pods running using this ServiceAccount are allowed to use. Pods are only limited to this list if this service account has a "kubernetes.io/enforce-mountable-secrets" annotation set to "true". This field should not be used to find auto-generated service account token secrets for use outside of pods. Instead, tokens can be requested directly using the TokenRequest API, or service account token secrets can be manually created. More info: https://kubernetes.io/docs/concepts/configuration/secret @@ -35,7 +35,7 @@ schema ServiceAccount: kind: "ServiceAccount" = "ServiceAccount" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta secrets?: [ObjectReference] diff --git a/k8s/1.26/api/core/v1/service_account_list.k b/k8s/1.26/api/core/v1/service_account_list.k index 26a9319a..d8cd46b8 100644 --- a/k8s/1.26/api/core/v1/service_account_list.k +++ b/k8s/1.26/api/core/v1/service_account_list.k @@ -3,7 +3,7 @@ This is the service_account_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ServiceAccountList: @@ -18,7 +18,7 @@ schema ServiceAccountList: List of ServiceAccounts. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ kind : str, default is "ServiceAccountList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ServiceAccountList: kind: "ServiceAccountList" = "ServiceAccountList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.26/api/core/v1/service_list.k b/k8s/1.26/api/core/v1/service_list.k index 0c1e31be..5c4fae8a 100644 --- a/k8s/1.26/api/core/v1/service_list.k +++ b/k8s/1.26/api/core/v1/service_list.k @@ -3,7 +3,7 @@ This is the service_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ServiceList: @@ -18,7 +18,7 @@ schema ServiceList: List of services kind : str, default is "ServiceList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ServiceList: kind: "ServiceList" = "ServiceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.26/api/core/v1/service_status.k b/k8s/1.26/api/core/v1/service_status.k index 029dda86..f1fc66e6 100644 --- a/k8s/1.26/api/core/v1/service_status.k +++ b/k8s/1.26/api/core/v1/service_status.k @@ -3,7 +3,7 @@ This is the service_status module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ServiceStatus: @@ -12,14 +12,14 @@ schema ServiceStatus: Attributes ---------- - conditions : [v1.Condition], default is Undefined, optional + conditions : [metav1.Condition], default is Undefined, optional Current service state loadBalancer : LoadBalancerStatus, default is Undefined, optional LoadBalancer contains the current status of the load-balancer, if one is present. """ - conditions?: [v1.Condition] + conditions?: [metav1.Condition] loadBalancer?: LoadBalancerStatus diff --git a/k8s/1.26/api/core/v1/topology_spread_constraint.k b/k8s/1.26/api/core/v1/topology_spread_constraint.k index 8a75ccc0..3c920918 100644 --- a/k8s/1.26/api/core/v1/topology_spread_constraint.k +++ b/k8s/1.26/api/core/v1/topology_spread_constraint.k @@ -3,7 +3,7 @@ This is the topology_spread_constraint module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema TopologySpreadConstraint: @@ -12,7 +12,7 @@ schema TopologySpreadConstraint: Attributes ---------- - labelSelector : v1.LabelSelector, default is Undefined, optional + labelSelector : metav1.LabelSelector, default is Undefined, optional LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain. matchLabelKeys : [str], default is Undefined, optional MatchLabelKeys is a set of pod label keys to select the pods over which spreading will be calculated. The keys are used to lookup values from the incoming pod labels, those key-value labels are ANDed with labelSelector to select the group of existing pods over which spreading will be calculated for the incoming pod. Keys that don't exist in the incoming pod labels will be ignored. A null or empty list means only match against labelSelector. @@ -44,7 +44,7 @@ schema TopologySpreadConstraint: """ - labelSelector?: v1.LabelSelector + labelSelector?: metav1.LabelSelector matchLabelKeys?: [str] diff --git a/k8s/1.26/api/discovery/v1/endpoint_slice.k b/k8s/1.26/api/discovery/v1/endpoint_slice.k index c213c210..5688c1c9 100644 --- a/k8s/1.26/api/discovery/v1/endpoint_slice.k +++ b/k8s/1.26/api/discovery/v1/endpoint_slice.k @@ -3,7 +3,7 @@ This is the endpoint_slice module in k8s.api.discovery.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EndpointSlice: @@ -22,7 +22,7 @@ schema EndpointSlice: endpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints. kind : str, default is "EndpointSlice", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. ports : [EndpointPort], default is Undefined, optional ports specifies the list of network ports exposed by each endpoint in this slice. Each port must have a unique name. When ports is empty, it indicates that there are no defined ports. When a port is defined with a nil port value, it indicates "all ports". Each slice may include a maximum of 100 ports. @@ -37,7 +37,7 @@ schema EndpointSlice: kind: "EndpointSlice" = "EndpointSlice" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta ports?: [EndpointPort] diff --git a/k8s/1.26/api/discovery/v1/endpoint_slice_list.k b/k8s/1.26/api/discovery/v1/endpoint_slice_list.k index d1ca1ed7..241ba06f 100644 --- a/k8s/1.26/api/discovery/v1/endpoint_slice_list.k +++ b/k8s/1.26/api/discovery/v1/endpoint_slice_list.k @@ -3,7 +3,7 @@ This is the endpoint_slice_list module in k8s.api.discovery.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EndpointSliceList: @@ -18,7 +18,7 @@ schema EndpointSliceList: List of endpoint slices kind : str, default is "EndpointSliceList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema EndpointSliceList: kind: "EndpointSliceList" = "EndpointSliceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.26/api/events/v1/event_list.k b/k8s/1.26/api/events/v1/event_list.k index 6d5e7dad..4c4d96ba 100644 --- a/k8s/1.26/api/events/v1/event_list.k +++ b/k8s/1.26/api/events/v1/event_list.k @@ -3,7 +3,7 @@ This is the event_list module in k8s.api.events.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EventList: @@ -18,7 +18,7 @@ schema EventList: items is a list of schema objects. kind : str, default is "EventList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema EventList: kind: "EventList" = "EventList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.26/api/flowcontrol/v1beta2/flow_schema.k b/k8s/1.26/api/flowcontrol/v1beta2/flow_schema.k index 38841e20..ca58b323 100644 --- a/k8s/1.26/api/flowcontrol/v1beta2/flow_schema.k +++ b/k8s/1.26/api/flowcontrol/v1beta2/flow_schema.k @@ -3,7 +3,7 @@ This is the flow_schema module in k8s.api.flowcontrol.v1beta2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema FlowSchema: @@ -16,7 +16,7 @@ schema FlowSchema: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "FlowSchema", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : FlowSchemaSpec, default is Undefined, optional `spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema FlowSchema: kind: "FlowSchema" = "FlowSchema" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: FlowSchemaSpec diff --git a/k8s/1.26/api/flowcontrol/v1beta2/flow_schema_list.k b/k8s/1.26/api/flowcontrol/v1beta2/flow_schema_list.k index 41f1f453..084935f5 100644 --- a/k8s/1.26/api/flowcontrol/v1beta2/flow_schema_list.k +++ b/k8s/1.26/api/flowcontrol/v1beta2/flow_schema_list.k @@ -3,7 +3,7 @@ This is the flow_schema_list module in k8s.api.flowcontrol.v1beta2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema FlowSchemaList: @@ -18,7 +18,7 @@ schema FlowSchemaList: `items` is a list of FlowSchemas. kind : str, default is "FlowSchemaList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional `metadata` is the standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema FlowSchemaList: kind: "FlowSchemaList" = "FlowSchemaList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.26/api/flowcontrol/v1beta2/priority_level_configuration.k b/k8s/1.26/api/flowcontrol/v1beta2/priority_level_configuration.k index adfdc552..654decc0 100644 --- a/k8s/1.26/api/flowcontrol/v1beta2/priority_level_configuration.k +++ b/k8s/1.26/api/flowcontrol/v1beta2/priority_level_configuration.k @@ -3,7 +3,7 @@ This is the priority_level_configuration module in k8s.api.flowcontrol.v1beta2 p This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityLevelConfiguration: @@ -16,7 +16,7 @@ schema PriorityLevelConfiguration: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PriorityLevelConfiguration", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PriorityLevelConfigurationSpec, default is Undefined, optional `spec` is the specification of the desired behavior of a "request-priority". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema PriorityLevelConfiguration: kind: "PriorityLevelConfiguration" = "PriorityLevelConfiguration" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PriorityLevelConfigurationSpec diff --git a/k8s/1.26/api/flowcontrol/v1beta2/priority_level_configuration_list.k b/k8s/1.26/api/flowcontrol/v1beta2/priority_level_configuration_list.k index 3677c841..e3b5923d 100644 --- a/k8s/1.26/api/flowcontrol/v1beta2/priority_level_configuration_list.k +++ b/k8s/1.26/api/flowcontrol/v1beta2/priority_level_configuration_list.k @@ -3,7 +3,7 @@ This is the priority_level_configuration_list module in k8s.api.flowcontrol.v1be This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityLevelConfigurationList: @@ -18,7 +18,7 @@ schema PriorityLevelConfigurationList: `items` is a list of request-priorities. kind : str, default is "PriorityLevelConfigurationList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PriorityLevelConfigurationList: kind: "PriorityLevelConfigurationList" = "PriorityLevelConfigurationList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.26/api/flowcontrol/v1beta3/flow_schema.k b/k8s/1.26/api/flowcontrol/v1beta3/flow_schema.k index c76a8e16..94deb6b6 100644 --- a/k8s/1.26/api/flowcontrol/v1beta3/flow_schema.k +++ b/k8s/1.26/api/flowcontrol/v1beta3/flow_schema.k @@ -3,7 +3,7 @@ This is the flow_schema module in k8s.api.flowcontrol.v1beta3 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema FlowSchema: @@ -16,7 +16,7 @@ schema FlowSchema: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "FlowSchema", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : FlowSchemaSpec, default is Undefined, optional `spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema FlowSchema: kind: "FlowSchema" = "FlowSchema" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: FlowSchemaSpec diff --git a/k8s/1.26/api/flowcontrol/v1beta3/flow_schema_list.k b/k8s/1.26/api/flowcontrol/v1beta3/flow_schema_list.k index fafe330c..7af81967 100644 --- a/k8s/1.26/api/flowcontrol/v1beta3/flow_schema_list.k +++ b/k8s/1.26/api/flowcontrol/v1beta3/flow_schema_list.k @@ -3,7 +3,7 @@ This is the flow_schema_list module in k8s.api.flowcontrol.v1beta3 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema FlowSchemaList: @@ -18,7 +18,7 @@ schema FlowSchemaList: `items` is a list of FlowSchemas. kind : str, default is "FlowSchemaList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional `metadata` is the standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema FlowSchemaList: kind: "FlowSchemaList" = "FlowSchemaList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.26/api/flowcontrol/v1beta3/priority_level_configuration.k b/k8s/1.26/api/flowcontrol/v1beta3/priority_level_configuration.k index 15f67df4..c72c8565 100644 --- a/k8s/1.26/api/flowcontrol/v1beta3/priority_level_configuration.k +++ b/k8s/1.26/api/flowcontrol/v1beta3/priority_level_configuration.k @@ -3,7 +3,7 @@ This is the priority_level_configuration module in k8s.api.flowcontrol.v1beta3 p This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityLevelConfiguration: @@ -16,7 +16,7 @@ schema PriorityLevelConfiguration: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PriorityLevelConfiguration", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PriorityLevelConfigurationSpec, default is Undefined, optional `spec` is the specification of the desired behavior of a "request-priority". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema PriorityLevelConfiguration: kind: "PriorityLevelConfiguration" = "PriorityLevelConfiguration" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PriorityLevelConfigurationSpec diff --git a/k8s/1.26/api/flowcontrol/v1beta3/priority_level_configuration_list.k b/k8s/1.26/api/flowcontrol/v1beta3/priority_level_configuration_list.k index 12396566..3af527e2 100644 --- a/k8s/1.26/api/flowcontrol/v1beta3/priority_level_configuration_list.k +++ b/k8s/1.26/api/flowcontrol/v1beta3/priority_level_configuration_list.k @@ -3,7 +3,7 @@ This is the priority_level_configuration_list module in k8s.api.flowcontrol.v1be This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityLevelConfigurationList: @@ -18,7 +18,7 @@ schema PriorityLevelConfigurationList: `items` is a list of request-priorities. kind : str, default is "PriorityLevelConfigurationList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PriorityLevelConfigurationList: kind: "PriorityLevelConfigurationList" = "PriorityLevelConfigurationList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.26/api/networking/v1/ingress.k b/k8s/1.26/api/networking/v1/ingress.k index 84067c5f..7429b93d 100644 --- a/k8s/1.26/api/networking/v1/ingress.k +++ b/k8s/1.26/api/networking/v1/ingress.k @@ -3,7 +3,7 @@ This is the ingress module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Ingress: @@ -16,7 +16,7 @@ schema Ingress: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Ingress", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : IngressSpec, default is Undefined, optional Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Ingress: kind: "Ingress" = "Ingress" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: IngressSpec diff --git a/k8s/1.26/api/networking/v1/ingress_class.k b/k8s/1.26/api/networking/v1/ingress_class.k index 53cf2398..ad2f67bd 100644 --- a/k8s/1.26/api/networking/v1/ingress_class.k +++ b/k8s/1.26/api/networking/v1/ingress_class.k @@ -3,7 +3,7 @@ This is the ingress_class module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema IngressClass: @@ -16,7 +16,7 @@ schema IngressClass: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "IngressClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : IngressClassSpec, default is Undefined, optional Spec is the desired state of the IngressClass. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema IngressClass: kind: "IngressClass" = "IngressClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: IngressClassSpec diff --git a/k8s/1.26/api/networking/v1/ingress_class_list.k b/k8s/1.26/api/networking/v1/ingress_class_list.k index 7a8dfb45..432a667e 100644 --- a/k8s/1.26/api/networking/v1/ingress_class_list.k +++ b/k8s/1.26/api/networking/v1/ingress_class_list.k @@ -3,7 +3,7 @@ This is the ingress_class_list module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema IngressClassList: @@ -18,7 +18,7 @@ schema IngressClassList: Items is the list of IngressClasses. kind : str, default is "IngressClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema IngressClassList: kind: "IngressClassList" = "IngressClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.26/api/networking/v1/ingress_list.k b/k8s/1.26/api/networking/v1/ingress_list.k index 5fc2315f..a73781b0 100644 --- a/k8s/1.26/api/networking/v1/ingress_list.k +++ b/k8s/1.26/api/networking/v1/ingress_list.k @@ -3,7 +3,7 @@ This is the ingress_list module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema IngressList: @@ -18,7 +18,7 @@ schema IngressList: Items is the list of Ingress. kind : str, default is "IngressList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema IngressList: kind: "IngressList" = "IngressList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.26/api/networking/v1/network_policy.k b/k8s/1.26/api/networking/v1/network_policy.k index 888fc8a4..f4ffe0ea 100644 --- a/k8s/1.26/api/networking/v1/network_policy.k +++ b/k8s/1.26/api/networking/v1/network_policy.k @@ -3,7 +3,7 @@ This is the network_policy module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicy: @@ -16,7 +16,7 @@ schema NetworkPolicy: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "NetworkPolicy", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : NetworkPolicySpec, default is Undefined, optional Specification of the desired behavior for this NetworkPolicy. @@ -27,7 +27,7 @@ schema NetworkPolicy: kind: "NetworkPolicy" = "NetworkPolicy" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: NetworkPolicySpec diff --git a/k8s/1.26/api/networking/v1/network_policy_list.k b/k8s/1.26/api/networking/v1/network_policy_list.k index 7a05cb37..8e21e919 100644 --- a/k8s/1.26/api/networking/v1/network_policy_list.k +++ b/k8s/1.26/api/networking/v1/network_policy_list.k @@ -3,7 +3,7 @@ This is the network_policy_list module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicyList: @@ -18,7 +18,7 @@ schema NetworkPolicyList: Items is a list of schema objects. kind : str, default is "NetworkPolicyList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema NetworkPolicyList: kind: "NetworkPolicyList" = "NetworkPolicyList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.26/api/networking/v1/network_policy_peer.k b/k8s/1.26/api/networking/v1/network_policy_peer.k index c579477f..57c680fb 100644 --- a/k8s/1.26/api/networking/v1/network_policy_peer.k +++ b/k8s/1.26/api/networking/v1/network_policy_peer.k @@ -3,7 +3,7 @@ This is the network_policy_peer module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicyPeer: @@ -14,11 +14,11 @@ schema NetworkPolicyPeer: ---------- ipBlock : IPBlock, default is Undefined, optional IPBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional Selects Namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces. If PodSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects all Pods in the Namespaces selected by NamespaceSelector. - podSelector : v1.LabelSelector, default is Undefined, optional + podSelector : metav1.LabelSelector, default is Undefined, optional This is a label selector which selects Pods. This field follows standard label selector semantics; if present but empty, it selects all pods. If NamespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the Pods matching PodSelector in the policy's own Namespace. @@ -27,8 +27,8 @@ schema NetworkPolicyPeer: ipBlock?: IPBlock - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector - podSelector?: v1.LabelSelector + podSelector?: metav1.LabelSelector diff --git a/k8s/1.26/api/networking/v1/network_policy_spec.k b/k8s/1.26/api/networking/v1/network_policy_spec.k index d1b738dc..5ceec480 100644 --- a/k8s/1.26/api/networking/v1/network_policy_spec.k +++ b/k8s/1.26/api/networking/v1/network_policy_spec.k @@ -3,7 +3,7 @@ This is the network_policy_spec module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicySpec: @@ -16,7 +16,7 @@ schema NetworkPolicySpec: List of egress rules to be applied to the selected pods. Outgoing traffic is allowed if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic matches at least one egress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy limits all outgoing traffic (and serves solely to ensure that the pods it selects are isolated by default). This field is beta-level in 1.8 ingress : [NetworkPolicyIngressRule], default is Undefined, optional List of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not allow any traffic (and serves solely to ensure that the pods it selects are isolated by default) - podSelector : v1.LabelSelector, default is Undefined, required + podSelector : metav1.LabelSelector, default is Undefined, required Selects the pods to which this NetworkPolicy object applies. The array of ingress rules is applied to any pods selected by this field. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is NOT optional and follows standard label selector semantics. An empty podSelector matches all pods in this namespace. policyTypes : [str], default is Undefined, optional List of rule types that the NetworkPolicy relates to. Valid options are ["Ingress"], ["Egress"], or ["Ingress", "Egress"]. If this field is not specified, it will default based on the existence of Ingress or Egress rules; policies that contain an Egress section are assumed to affect Egress, and all policies (whether or not they contain an Ingress section) are assumed to affect Ingress. If you want to write an egress-only policy, you must explicitly specify policyTypes [ "Egress" ]. Likewise, if you want to write a policy that specifies that no egress is allowed, you must specify a policyTypes value that include "Egress" (since such a policy would not include an Egress section and would otherwise default to just [ "Ingress" ]). This field is beta-level in 1.8 @@ -27,7 +27,7 @@ schema NetworkPolicySpec: ingress?: [NetworkPolicyIngressRule] - podSelector: v1.LabelSelector + podSelector: metav1.LabelSelector policyTypes?: [str] diff --git a/k8s/1.26/api/networking/v1/network_policy_status.k b/k8s/1.26/api/networking/v1/network_policy_status.k index 82635871..ba919de0 100644 --- a/k8s/1.26/api/networking/v1/network_policy_status.k +++ b/k8s/1.26/api/networking/v1/network_policy_status.k @@ -3,7 +3,7 @@ This is the network_policy_status module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicyStatus: @@ -12,11 +12,11 @@ schema NetworkPolicyStatus: Attributes ---------- - conditions : [v1.Condition], default is Undefined, optional + conditions : [metav1.Condition], default is Undefined, optional Conditions holds an array of metav1.Condition that describe the state of the NetworkPolicy. Current service state """ - conditions?: [v1.Condition] + conditions?: [metav1.Condition] diff --git a/k8s/1.26/api/networking/v1alpha1/cluster_cidr.k b/k8s/1.26/api/networking/v1alpha1/cluster_cidr.k index 3ed530f3..8e47dfc0 100644 --- a/k8s/1.26/api/networking/v1alpha1/cluster_cidr.k +++ b/k8s/1.26/api/networking/v1alpha1/cluster_cidr.k @@ -3,7 +3,7 @@ This is the cluster_cidr module in k8s.api.networking.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterCIDR: @@ -16,7 +16,7 @@ schema ClusterCIDR: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ClusterCIDR", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : ClusterCIDRSpec, default is Undefined, optional Spec is the desired state of the ClusterCIDR. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema ClusterCIDR: kind: "ClusterCIDR" = "ClusterCIDR" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ClusterCIDRSpec diff --git a/k8s/1.26/api/networking/v1alpha1/cluster_cidr_list.k b/k8s/1.26/api/networking/v1alpha1/cluster_cidr_list.k index 64de913e..bdd5e392 100644 --- a/k8s/1.26/api/networking/v1alpha1/cluster_cidr_list.k +++ b/k8s/1.26/api/networking/v1alpha1/cluster_cidr_list.k @@ -3,7 +3,7 @@ This is the cluster_cidr_list module in k8s.api.networking.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterCIDRList: @@ -18,7 +18,7 @@ schema ClusterCIDRList: Items is the list of ClusterCIDRs. kind : str, default is "ClusterCIDRList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema ClusterCIDRList: kind: "ClusterCIDRList" = "ClusterCIDRList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.26/api/node/v1/runtime_class.k b/k8s/1.26/api/node/v1/runtime_class.k index e415e1d0..ee184cbf 100644 --- a/k8s/1.26/api/node/v1/runtime_class.k +++ b/k8s/1.26/api/node/v1/runtime_class.k @@ -3,7 +3,7 @@ This is the runtime_class module in k8s.api.node.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RuntimeClass: @@ -18,7 +18,7 @@ schema RuntimeClass: Handler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration. It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called "runc" might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The Handler must be lowercase, conform to the DNS Label (RFC 1123) requirements, and is immutable. kind : str, default is "RuntimeClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata overhead : Overhead, default is Undefined, optional Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see @@ -34,7 +34,7 @@ schema RuntimeClass: kind: "RuntimeClass" = "RuntimeClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta overhead?: Overhead diff --git a/k8s/1.26/api/node/v1/runtime_class_list.k b/k8s/1.26/api/node/v1/runtime_class_list.k index 66bfea91..4f1ac3f5 100644 --- a/k8s/1.26/api/node/v1/runtime_class_list.k +++ b/k8s/1.26/api/node/v1/runtime_class_list.k @@ -3,7 +3,7 @@ This is the runtime_class_list module in k8s.api.node.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RuntimeClassList: @@ -18,7 +18,7 @@ schema RuntimeClassList: Items is a list of schema objects. kind : str, default is "RuntimeClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema RuntimeClassList: kind: "RuntimeClassList" = "RuntimeClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.26/api/policy/v1/eviction.k b/k8s/1.26/api/policy/v1/eviction.k index e87c2ee9..121fb323 100644 --- a/k8s/1.26/api/policy/v1/eviction.k +++ b/k8s/1.26/api/policy/v1/eviction.k @@ -3,7 +3,7 @@ This is the eviction module in k8s.api.policy.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Eviction: @@ -14,21 +14,21 @@ schema Eviction: ---------- apiVersion : str, default is "policy/v1", required APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - deleteOptions : v1.DeleteOptions, default is Undefined, optional + deleteOptions : metav1.DeleteOptions, default is Undefined, optional DeleteOptions may be provided kind : str, default is "Eviction", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional ObjectMeta describes the pod that is being evicted. """ apiVersion: "policy/v1" = "policy/v1" - deleteOptions?: v1.DeleteOptions + deleteOptions?: metav1.DeleteOptions kind: "Eviction" = "Eviction" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta diff --git a/k8s/1.26/api/policy/v1/pod_disruption_budget.k b/k8s/1.26/api/policy/v1/pod_disruption_budget.k index 08151f41..02483ed4 100644 --- a/k8s/1.26/api/policy/v1/pod_disruption_budget.k +++ b/k8s/1.26/api/policy/v1/pod_disruption_budget.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget module in k8s.api.policy.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudget: @@ -16,7 +16,7 @@ schema PodDisruptionBudget: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PodDisruptionBudget", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PodDisruptionBudgetSpec, default is Undefined, optional Specification of the desired behavior of the PodDisruptionBudget. @@ -27,7 +27,7 @@ schema PodDisruptionBudget: kind: "PodDisruptionBudget" = "PodDisruptionBudget" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PodDisruptionBudgetSpec diff --git a/k8s/1.26/api/policy/v1/pod_disruption_budget_list.k b/k8s/1.26/api/policy/v1/pod_disruption_budget_list.k index 9075ecd9..0a3f925d 100644 --- a/k8s/1.26/api/policy/v1/pod_disruption_budget_list.k +++ b/k8s/1.26/api/policy/v1/pod_disruption_budget_list.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget_list module in k8s.api.policy.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudgetList: @@ -18,7 +18,7 @@ schema PodDisruptionBudgetList: Items is a list of PodDisruptionBudgets kind : str, default is "PodDisruptionBudgetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PodDisruptionBudgetList: kind: "PodDisruptionBudgetList" = "PodDisruptionBudgetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.26/api/policy/v1/pod_disruption_budget_spec.k b/k8s/1.26/api/policy/v1/pod_disruption_budget_spec.k index 8da6592c..eb162e5b 100644 --- a/k8s/1.26/api/policy/v1/pod_disruption_budget_spec.k +++ b/k8s/1.26/api/policy/v1/pod_disruption_budget_spec.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget_spec module in k8s.api.policy.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudgetSpec: @@ -16,7 +16,7 @@ schema PodDisruptionBudgetSpec: An eviction is allowed if at most "maxUnavailable" pods selected by "selector" are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with "minAvailable". minAvailable : int | str, default is Undefined, optional An eviction is allowed if at least "minAvailable" pods selected by "selector" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying "100%". - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional Label query over pods whose evictions are managed by the disruption budget. A null selector will match no pods, while an empty ({}) selector will select all pods within the namespace. unhealthyPodEvictionPolicy : str, default is Undefined, optional UnhealthyPodEvictionPolicy defines the criteria for when unhealthy pods should be considered for eviction. Current implementation considers healthy pods, as pods that have status.conditions item with type="Ready",status="True". @@ -37,7 +37,7 @@ schema PodDisruptionBudgetSpec: minAvailable?: int | str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector unhealthyPodEvictionPolicy?: str diff --git a/k8s/1.26/api/policy/v1/pod_disruption_budget_status.k b/k8s/1.26/api/policy/v1/pod_disruption_budget_status.k index 58d0ef88..b8db8025 100644 --- a/k8s/1.26/api/policy/v1/pod_disruption_budget_status.k +++ b/k8s/1.26/api/policy/v1/pod_disruption_budget_status.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget_status module in k8s.api.policy.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudgetStatus: @@ -12,7 +12,7 @@ schema PodDisruptionBudgetStatus: Attributes ---------- - conditions : [v1.Condition], default is Undefined, optional + conditions : [metav1.Condition], default is Undefined, optional Conditions contain conditions for PDB. The disruption controller sets the DisruptionAllowed condition. The following are known values for the reason field (additional reasons could be added in the future): - SyncFailed: The controller encountered an error and wasn't able to compute the number of allowed disruptions. Therefore no disruptions are allowed and the status of the condition will be False. @@ -37,7 +37,7 @@ schema PodDisruptionBudgetStatus: """ - conditions?: [v1.Condition] + conditions?: [metav1.Condition] currentHealthy: int diff --git a/k8s/1.26/api/rbac/v1/aggregation_rule.k b/k8s/1.26/api/rbac/v1/aggregation_rule.k index c7969ee4..b6898869 100644 --- a/k8s/1.26/api/rbac/v1/aggregation_rule.k +++ b/k8s/1.26/api/rbac/v1/aggregation_rule.k @@ -3,7 +3,7 @@ This is the aggregation_rule module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema AggregationRule: @@ -12,11 +12,11 @@ schema AggregationRule: Attributes ---------- - clusterRoleSelectors : [v1.LabelSelector], default is Undefined, optional + clusterRoleSelectors : [metav1.LabelSelector], default is Undefined, optional ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added """ - clusterRoleSelectors?: [v1.LabelSelector] + clusterRoleSelectors?: [metav1.LabelSelector] diff --git a/k8s/1.26/api/rbac/v1/cluster_role.k b/k8s/1.26/api/rbac/v1/cluster_role.k index fcf42d1b..d32837ea 100644 --- a/k8s/1.26/api/rbac/v1/cluster_role.k +++ b/k8s/1.26/api/rbac/v1/cluster_role.k @@ -3,7 +3,7 @@ This is the cluster_role module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRole: @@ -18,7 +18,7 @@ schema ClusterRole: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ClusterRole", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. rules : [PolicyRule], default is Undefined, optional Rules holds all the PolicyRules for this ClusterRole @@ -31,7 +31,7 @@ schema ClusterRole: kind: "ClusterRole" = "ClusterRole" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta rules?: [PolicyRule] diff --git a/k8s/1.26/api/rbac/v1/cluster_role_binding.k b/k8s/1.26/api/rbac/v1/cluster_role_binding.k index e670588e..1b2c4294 100644 --- a/k8s/1.26/api/rbac/v1/cluster_role_binding.k +++ b/k8s/1.26/api/rbac/v1/cluster_role_binding.k @@ -3,7 +3,7 @@ This is the cluster_role_binding module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleBinding: @@ -16,7 +16,7 @@ schema ClusterRoleBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ClusterRoleBinding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. roleRef : RoleRef, default is Undefined, required RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. @@ -29,7 +29,7 @@ schema ClusterRoleBinding: kind: "ClusterRoleBinding" = "ClusterRoleBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta roleRef: RoleRef diff --git a/k8s/1.26/api/rbac/v1/cluster_role_binding_list.k b/k8s/1.26/api/rbac/v1/cluster_role_binding_list.k index fd53865a..bd13f6fa 100644 --- a/k8s/1.26/api/rbac/v1/cluster_role_binding_list.k +++ b/k8s/1.26/api/rbac/v1/cluster_role_binding_list.k @@ -3,7 +3,7 @@ This is the cluster_role_binding_list module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleBindingList: @@ -18,7 +18,7 @@ schema ClusterRoleBindingList: Items is a list of ClusterRoleBindings kind : str, default is "ClusterRoleBindingList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema ClusterRoleBindingList: kind: "ClusterRoleBindingList" = "ClusterRoleBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.26/api/rbac/v1/cluster_role_list.k b/k8s/1.26/api/rbac/v1/cluster_role_list.k index 8be0e1a6..303e00aa 100644 --- a/k8s/1.26/api/rbac/v1/cluster_role_list.k +++ b/k8s/1.26/api/rbac/v1/cluster_role_list.k @@ -3,7 +3,7 @@ This is the cluster_role_list module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleList: @@ -18,7 +18,7 @@ schema ClusterRoleList: Items is a list of ClusterRoles kind : str, default is "ClusterRoleList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema ClusterRoleList: kind: "ClusterRoleList" = "ClusterRoleList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.26/api/rbac/v1/role.k b/k8s/1.26/api/rbac/v1/role.k index f72c1ab0..db02dfef 100644 --- a/k8s/1.26/api/rbac/v1/role.k +++ b/k8s/1.26/api/rbac/v1/role.k @@ -3,7 +3,7 @@ This is the role module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Role: @@ -16,7 +16,7 @@ schema Role: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Role", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. rules : [PolicyRule], default is Undefined, optional Rules holds all the PolicyRules for this Role @@ -27,7 +27,7 @@ schema Role: kind: "Role" = "Role" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta rules?: [PolicyRule] diff --git a/k8s/1.26/api/rbac/v1/role_binding.k b/k8s/1.26/api/rbac/v1/role_binding.k index a305e8b1..efa93d8c 100644 --- a/k8s/1.26/api/rbac/v1/role_binding.k +++ b/k8s/1.26/api/rbac/v1/role_binding.k @@ -3,7 +3,7 @@ This is the role_binding module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleBinding: @@ -16,7 +16,7 @@ schema RoleBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "RoleBinding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. roleRef : RoleRef, default is Undefined, required RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. @@ -29,7 +29,7 @@ schema RoleBinding: kind: "RoleBinding" = "RoleBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta roleRef: RoleRef diff --git a/k8s/1.26/api/rbac/v1/role_binding_list.k b/k8s/1.26/api/rbac/v1/role_binding_list.k index ef8b7fc8..cb8d7400 100644 --- a/k8s/1.26/api/rbac/v1/role_binding_list.k +++ b/k8s/1.26/api/rbac/v1/role_binding_list.k @@ -3,7 +3,7 @@ This is the role_binding_list module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleBindingList: @@ -18,7 +18,7 @@ schema RoleBindingList: Items is a list of RoleBindings kind : str, default is "RoleBindingList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema RoleBindingList: kind: "RoleBindingList" = "RoleBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.26/api/rbac/v1/role_list.k b/k8s/1.26/api/rbac/v1/role_list.k index 6e7826e6..d102bc0c 100644 --- a/k8s/1.26/api/rbac/v1/role_list.k +++ b/k8s/1.26/api/rbac/v1/role_list.k @@ -3,7 +3,7 @@ This is the role_list module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleList: @@ -18,7 +18,7 @@ schema RoleList: Items is a list of Roles kind : str, default is "RoleList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema RoleList: kind: "RoleList" = "RoleList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.26/api/resource/v1alpha1/pod_scheduling.k b/k8s/1.26/api/resource/v1alpha1/pod_scheduling.k index afb67ad7..4914596b 100644 --- a/k8s/1.26/api/resource/v1alpha1/pod_scheduling.k +++ b/k8s/1.26/api/resource/v1alpha1/pod_scheduling.k @@ -3,7 +3,7 @@ This is the pod_scheduling module in k8s.api.resource.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodScheduling: @@ -18,7 +18,7 @@ schema PodScheduling: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PodScheduling", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata spec : PodSchedulingSpec, default is Undefined, required Spec describes where resources for the Pod are needed. @@ -29,7 +29,7 @@ schema PodScheduling: kind: "PodScheduling" = "PodScheduling" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: PodSchedulingSpec diff --git a/k8s/1.26/api/resource/v1alpha1/pod_scheduling_list.k b/k8s/1.26/api/resource/v1alpha1/pod_scheduling_list.k index 7c57ec7d..7963663f 100644 --- a/k8s/1.26/api/resource/v1alpha1/pod_scheduling_list.k +++ b/k8s/1.26/api/resource/v1alpha1/pod_scheduling_list.k @@ -3,7 +3,7 @@ This is the pod_scheduling_list module in k8s.api.resource.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodSchedulingList: @@ -18,7 +18,7 @@ schema PodSchedulingList: Items is the list of PodScheduling objects. kind : str, default is "PodSchedulingList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata """ @@ -29,6 +29,6 @@ schema PodSchedulingList: kind: "PodSchedulingList" = "PodSchedulingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.26/api/resource/v1alpha1/resource_claim.k b/k8s/1.26/api/resource/v1alpha1/resource_claim.k index 23ddffdb..055db2e3 100644 --- a/k8s/1.26/api/resource/v1alpha1/resource_claim.k +++ b/k8s/1.26/api/resource/v1alpha1/resource_claim.k @@ -3,7 +3,7 @@ This is the resource_claim module in k8s.api.resource.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceClaim: @@ -18,7 +18,7 @@ schema ResourceClaim: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ResourceClaim", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata spec : ResourceClaimSpec, default is Undefined, required Spec describes the desired attributes of a resource that then needs to be allocated. It can only be set once when creating the ResourceClaim. @@ -29,7 +29,7 @@ schema ResourceClaim: kind: "ResourceClaim" = "ResourceClaim" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: ResourceClaimSpec diff --git a/k8s/1.26/api/resource/v1alpha1/resource_claim_list.k b/k8s/1.26/api/resource/v1alpha1/resource_claim_list.k index 13054cc0..ed36c398 100644 --- a/k8s/1.26/api/resource/v1alpha1/resource_claim_list.k +++ b/k8s/1.26/api/resource/v1alpha1/resource_claim_list.k @@ -3,7 +3,7 @@ This is the resource_claim_list module in k8s.api.resource.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceClaimList: @@ -18,7 +18,7 @@ schema ResourceClaimList: Items is the list of resource claims. kind : str, default is "ResourceClaimList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata """ @@ -29,6 +29,6 @@ schema ResourceClaimList: kind: "ResourceClaimList" = "ResourceClaimList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.26/api/resource/v1alpha1/resource_claim_template.k b/k8s/1.26/api/resource/v1alpha1/resource_claim_template.k index 4fa85074..45ca2ae7 100644 --- a/k8s/1.26/api/resource/v1alpha1/resource_claim_template.k +++ b/k8s/1.26/api/resource/v1alpha1/resource_claim_template.k @@ -3,7 +3,7 @@ This is the resource_claim_template module in k8s.api.resource.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceClaimTemplate: @@ -16,7 +16,7 @@ schema ResourceClaimTemplate: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ResourceClaimTemplate", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata spec : ResourceClaimTemplateSpec, default is Undefined, required Describes the ResourceClaim that is to be generated. @@ -29,7 +29,7 @@ schema ResourceClaimTemplate: kind: "ResourceClaimTemplate" = "ResourceClaimTemplate" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: ResourceClaimTemplateSpec diff --git a/k8s/1.26/api/resource/v1alpha1/resource_claim_template_list.k b/k8s/1.26/api/resource/v1alpha1/resource_claim_template_list.k index 30c2894f..3d0b9e1c 100644 --- a/k8s/1.26/api/resource/v1alpha1/resource_claim_template_list.k +++ b/k8s/1.26/api/resource/v1alpha1/resource_claim_template_list.k @@ -3,7 +3,7 @@ This is the resource_claim_template_list module in k8s.api.resource.v1alpha1 pac This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceClaimTemplateList: @@ -18,7 +18,7 @@ schema ResourceClaimTemplateList: Items is the list of resource claim templates. kind : str, default is "ResourceClaimTemplateList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata """ @@ -29,6 +29,6 @@ schema ResourceClaimTemplateList: kind: "ResourceClaimTemplateList" = "ResourceClaimTemplateList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.26/api/resource/v1alpha1/resource_claim_template_spec.k b/k8s/1.26/api/resource/v1alpha1/resource_claim_template_spec.k index d0828a26..d735f862 100644 --- a/k8s/1.26/api/resource/v1alpha1/resource_claim_template_spec.k +++ b/k8s/1.26/api/resource/v1alpha1/resource_claim_template_spec.k @@ -3,7 +3,7 @@ This is the resource_claim_template_spec module in k8s.api.resource.v1alpha1 pac This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceClaimTemplateSpec: @@ -12,14 +12,14 @@ schema ResourceClaimTemplateSpec: Attributes ---------- - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional ObjectMeta may contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. spec : ResourceClaimSpec, default is Undefined, required Spec for the ResourceClaim. The entire content is copied unchanged into the ResourceClaim that gets created from this template. The same fields as in a ResourceClaim are also valid here. """ - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: ResourceClaimSpec diff --git a/k8s/1.26/api/resource/v1alpha1/resource_class.k b/k8s/1.26/api/resource/v1alpha1/resource_class.k index e5a82bb4..7549847b 100644 --- a/k8s/1.26/api/resource/v1alpha1/resource_class.k +++ b/k8s/1.26/api/resource/v1alpha1/resource_class.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceClass: @@ -23,7 +23,7 @@ schema ResourceClass: Resource drivers have a unique name in forward domain order (acme.example.com). kind : str, default is "ResourceClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata parametersRef : ResourceClassParametersReference, default is Undefined, optional ParametersRef references an arbitrary separate object that may hold parameters that will be used by the driver when allocating a resource that uses this class. A dynamic resource driver can distinguish between parameters stored here and and those stored in ResourceClaimSpec. @@ -40,7 +40,7 @@ schema ResourceClass: kind: "ResourceClass" = "ResourceClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta parametersRef?: ResourceClassParametersReference diff --git a/k8s/1.26/api/resource/v1alpha1/resource_class_list.k b/k8s/1.26/api/resource/v1alpha1/resource_class_list.k index a8d8c8b0..1c90d866 100644 --- a/k8s/1.26/api/resource/v1alpha1/resource_class_list.k +++ b/k8s/1.26/api/resource/v1alpha1/resource_class_list.k @@ -3,7 +3,7 @@ This is the resource_class_list module in k8s.api.resource.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceClassList: @@ -18,7 +18,7 @@ schema ResourceClassList: Items is the list of resource classes. kind : str, default is "ResourceClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata """ @@ -29,6 +29,6 @@ schema ResourceClassList: kind: "ResourceClassList" = "ResourceClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.26/api/scheduling/v1/priority_class.k b/k8s/1.26/api/scheduling/v1/priority_class.k index 2944896d..a405221b 100644 --- a/k8s/1.26/api/scheduling/v1/priority_class.k +++ b/k8s/1.26/api/scheduling/v1/priority_class.k @@ -3,7 +3,7 @@ This is the priority_class module in k8s.api.scheduling.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityClass: @@ -20,7 +20,7 @@ schema PriorityClass: globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority. kind : str, default is "PriorityClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata preemptionPolicy : str, default is Undefined, optional PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. @@ -37,7 +37,7 @@ schema PriorityClass: kind: "PriorityClass" = "PriorityClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta preemptionPolicy?: str diff --git a/k8s/1.26/api/scheduling/v1/priority_class_list.k b/k8s/1.26/api/scheduling/v1/priority_class_list.k index ff802048..6d514f6b 100644 --- a/k8s/1.26/api/scheduling/v1/priority_class_list.k +++ b/k8s/1.26/api/scheduling/v1/priority_class_list.k @@ -3,7 +3,7 @@ This is the priority_class_list module in k8s.api.scheduling.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityClassList: @@ -18,7 +18,7 @@ schema PriorityClassList: items is the list of PriorityClasses kind : str, default is "PriorityClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PriorityClassList: kind: "PriorityClassList" = "PriorityClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.26/api/storage/v1/csi_driver.k b/k8s/1.26/api/storage/v1/csi_driver.k index 3302994b..cd222b2a 100644 --- a/k8s/1.26/api/storage/v1/csi_driver.k +++ b/k8s/1.26/api/storage/v1/csi_driver.k @@ -3,7 +3,7 @@ This is the csi_driver module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSIDriver: @@ -16,7 +16,7 @@ schema CSIDriver: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CSIDriver", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. metadata.Name indicates the name of the CSI driver that this object refers to; it MUST be the same name returned by the CSI GetPluginName() call for that driver. The driver name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and alphanumerics between. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : CSIDriverSpec, default is Undefined, required Specification of the CSI Driver. @@ -27,7 +27,7 @@ schema CSIDriver: kind: "CSIDriver" = "CSIDriver" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CSIDriverSpec diff --git a/k8s/1.26/api/storage/v1/csi_driver_list.k b/k8s/1.26/api/storage/v1/csi_driver_list.k index 91531b39..8b09e0f6 100644 --- a/k8s/1.26/api/storage/v1/csi_driver_list.k +++ b/k8s/1.26/api/storage/v1/csi_driver_list.k @@ -3,7 +3,7 @@ This is the csi_driver_list module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSIDriverList: @@ -18,7 +18,7 @@ schema CSIDriverList: items is the list of CSIDriver kind : str, default is "CSIDriverList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CSIDriverList: kind: "CSIDriverList" = "CSIDriverList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.26/api/storage/v1/csi_node.k b/k8s/1.26/api/storage/v1/csi_node.k index 055f8653..6557da03 100644 --- a/k8s/1.26/api/storage/v1/csi_node.k +++ b/k8s/1.26/api/storage/v1/csi_node.k @@ -3,7 +3,7 @@ This is the csi_node module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSINode: @@ -16,7 +16,7 @@ schema CSINode: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CSINode", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata.name must be the Kubernetes node name. spec : CSINodeSpec, default is Undefined, required spec is the specification of CSINode @@ -27,7 +27,7 @@ schema CSINode: kind: "CSINode" = "CSINode" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CSINodeSpec diff --git a/k8s/1.26/api/storage/v1/csi_node_list.k b/k8s/1.26/api/storage/v1/csi_node_list.k index ce5793c1..3a93da71 100644 --- a/k8s/1.26/api/storage/v1/csi_node_list.k +++ b/k8s/1.26/api/storage/v1/csi_node_list.k @@ -3,7 +3,7 @@ This is the csi_node_list module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSINodeList: @@ -18,7 +18,7 @@ schema CSINodeList: items is the list of CSINode kind : str, default is "CSINodeList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CSINodeList: kind: "CSINodeList" = "CSINodeList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.26/api/storage/v1/csi_storage_capacity.k b/k8s/1.26/api/storage/v1/csi_storage_capacity.k index 0c46193b..090620ce 100644 --- a/k8s/1.26/api/storage/v1/csi_storage_capacity.k +++ b/k8s/1.26/api/storage/v1/csi_storage_capacity.k @@ -3,7 +3,7 @@ This is the csi_storage_capacity module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSIStorageCapacity: @@ -32,13 +32,13 @@ schema CSIStorageCapacity: MaximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields. This is defined since CSI spec 1.4.0 as the largest size that may be used in a CreateVolumeRequest.capacity_range.required_bytes field to create a volume with the same parameters as those in GetCapacityRequest. The corresponding value in the Kubernetes API is ResourceRequirements.Requests in a volume claim. - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. The name has no particular meaning. It must be be a DNS subdomain (dots allowed, 253 characters). To ensure that there are no conflicts with other CSI drivers on the cluster, the recommendation is to use csisc-, a generated name, or a reverse-domain name which ends with the unique CSI driver name. Objects are namespaced. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - nodeTopology : v1.LabelSelector, default is Undefined, optional + nodeTopology : metav1.LabelSelector, default is Undefined, optional NodeTopology defines which nodes have access to the storage for which capacity was reported. If not set, the storage is not accessible from any node in the cluster. If empty, the storage is accessible from all nodes. This field is immutable. storageClassName : str, default is Undefined, required The name of the StorageClass that the reported capacity applies to. It must meet the same requirements as the name of a StorageClass object (non-empty, DNS subdomain). If that object no longer exists, the CSIStorageCapacity object is obsolete and should be removed by its creator. This field is immutable. @@ -53,9 +53,9 @@ schema CSIStorageCapacity: maximumVolumeSize?: str - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta - nodeTopology?: v1.LabelSelector + nodeTopology?: metav1.LabelSelector storageClassName: str diff --git a/k8s/1.26/api/storage/v1/csi_storage_capacity_list.k b/k8s/1.26/api/storage/v1/csi_storage_capacity_list.k index ad68b8d1..c8435d7f 100644 --- a/k8s/1.26/api/storage/v1/csi_storage_capacity_list.k +++ b/k8s/1.26/api/storage/v1/csi_storage_capacity_list.k @@ -3,7 +3,7 @@ This is the csi_storage_capacity_list module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSIStorageCapacityList: @@ -18,7 +18,7 @@ schema CSIStorageCapacityList: Items is the list of CSIStorageCapacity objects. kind : str, default is "CSIStorageCapacityList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CSIStorageCapacityList: kind: "CSIStorageCapacityList" = "CSIStorageCapacityList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.26/api/storage/v1/storage_class_list.k b/k8s/1.26/api/storage/v1/storage_class_list.k index 365e1386..284d43e8 100644 --- a/k8s/1.26/api/storage/v1/storage_class_list.k +++ b/k8s/1.26/api/storage/v1/storage_class_list.k @@ -3,7 +3,7 @@ This is the storage_class_list module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StorageClassList: @@ -18,7 +18,7 @@ schema StorageClassList: Items is the list of StorageClasses kind : str, default is "StorageClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema StorageClassList: kind: "StorageClassList" = "StorageClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.26/api/storage/v1/volume_attachment.k b/k8s/1.26/api/storage/v1/volume_attachment.k index e4b9149f..f98beff1 100644 --- a/k8s/1.26/api/storage/v1/volume_attachment.k +++ b/k8s/1.26/api/storage/v1/volume_attachment.k @@ -3,7 +3,7 @@ This is the volume_attachment module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema VolumeAttachment: @@ -18,7 +18,7 @@ schema VolumeAttachment: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "VolumeAttachment", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : VolumeAttachmentSpec, default is Undefined, required Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system. @@ -29,7 +29,7 @@ schema VolumeAttachment: kind: "VolumeAttachment" = "VolumeAttachment" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: VolumeAttachmentSpec diff --git a/k8s/1.26/api/storage/v1/volume_attachment_list.k b/k8s/1.26/api/storage/v1/volume_attachment_list.k index ef702d0d..0719d0bc 100644 --- a/k8s/1.26/api/storage/v1/volume_attachment_list.k +++ b/k8s/1.26/api/storage/v1/volume_attachment_list.k @@ -3,7 +3,7 @@ This is the volume_attachment_list module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema VolumeAttachmentList: @@ -18,7 +18,7 @@ schema VolumeAttachmentList: Items is the list of VolumeAttachments kind : str, default is "VolumeAttachmentList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema VolumeAttachmentList: kind: "VolumeAttachmentList" = "VolumeAttachmentList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.26/api/storage/v1beta1/csi_storage_capacity.k b/k8s/1.26/api/storage/v1beta1/csi_storage_capacity.k index 9ab34c4d..2d1eb175 100644 --- a/k8s/1.26/api/storage/v1beta1/csi_storage_capacity.k +++ b/k8s/1.26/api/storage/v1beta1/csi_storage_capacity.k @@ -3,7 +3,7 @@ This is the csi_storage_capacity module in k8s.api.storage.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSIStorageCapacity: @@ -32,13 +32,13 @@ schema CSIStorageCapacity: MaximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields. This is defined since CSI spec 1.4.0 as the largest size that may be used in a CreateVolumeRequest.capacity_range.required_bytes field to create a volume with the same parameters as those in GetCapacityRequest. The corresponding value in the Kubernetes API is ResourceRequirements.Requests in a volume claim. - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. The name has no particular meaning. It must be be a DNS subdomain (dots allowed, 253 characters). To ensure that there are no conflicts with other CSI drivers on the cluster, the recommendation is to use csisc-, a generated name, or a reverse-domain name which ends with the unique CSI driver name. Objects are namespaced. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - nodeTopology : v1.LabelSelector, default is Undefined, optional + nodeTopology : metav1.LabelSelector, default is Undefined, optional NodeTopology defines which nodes have access to the storage for which capacity was reported. If not set, the storage is not accessible from any node in the cluster. If empty, the storage is accessible from all nodes. This field is immutable. storageClassName : str, default is Undefined, required The name of the StorageClass that the reported capacity applies to. It must meet the same requirements as the name of a StorageClass object (non-empty, DNS subdomain). If that object no longer exists, the CSIStorageCapacity object is obsolete and should be removed by its creator. This field is immutable. @@ -53,9 +53,9 @@ schema CSIStorageCapacity: maximumVolumeSize?: str - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta - nodeTopology?: v1.LabelSelector + nodeTopology?: metav1.LabelSelector storageClassName: str diff --git a/k8s/1.26/api/storage/v1beta1/csi_storage_capacity_list.k b/k8s/1.26/api/storage/v1beta1/csi_storage_capacity_list.k index d5125765..e2389f68 100644 --- a/k8s/1.26/api/storage/v1beta1/csi_storage_capacity_list.k +++ b/k8s/1.26/api/storage/v1beta1/csi_storage_capacity_list.k @@ -3,7 +3,7 @@ This is the csi_storage_capacity_list module in k8s.api.storage.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSIStorageCapacityList: @@ -18,7 +18,7 @@ schema CSIStorageCapacityList: Items is the list of CSIStorageCapacity objects. kind : str, default is "CSIStorageCapacityList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CSIStorageCapacityList: kind: "CSIStorageCapacityList" = "CSIStorageCapacityList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.26/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition.k b/k8s/1.26/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition.k index f348f6d1..5010467b 100644 --- a/k8s/1.26/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition.k +++ b/k8s/1.26/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition.k @@ -3,7 +3,7 @@ This is the custom_resource_definition module in k8s.apiextensions_apiserver.pkg This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CustomResourceDefinition: @@ -16,7 +16,7 @@ schema CustomResourceDefinition: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CustomResourceDefinition", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : CustomResourceDefinitionSpec, default is Undefined, required spec describes how the user wants the resources to appear @@ -27,7 +27,7 @@ schema CustomResourceDefinition: kind: "CustomResourceDefinition" = "CustomResourceDefinition" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CustomResourceDefinitionSpec diff --git a/k8s/1.26/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition_list.k b/k8s/1.26/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition_list.k index ca3c928b..8b625323 100644 --- a/k8s/1.26/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition_list.k +++ b/k8s/1.26/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition_list.k @@ -3,7 +3,7 @@ This is the custom_resource_definition_list module in k8s.apiextensions_apiserve This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CustomResourceDefinitionList: @@ -18,7 +18,7 @@ schema CustomResourceDefinitionList: items list individual CustomResourceDefinition objects kind : str, default is "CustomResourceDefinitionList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CustomResourceDefinitionList: kind: "CustomResourceDefinitionList" = "CustomResourceDefinitionList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.26/kcl.mod b/k8s/1.26/kcl.mod index 04136298..6b72628b 100644 --- a/k8s/1.26/kcl.mod +++ b/k8s/1.26/kcl.mod @@ -1,5 +1,5 @@ [package] name = "k8s" edition = "*" -version = "1.26.1" +version = "1.26.2" description = "`k8s` is a KCL module contains all the built-in Kubernetes resource models (the CRDs are not included here)." diff --git a/k8s/1.26/kube_aggregator/pkg/apis/apiregistration/v1/api_service.k b/k8s/1.26/kube_aggregator/pkg/apis/apiregistration/v1/api_service.k index 89028f12..7b645741 100644 --- a/k8s/1.26/kube_aggregator/pkg/apis/apiregistration/v1/api_service.k +++ b/k8s/1.26/kube_aggregator/pkg/apis/apiregistration/v1/api_service.k @@ -3,7 +3,7 @@ This is the api_service module in k8s.kube_aggregator.pkg.apis.apiregistration.v This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema APIService: @@ -16,7 +16,7 @@ schema APIService: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "APIService", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : APIServiceSpec, default is Undefined, optional Spec contains information for locating and communicating with a server @@ -27,7 +27,7 @@ schema APIService: kind: "APIService" = "APIService" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: APIServiceSpec diff --git a/k8s/1.26/kube_aggregator/pkg/apis/apiregistration/v1/api_service_list.k b/k8s/1.26/kube_aggregator/pkg/apis/apiregistration/v1/api_service_list.k index acf02534..3a385202 100644 --- a/k8s/1.26/kube_aggregator/pkg/apis/apiregistration/v1/api_service_list.k +++ b/k8s/1.26/kube_aggregator/pkg/apis/apiregistration/v1/api_service_list.k @@ -3,7 +3,7 @@ This is the api_service_list module in k8s.kube_aggregator.pkg.apis.apiregistrat This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema APIServiceList: @@ -18,7 +18,7 @@ schema APIServiceList: Items is the list of APIService kind : str, default is "APIServiceList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema APIServiceList: kind: "APIServiceList" = "APIServiceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.27/api/admissionregistration/v1/mutating_webhook.k b/k8s/1.27/api/admissionregistration/v1/mutating_webhook.k index c1f6adf5..c16eb3f0 100644 --- a/k8s/1.27/api/admissionregistration/v1/mutating_webhook.k +++ b/k8s/1.27/api/admissionregistration/v1/mutating_webhook.k @@ -3,7 +3,7 @@ This is the mutating_webhook module in k8s.api.admissionregistration.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MutatingWebhook: @@ -39,7 +39,7 @@ schema MutatingWebhook: Defaults to "Equivalent" name : str, default is Undefined, required The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook. For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1"; you will set the selector as follows: "namespaceSelector": { @@ -71,7 +71,7 @@ schema MutatingWebhook: See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors. Default to the empty LabelSelector, which matches everything. - objectSelector : v1.LabelSelector, default is Undefined, optional + objectSelector : metav1.LabelSelector, default is Undefined, optional ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything. reinvocationPolicy : str, default is Undefined, optional reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded". @@ -102,9 +102,9 @@ schema MutatingWebhook: name: str - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector - objectSelector?: v1.LabelSelector + objectSelector?: metav1.LabelSelector reinvocationPolicy?: str diff --git a/k8s/1.27/api/admissionregistration/v1/mutating_webhook_configuration.k b/k8s/1.27/api/admissionregistration/v1/mutating_webhook_configuration.k index a9864b32..0c970740 100644 --- a/k8s/1.27/api/admissionregistration/v1/mutating_webhook_configuration.k +++ b/k8s/1.27/api/admissionregistration/v1/mutating_webhook_configuration.k @@ -3,7 +3,7 @@ This is the mutating_webhook_configuration module in k8s.api.admissionregistrati This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MutatingWebhookConfiguration: @@ -16,7 +16,7 @@ schema MutatingWebhookConfiguration: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "MutatingWebhookConfiguration", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. webhooks : [MutatingWebhook], default is Undefined, optional Webhooks is a list of webhooks and the affected resources and operations. @@ -27,7 +27,7 @@ schema MutatingWebhookConfiguration: kind: "MutatingWebhookConfiguration" = "MutatingWebhookConfiguration" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta webhooks?: [MutatingWebhook] diff --git a/k8s/1.27/api/admissionregistration/v1/mutating_webhook_configuration_list.k b/k8s/1.27/api/admissionregistration/v1/mutating_webhook_configuration_list.k index d4e15e81..b6fd6022 100644 --- a/k8s/1.27/api/admissionregistration/v1/mutating_webhook_configuration_list.k +++ b/k8s/1.27/api/admissionregistration/v1/mutating_webhook_configuration_list.k @@ -3,7 +3,7 @@ This is the mutating_webhook_configuration_list module in k8s.api.admissionregis This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MutatingWebhookConfigurationList: @@ -18,7 +18,7 @@ schema MutatingWebhookConfigurationList: List of MutatingWebhookConfiguration. kind : str, default is "MutatingWebhookConfigurationList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema MutatingWebhookConfigurationList: kind: "MutatingWebhookConfigurationList" = "MutatingWebhookConfigurationList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.27/api/admissionregistration/v1/validating_webhook.k b/k8s/1.27/api/admissionregistration/v1/validating_webhook.k index 8cc5e569..c0b3f9d3 100644 --- a/k8s/1.27/api/admissionregistration/v1/validating_webhook.k +++ b/k8s/1.27/api/admissionregistration/v1/validating_webhook.k @@ -3,7 +3,7 @@ This is the validating_webhook module in k8s.api.admissionregistration.v1 packag This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingWebhook: @@ -39,7 +39,7 @@ schema ValidatingWebhook: Defaults to "Equivalent" name : str, default is Undefined, required The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook. For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1"; you will set the selector as follows: "namespaceSelector": { @@ -71,7 +71,7 @@ schema ValidatingWebhook: See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels for more examples of label selectors. Default to the empty LabelSelector, which matches everything. - objectSelector : v1.LabelSelector, default is Undefined, optional + objectSelector : metav1.LabelSelector, default is Undefined, optional ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything. rules : [RuleWithOperations], default is Undefined, optional Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects. @@ -94,9 +94,9 @@ schema ValidatingWebhook: name: str - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector - objectSelector?: v1.LabelSelector + objectSelector?: metav1.LabelSelector rules?: [RuleWithOperations] diff --git a/k8s/1.27/api/admissionregistration/v1/validating_webhook_configuration.k b/k8s/1.27/api/admissionregistration/v1/validating_webhook_configuration.k index 2b45293a..e35bb335 100644 --- a/k8s/1.27/api/admissionregistration/v1/validating_webhook_configuration.k +++ b/k8s/1.27/api/admissionregistration/v1/validating_webhook_configuration.k @@ -3,7 +3,7 @@ This is the validating_webhook_configuration module in k8s.api.admissionregistra This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingWebhookConfiguration: @@ -16,7 +16,7 @@ schema ValidatingWebhookConfiguration: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ValidatingWebhookConfiguration", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. webhooks : [ValidatingWebhook], default is Undefined, optional Webhooks is a list of webhooks and the affected resources and operations. @@ -27,7 +27,7 @@ schema ValidatingWebhookConfiguration: kind: "ValidatingWebhookConfiguration" = "ValidatingWebhookConfiguration" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta webhooks?: [ValidatingWebhook] diff --git a/k8s/1.27/api/admissionregistration/v1/validating_webhook_configuration_list.k b/k8s/1.27/api/admissionregistration/v1/validating_webhook_configuration_list.k index 0515b188..2691da1c 100644 --- a/k8s/1.27/api/admissionregistration/v1/validating_webhook_configuration_list.k +++ b/k8s/1.27/api/admissionregistration/v1/validating_webhook_configuration_list.k @@ -3,7 +3,7 @@ This is the validating_webhook_configuration_list module in k8s.api.admissionreg This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingWebhookConfigurationList: @@ -18,7 +18,7 @@ schema ValidatingWebhookConfigurationList: List of ValidatingWebhookConfiguration. kind : str, default is "ValidatingWebhookConfigurationList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ValidatingWebhookConfigurationList: kind: "ValidatingWebhookConfigurationList" = "ValidatingWebhookConfigurationList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.27/api/admissionregistration/v1alpha1/match_resources.k b/k8s/1.27/api/admissionregistration/v1alpha1/match_resources.k index d86be0e0..47769c40 100644 --- a/k8s/1.27/api/admissionregistration/v1alpha1/match_resources.k +++ b/k8s/1.27/api/admissionregistration/v1alpha1/match_resources.k @@ -3,7 +3,7 @@ This is the match_resources module in k8s.api.admissionregistration.v1alpha1 pac This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MatchResources: @@ -22,7 +22,7 @@ schema MatchResources: - Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the ValidatingAdmissionPolicy. Defaults to "Equivalent" - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional NamespaceSelector decides whether to run the admission control policy on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the policy. For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1"; you will set the selector as follows: "namespaceSelector": { @@ -54,7 +54,7 @@ schema MatchResources: See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors. Default to the empty LabelSelector, which matches everything. - objectSelector : v1.LabelSelector, default is Undefined, optional + objectSelector : metav1.LabelSelector, default is Undefined, optional ObjectSelector decides whether to run the validation based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the cel validation, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything. resourceRules : [NamedRuleWithOperations], default is Undefined, optional ResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy matches. The policy cares about an operation if it matches _any_ Rule. @@ -65,9 +65,9 @@ schema MatchResources: matchPolicy?: str - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector - objectSelector?: v1.LabelSelector + objectSelector?: metav1.LabelSelector resourceRules?: [NamedRuleWithOperations] diff --git a/k8s/1.27/api/admissionregistration/v1alpha1/validating_admission_policy.k b/k8s/1.27/api/admissionregistration/v1alpha1/validating_admission_policy.k index e7c00f7b..9c6fa4d4 100644 --- a/k8s/1.27/api/admissionregistration/v1alpha1/validating_admission_policy.k +++ b/k8s/1.27/api/admissionregistration/v1alpha1/validating_admission_policy.k @@ -3,7 +3,7 @@ This is the validating_admission_policy module in k8s.api.admissionregistration. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingAdmissionPolicy: @@ -16,7 +16,7 @@ schema ValidatingAdmissionPolicy: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ValidatingAdmissionPolicy", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. spec : ValidatingAdmissionPolicySpec, default is Undefined, optional Specification of the desired behavior of the ValidatingAdmissionPolicy. @@ -27,7 +27,7 @@ schema ValidatingAdmissionPolicy: kind: "ValidatingAdmissionPolicy" = "ValidatingAdmissionPolicy" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ValidatingAdmissionPolicySpec diff --git a/k8s/1.27/api/admissionregistration/v1alpha1/validating_admission_policy_binding.k b/k8s/1.27/api/admissionregistration/v1alpha1/validating_admission_policy_binding.k index 96043689..387aad2f 100644 --- a/k8s/1.27/api/admissionregistration/v1alpha1/validating_admission_policy_binding.k +++ b/k8s/1.27/api/admissionregistration/v1alpha1/validating_admission_policy_binding.k @@ -3,7 +3,7 @@ This is the validating_admission_policy_binding module in k8s.api.admissionregis This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingAdmissionPolicyBinding: @@ -16,7 +16,7 @@ schema ValidatingAdmissionPolicyBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ValidatingAdmissionPolicyBinding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. spec : ValidatingAdmissionPolicyBindingSpec, default is Undefined, optional Specification of the desired behavior of the ValidatingAdmissionPolicyBinding. @@ -27,7 +27,7 @@ schema ValidatingAdmissionPolicyBinding: kind: "ValidatingAdmissionPolicyBinding" = "ValidatingAdmissionPolicyBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ValidatingAdmissionPolicyBindingSpec diff --git a/k8s/1.27/api/admissionregistration/v1alpha1/validating_admission_policy_binding_list.k b/k8s/1.27/api/admissionregistration/v1alpha1/validating_admission_policy_binding_list.k index 0e7e8fc5..46d10fbf 100644 --- a/k8s/1.27/api/admissionregistration/v1alpha1/validating_admission_policy_binding_list.k +++ b/k8s/1.27/api/admissionregistration/v1alpha1/validating_admission_policy_binding_list.k @@ -3,7 +3,7 @@ This is the validating_admission_policy_binding_list module in k8s.api.admission This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingAdmissionPolicyBindingList: @@ -18,7 +18,7 @@ schema ValidatingAdmissionPolicyBindingList: List of PolicyBinding. kind : str, default is "ValidatingAdmissionPolicyBindingList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ValidatingAdmissionPolicyBindingList: kind: "ValidatingAdmissionPolicyBindingList" = "ValidatingAdmissionPolicyBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.27/api/admissionregistration/v1alpha1/validating_admission_policy_list.k b/k8s/1.27/api/admissionregistration/v1alpha1/validating_admission_policy_list.k index cd0c51df..d3aa1e7e 100644 --- a/k8s/1.27/api/admissionregistration/v1alpha1/validating_admission_policy_list.k +++ b/k8s/1.27/api/admissionregistration/v1alpha1/validating_admission_policy_list.k @@ -3,7 +3,7 @@ This is the validating_admission_policy_list module in k8s.api.admissionregistra This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingAdmissionPolicyList: @@ -18,7 +18,7 @@ schema ValidatingAdmissionPolicyList: List of ValidatingAdmissionPolicy. kind : str, default is "ValidatingAdmissionPolicyList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ValidatingAdmissionPolicyList: kind: "ValidatingAdmissionPolicyList" = "ValidatingAdmissionPolicyList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.27/api/admissionregistration/v1alpha1/validating_admission_policy_status.k b/k8s/1.27/api/admissionregistration/v1alpha1/validating_admission_policy_status.k index 854bdc8c..f7743287 100644 --- a/k8s/1.27/api/admissionregistration/v1alpha1/validating_admission_policy_status.k +++ b/k8s/1.27/api/admissionregistration/v1alpha1/validating_admission_policy_status.k @@ -3,7 +3,7 @@ This is the validating_admission_policy_status module in k8s.api.admissionregist This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingAdmissionPolicyStatus: @@ -12,7 +12,7 @@ schema ValidatingAdmissionPolicyStatus: Attributes ---------- - conditions : [v1.Condition], default is Undefined, optional + conditions : [metav1.Condition], default is Undefined, optional The conditions represent the latest available observations of a policy's current state. observedGeneration : int, default is Undefined, optional The generation observed by the controller. @@ -21,7 +21,7 @@ schema ValidatingAdmissionPolicyStatus: """ - conditions?: [v1.Condition] + conditions?: [metav1.Condition] observedGeneration?: int diff --git a/k8s/1.27/api/apiserverinternal/v1alpha1/storage_version.k b/k8s/1.27/api/apiserverinternal/v1alpha1/storage_version.k index 4e3de9df..9723ca14 100644 --- a/k8s/1.27/api/apiserverinternal/v1alpha1/storage_version.k +++ b/k8s/1.27/api/apiserverinternal/v1alpha1/storage_version.k @@ -3,7 +3,7 @@ This is the storage_version module in k8s.api.apiserverinternal.v1alpha1 package This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StorageVersion: @@ -16,7 +16,7 @@ schema StorageVersion: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "StorageVersion", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional The name is .. spec : any, default is Undefined, required Spec is an empty spec. It is here to comply with Kubernetes API style. @@ -27,7 +27,7 @@ schema StorageVersion: kind: "StorageVersion" = "StorageVersion" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: any diff --git a/k8s/1.27/api/apiserverinternal/v1alpha1/storage_version_list.k b/k8s/1.27/api/apiserverinternal/v1alpha1/storage_version_list.k index 1da65e55..a75d5c84 100644 --- a/k8s/1.27/api/apiserverinternal/v1alpha1/storage_version_list.k +++ b/k8s/1.27/api/apiserverinternal/v1alpha1/storage_version_list.k @@ -3,7 +3,7 @@ This is the storage_version_list module in k8s.api.apiserverinternal.v1alpha1 pa This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StorageVersionList: @@ -18,7 +18,7 @@ schema StorageVersionList: Items holds a list of StorageVersion kind : str, default is "StorageVersionList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema StorageVersionList: kind: "StorageVersionList" = "StorageVersionList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.27/api/apps/v1/controller_revision.k b/k8s/1.27/api/apps/v1/controller_revision.k index dbb3d441..56163182 100644 --- a/k8s/1.27/api/apps/v1/controller_revision.k +++ b/k8s/1.27/api/apps/v1/controller_revision.k @@ -3,7 +3,7 @@ This is the controller_revision module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ControllerRevision: @@ -18,7 +18,7 @@ schema ControllerRevision: Data is the serialized representation of the state. kind : str, default is "ControllerRevision", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata revision : int, default is Undefined, required Revision indicates the revision of the state represented by Data. @@ -31,7 +31,7 @@ schema ControllerRevision: kind: "ControllerRevision" = "ControllerRevision" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta revision: int diff --git a/k8s/1.27/api/apps/v1/controller_revision_list.k b/k8s/1.27/api/apps/v1/controller_revision_list.k index e145fcff..bb64d1fe 100644 --- a/k8s/1.27/api/apps/v1/controller_revision_list.k +++ b/k8s/1.27/api/apps/v1/controller_revision_list.k @@ -3,7 +3,7 @@ This is the controller_revision_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ControllerRevisionList: @@ -18,7 +18,7 @@ schema ControllerRevisionList: Items is the list of ControllerRevisions kind : str, default is "ControllerRevisionList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema ControllerRevisionList: kind: "ControllerRevisionList" = "ControllerRevisionList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.27/api/apps/v1/daemon_set.k b/k8s/1.27/api/apps/v1/daemon_set.k index 33e7b68b..fd1c7c20 100644 --- a/k8s/1.27/api/apps/v1/daemon_set.k +++ b/k8s/1.27/api/apps/v1/daemon_set.k @@ -3,7 +3,7 @@ This is the daemon_set module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DaemonSet: @@ -16,7 +16,7 @@ schema DaemonSet: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "DaemonSet", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : DaemonSetSpec, default is Undefined, optional The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema DaemonSet: kind: "DaemonSet" = "DaemonSet" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: DaemonSetSpec diff --git a/k8s/1.27/api/apps/v1/daemon_set_list.k b/k8s/1.27/api/apps/v1/daemon_set_list.k index 3515d999..795c26f8 100644 --- a/k8s/1.27/api/apps/v1/daemon_set_list.k +++ b/k8s/1.27/api/apps/v1/daemon_set_list.k @@ -3,7 +3,7 @@ This is the daemon_set_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DaemonSetList: @@ -18,7 +18,7 @@ schema DaemonSetList: A list of daemon sets. kind : str, default is "DaemonSetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema DaemonSetList: kind: "DaemonSetList" = "DaemonSetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.27/api/apps/v1/daemon_set_spec.k b/k8s/1.27/api/apps/v1/daemon_set_spec.k index c34c5eba..e99149e3 100644 --- a/k8s/1.27/api/apps/v1/daemon_set_spec.k +++ b/k8s/1.27/api/apps/v1/daemon_set_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DaemonSetSpec: @@ -17,7 +17,7 @@ schema DaemonSetSpec: The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready). revisionHistoryLimit : int, default is Undefined, optional The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required A label query over pods that are managed by the daemon set. Must match in order to be controlled. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors template : corev1.PodTemplateSpec, default is Undefined, required An object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). The only allowed template.spec.restartPolicy value is "Always". More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template @@ -30,7 +30,7 @@ schema DaemonSetSpec: revisionHistoryLimit?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector template: corev1.PodTemplateSpec diff --git a/k8s/1.27/api/apps/v1/deployment.k b/k8s/1.27/api/apps/v1/deployment.k index 38b5af9e..12cf0b73 100644 --- a/k8s/1.27/api/apps/v1/deployment.k +++ b/k8s/1.27/api/apps/v1/deployment.k @@ -3,7 +3,7 @@ This is the deployment module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Deployment: @@ -16,7 +16,7 @@ schema Deployment: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Deployment", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : DeploymentSpec, default is Undefined, optional Specification of the desired behavior of the Deployment. @@ -27,7 +27,7 @@ schema Deployment: kind: "Deployment" = "Deployment" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: DeploymentSpec diff --git a/k8s/1.27/api/apps/v1/deployment_list.k b/k8s/1.27/api/apps/v1/deployment_list.k index a83ce0d5..8fa44e9b 100644 --- a/k8s/1.27/api/apps/v1/deployment_list.k +++ b/k8s/1.27/api/apps/v1/deployment_list.k @@ -3,7 +3,7 @@ This is the deployment_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DeploymentList: @@ -18,7 +18,7 @@ schema DeploymentList: Items is the list of Deployments. kind : str, default is "DeploymentList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema DeploymentList: kind: "DeploymentList" = "DeploymentList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.27/api/apps/v1/deployment_spec.k b/k8s/1.27/api/apps/v1/deployment_spec.k index 7a6835d9..5ecbcccc 100644 --- a/k8s/1.27/api/apps/v1/deployment_spec.k +++ b/k8s/1.27/api/apps/v1/deployment_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DeploymentSpec: @@ -23,7 +23,7 @@ schema DeploymentSpec: Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1. revisionHistoryLimit : int, default is Undefined, optional The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. It must match the pod template's labels. strategy : DeploymentStrategy, default is Undefined, optional The deployment strategy to use to replace existing pods with new ones. @@ -42,7 +42,7 @@ schema DeploymentSpec: revisionHistoryLimit?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector strategy?: DeploymentStrategy diff --git a/k8s/1.27/api/apps/v1/replica_set.k b/k8s/1.27/api/apps/v1/replica_set.k index 0497ff66..79552175 100644 --- a/k8s/1.27/api/apps/v1/replica_set.k +++ b/k8s/1.27/api/apps/v1/replica_set.k @@ -3,7 +3,7 @@ This is the replica_set module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicaSet: @@ -16,7 +16,7 @@ schema ReplicaSet: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ReplicaSet", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : ReplicaSetSpec, default is Undefined, optional Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema ReplicaSet: kind: "ReplicaSet" = "ReplicaSet" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ReplicaSetSpec diff --git a/k8s/1.27/api/apps/v1/replica_set_list.k b/k8s/1.27/api/apps/v1/replica_set_list.k index 0e25bef7..689ca9bb 100644 --- a/k8s/1.27/api/apps/v1/replica_set_list.k +++ b/k8s/1.27/api/apps/v1/replica_set_list.k @@ -3,7 +3,7 @@ This is the replica_set_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicaSetList: @@ -18,7 +18,7 @@ schema ReplicaSetList: List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller kind : str, default is "ReplicaSetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ReplicaSetList: kind: "ReplicaSetList" = "ReplicaSetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.27/api/apps/v1/replica_set_spec.k b/k8s/1.27/api/apps/v1/replica_set_spec.k index 700810d3..53ae3f6f 100644 --- a/k8s/1.27/api/apps/v1/replica_set_spec.k +++ b/k8s/1.27/api/apps/v1/replica_set_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicaSetSpec: @@ -17,7 +17,7 @@ schema ReplicaSetSpec: Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) replicas : int, default is Undefined, optional Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required Selector is a label query over pods that should match the replica count. Label keys and values that must match in order to be controlled by this replica set. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors template : corev1.PodTemplateSpec, default is Undefined, optional Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template @@ -28,7 +28,7 @@ schema ReplicaSetSpec: replicas?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector template?: corev1.PodTemplateSpec diff --git a/k8s/1.27/api/apps/v1/stateful_set.k b/k8s/1.27/api/apps/v1/stateful_set.k index c3b7106d..18d52ced 100644 --- a/k8s/1.27/api/apps/v1/stateful_set.k +++ b/k8s/1.27/api/apps/v1/stateful_set.k @@ -3,7 +3,7 @@ This is the stateful_set module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StatefulSet: @@ -20,7 +20,7 @@ schema StatefulSet: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "StatefulSet", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : StatefulSetSpec, default is Undefined, optional Spec defines the desired identities of pods in this set. @@ -31,7 +31,7 @@ schema StatefulSet: kind: "StatefulSet" = "StatefulSet" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: StatefulSetSpec diff --git a/k8s/1.27/api/apps/v1/stateful_set_list.k b/k8s/1.27/api/apps/v1/stateful_set_list.k index 2eec95d8..441abc55 100644 --- a/k8s/1.27/api/apps/v1/stateful_set_list.k +++ b/k8s/1.27/api/apps/v1/stateful_set_list.k @@ -3,7 +3,7 @@ This is the stateful_set_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StatefulSetList: @@ -18,7 +18,7 @@ schema StatefulSetList: Items is the list of stateful sets. kind : str, default is "StatefulSetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema StatefulSetList: kind: "StatefulSetList" = "StatefulSetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.27/api/apps/v1/stateful_set_spec.k b/k8s/1.27/api/apps/v1/stateful_set_spec.k index fb5f2938..9824ff2e 100644 --- a/k8s/1.27/api/apps/v1/stateful_set_spec.k +++ b/k8s/1.27/api/apps/v1/stateful_set_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StatefulSetSpec: @@ -25,7 +25,7 @@ schema StatefulSetSpec: replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1. revisionHistoryLimit : int, default is Undefined, optional revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10. - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required selector is a label query over pods that should match the replica count. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors serviceName : str, default is Undefined, required serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where "pod-specific-string" is managed by the StatefulSet controller. @@ -50,7 +50,7 @@ schema StatefulSetSpec: revisionHistoryLimit?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector serviceName: str diff --git a/k8s/1.27/api/authentication/v1/token_request.k b/k8s/1.27/api/authentication/v1/token_request.k index 429ebd8e..477cf85e 100644 --- a/k8s/1.27/api/authentication/v1/token_request.k +++ b/k8s/1.27/api/authentication/v1/token_request.k @@ -3,7 +3,7 @@ This is the token_request module in k8s.api.authentication.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema TokenRequest: @@ -16,7 +16,7 @@ schema TokenRequest: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "TokenRequest", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : TokenRequestSpec, default is Undefined, required Spec holds information about the request being evaluated @@ -27,7 +27,7 @@ schema TokenRequest: kind: "TokenRequest" = "TokenRequest" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: TokenRequestSpec diff --git a/k8s/1.27/api/authentication/v1/token_review.k b/k8s/1.27/api/authentication/v1/token_review.k index 62c61db1..349936f3 100644 --- a/k8s/1.27/api/authentication/v1/token_review.k +++ b/k8s/1.27/api/authentication/v1/token_review.k @@ -3,7 +3,7 @@ This is the token_review module in k8s.api.authentication.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema TokenReview: @@ -16,7 +16,7 @@ schema TokenReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "TokenReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : TokenReviewSpec, default is Undefined, required Spec holds information about the request being evaluated @@ -27,7 +27,7 @@ schema TokenReview: kind: "TokenReview" = "TokenReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: TokenReviewSpec diff --git a/k8s/1.27/api/authentication/v1alpha1/self_subject_review.k b/k8s/1.27/api/authentication/v1alpha1/self_subject_review.k index b0c5c3de..0e636dce 100644 --- a/k8s/1.27/api/authentication/v1alpha1/self_subject_review.k +++ b/k8s/1.27/api/authentication/v1alpha1/self_subject_review.k @@ -3,7 +3,7 @@ This is the self_subject_review module in k8s.api.authentication.v1alpha1 packag This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SelfSubjectReview: @@ -16,7 +16,7 @@ schema SelfSubjectReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SelfSubjectReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -25,6 +25,6 @@ schema SelfSubjectReview: kind: "SelfSubjectReview" = "SelfSubjectReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta diff --git a/k8s/1.27/api/authentication/v1beta1/self_subject_review.k b/k8s/1.27/api/authentication/v1beta1/self_subject_review.k index 7a80c911..8a74a1d9 100644 --- a/k8s/1.27/api/authentication/v1beta1/self_subject_review.k +++ b/k8s/1.27/api/authentication/v1beta1/self_subject_review.k @@ -3,7 +3,7 @@ This is the self_subject_review module in k8s.api.authentication.v1beta1 package This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SelfSubjectReview: @@ -16,7 +16,7 @@ schema SelfSubjectReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SelfSubjectReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -25,6 +25,6 @@ schema SelfSubjectReview: kind: "SelfSubjectReview" = "SelfSubjectReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta diff --git a/k8s/1.27/api/authorization/v1/local_subject_access_review.k b/k8s/1.27/api/authorization/v1/local_subject_access_review.k index 79b08fbe..4cf5723a 100644 --- a/k8s/1.27/api/authorization/v1/local_subject_access_review.k +++ b/k8s/1.27/api/authorization/v1/local_subject_access_review.k @@ -3,7 +3,7 @@ This is the local_subject_access_review module in k8s.api.authorization.v1 packa This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LocalSubjectAccessReview: @@ -16,7 +16,7 @@ schema LocalSubjectAccessReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "LocalSubjectAccessReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : SubjectAccessReviewSpec, default is Undefined, required Spec holds information about the request being evaluated. spec.namespace must be equal to the namespace you made the request against. If empty, it is defaulted. @@ -27,7 +27,7 @@ schema LocalSubjectAccessReview: kind: "LocalSubjectAccessReview" = "LocalSubjectAccessReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SubjectAccessReviewSpec diff --git a/k8s/1.27/api/authorization/v1/self_subject_access_review.k b/k8s/1.27/api/authorization/v1/self_subject_access_review.k index 4fd1e21e..d32833e7 100644 --- a/k8s/1.27/api/authorization/v1/self_subject_access_review.k +++ b/k8s/1.27/api/authorization/v1/self_subject_access_review.k @@ -3,7 +3,7 @@ This is the self_subject_access_review module in k8s.api.authorization.v1 packag This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SelfSubjectAccessReview: @@ -16,7 +16,7 @@ schema SelfSubjectAccessReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SelfSubjectAccessReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : SelfSubjectAccessReviewSpec, default is Undefined, required Spec holds information about the request being evaluated. user and groups must be empty @@ -27,7 +27,7 @@ schema SelfSubjectAccessReview: kind: "SelfSubjectAccessReview" = "SelfSubjectAccessReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SelfSubjectAccessReviewSpec diff --git a/k8s/1.27/api/authorization/v1/self_subject_rules_review.k b/k8s/1.27/api/authorization/v1/self_subject_rules_review.k index a29ee599..baaf47ac 100644 --- a/k8s/1.27/api/authorization/v1/self_subject_rules_review.k +++ b/k8s/1.27/api/authorization/v1/self_subject_rules_review.k @@ -3,7 +3,7 @@ This is the self_subject_rules_review module in k8s.api.authorization.v1 package This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SelfSubjectRulesReview: @@ -16,7 +16,7 @@ schema SelfSubjectRulesReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SelfSubjectRulesReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : SelfSubjectRulesReviewSpec, default is Undefined, required Spec holds information about the request being evaluated. @@ -27,7 +27,7 @@ schema SelfSubjectRulesReview: kind: "SelfSubjectRulesReview" = "SelfSubjectRulesReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SelfSubjectRulesReviewSpec diff --git a/k8s/1.27/api/authorization/v1/subject_access_review.k b/k8s/1.27/api/authorization/v1/subject_access_review.k index 9d15bdb3..d054d8f5 100644 --- a/k8s/1.27/api/authorization/v1/subject_access_review.k +++ b/k8s/1.27/api/authorization/v1/subject_access_review.k @@ -3,7 +3,7 @@ This is the subject_access_review module in k8s.api.authorization.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SubjectAccessReview: @@ -16,7 +16,7 @@ schema SubjectAccessReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SubjectAccessReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : SubjectAccessReviewSpec, default is Undefined, required Spec holds information about the request being evaluated @@ -27,7 +27,7 @@ schema SubjectAccessReview: kind: "SubjectAccessReview" = "SubjectAccessReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SubjectAccessReviewSpec diff --git a/k8s/1.27/api/autoscaling/v1/horizontal_pod_autoscaler.k b/k8s/1.27/api/autoscaling/v1/horizontal_pod_autoscaler.k index 236f8ffb..e12daf3f 100644 --- a/k8s/1.27/api/autoscaling/v1/horizontal_pod_autoscaler.k +++ b/k8s/1.27/api/autoscaling/v1/horizontal_pod_autoscaler.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler module in k8s.api.autoscaling.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscaler: @@ -16,7 +16,7 @@ schema HorizontalPodAutoscaler: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "HorizontalPodAutoscaler", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : HorizontalPodAutoscalerSpec, default is Undefined, optional spec defines the behaviour of autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema HorizontalPodAutoscaler: kind: "HorizontalPodAutoscaler" = "HorizontalPodAutoscaler" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: HorizontalPodAutoscalerSpec diff --git a/k8s/1.27/api/autoscaling/v1/horizontal_pod_autoscaler_list.k b/k8s/1.27/api/autoscaling/v1/horizontal_pod_autoscaler_list.k index cf1dc3c9..72c014a3 100644 --- a/k8s/1.27/api/autoscaling/v1/horizontal_pod_autoscaler_list.k +++ b/k8s/1.27/api/autoscaling/v1/horizontal_pod_autoscaler_list.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler_list module in k8s.api.autoscaling.v1 pack This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscalerList: @@ -18,7 +18,7 @@ schema HorizontalPodAutoscalerList: items is the list of horizontal pod autoscaler objects. kind : str, default is "HorizontalPodAutoscalerList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema HorizontalPodAutoscalerList: kind: "HorizontalPodAutoscalerList" = "HorizontalPodAutoscalerList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.27/api/autoscaling/v1/scale.k b/k8s/1.27/api/autoscaling/v1/scale.k index 2b87df91..61d84b02 100644 --- a/k8s/1.27/api/autoscaling/v1/scale.k +++ b/k8s/1.27/api/autoscaling/v1/scale.k @@ -3,7 +3,7 @@ This is the scale module in k8s.api.autoscaling.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Scale: @@ -16,7 +16,7 @@ schema Scale: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Scale", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. spec : ScaleSpec, default is Undefined, optional spec defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema Scale: kind: "Scale" = "Scale" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ScaleSpec diff --git a/k8s/1.27/api/autoscaling/v2/horizontal_pod_autoscaler.k b/k8s/1.27/api/autoscaling/v2/horizontal_pod_autoscaler.k index 45093baf..80ed131b 100644 --- a/k8s/1.27/api/autoscaling/v2/horizontal_pod_autoscaler.k +++ b/k8s/1.27/api/autoscaling/v2/horizontal_pod_autoscaler.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler module in k8s.api.autoscaling.v2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscaler: @@ -16,7 +16,7 @@ schema HorizontalPodAutoscaler: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "HorizontalPodAutoscaler", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : HorizontalPodAutoscalerSpec, default is Undefined, optional spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema HorizontalPodAutoscaler: kind: "HorizontalPodAutoscaler" = "HorizontalPodAutoscaler" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: HorizontalPodAutoscalerSpec diff --git a/k8s/1.27/api/autoscaling/v2/horizontal_pod_autoscaler_list.k b/k8s/1.27/api/autoscaling/v2/horizontal_pod_autoscaler_list.k index 07b059fb..87bfa8bf 100644 --- a/k8s/1.27/api/autoscaling/v2/horizontal_pod_autoscaler_list.k +++ b/k8s/1.27/api/autoscaling/v2/horizontal_pod_autoscaler_list.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler_list module in k8s.api.autoscaling.v2 pack This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscalerList: @@ -18,7 +18,7 @@ schema HorizontalPodAutoscalerList: items is the list of horizontal pod autoscaler objects. kind : str, default is "HorizontalPodAutoscalerList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata is the standard list metadata. """ @@ -29,6 +29,6 @@ schema HorizontalPodAutoscalerList: kind: "HorizontalPodAutoscalerList" = "HorizontalPodAutoscalerList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.27/api/autoscaling/v2/metric_identifier.k b/k8s/1.27/api/autoscaling/v2/metric_identifier.k index d1538fb1..df0007a9 100644 --- a/k8s/1.27/api/autoscaling/v2/metric_identifier.k +++ b/k8s/1.27/api/autoscaling/v2/metric_identifier.k @@ -3,7 +3,7 @@ This is the metric_identifier module in k8s.api.autoscaling.v2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MetricIdentifier: @@ -14,13 +14,13 @@ schema MetricIdentifier: ---------- name : str, default is Undefined, required name is the name of the given metric - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics. """ name: str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector diff --git a/k8s/1.27/api/batch/v1/cron_job.k b/k8s/1.27/api/batch/v1/cron_job.k index 380498ff..c716e33b 100644 --- a/k8s/1.27/api/batch/v1/cron_job.k +++ b/k8s/1.27/api/batch/v1/cron_job.k @@ -3,7 +3,7 @@ This is the cron_job module in k8s.api.batch.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CronJob: @@ -16,7 +16,7 @@ schema CronJob: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CronJob", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : CronJobSpec, default is Undefined, optional Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema CronJob: kind: "CronJob" = "CronJob" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: CronJobSpec diff --git a/k8s/1.27/api/batch/v1/cron_job_list.k b/k8s/1.27/api/batch/v1/cron_job_list.k index 69e1971a..8200a4bd 100644 --- a/k8s/1.27/api/batch/v1/cron_job_list.k +++ b/k8s/1.27/api/batch/v1/cron_job_list.k @@ -3,7 +3,7 @@ This is the cron_job_list module in k8s.api.batch.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CronJobList: @@ -18,7 +18,7 @@ schema CronJobList: items is the list of CronJobs. kind : str, default is "CronJobList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CronJobList: kind: "CronJobList" = "CronJobList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.27/api/batch/v1/job.k b/k8s/1.27/api/batch/v1/job.k index 44fbc917..3e545aac 100644 --- a/k8s/1.27/api/batch/v1/job.k +++ b/k8s/1.27/api/batch/v1/job.k @@ -3,7 +3,7 @@ This is the job module in k8s.api.batch.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Job: @@ -16,7 +16,7 @@ schema Job: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Job", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : JobSpec, default is Undefined, optional Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Job: kind: "Job" = "Job" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: JobSpec diff --git a/k8s/1.27/api/batch/v1/job_list.k b/k8s/1.27/api/batch/v1/job_list.k index 88588804..e2f8aee6 100644 --- a/k8s/1.27/api/batch/v1/job_list.k +++ b/k8s/1.27/api/batch/v1/job_list.k @@ -3,7 +3,7 @@ This is the job_list module in k8s.api.batch.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema JobList: @@ -18,7 +18,7 @@ schema JobList: items is the list of Jobs. kind : str, default is "JobList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema JobList: kind: "JobList" = "JobList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.27/api/batch/v1/job_spec.k b/k8s/1.27/api/batch/v1/job_spec.k index 197def5b..89062f4c 100644 --- a/k8s/1.27/api/batch/v1/job_spec.k +++ b/k8s/1.27/api/batch/v1/job_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema JobSpec: @@ -35,7 +35,7 @@ schema JobSpec: Specifies the policy of handling failed pods. In particular, it allows to specify the set of actions and conditions which need to be satisfied to take the associated action. If empty, the default behaviour applies - the counter of failed pods, represented by the jobs's .status.failed field, is incremented and it is checked against the backoffLimit. This field cannot be used in combination with restartPolicy=OnFailure. This field is beta-level. It can be used when the `JobPodFailurePolicy` feature gate is enabled (enabled by default). - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional A label query over pods that should match the pod count. Normally, the system sets this field for you. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors suspend : bool, default is Undefined, optional suspend specifies whether the Job controller should create Pods or not. If a Job is created with suspend set to true, no Pods are created by the Job controller. If a Job is suspended after creation (i.e. the flag goes from false to true), the Job controller will delete all active Pods associated with this Job. Users must design their workload to gracefully handle this. Suspending a Job will reset the StartTime field of the Job, effectively resetting the ActiveDeadlineSeconds timer too. Defaults to false. @@ -60,7 +60,7 @@ schema JobSpec: podFailurePolicy?: PodFailurePolicy - selector?: v1.LabelSelector + selector?: metav1.LabelSelector suspend?: bool diff --git a/k8s/1.27/api/batch/v1/job_template_spec.k b/k8s/1.27/api/batch/v1/job_template_spec.k index 840a8d23..c1797200 100644 --- a/k8s/1.27/api/batch/v1/job_template_spec.k +++ b/k8s/1.27/api/batch/v1/job_template_spec.k @@ -3,7 +3,7 @@ This is the job_template_spec module in k8s.api.batch.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema JobTemplateSpec: @@ -12,14 +12,14 @@ schema JobTemplateSpec: Attributes ---------- - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : JobSpec, default is Undefined, optional Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status """ - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: JobSpec diff --git a/k8s/1.27/api/certificates/v1/certificate_signing_request.k b/k8s/1.27/api/certificates/v1/certificate_signing_request.k index 70bfc6e0..6697afe5 100644 --- a/k8s/1.27/api/certificates/v1/certificate_signing_request.k +++ b/k8s/1.27/api/certificates/v1/certificate_signing_request.k @@ -3,7 +3,7 @@ This is the certificate_signing_request module in k8s.api.certificates.v1 packag This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CertificateSigningRequest: @@ -22,7 +22,7 @@ schema CertificateSigningRequest: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CertificateSigningRequest", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : CertificateSigningRequestSpec, default is Undefined, required spec contains the certificate request, and is immutable after creation. Only the request, signerName, expirationSeconds, and usages fields can be set on creation. Other fields are derived by Kubernetes and cannot be modified by users. @@ -33,7 +33,7 @@ schema CertificateSigningRequest: kind: "CertificateSigningRequest" = "CertificateSigningRequest" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CertificateSigningRequestSpec diff --git a/k8s/1.27/api/certificates/v1/certificate_signing_request_list.k b/k8s/1.27/api/certificates/v1/certificate_signing_request_list.k index bef8b509..dcf72eab 100644 --- a/k8s/1.27/api/certificates/v1/certificate_signing_request_list.k +++ b/k8s/1.27/api/certificates/v1/certificate_signing_request_list.k @@ -3,7 +3,7 @@ This is the certificate_signing_request_list module in k8s.api.certificates.v1 p This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CertificateSigningRequestList: @@ -18,7 +18,7 @@ schema CertificateSigningRequestList: items is a collection of CertificateSigningRequest objects kind : str, default is "CertificateSigningRequestList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema CertificateSigningRequestList: kind: "CertificateSigningRequestList" = "CertificateSigningRequestList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.27/api/certificates/v1alpha1/cluster_trust_bundle.k b/k8s/1.27/api/certificates/v1alpha1/cluster_trust_bundle.k index 842f9c54..7b9af1a8 100644 --- a/k8s/1.27/api/certificates/v1alpha1/cluster_trust_bundle.k +++ b/k8s/1.27/api/certificates/v1alpha1/cluster_trust_bundle.k @@ -3,7 +3,7 @@ This is the cluster_trust_bundle module in k8s.api.certificates.v1alpha1 package This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterTrustBundle: @@ -20,7 +20,7 @@ schema ClusterTrustBundle: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ClusterTrustBundle", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata contains the object metadata. spec : ClusterTrustBundleSpec, default is Undefined, required spec contains the signer (if any) and trust anchors. @@ -31,7 +31,7 @@ schema ClusterTrustBundle: kind: "ClusterTrustBundle" = "ClusterTrustBundle" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: ClusterTrustBundleSpec diff --git a/k8s/1.27/api/certificates/v1alpha1/cluster_trust_bundle_list.k b/k8s/1.27/api/certificates/v1alpha1/cluster_trust_bundle_list.k index 221fdba2..3066ba16 100644 --- a/k8s/1.27/api/certificates/v1alpha1/cluster_trust_bundle_list.k +++ b/k8s/1.27/api/certificates/v1alpha1/cluster_trust_bundle_list.k @@ -3,7 +3,7 @@ This is the cluster_trust_bundle_list module in k8s.api.certificates.v1alpha1 pa This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterTrustBundleList: @@ -18,7 +18,7 @@ schema ClusterTrustBundleList: items is a collection of ClusterTrustBundle objects kind : str, default is "ClusterTrustBundleList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata contains the list metadata. """ @@ -29,6 +29,6 @@ schema ClusterTrustBundleList: kind: "ClusterTrustBundleList" = "ClusterTrustBundleList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.27/api/coordination/v1/lease.k b/k8s/1.27/api/coordination/v1/lease.k index 2500499f..dc088ed1 100644 --- a/k8s/1.27/api/coordination/v1/lease.k +++ b/k8s/1.27/api/coordination/v1/lease.k @@ -3,7 +3,7 @@ This is the lease module in k8s.api.coordination.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Lease: @@ -16,7 +16,7 @@ schema Lease: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Lease", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : LeaseSpec, default is Undefined, optional spec contains the specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Lease: kind: "Lease" = "Lease" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: LeaseSpec diff --git a/k8s/1.27/api/coordination/v1/lease_list.k b/k8s/1.27/api/coordination/v1/lease_list.k index 428f678b..d2005abf 100644 --- a/k8s/1.27/api/coordination/v1/lease_list.k +++ b/k8s/1.27/api/coordination/v1/lease_list.k @@ -3,7 +3,7 @@ This is the lease_list module in k8s.api.coordination.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LeaseList: @@ -18,7 +18,7 @@ schema LeaseList: items is a list of schema objects. kind : str, default is "LeaseList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema LeaseList: kind: "LeaseList" = "LeaseList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.27/api/core/v1/binding.k b/k8s/1.27/api/core/v1/binding.k index e6e478fe..077459fa 100644 --- a/k8s/1.27/api/core/v1/binding.k +++ b/k8s/1.27/api/core/v1/binding.k @@ -3,7 +3,7 @@ This is the binding module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Binding: @@ -16,7 +16,7 @@ schema Binding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Binding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata target : ObjectReference, default is Undefined, required The target object that you want to bind to the standard object. @@ -27,7 +27,7 @@ schema Binding: kind: "Binding" = "Binding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta target: ObjectReference diff --git a/k8s/1.27/api/core/v1/component_status.k b/k8s/1.27/api/core/v1/component_status.k index 19549c61..0d6862b5 100644 --- a/k8s/1.27/api/core/v1/component_status.k +++ b/k8s/1.27/api/core/v1/component_status.k @@ -3,7 +3,7 @@ This is the component_status module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ComponentStatus: @@ -18,7 +18,7 @@ schema ComponentStatus: List of component conditions observed kind : str, default is "ComponentStatus", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema ComponentStatus: kind: "ComponentStatus" = "ComponentStatus" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta diff --git a/k8s/1.27/api/core/v1/component_status_list.k b/k8s/1.27/api/core/v1/component_status_list.k index 0c8fa890..f76a9a62 100644 --- a/k8s/1.27/api/core/v1/component_status_list.k +++ b/k8s/1.27/api/core/v1/component_status_list.k @@ -3,7 +3,7 @@ This is the component_status_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ComponentStatusList: @@ -18,7 +18,7 @@ schema ComponentStatusList: List of ComponentStatus objects. kind : str, default is "ComponentStatusList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ComponentStatusList: kind: "ComponentStatusList" = "ComponentStatusList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.27/api/core/v1/config_map.k b/k8s/1.27/api/core/v1/config_map.k index ac683b69..ee2a9e47 100644 --- a/k8s/1.27/api/core/v1/config_map.k +++ b/k8s/1.27/api/core/v1/config_map.k @@ -3,7 +3,7 @@ This is the config_map module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ConfigMap: @@ -22,7 +22,7 @@ schema ConfigMap: Immutable, if set to true, ensures that data stored in the ConfigMap cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil. kind : str, default is "ConfigMap", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -37,6 +37,6 @@ schema ConfigMap: kind: "ConfigMap" = "ConfigMap" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta diff --git a/k8s/1.27/api/core/v1/config_map_list.k b/k8s/1.27/api/core/v1/config_map_list.k index 5712f514..35df0e4b 100644 --- a/k8s/1.27/api/core/v1/config_map_list.k +++ b/k8s/1.27/api/core/v1/config_map_list.k @@ -3,7 +3,7 @@ This is the config_map_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ConfigMapList: @@ -18,7 +18,7 @@ schema ConfigMapList: Items is the list of ConfigMaps. kind : str, default is "ConfigMapList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema ConfigMapList: kind: "ConfigMapList" = "ConfigMapList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.27/api/core/v1/endpoints.k b/k8s/1.27/api/core/v1/endpoints.k index c1644290..6b8b80ff 100644 --- a/k8s/1.27/api/core/v1/endpoints.k +++ b/k8s/1.27/api/core/v1/endpoints.k @@ -3,7 +3,7 @@ This is the endpoints module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Endpoints: @@ -28,7 +28,7 @@ schema Endpoints: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Endpoints", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata subsets : [EndpointSubset], default is Undefined, optional The set of all endpoints is the union of all subsets. Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service. @@ -39,7 +39,7 @@ schema Endpoints: kind: "Endpoints" = "Endpoints" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta subsets?: [EndpointSubset] diff --git a/k8s/1.27/api/core/v1/endpoints_list.k b/k8s/1.27/api/core/v1/endpoints_list.k index 7ccf6442..f019c842 100644 --- a/k8s/1.27/api/core/v1/endpoints_list.k +++ b/k8s/1.27/api/core/v1/endpoints_list.k @@ -3,7 +3,7 @@ This is the endpoints_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EndpointsList: @@ -18,7 +18,7 @@ schema EndpointsList: List of endpoints. kind : str, default is "EndpointsList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema EndpointsList: kind: "EndpointsList" = "EndpointsList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.27/api/core/v1/event.k b/k8s/1.27/api/core/v1/event.k index 0cc2ba81..f1564c4b 100644 --- a/k8s/1.27/api/core/v1/event.k +++ b/k8s/1.27/api/core/v1/event.k @@ -3,7 +3,7 @@ This is the event module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Event: @@ -30,7 +30,7 @@ schema Event: The time at which the most recent occurrence of this event was recorded. message : str, default is Undefined, optional A human-readable description of the status of this operation. - metadata : v1.ObjectMeta, default is Undefined, required + metadata : metav1.ObjectMeta, default is Undefined, required Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata reason : str, default is Undefined, optional This should be a short, machine understandable string that gives the reason for the transition into the object's current status. @@ -67,7 +67,7 @@ schema Event: message?: str - metadata: v1.ObjectMeta + metadata: metav1.ObjectMeta reason?: str diff --git a/k8s/1.27/api/core/v1/event_list.k b/k8s/1.27/api/core/v1/event_list.k index e543b7cf..d4ed6ffa 100644 --- a/k8s/1.27/api/core/v1/event_list.k +++ b/k8s/1.27/api/core/v1/event_list.k @@ -3,7 +3,7 @@ This is the event_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EventList: @@ -18,7 +18,7 @@ schema EventList: List of events kind : str, default is "EventList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema EventList: kind: "EventList" = "EventList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.27/api/core/v1/limit_range.k b/k8s/1.27/api/core/v1/limit_range.k index 5de64019..3c476447 100644 --- a/k8s/1.27/api/core/v1/limit_range.k +++ b/k8s/1.27/api/core/v1/limit_range.k @@ -3,7 +3,7 @@ This is the limit_range module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LimitRange: @@ -16,7 +16,7 @@ schema LimitRange: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "LimitRange", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : LimitRangeSpec, default is Undefined, optional Spec defines the limits enforced. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema LimitRange: kind: "LimitRange" = "LimitRange" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: LimitRangeSpec diff --git a/k8s/1.27/api/core/v1/limit_range_list.k b/k8s/1.27/api/core/v1/limit_range_list.k index 61da1fba..fc6b5692 100644 --- a/k8s/1.27/api/core/v1/limit_range_list.k +++ b/k8s/1.27/api/core/v1/limit_range_list.k @@ -3,7 +3,7 @@ This is the limit_range_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LimitRangeList: @@ -18,7 +18,7 @@ schema LimitRangeList: Items is a list of LimitRange objects. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ kind : str, default is "LimitRangeList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema LimitRangeList: kind: "LimitRangeList" = "LimitRangeList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.27/api/core/v1/namespace.k b/k8s/1.27/api/core/v1/namespace.k index 52b6b94f..66125388 100644 --- a/k8s/1.27/api/core/v1/namespace.k +++ b/k8s/1.27/api/core/v1/namespace.k @@ -3,7 +3,7 @@ This is the namespace module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Namespace: @@ -16,7 +16,7 @@ schema Namespace: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Namespace", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : NamespaceSpec, default is Undefined, optional Spec defines the behavior of the Namespace. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Namespace: kind: "Namespace" = "Namespace" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: NamespaceSpec diff --git a/k8s/1.27/api/core/v1/namespace_list.k b/k8s/1.27/api/core/v1/namespace_list.k index 0a362eac..1783b0bc 100644 --- a/k8s/1.27/api/core/v1/namespace_list.k +++ b/k8s/1.27/api/core/v1/namespace_list.k @@ -3,7 +3,7 @@ This is the namespace_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NamespaceList: @@ -18,7 +18,7 @@ schema NamespaceList: Items is the list of Namespace objects in the list. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ kind : str, default is "NamespaceList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema NamespaceList: kind: "NamespaceList" = "NamespaceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.27/api/core/v1/node.k b/k8s/1.27/api/core/v1/node.k index 99f9cab9..dcfea158 100644 --- a/k8s/1.27/api/core/v1/node.k +++ b/k8s/1.27/api/core/v1/node.k @@ -3,7 +3,7 @@ This is the node module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Node: @@ -16,7 +16,7 @@ schema Node: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Node", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : NodeSpec, default is Undefined, optional Spec defines the behavior of a node. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Node: kind: "Node" = "Node" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: NodeSpec diff --git a/k8s/1.27/api/core/v1/node_list.k b/k8s/1.27/api/core/v1/node_list.k index 40992f99..26fe9968 100644 --- a/k8s/1.27/api/core/v1/node_list.k +++ b/k8s/1.27/api/core/v1/node_list.k @@ -3,7 +3,7 @@ This is the node_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NodeList: @@ -18,7 +18,7 @@ schema NodeList: List of nodes kind : str, default is "NodeList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema NodeList: kind: "NodeList" = "NodeList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.27/api/core/v1/persistent_volume.k b/k8s/1.27/api/core/v1/persistent_volume.k index ed41f554..1f3d5968 100644 --- a/k8s/1.27/api/core/v1/persistent_volume.k +++ b/k8s/1.27/api/core/v1/persistent_volume.k @@ -3,7 +3,7 @@ This is the persistent_volume module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolume: @@ -16,7 +16,7 @@ schema PersistentVolume: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PersistentVolume", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PersistentVolumeSpec, default is Undefined, optional spec defines a specification of a persistent volume owned by the cluster. Provisioned by an administrator. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes @@ -27,7 +27,7 @@ schema PersistentVolume: kind: "PersistentVolume" = "PersistentVolume" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PersistentVolumeSpec diff --git a/k8s/1.27/api/core/v1/persistent_volume_claim.k b/k8s/1.27/api/core/v1/persistent_volume_claim.k index 1b478b67..65da03d4 100644 --- a/k8s/1.27/api/core/v1/persistent_volume_claim.k +++ b/k8s/1.27/api/core/v1/persistent_volume_claim.k @@ -3,7 +3,7 @@ This is the persistent_volume_claim module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeClaim: @@ -16,7 +16,7 @@ schema PersistentVolumeClaim: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PersistentVolumeClaim", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PersistentVolumeClaimSpec, default is Undefined, optional spec defines the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims @@ -27,7 +27,7 @@ schema PersistentVolumeClaim: kind: "PersistentVolumeClaim" = "PersistentVolumeClaim" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PersistentVolumeClaimSpec diff --git a/k8s/1.27/api/core/v1/persistent_volume_claim_list.k b/k8s/1.27/api/core/v1/persistent_volume_claim_list.k index e09bc2ef..23447a12 100644 --- a/k8s/1.27/api/core/v1/persistent_volume_claim_list.k +++ b/k8s/1.27/api/core/v1/persistent_volume_claim_list.k @@ -3,7 +3,7 @@ This is the persistent_volume_claim_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeClaimList: @@ -18,7 +18,7 @@ schema PersistentVolumeClaimList: items is a list of persistent volume claims. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims kind : str, default is "PersistentVolumeClaimList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema PersistentVolumeClaimList: kind: "PersistentVolumeClaimList" = "PersistentVolumeClaimList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.27/api/core/v1/persistent_volume_claim_spec.k b/k8s/1.27/api/core/v1/persistent_volume_claim_spec.k index fda9a7cb..422e4be4 100644 --- a/k8s/1.27/api/core/v1/persistent_volume_claim_spec.k +++ b/k8s/1.27/api/core/v1/persistent_volume_claim_spec.k @@ -3,7 +3,7 @@ This is the persistent_volume_claim_spec module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeClaimSpec: @@ -27,7 +27,7 @@ schema PersistentVolumeClaimSpec: (Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled. (Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled. resources : ResourceRequirements, default is Undefined, optional resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector is a label query over volumes to consider for binding. storageClassName : str, default is Undefined, optional storageClassName is the name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1 @@ -46,7 +46,7 @@ schema PersistentVolumeClaimSpec: resources?: ResourceRequirements - selector?: v1.LabelSelector + selector?: metav1.LabelSelector storageClassName?: str diff --git a/k8s/1.27/api/core/v1/persistent_volume_claim_template.k b/k8s/1.27/api/core/v1/persistent_volume_claim_template.k index e6758b96..a8a010df 100644 --- a/k8s/1.27/api/core/v1/persistent_volume_claim_template.k +++ b/k8s/1.27/api/core/v1/persistent_volume_claim_template.k @@ -3,7 +3,7 @@ This is the persistent_volume_claim_template module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeClaimTemplate: @@ -12,14 +12,14 @@ schema PersistentVolumeClaimTemplate: Attributes ---------- - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. spec : PersistentVolumeClaimSpec, default is Undefined, required The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here. """ - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: PersistentVolumeClaimSpec diff --git a/k8s/1.27/api/core/v1/persistent_volume_list.k b/k8s/1.27/api/core/v1/persistent_volume_list.k index b1498d78..1d426ef6 100644 --- a/k8s/1.27/api/core/v1/persistent_volume_list.k +++ b/k8s/1.27/api/core/v1/persistent_volume_list.k @@ -3,7 +3,7 @@ This is the persistent_volume_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeList: @@ -18,7 +18,7 @@ schema PersistentVolumeList: items is a list of persistent volumes. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes kind : str, default is "PersistentVolumeList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema PersistentVolumeList: kind: "PersistentVolumeList" = "PersistentVolumeList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.27/api/core/v1/pod.k b/k8s/1.27/api/core/v1/pod.k index 659a9e99..66568628 100644 --- a/k8s/1.27/api/core/v1/pod.k +++ b/k8s/1.27/api/core/v1/pod.k @@ -3,7 +3,7 @@ This is the pod module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Pod: @@ -16,7 +16,7 @@ schema Pod: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Pod", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PodSpec, default is Undefined, optional Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Pod: kind: "Pod" = "Pod" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PodSpec diff --git a/k8s/1.27/api/core/v1/pod_affinity_term.k b/k8s/1.27/api/core/v1/pod_affinity_term.k index fa331b29..a0bd3408 100644 --- a/k8s/1.27/api/core/v1/pod_affinity_term.k +++ b/k8s/1.27/api/core/v1/pod_affinity_term.k @@ -3,7 +3,7 @@ This is the pod_affinity_term module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodAffinityTerm: @@ -12,9 +12,9 @@ schema PodAffinityTerm: Attributes ---------- - labelSelector : v1.LabelSelector, default is Undefined, optional + labelSelector : metav1.LabelSelector, default is Undefined, optional A label query over a set of resources, in this case pods. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. namespaces : [str], default is Undefined, optional namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means "this pod's namespace". @@ -23,9 +23,9 @@ schema PodAffinityTerm: """ - labelSelector?: v1.LabelSelector + labelSelector?: metav1.LabelSelector - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector namespaces?: [str] diff --git a/k8s/1.27/api/core/v1/pod_list.k b/k8s/1.27/api/core/v1/pod_list.k index 10ad5eb9..4c031d05 100644 --- a/k8s/1.27/api/core/v1/pod_list.k +++ b/k8s/1.27/api/core/v1/pod_list.k @@ -3,7 +3,7 @@ This is the pod_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodList: @@ -18,7 +18,7 @@ schema PodList: List of pods. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md kind : str, default is "PodList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema PodList: kind: "PodList" = "PodList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.27/api/core/v1/pod_template.k b/k8s/1.27/api/core/v1/pod_template.k index 98e64f70..6ffbfa64 100644 --- a/k8s/1.27/api/core/v1/pod_template.k +++ b/k8s/1.27/api/core/v1/pod_template.k @@ -3,7 +3,7 @@ This is the pod_template module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodTemplate: @@ -16,7 +16,7 @@ schema PodTemplate: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PodTemplate", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata template : PodTemplateSpec, default is Undefined, optional Template defines the pods that will be created from this pod template. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema PodTemplate: kind: "PodTemplate" = "PodTemplate" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta template?: PodTemplateSpec diff --git a/k8s/1.27/api/core/v1/pod_template_list.k b/k8s/1.27/api/core/v1/pod_template_list.k index 8bb1827f..94024175 100644 --- a/k8s/1.27/api/core/v1/pod_template_list.k +++ b/k8s/1.27/api/core/v1/pod_template_list.k @@ -3,7 +3,7 @@ This is the pod_template_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodTemplateList: @@ -18,7 +18,7 @@ schema PodTemplateList: List of pod templates kind : str, default is "PodTemplateList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema PodTemplateList: kind: "PodTemplateList" = "PodTemplateList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.27/api/core/v1/pod_template_spec.k b/k8s/1.27/api/core/v1/pod_template_spec.k index 1274c88b..6011ef81 100644 --- a/k8s/1.27/api/core/v1/pod_template_spec.k +++ b/k8s/1.27/api/core/v1/pod_template_spec.k @@ -3,7 +3,7 @@ This is the pod_template_spec module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodTemplateSpec: @@ -12,14 +12,14 @@ schema PodTemplateSpec: Attributes ---------- - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PodSpec, default is Undefined, optional Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status """ - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PodSpec diff --git a/k8s/1.27/api/core/v1/replication_controller.k b/k8s/1.27/api/core/v1/replication_controller.k index 08b091e8..37724706 100644 --- a/k8s/1.27/api/core/v1/replication_controller.k +++ b/k8s/1.27/api/core/v1/replication_controller.k @@ -3,7 +3,7 @@ This is the replication_controller module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicationController: @@ -16,7 +16,7 @@ schema ReplicationController: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ReplicationController", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional If the Labels of a ReplicationController are empty, they are defaulted to be the same as the Pod(s) that the replication controller manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : ReplicationControllerSpec, default is Undefined, optional Spec defines the specification of the desired behavior of the replication controller. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema ReplicationController: kind: "ReplicationController" = "ReplicationController" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ReplicationControllerSpec diff --git a/k8s/1.27/api/core/v1/replication_controller_list.k b/k8s/1.27/api/core/v1/replication_controller_list.k index 64afa179..63f9d4b2 100644 --- a/k8s/1.27/api/core/v1/replication_controller_list.k +++ b/k8s/1.27/api/core/v1/replication_controller_list.k @@ -3,7 +3,7 @@ This is the replication_controller_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicationControllerList: @@ -18,7 +18,7 @@ schema ReplicationControllerList: List of replication controllers. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller kind : str, default is "ReplicationControllerList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ReplicationControllerList: kind: "ReplicationControllerList" = "ReplicationControllerList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.27/api/core/v1/resource_quota.k b/k8s/1.27/api/core/v1/resource_quota.k index b7da49d1..0ec7c409 100644 --- a/k8s/1.27/api/core/v1/resource_quota.k +++ b/k8s/1.27/api/core/v1/resource_quota.k @@ -3,7 +3,7 @@ This is the resource_quota module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceQuota: @@ -16,7 +16,7 @@ schema ResourceQuota: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ResourceQuota", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : ResourceQuotaSpec, default is Undefined, optional Spec defines the desired quota. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema ResourceQuota: kind: "ResourceQuota" = "ResourceQuota" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ResourceQuotaSpec diff --git a/k8s/1.27/api/core/v1/resource_quota_list.k b/k8s/1.27/api/core/v1/resource_quota_list.k index ca1424b8..f8dbc87d 100644 --- a/k8s/1.27/api/core/v1/resource_quota_list.k +++ b/k8s/1.27/api/core/v1/resource_quota_list.k @@ -3,7 +3,7 @@ This is the resource_quota_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceQuotaList: @@ -18,7 +18,7 @@ schema ResourceQuotaList: Items is a list of ResourceQuota objects. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/ kind : str, default is "ResourceQuotaList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ResourceQuotaList: kind: "ResourceQuotaList" = "ResourceQuotaList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.27/api/core/v1/secret.k b/k8s/1.27/api/core/v1/secret.k index 315e5f78..79324811 100644 --- a/k8s/1.27/api/core/v1/secret.k +++ b/k8s/1.27/api/core/v1/secret.k @@ -3,7 +3,7 @@ This is the secret module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Secret: @@ -20,7 +20,7 @@ schema Secret: Immutable, if set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil. kind : str, default is "Secret", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata stringData : {str:str}, default is Undefined, optional stringData allows specifying non-binary secret data in string form. It is provided as a write-only input field for convenience. All keys and values are merged into the data field on write, overwriting any existing values. The stringData field is never output when reading from the API. @@ -37,7 +37,7 @@ schema Secret: kind: "Secret" = "Secret" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta stringData?: {str:str} diff --git a/k8s/1.27/api/core/v1/secret_list.k b/k8s/1.27/api/core/v1/secret_list.k index 335c47b4..9e80806b 100644 --- a/k8s/1.27/api/core/v1/secret_list.k +++ b/k8s/1.27/api/core/v1/secret_list.k @@ -3,7 +3,7 @@ This is the secret_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SecretList: @@ -18,7 +18,7 @@ schema SecretList: Items is a list of secret objects. More info: https://kubernetes.io/docs/concepts/configuration/secret kind : str, default is "SecretList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema SecretList: kind: "SecretList" = "SecretList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.27/api/core/v1/service.k b/k8s/1.27/api/core/v1/service.k index 1f259a80..3b86c8ef 100644 --- a/k8s/1.27/api/core/v1/service.k +++ b/k8s/1.27/api/core/v1/service.k @@ -3,7 +3,7 @@ This is the service module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Service: @@ -16,7 +16,7 @@ schema Service: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Service", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : ServiceSpec, default is Undefined, optional Spec defines the behavior of a service. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Service: kind: "Service" = "Service" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ServiceSpec diff --git a/k8s/1.27/api/core/v1/service_account.k b/k8s/1.27/api/core/v1/service_account.k index 3ffd21b4..2570f531 100644 --- a/k8s/1.27/api/core/v1/service_account.k +++ b/k8s/1.27/api/core/v1/service_account.k @@ -3,7 +3,7 @@ This is the service_account module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ServiceAccount: @@ -20,7 +20,7 @@ schema ServiceAccount: ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod kind : str, default is "ServiceAccount", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata secrets : [ObjectReference], default is Undefined, optional Secrets is a list of the secrets in the same namespace that pods running using this ServiceAccount are allowed to use. Pods are only limited to this list if this service account has a "kubernetes.io/enforce-mountable-secrets" annotation set to "true". This field should not be used to find auto-generated service account token secrets for use outside of pods. Instead, tokens can be requested directly using the TokenRequest API, or service account token secrets can be manually created. More info: https://kubernetes.io/docs/concepts/configuration/secret @@ -35,7 +35,7 @@ schema ServiceAccount: kind: "ServiceAccount" = "ServiceAccount" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta secrets?: [ObjectReference] diff --git a/k8s/1.27/api/core/v1/service_account_list.k b/k8s/1.27/api/core/v1/service_account_list.k index 26a9319a..d8cd46b8 100644 --- a/k8s/1.27/api/core/v1/service_account_list.k +++ b/k8s/1.27/api/core/v1/service_account_list.k @@ -3,7 +3,7 @@ This is the service_account_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ServiceAccountList: @@ -18,7 +18,7 @@ schema ServiceAccountList: List of ServiceAccounts. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ kind : str, default is "ServiceAccountList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ServiceAccountList: kind: "ServiceAccountList" = "ServiceAccountList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.27/api/core/v1/service_list.k b/k8s/1.27/api/core/v1/service_list.k index 0c1e31be..5c4fae8a 100644 --- a/k8s/1.27/api/core/v1/service_list.k +++ b/k8s/1.27/api/core/v1/service_list.k @@ -3,7 +3,7 @@ This is the service_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ServiceList: @@ -18,7 +18,7 @@ schema ServiceList: List of services kind : str, default is "ServiceList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ServiceList: kind: "ServiceList" = "ServiceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.27/api/core/v1/service_status.k b/k8s/1.27/api/core/v1/service_status.k index 029dda86..f1fc66e6 100644 --- a/k8s/1.27/api/core/v1/service_status.k +++ b/k8s/1.27/api/core/v1/service_status.k @@ -3,7 +3,7 @@ This is the service_status module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ServiceStatus: @@ -12,14 +12,14 @@ schema ServiceStatus: Attributes ---------- - conditions : [v1.Condition], default is Undefined, optional + conditions : [metav1.Condition], default is Undefined, optional Current service state loadBalancer : LoadBalancerStatus, default is Undefined, optional LoadBalancer contains the current status of the load-balancer, if one is present. """ - conditions?: [v1.Condition] + conditions?: [metav1.Condition] loadBalancer?: LoadBalancerStatus diff --git a/k8s/1.27/api/core/v1/topology_spread_constraint.k b/k8s/1.27/api/core/v1/topology_spread_constraint.k index 12fb14e3..94d8c034 100644 --- a/k8s/1.27/api/core/v1/topology_spread_constraint.k +++ b/k8s/1.27/api/core/v1/topology_spread_constraint.k @@ -3,7 +3,7 @@ This is the topology_spread_constraint module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema TopologySpreadConstraint: @@ -12,7 +12,7 @@ schema TopologySpreadConstraint: Attributes ---------- - labelSelector : v1.LabelSelector, default is Undefined, optional + labelSelector : metav1.LabelSelector, default is Undefined, optional LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain. matchLabelKeys : [str], default is Undefined, optional MatchLabelKeys is a set of pod label keys to select the pods over which spreading will be calculated. The keys are used to lookup values from the incoming pod labels, those key-value labels are ANDed with labelSelector to select the group of existing pods over which spreading will be calculated for the incoming pod. The same key is forbidden to exist in both MatchLabelKeys and LabelSelector. MatchLabelKeys cannot be set when LabelSelector isn't set. Keys that don't exist in the incoming pod labels will be ignored. A null or empty list means only match against labelSelector. @@ -44,7 +44,7 @@ schema TopologySpreadConstraint: """ - labelSelector?: v1.LabelSelector + labelSelector?: metav1.LabelSelector matchLabelKeys?: [str] diff --git a/k8s/1.27/api/discovery/v1/endpoint_slice.k b/k8s/1.27/api/discovery/v1/endpoint_slice.k index 77d8a1e3..462647c6 100644 --- a/k8s/1.27/api/discovery/v1/endpoint_slice.k +++ b/k8s/1.27/api/discovery/v1/endpoint_slice.k @@ -3,7 +3,7 @@ This is the endpoint_slice module in k8s.api.discovery.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EndpointSlice: @@ -20,7 +20,7 @@ schema EndpointSlice: endpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints. kind : str, default is "EndpointSlice", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. ports : [EndpointPort], default is Undefined, optional ports specifies the list of network ports exposed by each endpoint in this slice. Each port must have a unique name. When ports is empty, it indicates that there are no defined ports. When a port is defined with a nil port value, it indicates "all ports". Each slice may include a maximum of 100 ports. @@ -35,7 +35,7 @@ schema EndpointSlice: kind: "EndpointSlice" = "EndpointSlice" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta ports?: [EndpointPort] diff --git a/k8s/1.27/api/discovery/v1/endpoint_slice_list.k b/k8s/1.27/api/discovery/v1/endpoint_slice_list.k index a33ad36e..2f0adefe 100644 --- a/k8s/1.27/api/discovery/v1/endpoint_slice_list.k +++ b/k8s/1.27/api/discovery/v1/endpoint_slice_list.k @@ -3,7 +3,7 @@ This is the endpoint_slice_list module in k8s.api.discovery.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EndpointSliceList: @@ -18,7 +18,7 @@ schema EndpointSliceList: items is the list of endpoint slices kind : str, default is "EndpointSliceList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema EndpointSliceList: kind: "EndpointSliceList" = "EndpointSliceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.27/api/events/v1/event_list.k b/k8s/1.27/api/events/v1/event_list.k index 6d5e7dad..4c4d96ba 100644 --- a/k8s/1.27/api/events/v1/event_list.k +++ b/k8s/1.27/api/events/v1/event_list.k @@ -3,7 +3,7 @@ This is the event_list module in k8s.api.events.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EventList: @@ -18,7 +18,7 @@ schema EventList: items is a list of schema objects. kind : str, default is "EventList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema EventList: kind: "EventList" = "EventList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.27/api/flowcontrol/v1beta2/flow_schema.k b/k8s/1.27/api/flowcontrol/v1beta2/flow_schema.k index 38841e20..ca58b323 100644 --- a/k8s/1.27/api/flowcontrol/v1beta2/flow_schema.k +++ b/k8s/1.27/api/flowcontrol/v1beta2/flow_schema.k @@ -3,7 +3,7 @@ This is the flow_schema module in k8s.api.flowcontrol.v1beta2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema FlowSchema: @@ -16,7 +16,7 @@ schema FlowSchema: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "FlowSchema", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : FlowSchemaSpec, default is Undefined, optional `spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema FlowSchema: kind: "FlowSchema" = "FlowSchema" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: FlowSchemaSpec diff --git a/k8s/1.27/api/flowcontrol/v1beta2/flow_schema_list.k b/k8s/1.27/api/flowcontrol/v1beta2/flow_schema_list.k index 41f1f453..084935f5 100644 --- a/k8s/1.27/api/flowcontrol/v1beta2/flow_schema_list.k +++ b/k8s/1.27/api/flowcontrol/v1beta2/flow_schema_list.k @@ -3,7 +3,7 @@ This is the flow_schema_list module in k8s.api.flowcontrol.v1beta2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema FlowSchemaList: @@ -18,7 +18,7 @@ schema FlowSchemaList: `items` is a list of FlowSchemas. kind : str, default is "FlowSchemaList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional `metadata` is the standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema FlowSchemaList: kind: "FlowSchemaList" = "FlowSchemaList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.27/api/flowcontrol/v1beta2/priority_level_configuration.k b/k8s/1.27/api/flowcontrol/v1beta2/priority_level_configuration.k index adfdc552..654decc0 100644 --- a/k8s/1.27/api/flowcontrol/v1beta2/priority_level_configuration.k +++ b/k8s/1.27/api/flowcontrol/v1beta2/priority_level_configuration.k @@ -3,7 +3,7 @@ This is the priority_level_configuration module in k8s.api.flowcontrol.v1beta2 p This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityLevelConfiguration: @@ -16,7 +16,7 @@ schema PriorityLevelConfiguration: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PriorityLevelConfiguration", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PriorityLevelConfigurationSpec, default is Undefined, optional `spec` is the specification of the desired behavior of a "request-priority". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema PriorityLevelConfiguration: kind: "PriorityLevelConfiguration" = "PriorityLevelConfiguration" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PriorityLevelConfigurationSpec diff --git a/k8s/1.27/api/flowcontrol/v1beta2/priority_level_configuration_list.k b/k8s/1.27/api/flowcontrol/v1beta2/priority_level_configuration_list.k index 3677c841..e3b5923d 100644 --- a/k8s/1.27/api/flowcontrol/v1beta2/priority_level_configuration_list.k +++ b/k8s/1.27/api/flowcontrol/v1beta2/priority_level_configuration_list.k @@ -3,7 +3,7 @@ This is the priority_level_configuration_list module in k8s.api.flowcontrol.v1be This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityLevelConfigurationList: @@ -18,7 +18,7 @@ schema PriorityLevelConfigurationList: `items` is a list of request-priorities. kind : str, default is "PriorityLevelConfigurationList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PriorityLevelConfigurationList: kind: "PriorityLevelConfigurationList" = "PriorityLevelConfigurationList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.27/api/flowcontrol/v1beta3/flow_schema.k b/k8s/1.27/api/flowcontrol/v1beta3/flow_schema.k index c76a8e16..94deb6b6 100644 --- a/k8s/1.27/api/flowcontrol/v1beta3/flow_schema.k +++ b/k8s/1.27/api/flowcontrol/v1beta3/flow_schema.k @@ -3,7 +3,7 @@ This is the flow_schema module in k8s.api.flowcontrol.v1beta3 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema FlowSchema: @@ -16,7 +16,7 @@ schema FlowSchema: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "FlowSchema", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : FlowSchemaSpec, default is Undefined, optional `spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema FlowSchema: kind: "FlowSchema" = "FlowSchema" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: FlowSchemaSpec diff --git a/k8s/1.27/api/flowcontrol/v1beta3/flow_schema_list.k b/k8s/1.27/api/flowcontrol/v1beta3/flow_schema_list.k index fafe330c..7af81967 100644 --- a/k8s/1.27/api/flowcontrol/v1beta3/flow_schema_list.k +++ b/k8s/1.27/api/flowcontrol/v1beta3/flow_schema_list.k @@ -3,7 +3,7 @@ This is the flow_schema_list module in k8s.api.flowcontrol.v1beta3 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema FlowSchemaList: @@ -18,7 +18,7 @@ schema FlowSchemaList: `items` is a list of FlowSchemas. kind : str, default is "FlowSchemaList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional `metadata` is the standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema FlowSchemaList: kind: "FlowSchemaList" = "FlowSchemaList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.27/api/flowcontrol/v1beta3/priority_level_configuration.k b/k8s/1.27/api/flowcontrol/v1beta3/priority_level_configuration.k index 15f67df4..c72c8565 100644 --- a/k8s/1.27/api/flowcontrol/v1beta3/priority_level_configuration.k +++ b/k8s/1.27/api/flowcontrol/v1beta3/priority_level_configuration.k @@ -3,7 +3,7 @@ This is the priority_level_configuration module in k8s.api.flowcontrol.v1beta3 p This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityLevelConfiguration: @@ -16,7 +16,7 @@ schema PriorityLevelConfiguration: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PriorityLevelConfiguration", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PriorityLevelConfigurationSpec, default is Undefined, optional `spec` is the specification of the desired behavior of a "request-priority". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema PriorityLevelConfiguration: kind: "PriorityLevelConfiguration" = "PriorityLevelConfiguration" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PriorityLevelConfigurationSpec diff --git a/k8s/1.27/api/flowcontrol/v1beta3/priority_level_configuration_list.k b/k8s/1.27/api/flowcontrol/v1beta3/priority_level_configuration_list.k index 12396566..3af527e2 100644 --- a/k8s/1.27/api/flowcontrol/v1beta3/priority_level_configuration_list.k +++ b/k8s/1.27/api/flowcontrol/v1beta3/priority_level_configuration_list.k @@ -3,7 +3,7 @@ This is the priority_level_configuration_list module in k8s.api.flowcontrol.v1be This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityLevelConfigurationList: @@ -18,7 +18,7 @@ schema PriorityLevelConfigurationList: `items` is a list of request-priorities. kind : str, default is "PriorityLevelConfigurationList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PriorityLevelConfigurationList: kind: "PriorityLevelConfigurationList" = "PriorityLevelConfigurationList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.27/api/networking/v1/ingress.k b/k8s/1.27/api/networking/v1/ingress.k index a224b707..0987b46d 100644 --- a/k8s/1.27/api/networking/v1/ingress.k +++ b/k8s/1.27/api/networking/v1/ingress.k @@ -3,7 +3,7 @@ This is the ingress module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Ingress: @@ -16,7 +16,7 @@ schema Ingress: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Ingress", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : IngressSpec, default is Undefined, optional spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Ingress: kind: "Ingress" = "Ingress" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: IngressSpec diff --git a/k8s/1.27/api/networking/v1/ingress_class.k b/k8s/1.27/api/networking/v1/ingress_class.k index 19d34da4..62edb40f 100644 --- a/k8s/1.27/api/networking/v1/ingress_class.k +++ b/k8s/1.27/api/networking/v1/ingress_class.k @@ -3,7 +3,7 @@ This is the ingress_class module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema IngressClass: @@ -16,7 +16,7 @@ schema IngressClass: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "IngressClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : IngressClassSpec, default is Undefined, optional spec is the desired state of the IngressClass. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema IngressClass: kind: "IngressClass" = "IngressClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: IngressClassSpec diff --git a/k8s/1.27/api/networking/v1/ingress_class_list.k b/k8s/1.27/api/networking/v1/ingress_class_list.k index 8962fe08..2da5d410 100644 --- a/k8s/1.27/api/networking/v1/ingress_class_list.k +++ b/k8s/1.27/api/networking/v1/ingress_class_list.k @@ -3,7 +3,7 @@ This is the ingress_class_list module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema IngressClassList: @@ -18,7 +18,7 @@ schema IngressClassList: items is the list of IngressClasses. kind : str, default is "IngressClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema IngressClassList: kind: "IngressClassList" = "IngressClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.27/api/networking/v1/ingress_list.k b/k8s/1.27/api/networking/v1/ingress_list.k index ad9f5f1b..bfa6b178 100644 --- a/k8s/1.27/api/networking/v1/ingress_list.k +++ b/k8s/1.27/api/networking/v1/ingress_list.k @@ -3,7 +3,7 @@ This is the ingress_list module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema IngressList: @@ -18,7 +18,7 @@ schema IngressList: items is the list of Ingress. kind : str, default is "IngressList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema IngressList: kind: "IngressList" = "IngressList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.27/api/networking/v1/network_policy.k b/k8s/1.27/api/networking/v1/network_policy.k index b8b576dd..ff140307 100644 --- a/k8s/1.27/api/networking/v1/network_policy.k +++ b/k8s/1.27/api/networking/v1/network_policy.k @@ -3,7 +3,7 @@ This is the network_policy module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicy: @@ -16,7 +16,7 @@ schema NetworkPolicy: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "NetworkPolicy", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : NetworkPolicySpec, default is Undefined, optional spec represents the specification of the desired behavior for this NetworkPolicy. @@ -27,7 +27,7 @@ schema NetworkPolicy: kind: "NetworkPolicy" = "NetworkPolicy" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: NetworkPolicySpec diff --git a/k8s/1.27/api/networking/v1/network_policy_list.k b/k8s/1.27/api/networking/v1/network_policy_list.k index 7d57481a..a67c9de3 100644 --- a/k8s/1.27/api/networking/v1/network_policy_list.k +++ b/k8s/1.27/api/networking/v1/network_policy_list.k @@ -3,7 +3,7 @@ This is the network_policy_list module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicyList: @@ -18,7 +18,7 @@ schema NetworkPolicyList: items is a list of schema objects. kind : str, default is "NetworkPolicyList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema NetworkPolicyList: kind: "NetworkPolicyList" = "NetworkPolicyList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.27/api/networking/v1/network_policy_peer.k b/k8s/1.27/api/networking/v1/network_policy_peer.k index 9f1cb095..2180c607 100644 --- a/k8s/1.27/api/networking/v1/network_policy_peer.k +++ b/k8s/1.27/api/networking/v1/network_policy_peer.k @@ -3,7 +3,7 @@ This is the network_policy_peer module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicyPeer: @@ -14,11 +14,11 @@ schema NetworkPolicyPeer: ---------- ipBlock : IPBlock, default is Undefined, optional ipBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional namespaceSelector selects namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces. If podSelector is also set, then the NetworkPolicyPeer as a whole selects the pods matching podSelector in the namespaces selected by namespaceSelector. Otherwise it selects all pods in the namespaces selected by namespaceSelector. - podSelector : v1.LabelSelector, default is Undefined, optional + podSelector : metav1.LabelSelector, default is Undefined, optional podSelector is a label selector which selects pods. This field follows standard label selector semantics; if present but empty, it selects all pods. If namespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the pods matching podSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the pods matching podSelector in the policy's own namespace. @@ -27,8 +27,8 @@ schema NetworkPolicyPeer: ipBlock?: IPBlock - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector - podSelector?: v1.LabelSelector + podSelector?: metav1.LabelSelector diff --git a/k8s/1.27/api/networking/v1/network_policy_spec.k b/k8s/1.27/api/networking/v1/network_policy_spec.k index 19774502..3947b4c2 100644 --- a/k8s/1.27/api/networking/v1/network_policy_spec.k +++ b/k8s/1.27/api/networking/v1/network_policy_spec.k @@ -3,7 +3,7 @@ This is the network_policy_spec module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicySpec: @@ -16,7 +16,7 @@ schema NetworkPolicySpec: egress is a list of egress rules to be applied to the selected pods. Outgoing traffic is allowed if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic matches at least one egress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy limits all outgoing traffic (and serves solely to ensure that the pods it selects are isolated by default). This field is beta-level in 1.8 ingress : [NetworkPolicyIngressRule], default is Undefined, optional ingress is a list of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not allow any traffic (and serves solely to ensure that the pods it selects are isolated by default) - podSelector : v1.LabelSelector, default is Undefined, required + podSelector : metav1.LabelSelector, default is Undefined, required podSelector selects the pods to which this NetworkPolicy object applies. The array of ingress rules is applied to any pods selected by this field. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is NOT optional and follows standard label selector semantics. An empty podSelector matches all pods in this namespace. policyTypes : [str], default is Undefined, optional policyTypes is a list of rule types that the NetworkPolicy relates to. Valid options are ["Ingress"], ["Egress"], or ["Ingress", "Egress"]. If this field is not specified, it will default based on the existence of ingress or egress rules; policies that contain an egress section are assumed to affect egress, and all policies (whether or not they contain an ingress section) are assumed to affect ingress. If you want to write an egress-only policy, you must explicitly specify policyTypes [ "Egress" ]. Likewise, if you want to write a policy that specifies that no egress is allowed, you must specify a policyTypes value that include "Egress" (since such a policy would not include an egress section and would otherwise default to just [ "Ingress" ]). This field is beta-level in 1.8 @@ -27,7 +27,7 @@ schema NetworkPolicySpec: ingress?: [NetworkPolicyIngressRule] - podSelector: v1.LabelSelector + podSelector: metav1.LabelSelector policyTypes?: [str] diff --git a/k8s/1.27/api/networking/v1/network_policy_status.k b/k8s/1.27/api/networking/v1/network_policy_status.k index 5467d2a4..e1412718 100644 --- a/k8s/1.27/api/networking/v1/network_policy_status.k +++ b/k8s/1.27/api/networking/v1/network_policy_status.k @@ -3,7 +3,7 @@ This is the network_policy_status module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicyStatus: @@ -12,11 +12,11 @@ schema NetworkPolicyStatus: Attributes ---------- - conditions : [v1.Condition], default is Undefined, optional + conditions : [metav1.Condition], default is Undefined, optional conditions holds an array of metav1.Condition that describe the state of the NetworkPolicy. Current service state """ - conditions?: [v1.Condition] + conditions?: [metav1.Condition] diff --git a/k8s/1.27/api/networking/v1alpha1/cluster_cidr.k b/k8s/1.27/api/networking/v1alpha1/cluster_cidr.k index bfb9dfd6..661761fc 100644 --- a/k8s/1.27/api/networking/v1alpha1/cluster_cidr.k +++ b/k8s/1.27/api/networking/v1alpha1/cluster_cidr.k @@ -3,7 +3,7 @@ This is the cluster_cidr module in k8s.api.networking.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterCIDR: @@ -16,7 +16,7 @@ schema ClusterCIDR: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ClusterCIDR", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : ClusterCIDRSpec, default is Undefined, optional spec is the desired state of the ClusterCIDR. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema ClusterCIDR: kind: "ClusterCIDR" = "ClusterCIDR" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ClusterCIDRSpec diff --git a/k8s/1.27/api/networking/v1alpha1/cluster_cidr_list.k b/k8s/1.27/api/networking/v1alpha1/cluster_cidr_list.k index 38007fa0..be3c5de2 100644 --- a/k8s/1.27/api/networking/v1alpha1/cluster_cidr_list.k +++ b/k8s/1.27/api/networking/v1alpha1/cluster_cidr_list.k @@ -3,7 +3,7 @@ This is the cluster_cidr_list module in k8s.api.networking.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterCIDRList: @@ -18,7 +18,7 @@ schema ClusterCIDRList: items is the list of ClusterCIDRs. kind : str, default is "ClusterCIDRList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema ClusterCIDRList: kind: "ClusterCIDRList" = "ClusterCIDRList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.27/api/networking/v1alpha1/ip_address.k b/k8s/1.27/api/networking/v1alpha1/ip_address.k index 75366ead..220826c8 100644 --- a/k8s/1.27/api/networking/v1alpha1/ip_address.k +++ b/k8s/1.27/api/networking/v1alpha1/ip_address.k @@ -3,7 +3,7 @@ This is the ip_address module in k8s.api.networking.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema IPAddress: @@ -16,7 +16,7 @@ schema IPAddress: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "IPAddress", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : IPAddressSpec, default is Undefined, optional spec is the desired state of the IPAddress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema IPAddress: kind: "IPAddress" = "IPAddress" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: IPAddressSpec diff --git a/k8s/1.27/api/networking/v1alpha1/ip_address_list.k b/k8s/1.27/api/networking/v1alpha1/ip_address_list.k index 75e2aaad..460f34dc 100644 --- a/k8s/1.27/api/networking/v1alpha1/ip_address_list.k +++ b/k8s/1.27/api/networking/v1alpha1/ip_address_list.k @@ -3,7 +3,7 @@ This is the ip_address_list module in k8s.api.networking.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema IPAddressList: @@ -18,7 +18,7 @@ schema IPAddressList: items is the list of IPAddresses. kind : str, default is "IPAddressList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema IPAddressList: kind: "IPAddressList" = "IPAddressList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.27/api/node/v1/runtime_class.k b/k8s/1.27/api/node/v1/runtime_class.k index c890b031..313f5911 100644 --- a/k8s/1.27/api/node/v1/runtime_class.k +++ b/k8s/1.27/api/node/v1/runtime_class.k @@ -3,7 +3,7 @@ This is the runtime_class module in k8s.api.node.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RuntimeClass: @@ -18,7 +18,7 @@ schema RuntimeClass: handler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration. It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called "runc" might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The Handler must be lowercase, conform to the DNS Label (RFC 1123) requirements, and is immutable. kind : str, default is "RuntimeClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata overhead : Overhead, default is Undefined, optional overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see @@ -34,7 +34,7 @@ schema RuntimeClass: kind: "RuntimeClass" = "RuntimeClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta overhead?: Overhead diff --git a/k8s/1.27/api/node/v1/runtime_class_list.k b/k8s/1.27/api/node/v1/runtime_class_list.k index ef56265a..62b4c4c6 100644 --- a/k8s/1.27/api/node/v1/runtime_class_list.k +++ b/k8s/1.27/api/node/v1/runtime_class_list.k @@ -3,7 +3,7 @@ This is the runtime_class_list module in k8s.api.node.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RuntimeClassList: @@ -18,7 +18,7 @@ schema RuntimeClassList: items is a list of schema objects. kind : str, default is "RuntimeClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema RuntimeClassList: kind: "RuntimeClassList" = "RuntimeClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.27/api/policy/v1/eviction.k b/k8s/1.27/api/policy/v1/eviction.k index e87c2ee9..121fb323 100644 --- a/k8s/1.27/api/policy/v1/eviction.k +++ b/k8s/1.27/api/policy/v1/eviction.k @@ -3,7 +3,7 @@ This is the eviction module in k8s.api.policy.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Eviction: @@ -14,21 +14,21 @@ schema Eviction: ---------- apiVersion : str, default is "policy/v1", required APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - deleteOptions : v1.DeleteOptions, default is Undefined, optional + deleteOptions : metav1.DeleteOptions, default is Undefined, optional DeleteOptions may be provided kind : str, default is "Eviction", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional ObjectMeta describes the pod that is being evicted. """ apiVersion: "policy/v1" = "policy/v1" - deleteOptions?: v1.DeleteOptions + deleteOptions?: metav1.DeleteOptions kind: "Eviction" = "Eviction" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta diff --git a/k8s/1.27/api/policy/v1/pod_disruption_budget.k b/k8s/1.27/api/policy/v1/pod_disruption_budget.k index 08151f41..02483ed4 100644 --- a/k8s/1.27/api/policy/v1/pod_disruption_budget.k +++ b/k8s/1.27/api/policy/v1/pod_disruption_budget.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget module in k8s.api.policy.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudget: @@ -16,7 +16,7 @@ schema PodDisruptionBudget: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PodDisruptionBudget", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PodDisruptionBudgetSpec, default is Undefined, optional Specification of the desired behavior of the PodDisruptionBudget. @@ -27,7 +27,7 @@ schema PodDisruptionBudget: kind: "PodDisruptionBudget" = "PodDisruptionBudget" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PodDisruptionBudgetSpec diff --git a/k8s/1.27/api/policy/v1/pod_disruption_budget_list.k b/k8s/1.27/api/policy/v1/pod_disruption_budget_list.k index 9075ecd9..0a3f925d 100644 --- a/k8s/1.27/api/policy/v1/pod_disruption_budget_list.k +++ b/k8s/1.27/api/policy/v1/pod_disruption_budget_list.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget_list module in k8s.api.policy.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudgetList: @@ -18,7 +18,7 @@ schema PodDisruptionBudgetList: Items is a list of PodDisruptionBudgets kind : str, default is "PodDisruptionBudgetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PodDisruptionBudgetList: kind: "PodDisruptionBudgetList" = "PodDisruptionBudgetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.27/api/policy/v1/pod_disruption_budget_spec.k b/k8s/1.27/api/policy/v1/pod_disruption_budget_spec.k index e32c3163..d0118af3 100644 --- a/k8s/1.27/api/policy/v1/pod_disruption_budget_spec.k +++ b/k8s/1.27/api/policy/v1/pod_disruption_budget_spec.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget_spec module in k8s.api.policy.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudgetSpec: @@ -16,7 +16,7 @@ schema PodDisruptionBudgetSpec: An eviction is allowed if at most "maxUnavailable" pods selected by "selector" are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with "minAvailable". minAvailable : int | str, default is Undefined, optional An eviction is allowed if at least "minAvailable" pods selected by "selector" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying "100%". - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional Label query over pods whose evictions are managed by the disruption budget. A null selector will match no pods, while an empty ({}) selector will select all pods within the namespace. unhealthyPodEvictionPolicy : str, default is Undefined, optional UnhealthyPodEvictionPolicy defines the criteria for when unhealthy pods should be considered for eviction. Current implementation considers healthy pods, as pods that have status.conditions item with type="Ready",status="True". @@ -37,7 +37,7 @@ schema PodDisruptionBudgetSpec: minAvailable?: int | str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector unhealthyPodEvictionPolicy?: str diff --git a/k8s/1.27/api/policy/v1/pod_disruption_budget_status.k b/k8s/1.27/api/policy/v1/pod_disruption_budget_status.k index 58d0ef88..b8db8025 100644 --- a/k8s/1.27/api/policy/v1/pod_disruption_budget_status.k +++ b/k8s/1.27/api/policy/v1/pod_disruption_budget_status.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget_status module in k8s.api.policy.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudgetStatus: @@ -12,7 +12,7 @@ schema PodDisruptionBudgetStatus: Attributes ---------- - conditions : [v1.Condition], default is Undefined, optional + conditions : [metav1.Condition], default is Undefined, optional Conditions contain conditions for PDB. The disruption controller sets the DisruptionAllowed condition. The following are known values for the reason field (additional reasons could be added in the future): - SyncFailed: The controller encountered an error and wasn't able to compute the number of allowed disruptions. Therefore no disruptions are allowed and the status of the condition will be False. @@ -37,7 +37,7 @@ schema PodDisruptionBudgetStatus: """ - conditions?: [v1.Condition] + conditions?: [metav1.Condition] currentHealthy: int diff --git a/k8s/1.27/api/rbac/v1/aggregation_rule.k b/k8s/1.27/api/rbac/v1/aggregation_rule.k index c7969ee4..b6898869 100644 --- a/k8s/1.27/api/rbac/v1/aggregation_rule.k +++ b/k8s/1.27/api/rbac/v1/aggregation_rule.k @@ -3,7 +3,7 @@ This is the aggregation_rule module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema AggregationRule: @@ -12,11 +12,11 @@ schema AggregationRule: Attributes ---------- - clusterRoleSelectors : [v1.LabelSelector], default is Undefined, optional + clusterRoleSelectors : [metav1.LabelSelector], default is Undefined, optional ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added """ - clusterRoleSelectors?: [v1.LabelSelector] + clusterRoleSelectors?: [metav1.LabelSelector] diff --git a/k8s/1.27/api/rbac/v1/cluster_role.k b/k8s/1.27/api/rbac/v1/cluster_role.k index fcf42d1b..d32837ea 100644 --- a/k8s/1.27/api/rbac/v1/cluster_role.k +++ b/k8s/1.27/api/rbac/v1/cluster_role.k @@ -3,7 +3,7 @@ This is the cluster_role module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRole: @@ -18,7 +18,7 @@ schema ClusterRole: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ClusterRole", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. rules : [PolicyRule], default is Undefined, optional Rules holds all the PolicyRules for this ClusterRole @@ -31,7 +31,7 @@ schema ClusterRole: kind: "ClusterRole" = "ClusterRole" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta rules?: [PolicyRule] diff --git a/k8s/1.27/api/rbac/v1/cluster_role_binding.k b/k8s/1.27/api/rbac/v1/cluster_role_binding.k index e670588e..1b2c4294 100644 --- a/k8s/1.27/api/rbac/v1/cluster_role_binding.k +++ b/k8s/1.27/api/rbac/v1/cluster_role_binding.k @@ -3,7 +3,7 @@ This is the cluster_role_binding module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleBinding: @@ -16,7 +16,7 @@ schema ClusterRoleBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ClusterRoleBinding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. roleRef : RoleRef, default is Undefined, required RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. @@ -29,7 +29,7 @@ schema ClusterRoleBinding: kind: "ClusterRoleBinding" = "ClusterRoleBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta roleRef: RoleRef diff --git a/k8s/1.27/api/rbac/v1/cluster_role_binding_list.k b/k8s/1.27/api/rbac/v1/cluster_role_binding_list.k index fd53865a..bd13f6fa 100644 --- a/k8s/1.27/api/rbac/v1/cluster_role_binding_list.k +++ b/k8s/1.27/api/rbac/v1/cluster_role_binding_list.k @@ -3,7 +3,7 @@ This is the cluster_role_binding_list module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleBindingList: @@ -18,7 +18,7 @@ schema ClusterRoleBindingList: Items is a list of ClusterRoleBindings kind : str, default is "ClusterRoleBindingList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema ClusterRoleBindingList: kind: "ClusterRoleBindingList" = "ClusterRoleBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.27/api/rbac/v1/cluster_role_list.k b/k8s/1.27/api/rbac/v1/cluster_role_list.k index 8be0e1a6..303e00aa 100644 --- a/k8s/1.27/api/rbac/v1/cluster_role_list.k +++ b/k8s/1.27/api/rbac/v1/cluster_role_list.k @@ -3,7 +3,7 @@ This is the cluster_role_list module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleList: @@ -18,7 +18,7 @@ schema ClusterRoleList: Items is a list of ClusterRoles kind : str, default is "ClusterRoleList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema ClusterRoleList: kind: "ClusterRoleList" = "ClusterRoleList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.27/api/rbac/v1/role.k b/k8s/1.27/api/rbac/v1/role.k index f72c1ab0..db02dfef 100644 --- a/k8s/1.27/api/rbac/v1/role.k +++ b/k8s/1.27/api/rbac/v1/role.k @@ -3,7 +3,7 @@ This is the role module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Role: @@ -16,7 +16,7 @@ schema Role: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Role", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. rules : [PolicyRule], default is Undefined, optional Rules holds all the PolicyRules for this Role @@ -27,7 +27,7 @@ schema Role: kind: "Role" = "Role" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta rules?: [PolicyRule] diff --git a/k8s/1.27/api/rbac/v1/role_binding.k b/k8s/1.27/api/rbac/v1/role_binding.k index a305e8b1..efa93d8c 100644 --- a/k8s/1.27/api/rbac/v1/role_binding.k +++ b/k8s/1.27/api/rbac/v1/role_binding.k @@ -3,7 +3,7 @@ This is the role_binding module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleBinding: @@ -16,7 +16,7 @@ schema RoleBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "RoleBinding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. roleRef : RoleRef, default is Undefined, required RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. @@ -29,7 +29,7 @@ schema RoleBinding: kind: "RoleBinding" = "RoleBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta roleRef: RoleRef diff --git a/k8s/1.27/api/rbac/v1/role_binding_list.k b/k8s/1.27/api/rbac/v1/role_binding_list.k index ef8b7fc8..cb8d7400 100644 --- a/k8s/1.27/api/rbac/v1/role_binding_list.k +++ b/k8s/1.27/api/rbac/v1/role_binding_list.k @@ -3,7 +3,7 @@ This is the role_binding_list module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleBindingList: @@ -18,7 +18,7 @@ schema RoleBindingList: Items is a list of RoleBindings kind : str, default is "RoleBindingList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema RoleBindingList: kind: "RoleBindingList" = "RoleBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.27/api/rbac/v1/role_list.k b/k8s/1.27/api/rbac/v1/role_list.k index 6e7826e6..d102bc0c 100644 --- a/k8s/1.27/api/rbac/v1/role_list.k +++ b/k8s/1.27/api/rbac/v1/role_list.k @@ -3,7 +3,7 @@ This is the role_list module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleList: @@ -18,7 +18,7 @@ schema RoleList: Items is a list of Roles kind : str, default is "RoleList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema RoleList: kind: "RoleList" = "RoleList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.27/api/resource/v1alpha2/pod_scheduling_context.k b/k8s/1.27/api/resource/v1alpha2/pod_scheduling_context.k index ff8e77cf..dc92841a 100644 --- a/k8s/1.27/api/resource/v1alpha2/pod_scheduling_context.k +++ b/k8s/1.27/api/resource/v1alpha2/pod_scheduling_context.k @@ -3,7 +3,7 @@ This is the pod_scheduling_context module in k8s.api.resource.v1alpha2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodSchedulingContext: @@ -18,7 +18,7 @@ schema PodSchedulingContext: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PodSchedulingContext", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata spec : PodSchedulingContextSpec, default is Undefined, required Spec describes where resources for the Pod are needed. @@ -29,7 +29,7 @@ schema PodSchedulingContext: kind: "PodSchedulingContext" = "PodSchedulingContext" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: PodSchedulingContextSpec diff --git a/k8s/1.27/api/resource/v1alpha2/pod_scheduling_context_list.k b/k8s/1.27/api/resource/v1alpha2/pod_scheduling_context_list.k index 5d5a2d84..0b243a8b 100644 --- a/k8s/1.27/api/resource/v1alpha2/pod_scheduling_context_list.k +++ b/k8s/1.27/api/resource/v1alpha2/pod_scheduling_context_list.k @@ -3,7 +3,7 @@ This is the pod_scheduling_context_list module in k8s.api.resource.v1alpha2 pack This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodSchedulingContextList: @@ -18,7 +18,7 @@ schema PodSchedulingContextList: Items is the list of PodSchedulingContext objects. kind : str, default is "PodSchedulingContextList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata """ @@ -29,6 +29,6 @@ schema PodSchedulingContextList: kind: "PodSchedulingContextList" = "PodSchedulingContextList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.27/api/resource/v1alpha2/resource_claim.k b/k8s/1.27/api/resource/v1alpha2/resource_claim.k index 016cd551..c6593565 100644 --- a/k8s/1.27/api/resource/v1alpha2/resource_claim.k +++ b/k8s/1.27/api/resource/v1alpha2/resource_claim.k @@ -3,7 +3,7 @@ This is the resource_claim module in k8s.api.resource.v1alpha2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceClaim: @@ -18,7 +18,7 @@ schema ResourceClaim: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ResourceClaim", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata spec : ResourceClaimSpec, default is Undefined, required Spec describes the desired attributes of a resource that then needs to be allocated. It can only be set once when creating the ResourceClaim. @@ -29,7 +29,7 @@ schema ResourceClaim: kind: "ResourceClaim" = "ResourceClaim" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: ResourceClaimSpec diff --git a/k8s/1.27/api/resource/v1alpha2/resource_claim_list.k b/k8s/1.27/api/resource/v1alpha2/resource_claim_list.k index c16c3815..e6476316 100644 --- a/k8s/1.27/api/resource/v1alpha2/resource_claim_list.k +++ b/k8s/1.27/api/resource/v1alpha2/resource_claim_list.k @@ -3,7 +3,7 @@ This is the resource_claim_list module in k8s.api.resource.v1alpha2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceClaimList: @@ -18,7 +18,7 @@ schema ResourceClaimList: Items is the list of resource claims. kind : str, default is "ResourceClaimList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata """ @@ -29,6 +29,6 @@ schema ResourceClaimList: kind: "ResourceClaimList" = "ResourceClaimList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.27/api/resource/v1alpha2/resource_claim_template.k b/k8s/1.27/api/resource/v1alpha2/resource_claim_template.k index e35780a7..11722fdc 100644 --- a/k8s/1.27/api/resource/v1alpha2/resource_claim_template.k +++ b/k8s/1.27/api/resource/v1alpha2/resource_claim_template.k @@ -3,7 +3,7 @@ This is the resource_claim_template module in k8s.api.resource.v1alpha2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceClaimTemplate: @@ -16,7 +16,7 @@ schema ResourceClaimTemplate: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ResourceClaimTemplate", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata spec : ResourceClaimTemplateSpec, default is Undefined, required Describes the ResourceClaim that is to be generated. @@ -29,7 +29,7 @@ schema ResourceClaimTemplate: kind: "ResourceClaimTemplate" = "ResourceClaimTemplate" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: ResourceClaimTemplateSpec diff --git a/k8s/1.27/api/resource/v1alpha2/resource_claim_template_list.k b/k8s/1.27/api/resource/v1alpha2/resource_claim_template_list.k index bb8639cf..3cedbaea 100644 --- a/k8s/1.27/api/resource/v1alpha2/resource_claim_template_list.k +++ b/k8s/1.27/api/resource/v1alpha2/resource_claim_template_list.k @@ -3,7 +3,7 @@ This is the resource_claim_template_list module in k8s.api.resource.v1alpha2 pac This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceClaimTemplateList: @@ -18,7 +18,7 @@ schema ResourceClaimTemplateList: Items is the list of resource claim templates. kind : str, default is "ResourceClaimTemplateList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata """ @@ -29,6 +29,6 @@ schema ResourceClaimTemplateList: kind: "ResourceClaimTemplateList" = "ResourceClaimTemplateList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.27/api/resource/v1alpha2/resource_claim_template_spec.k b/k8s/1.27/api/resource/v1alpha2/resource_claim_template_spec.k index 9ac79c8b..e90c7509 100644 --- a/k8s/1.27/api/resource/v1alpha2/resource_claim_template_spec.k +++ b/k8s/1.27/api/resource/v1alpha2/resource_claim_template_spec.k @@ -3,7 +3,7 @@ This is the resource_claim_template_spec module in k8s.api.resource.v1alpha2 pac This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceClaimTemplateSpec: @@ -12,14 +12,14 @@ schema ResourceClaimTemplateSpec: Attributes ---------- - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional ObjectMeta may contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. spec : ResourceClaimSpec, default is Undefined, required Spec for the ResourceClaim. The entire content is copied unchanged into the ResourceClaim that gets created from this template. The same fields as in a ResourceClaim are also valid here. """ - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: ResourceClaimSpec diff --git a/k8s/1.27/api/resource/v1alpha2/resource_class.k b/k8s/1.27/api/resource/v1alpha2/resource_class.k index f037ba6e..5ffcf8dd 100644 --- a/k8s/1.27/api/resource/v1alpha2/resource_class.k +++ b/k8s/1.27/api/resource/v1alpha2/resource_class.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceClass: @@ -23,7 +23,7 @@ schema ResourceClass: Resource drivers have a unique name in forward domain order (acme.example.com). kind : str, default is "ResourceClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata parametersRef : ResourceClassParametersReference, default is Undefined, optional ParametersRef references an arbitrary separate object that may hold parameters that will be used by the driver when allocating a resource that uses this class. A dynamic resource driver can distinguish between parameters stored here and and those stored in ResourceClaimSpec. @@ -40,7 +40,7 @@ schema ResourceClass: kind: "ResourceClass" = "ResourceClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta parametersRef?: ResourceClassParametersReference diff --git a/k8s/1.27/api/resource/v1alpha2/resource_class_list.k b/k8s/1.27/api/resource/v1alpha2/resource_class_list.k index 1dd6c5b8..3662ddbb 100644 --- a/k8s/1.27/api/resource/v1alpha2/resource_class_list.k +++ b/k8s/1.27/api/resource/v1alpha2/resource_class_list.k @@ -3,7 +3,7 @@ This is the resource_class_list module in k8s.api.resource.v1alpha2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceClassList: @@ -18,7 +18,7 @@ schema ResourceClassList: Items is the list of resource classes. kind : str, default is "ResourceClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata """ @@ -29,6 +29,6 @@ schema ResourceClassList: kind: "ResourceClassList" = "ResourceClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.27/api/scheduling/v1/priority_class.k b/k8s/1.27/api/scheduling/v1/priority_class.k index 5011343b..ffafaaa1 100644 --- a/k8s/1.27/api/scheduling/v1/priority_class.k +++ b/k8s/1.27/api/scheduling/v1/priority_class.k @@ -3,7 +3,7 @@ This is the priority_class module in k8s.api.scheduling.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityClass: @@ -20,7 +20,7 @@ schema PriorityClass: globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority. kind : str, default is "PriorityClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata preemptionPolicy : str, default is Undefined, optional preemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. @@ -37,7 +37,7 @@ schema PriorityClass: kind: "PriorityClass" = "PriorityClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta preemptionPolicy?: str diff --git a/k8s/1.27/api/scheduling/v1/priority_class_list.k b/k8s/1.27/api/scheduling/v1/priority_class_list.k index ff802048..6d514f6b 100644 --- a/k8s/1.27/api/scheduling/v1/priority_class_list.k +++ b/k8s/1.27/api/scheduling/v1/priority_class_list.k @@ -3,7 +3,7 @@ This is the priority_class_list module in k8s.api.scheduling.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityClassList: @@ -18,7 +18,7 @@ schema PriorityClassList: items is the list of PriorityClasses kind : str, default is "PriorityClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PriorityClassList: kind: "PriorityClassList" = "PriorityClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.27/api/storage/v1/csi_driver.k b/k8s/1.27/api/storage/v1/csi_driver.k index 36dd1c31..e9679296 100644 --- a/k8s/1.27/api/storage/v1/csi_driver.k +++ b/k8s/1.27/api/storage/v1/csi_driver.k @@ -3,7 +3,7 @@ This is the csi_driver module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSIDriver: @@ -16,7 +16,7 @@ schema CSIDriver: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CSIDriver", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. metadata.Name indicates the name of the CSI driver that this object refers to; it MUST be the same name returned by the CSI GetPluginName() call for that driver. The driver name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and alphanumerics between. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : CSIDriverSpec, default is Undefined, required spec represents the specification of the CSI Driver. @@ -27,7 +27,7 @@ schema CSIDriver: kind: "CSIDriver" = "CSIDriver" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CSIDriverSpec diff --git a/k8s/1.27/api/storage/v1/csi_driver_list.k b/k8s/1.27/api/storage/v1/csi_driver_list.k index 91531b39..8b09e0f6 100644 --- a/k8s/1.27/api/storage/v1/csi_driver_list.k +++ b/k8s/1.27/api/storage/v1/csi_driver_list.k @@ -3,7 +3,7 @@ This is the csi_driver_list module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSIDriverList: @@ -18,7 +18,7 @@ schema CSIDriverList: items is the list of CSIDriver kind : str, default is "CSIDriverList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CSIDriverList: kind: "CSIDriverList" = "CSIDriverList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.27/api/storage/v1/csi_node.k b/k8s/1.27/api/storage/v1/csi_node.k index 097308e8..4f129f1b 100644 --- a/k8s/1.27/api/storage/v1/csi_node.k +++ b/k8s/1.27/api/storage/v1/csi_node.k @@ -3,7 +3,7 @@ This is the csi_node module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSINode: @@ -16,7 +16,7 @@ schema CSINode: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CSINode", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. metadata.name must be the Kubernetes node name. spec : CSINodeSpec, default is Undefined, required spec is the specification of CSINode @@ -27,7 +27,7 @@ schema CSINode: kind: "CSINode" = "CSINode" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CSINodeSpec diff --git a/k8s/1.27/api/storage/v1/csi_node_list.k b/k8s/1.27/api/storage/v1/csi_node_list.k index ce5793c1..3a93da71 100644 --- a/k8s/1.27/api/storage/v1/csi_node_list.k +++ b/k8s/1.27/api/storage/v1/csi_node_list.k @@ -3,7 +3,7 @@ This is the csi_node_list module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSINodeList: @@ -18,7 +18,7 @@ schema CSINodeList: items is the list of CSINode kind : str, default is "CSINodeList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CSINodeList: kind: "CSINodeList" = "CSINodeList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.27/api/storage/v1/csi_storage_capacity.k b/k8s/1.27/api/storage/v1/csi_storage_capacity.k index 1a098e03..7193e8a7 100644 --- a/k8s/1.27/api/storage/v1/csi_storage_capacity.k +++ b/k8s/1.27/api/storage/v1/csi_storage_capacity.k @@ -3,7 +3,7 @@ This is the csi_storage_capacity module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSIStorageCapacity: @@ -32,13 +32,13 @@ schema CSIStorageCapacity: maximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields. This is defined since CSI spec 1.4.0 as the largest size that may be used in a CreateVolumeRequest.capacity_range.required_bytes field to create a volume with the same parameters as those in GetCapacityRequest. The corresponding value in the Kubernetes API is ResourceRequirements.Requests in a volume claim. - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. The name has no particular meaning. It must be a DNS subdomain (dots allowed, 253 characters). To ensure that there are no conflicts with other CSI drivers on the cluster, the recommendation is to use csisc-, a generated name, or a reverse-domain name which ends with the unique CSI driver name. Objects are namespaced. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - nodeTopology : v1.LabelSelector, default is Undefined, optional + nodeTopology : metav1.LabelSelector, default is Undefined, optional nodeTopology defines which nodes have access to the storage for which capacity was reported. If not set, the storage is not accessible from any node in the cluster. If empty, the storage is accessible from all nodes. This field is immutable. storageClassName : str, default is Undefined, required storageClassName represents the name of the StorageClass that the reported capacity applies to. It must meet the same requirements as the name of a StorageClass object (non-empty, DNS subdomain). If that object no longer exists, the CSIStorageCapacity object is obsolete and should be removed by its creator. This field is immutable. @@ -53,9 +53,9 @@ schema CSIStorageCapacity: maximumVolumeSize?: str - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta - nodeTopology?: v1.LabelSelector + nodeTopology?: metav1.LabelSelector storageClassName: str diff --git a/k8s/1.27/api/storage/v1/csi_storage_capacity_list.k b/k8s/1.27/api/storage/v1/csi_storage_capacity_list.k index 0b95b427..31f7b913 100644 --- a/k8s/1.27/api/storage/v1/csi_storage_capacity_list.k +++ b/k8s/1.27/api/storage/v1/csi_storage_capacity_list.k @@ -3,7 +3,7 @@ This is the csi_storage_capacity_list module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSIStorageCapacityList: @@ -18,7 +18,7 @@ schema CSIStorageCapacityList: items is the list of CSIStorageCapacity objects. kind : str, default is "CSIStorageCapacityList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CSIStorageCapacityList: kind: "CSIStorageCapacityList" = "CSIStorageCapacityList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.27/api/storage/v1/storage_class_list.k b/k8s/1.27/api/storage/v1/storage_class_list.k index 9644734a..840d2d6c 100644 --- a/k8s/1.27/api/storage/v1/storage_class_list.k +++ b/k8s/1.27/api/storage/v1/storage_class_list.k @@ -3,7 +3,7 @@ This is the storage_class_list module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StorageClassList: @@ -18,7 +18,7 @@ schema StorageClassList: items is the list of StorageClasses kind : str, default is "StorageClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema StorageClassList: kind: "StorageClassList" = "StorageClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.27/api/storage/v1/volume_attachment.k b/k8s/1.27/api/storage/v1/volume_attachment.k index 8014f40e..9c5844f3 100644 --- a/k8s/1.27/api/storage/v1/volume_attachment.k +++ b/k8s/1.27/api/storage/v1/volume_attachment.k @@ -3,7 +3,7 @@ This is the volume_attachment module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema VolumeAttachment: @@ -18,7 +18,7 @@ schema VolumeAttachment: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "VolumeAttachment", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : VolumeAttachmentSpec, default is Undefined, required spec represents specification of the desired attach/detach volume behavior. Populated by the Kubernetes system. @@ -29,7 +29,7 @@ schema VolumeAttachment: kind: "VolumeAttachment" = "VolumeAttachment" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: VolumeAttachmentSpec diff --git a/k8s/1.27/api/storage/v1/volume_attachment_list.k b/k8s/1.27/api/storage/v1/volume_attachment_list.k index d8a605d6..f7d2f75c 100644 --- a/k8s/1.27/api/storage/v1/volume_attachment_list.k +++ b/k8s/1.27/api/storage/v1/volume_attachment_list.k @@ -3,7 +3,7 @@ This is the volume_attachment_list module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema VolumeAttachmentList: @@ -18,7 +18,7 @@ schema VolumeAttachmentList: items is the list of VolumeAttachments kind : str, default is "VolumeAttachmentList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema VolumeAttachmentList: kind: "VolumeAttachmentList" = "VolumeAttachmentList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.27/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition.k b/k8s/1.27/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition.k index f348f6d1..5010467b 100644 --- a/k8s/1.27/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition.k +++ b/k8s/1.27/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition.k @@ -3,7 +3,7 @@ This is the custom_resource_definition module in k8s.apiextensions_apiserver.pkg This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CustomResourceDefinition: @@ -16,7 +16,7 @@ schema CustomResourceDefinition: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CustomResourceDefinition", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : CustomResourceDefinitionSpec, default is Undefined, required spec describes how the user wants the resources to appear @@ -27,7 +27,7 @@ schema CustomResourceDefinition: kind: "CustomResourceDefinition" = "CustomResourceDefinition" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CustomResourceDefinitionSpec diff --git a/k8s/1.27/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition_list.k b/k8s/1.27/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition_list.k index ca3c928b..8b625323 100644 --- a/k8s/1.27/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition_list.k +++ b/k8s/1.27/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition_list.k @@ -3,7 +3,7 @@ This is the custom_resource_definition_list module in k8s.apiextensions_apiserve This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CustomResourceDefinitionList: @@ -18,7 +18,7 @@ schema CustomResourceDefinitionList: items list individual CustomResourceDefinition objects kind : str, default is "CustomResourceDefinitionList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CustomResourceDefinitionList: kind: "CustomResourceDefinitionList" = "CustomResourceDefinitionList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.27/kcl.mod b/k8s/1.27/kcl.mod index e74ff3d6..5503163f 100644 --- a/k8s/1.27/kcl.mod +++ b/k8s/1.27/kcl.mod @@ -1,5 +1,5 @@ [package] name = "k8s" edition = "*" -version = "1.27.1" +version = "1.27.2" description = "`k8s` is a KCL module contains all the built-in Kubernetes resource models (the CRDs are not included here)." diff --git a/k8s/1.27/kube_aggregator/pkg/apis/apiregistration/v1/api_service.k b/k8s/1.27/kube_aggregator/pkg/apis/apiregistration/v1/api_service.k index 89028f12..7b645741 100644 --- a/k8s/1.27/kube_aggregator/pkg/apis/apiregistration/v1/api_service.k +++ b/k8s/1.27/kube_aggregator/pkg/apis/apiregistration/v1/api_service.k @@ -3,7 +3,7 @@ This is the api_service module in k8s.kube_aggregator.pkg.apis.apiregistration.v This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema APIService: @@ -16,7 +16,7 @@ schema APIService: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "APIService", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : APIServiceSpec, default is Undefined, optional Spec contains information for locating and communicating with a server @@ -27,7 +27,7 @@ schema APIService: kind: "APIService" = "APIService" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: APIServiceSpec diff --git a/k8s/1.27/kube_aggregator/pkg/apis/apiregistration/v1/api_service_list.k b/k8s/1.27/kube_aggregator/pkg/apis/apiregistration/v1/api_service_list.k index acf02534..3a385202 100644 --- a/k8s/1.27/kube_aggregator/pkg/apis/apiregistration/v1/api_service_list.k +++ b/k8s/1.27/kube_aggregator/pkg/apis/apiregistration/v1/api_service_list.k @@ -3,7 +3,7 @@ This is the api_service_list module in k8s.kube_aggregator.pkg.apis.apiregistrat This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema APIServiceList: @@ -18,7 +18,7 @@ schema APIServiceList: Items is the list of APIService kind : str, default is "APIServiceList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema APIServiceList: kind: "APIServiceList" = "APIServiceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.28/api/admissionregistration/v1/mutating_webhook.k b/k8s/1.28/api/admissionregistration/v1/mutating_webhook.k index c1f6adf5..c16eb3f0 100644 --- a/k8s/1.28/api/admissionregistration/v1/mutating_webhook.k +++ b/k8s/1.28/api/admissionregistration/v1/mutating_webhook.k @@ -3,7 +3,7 @@ This is the mutating_webhook module in k8s.api.admissionregistration.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MutatingWebhook: @@ -39,7 +39,7 @@ schema MutatingWebhook: Defaults to "Equivalent" name : str, default is Undefined, required The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook. For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1"; you will set the selector as follows: "namespaceSelector": { @@ -71,7 +71,7 @@ schema MutatingWebhook: See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors. Default to the empty LabelSelector, which matches everything. - objectSelector : v1.LabelSelector, default is Undefined, optional + objectSelector : metav1.LabelSelector, default is Undefined, optional ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything. reinvocationPolicy : str, default is Undefined, optional reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded". @@ -102,9 +102,9 @@ schema MutatingWebhook: name: str - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector - objectSelector?: v1.LabelSelector + objectSelector?: metav1.LabelSelector reinvocationPolicy?: str diff --git a/k8s/1.28/api/admissionregistration/v1/mutating_webhook_configuration.k b/k8s/1.28/api/admissionregistration/v1/mutating_webhook_configuration.k index a9864b32..0c970740 100644 --- a/k8s/1.28/api/admissionregistration/v1/mutating_webhook_configuration.k +++ b/k8s/1.28/api/admissionregistration/v1/mutating_webhook_configuration.k @@ -3,7 +3,7 @@ This is the mutating_webhook_configuration module in k8s.api.admissionregistrati This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MutatingWebhookConfiguration: @@ -16,7 +16,7 @@ schema MutatingWebhookConfiguration: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "MutatingWebhookConfiguration", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. webhooks : [MutatingWebhook], default is Undefined, optional Webhooks is a list of webhooks and the affected resources and operations. @@ -27,7 +27,7 @@ schema MutatingWebhookConfiguration: kind: "MutatingWebhookConfiguration" = "MutatingWebhookConfiguration" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta webhooks?: [MutatingWebhook] diff --git a/k8s/1.28/api/admissionregistration/v1/mutating_webhook_configuration_list.k b/k8s/1.28/api/admissionregistration/v1/mutating_webhook_configuration_list.k index d4e15e81..b6fd6022 100644 --- a/k8s/1.28/api/admissionregistration/v1/mutating_webhook_configuration_list.k +++ b/k8s/1.28/api/admissionregistration/v1/mutating_webhook_configuration_list.k @@ -3,7 +3,7 @@ This is the mutating_webhook_configuration_list module in k8s.api.admissionregis This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MutatingWebhookConfigurationList: @@ -18,7 +18,7 @@ schema MutatingWebhookConfigurationList: List of MutatingWebhookConfiguration. kind : str, default is "MutatingWebhookConfigurationList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema MutatingWebhookConfigurationList: kind: "MutatingWebhookConfigurationList" = "MutatingWebhookConfigurationList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.28/api/admissionregistration/v1/validating_webhook.k b/k8s/1.28/api/admissionregistration/v1/validating_webhook.k index 8cc5e569..c0b3f9d3 100644 --- a/k8s/1.28/api/admissionregistration/v1/validating_webhook.k +++ b/k8s/1.28/api/admissionregistration/v1/validating_webhook.k @@ -3,7 +3,7 @@ This is the validating_webhook module in k8s.api.admissionregistration.v1 packag This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingWebhook: @@ -39,7 +39,7 @@ schema ValidatingWebhook: Defaults to "Equivalent" name : str, default is Undefined, required The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook. For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1"; you will set the selector as follows: "namespaceSelector": { @@ -71,7 +71,7 @@ schema ValidatingWebhook: See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels for more examples of label selectors. Default to the empty LabelSelector, which matches everything. - objectSelector : v1.LabelSelector, default is Undefined, optional + objectSelector : metav1.LabelSelector, default is Undefined, optional ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything. rules : [RuleWithOperations], default is Undefined, optional Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects. @@ -94,9 +94,9 @@ schema ValidatingWebhook: name: str - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector - objectSelector?: v1.LabelSelector + objectSelector?: metav1.LabelSelector rules?: [RuleWithOperations] diff --git a/k8s/1.28/api/admissionregistration/v1/validating_webhook_configuration.k b/k8s/1.28/api/admissionregistration/v1/validating_webhook_configuration.k index 2b45293a..e35bb335 100644 --- a/k8s/1.28/api/admissionregistration/v1/validating_webhook_configuration.k +++ b/k8s/1.28/api/admissionregistration/v1/validating_webhook_configuration.k @@ -3,7 +3,7 @@ This is the validating_webhook_configuration module in k8s.api.admissionregistra This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingWebhookConfiguration: @@ -16,7 +16,7 @@ schema ValidatingWebhookConfiguration: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ValidatingWebhookConfiguration", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. webhooks : [ValidatingWebhook], default is Undefined, optional Webhooks is a list of webhooks and the affected resources and operations. @@ -27,7 +27,7 @@ schema ValidatingWebhookConfiguration: kind: "ValidatingWebhookConfiguration" = "ValidatingWebhookConfiguration" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta webhooks?: [ValidatingWebhook] diff --git a/k8s/1.28/api/admissionregistration/v1/validating_webhook_configuration_list.k b/k8s/1.28/api/admissionregistration/v1/validating_webhook_configuration_list.k index 0515b188..2691da1c 100644 --- a/k8s/1.28/api/admissionregistration/v1/validating_webhook_configuration_list.k +++ b/k8s/1.28/api/admissionregistration/v1/validating_webhook_configuration_list.k @@ -3,7 +3,7 @@ This is the validating_webhook_configuration_list module in k8s.api.admissionreg This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingWebhookConfigurationList: @@ -18,7 +18,7 @@ schema ValidatingWebhookConfigurationList: List of ValidatingWebhookConfiguration. kind : str, default is "ValidatingWebhookConfigurationList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ValidatingWebhookConfigurationList: kind: "ValidatingWebhookConfigurationList" = "ValidatingWebhookConfigurationList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.28/api/admissionregistration/v1alpha1/match_resources.k b/k8s/1.28/api/admissionregistration/v1alpha1/match_resources.k index d86be0e0..47769c40 100644 --- a/k8s/1.28/api/admissionregistration/v1alpha1/match_resources.k +++ b/k8s/1.28/api/admissionregistration/v1alpha1/match_resources.k @@ -3,7 +3,7 @@ This is the match_resources module in k8s.api.admissionregistration.v1alpha1 pac This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MatchResources: @@ -22,7 +22,7 @@ schema MatchResources: - Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the ValidatingAdmissionPolicy. Defaults to "Equivalent" - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional NamespaceSelector decides whether to run the admission control policy on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the policy. For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1"; you will set the selector as follows: "namespaceSelector": { @@ -54,7 +54,7 @@ schema MatchResources: See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors. Default to the empty LabelSelector, which matches everything. - objectSelector : v1.LabelSelector, default is Undefined, optional + objectSelector : metav1.LabelSelector, default is Undefined, optional ObjectSelector decides whether to run the validation based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the cel validation, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything. resourceRules : [NamedRuleWithOperations], default is Undefined, optional ResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy matches. The policy cares about an operation if it matches _any_ Rule. @@ -65,9 +65,9 @@ schema MatchResources: matchPolicy?: str - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector - objectSelector?: v1.LabelSelector + objectSelector?: metav1.LabelSelector resourceRules?: [NamedRuleWithOperations] diff --git a/k8s/1.28/api/admissionregistration/v1alpha1/validating_admission_policy.k b/k8s/1.28/api/admissionregistration/v1alpha1/validating_admission_policy.k index e7c00f7b..9c6fa4d4 100644 --- a/k8s/1.28/api/admissionregistration/v1alpha1/validating_admission_policy.k +++ b/k8s/1.28/api/admissionregistration/v1alpha1/validating_admission_policy.k @@ -3,7 +3,7 @@ This is the validating_admission_policy module in k8s.api.admissionregistration. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingAdmissionPolicy: @@ -16,7 +16,7 @@ schema ValidatingAdmissionPolicy: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ValidatingAdmissionPolicy", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. spec : ValidatingAdmissionPolicySpec, default is Undefined, optional Specification of the desired behavior of the ValidatingAdmissionPolicy. @@ -27,7 +27,7 @@ schema ValidatingAdmissionPolicy: kind: "ValidatingAdmissionPolicy" = "ValidatingAdmissionPolicy" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ValidatingAdmissionPolicySpec diff --git a/k8s/1.28/api/admissionregistration/v1alpha1/validating_admission_policy_binding.k b/k8s/1.28/api/admissionregistration/v1alpha1/validating_admission_policy_binding.k index 96043689..387aad2f 100644 --- a/k8s/1.28/api/admissionregistration/v1alpha1/validating_admission_policy_binding.k +++ b/k8s/1.28/api/admissionregistration/v1alpha1/validating_admission_policy_binding.k @@ -3,7 +3,7 @@ This is the validating_admission_policy_binding module in k8s.api.admissionregis This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingAdmissionPolicyBinding: @@ -16,7 +16,7 @@ schema ValidatingAdmissionPolicyBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ValidatingAdmissionPolicyBinding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. spec : ValidatingAdmissionPolicyBindingSpec, default is Undefined, optional Specification of the desired behavior of the ValidatingAdmissionPolicyBinding. @@ -27,7 +27,7 @@ schema ValidatingAdmissionPolicyBinding: kind: "ValidatingAdmissionPolicyBinding" = "ValidatingAdmissionPolicyBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ValidatingAdmissionPolicyBindingSpec diff --git a/k8s/1.28/api/admissionregistration/v1alpha1/validating_admission_policy_binding_list.k b/k8s/1.28/api/admissionregistration/v1alpha1/validating_admission_policy_binding_list.k index 0e7e8fc5..46d10fbf 100644 --- a/k8s/1.28/api/admissionregistration/v1alpha1/validating_admission_policy_binding_list.k +++ b/k8s/1.28/api/admissionregistration/v1alpha1/validating_admission_policy_binding_list.k @@ -3,7 +3,7 @@ This is the validating_admission_policy_binding_list module in k8s.api.admission This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingAdmissionPolicyBindingList: @@ -18,7 +18,7 @@ schema ValidatingAdmissionPolicyBindingList: List of PolicyBinding. kind : str, default is "ValidatingAdmissionPolicyBindingList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ValidatingAdmissionPolicyBindingList: kind: "ValidatingAdmissionPolicyBindingList" = "ValidatingAdmissionPolicyBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.28/api/admissionregistration/v1alpha1/validating_admission_policy_list.k b/k8s/1.28/api/admissionregistration/v1alpha1/validating_admission_policy_list.k index cd0c51df..d3aa1e7e 100644 --- a/k8s/1.28/api/admissionregistration/v1alpha1/validating_admission_policy_list.k +++ b/k8s/1.28/api/admissionregistration/v1alpha1/validating_admission_policy_list.k @@ -3,7 +3,7 @@ This is the validating_admission_policy_list module in k8s.api.admissionregistra This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingAdmissionPolicyList: @@ -18,7 +18,7 @@ schema ValidatingAdmissionPolicyList: List of ValidatingAdmissionPolicy. kind : str, default is "ValidatingAdmissionPolicyList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ValidatingAdmissionPolicyList: kind: "ValidatingAdmissionPolicyList" = "ValidatingAdmissionPolicyList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.28/api/admissionregistration/v1alpha1/validating_admission_policy_status.k b/k8s/1.28/api/admissionregistration/v1alpha1/validating_admission_policy_status.k index 854bdc8c..f7743287 100644 --- a/k8s/1.28/api/admissionregistration/v1alpha1/validating_admission_policy_status.k +++ b/k8s/1.28/api/admissionregistration/v1alpha1/validating_admission_policy_status.k @@ -3,7 +3,7 @@ This is the validating_admission_policy_status module in k8s.api.admissionregist This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingAdmissionPolicyStatus: @@ -12,7 +12,7 @@ schema ValidatingAdmissionPolicyStatus: Attributes ---------- - conditions : [v1.Condition], default is Undefined, optional + conditions : [metav1.Condition], default is Undefined, optional The conditions represent the latest available observations of a policy's current state. observedGeneration : int, default is Undefined, optional The generation observed by the controller. @@ -21,7 +21,7 @@ schema ValidatingAdmissionPolicyStatus: """ - conditions?: [v1.Condition] + conditions?: [metav1.Condition] observedGeneration?: int diff --git a/k8s/1.28/api/apiserverinternal/v1alpha1/storage_version.k b/k8s/1.28/api/apiserverinternal/v1alpha1/storage_version.k index 4e3de9df..9723ca14 100644 --- a/k8s/1.28/api/apiserverinternal/v1alpha1/storage_version.k +++ b/k8s/1.28/api/apiserverinternal/v1alpha1/storage_version.k @@ -3,7 +3,7 @@ This is the storage_version module in k8s.api.apiserverinternal.v1alpha1 package This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StorageVersion: @@ -16,7 +16,7 @@ schema StorageVersion: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "StorageVersion", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional The name is .. spec : any, default is Undefined, required Spec is an empty spec. It is here to comply with Kubernetes API style. @@ -27,7 +27,7 @@ schema StorageVersion: kind: "StorageVersion" = "StorageVersion" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: any diff --git a/k8s/1.28/api/apiserverinternal/v1alpha1/storage_version_list.k b/k8s/1.28/api/apiserverinternal/v1alpha1/storage_version_list.k index 1da65e55..a75d5c84 100644 --- a/k8s/1.28/api/apiserverinternal/v1alpha1/storage_version_list.k +++ b/k8s/1.28/api/apiserverinternal/v1alpha1/storage_version_list.k @@ -3,7 +3,7 @@ This is the storage_version_list module in k8s.api.apiserverinternal.v1alpha1 pa This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StorageVersionList: @@ -18,7 +18,7 @@ schema StorageVersionList: Items holds a list of StorageVersion kind : str, default is "StorageVersionList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema StorageVersionList: kind: "StorageVersionList" = "StorageVersionList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.28/api/apps/v1/controller_revision.k b/k8s/1.28/api/apps/v1/controller_revision.k index dbb3d441..56163182 100644 --- a/k8s/1.28/api/apps/v1/controller_revision.k +++ b/k8s/1.28/api/apps/v1/controller_revision.k @@ -3,7 +3,7 @@ This is the controller_revision module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ControllerRevision: @@ -18,7 +18,7 @@ schema ControllerRevision: Data is the serialized representation of the state. kind : str, default is "ControllerRevision", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata revision : int, default is Undefined, required Revision indicates the revision of the state represented by Data. @@ -31,7 +31,7 @@ schema ControllerRevision: kind: "ControllerRevision" = "ControllerRevision" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta revision: int diff --git a/k8s/1.28/api/apps/v1/controller_revision_list.k b/k8s/1.28/api/apps/v1/controller_revision_list.k index e145fcff..bb64d1fe 100644 --- a/k8s/1.28/api/apps/v1/controller_revision_list.k +++ b/k8s/1.28/api/apps/v1/controller_revision_list.k @@ -3,7 +3,7 @@ This is the controller_revision_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ControllerRevisionList: @@ -18,7 +18,7 @@ schema ControllerRevisionList: Items is the list of ControllerRevisions kind : str, default is "ControllerRevisionList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema ControllerRevisionList: kind: "ControllerRevisionList" = "ControllerRevisionList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.28/api/apps/v1/daemon_set.k b/k8s/1.28/api/apps/v1/daemon_set.k index 33e7b68b..fd1c7c20 100644 --- a/k8s/1.28/api/apps/v1/daemon_set.k +++ b/k8s/1.28/api/apps/v1/daemon_set.k @@ -3,7 +3,7 @@ This is the daemon_set module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DaemonSet: @@ -16,7 +16,7 @@ schema DaemonSet: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "DaemonSet", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : DaemonSetSpec, default is Undefined, optional The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema DaemonSet: kind: "DaemonSet" = "DaemonSet" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: DaemonSetSpec diff --git a/k8s/1.28/api/apps/v1/daemon_set_list.k b/k8s/1.28/api/apps/v1/daemon_set_list.k index 3515d999..795c26f8 100644 --- a/k8s/1.28/api/apps/v1/daemon_set_list.k +++ b/k8s/1.28/api/apps/v1/daemon_set_list.k @@ -3,7 +3,7 @@ This is the daemon_set_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DaemonSetList: @@ -18,7 +18,7 @@ schema DaemonSetList: A list of daemon sets. kind : str, default is "DaemonSetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema DaemonSetList: kind: "DaemonSetList" = "DaemonSetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.28/api/apps/v1/daemon_set_spec.k b/k8s/1.28/api/apps/v1/daemon_set_spec.k index c34c5eba..e99149e3 100644 --- a/k8s/1.28/api/apps/v1/daemon_set_spec.k +++ b/k8s/1.28/api/apps/v1/daemon_set_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DaemonSetSpec: @@ -17,7 +17,7 @@ schema DaemonSetSpec: The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready). revisionHistoryLimit : int, default is Undefined, optional The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required A label query over pods that are managed by the daemon set. Must match in order to be controlled. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors template : corev1.PodTemplateSpec, default is Undefined, required An object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). The only allowed template.spec.restartPolicy value is "Always". More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template @@ -30,7 +30,7 @@ schema DaemonSetSpec: revisionHistoryLimit?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector template: corev1.PodTemplateSpec diff --git a/k8s/1.28/api/apps/v1/deployment.k b/k8s/1.28/api/apps/v1/deployment.k index 38b5af9e..12cf0b73 100644 --- a/k8s/1.28/api/apps/v1/deployment.k +++ b/k8s/1.28/api/apps/v1/deployment.k @@ -3,7 +3,7 @@ This is the deployment module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Deployment: @@ -16,7 +16,7 @@ schema Deployment: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Deployment", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : DeploymentSpec, default is Undefined, optional Specification of the desired behavior of the Deployment. @@ -27,7 +27,7 @@ schema Deployment: kind: "Deployment" = "Deployment" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: DeploymentSpec diff --git a/k8s/1.28/api/apps/v1/deployment_list.k b/k8s/1.28/api/apps/v1/deployment_list.k index a83ce0d5..8fa44e9b 100644 --- a/k8s/1.28/api/apps/v1/deployment_list.k +++ b/k8s/1.28/api/apps/v1/deployment_list.k @@ -3,7 +3,7 @@ This is the deployment_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DeploymentList: @@ -18,7 +18,7 @@ schema DeploymentList: Items is the list of Deployments. kind : str, default is "DeploymentList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema DeploymentList: kind: "DeploymentList" = "DeploymentList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.28/api/apps/v1/deployment_spec.k b/k8s/1.28/api/apps/v1/deployment_spec.k index 7a6835d9..5ecbcccc 100644 --- a/k8s/1.28/api/apps/v1/deployment_spec.k +++ b/k8s/1.28/api/apps/v1/deployment_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DeploymentSpec: @@ -23,7 +23,7 @@ schema DeploymentSpec: Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1. revisionHistoryLimit : int, default is Undefined, optional The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. It must match the pod template's labels. strategy : DeploymentStrategy, default is Undefined, optional The deployment strategy to use to replace existing pods with new ones. @@ -42,7 +42,7 @@ schema DeploymentSpec: revisionHistoryLimit?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector strategy?: DeploymentStrategy diff --git a/k8s/1.28/api/apps/v1/replica_set.k b/k8s/1.28/api/apps/v1/replica_set.k index 0497ff66..79552175 100644 --- a/k8s/1.28/api/apps/v1/replica_set.k +++ b/k8s/1.28/api/apps/v1/replica_set.k @@ -3,7 +3,7 @@ This is the replica_set module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicaSet: @@ -16,7 +16,7 @@ schema ReplicaSet: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ReplicaSet", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : ReplicaSetSpec, default is Undefined, optional Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema ReplicaSet: kind: "ReplicaSet" = "ReplicaSet" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ReplicaSetSpec diff --git a/k8s/1.28/api/apps/v1/replica_set_list.k b/k8s/1.28/api/apps/v1/replica_set_list.k index 0e25bef7..689ca9bb 100644 --- a/k8s/1.28/api/apps/v1/replica_set_list.k +++ b/k8s/1.28/api/apps/v1/replica_set_list.k @@ -3,7 +3,7 @@ This is the replica_set_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicaSetList: @@ -18,7 +18,7 @@ schema ReplicaSetList: List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller kind : str, default is "ReplicaSetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ReplicaSetList: kind: "ReplicaSetList" = "ReplicaSetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.28/api/apps/v1/replica_set_spec.k b/k8s/1.28/api/apps/v1/replica_set_spec.k index 700810d3..53ae3f6f 100644 --- a/k8s/1.28/api/apps/v1/replica_set_spec.k +++ b/k8s/1.28/api/apps/v1/replica_set_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicaSetSpec: @@ -17,7 +17,7 @@ schema ReplicaSetSpec: Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) replicas : int, default is Undefined, optional Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required Selector is a label query over pods that should match the replica count. Label keys and values that must match in order to be controlled by this replica set. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors template : corev1.PodTemplateSpec, default is Undefined, optional Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template @@ -28,7 +28,7 @@ schema ReplicaSetSpec: replicas?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector template?: corev1.PodTemplateSpec diff --git a/k8s/1.28/api/apps/v1/stateful_set.k b/k8s/1.28/api/apps/v1/stateful_set.k index c3b7106d..18d52ced 100644 --- a/k8s/1.28/api/apps/v1/stateful_set.k +++ b/k8s/1.28/api/apps/v1/stateful_set.k @@ -3,7 +3,7 @@ This is the stateful_set module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StatefulSet: @@ -20,7 +20,7 @@ schema StatefulSet: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "StatefulSet", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : StatefulSetSpec, default is Undefined, optional Spec defines the desired identities of pods in this set. @@ -31,7 +31,7 @@ schema StatefulSet: kind: "StatefulSet" = "StatefulSet" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: StatefulSetSpec diff --git a/k8s/1.28/api/apps/v1/stateful_set_list.k b/k8s/1.28/api/apps/v1/stateful_set_list.k index 2eec95d8..441abc55 100644 --- a/k8s/1.28/api/apps/v1/stateful_set_list.k +++ b/k8s/1.28/api/apps/v1/stateful_set_list.k @@ -3,7 +3,7 @@ This is the stateful_set_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StatefulSetList: @@ -18,7 +18,7 @@ schema StatefulSetList: Items is the list of stateful sets. kind : str, default is "StatefulSetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema StatefulSetList: kind: "StatefulSetList" = "StatefulSetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.28/api/apps/v1/stateful_set_spec.k b/k8s/1.28/api/apps/v1/stateful_set_spec.k index fb5f2938..9824ff2e 100644 --- a/k8s/1.28/api/apps/v1/stateful_set_spec.k +++ b/k8s/1.28/api/apps/v1/stateful_set_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StatefulSetSpec: @@ -25,7 +25,7 @@ schema StatefulSetSpec: replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1. revisionHistoryLimit : int, default is Undefined, optional revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10. - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required selector is a label query over pods that should match the replica count. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors serviceName : str, default is Undefined, required serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where "pod-specific-string" is managed by the StatefulSet controller. @@ -50,7 +50,7 @@ schema StatefulSetSpec: revisionHistoryLimit?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector serviceName: str diff --git a/k8s/1.28/api/authentication/v1/token_request.k b/k8s/1.28/api/authentication/v1/token_request.k index 429ebd8e..477cf85e 100644 --- a/k8s/1.28/api/authentication/v1/token_request.k +++ b/k8s/1.28/api/authentication/v1/token_request.k @@ -3,7 +3,7 @@ This is the token_request module in k8s.api.authentication.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema TokenRequest: @@ -16,7 +16,7 @@ schema TokenRequest: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "TokenRequest", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : TokenRequestSpec, default is Undefined, required Spec holds information about the request being evaluated @@ -27,7 +27,7 @@ schema TokenRequest: kind: "TokenRequest" = "TokenRequest" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: TokenRequestSpec diff --git a/k8s/1.28/api/authentication/v1/token_review.k b/k8s/1.28/api/authentication/v1/token_review.k index 62c61db1..349936f3 100644 --- a/k8s/1.28/api/authentication/v1/token_review.k +++ b/k8s/1.28/api/authentication/v1/token_review.k @@ -3,7 +3,7 @@ This is the token_review module in k8s.api.authentication.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema TokenReview: @@ -16,7 +16,7 @@ schema TokenReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "TokenReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : TokenReviewSpec, default is Undefined, required Spec holds information about the request being evaluated @@ -27,7 +27,7 @@ schema TokenReview: kind: "TokenReview" = "TokenReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: TokenReviewSpec diff --git a/k8s/1.28/api/authentication/v1alpha1/self_subject_review.k b/k8s/1.28/api/authentication/v1alpha1/self_subject_review.k index b0c5c3de..0e636dce 100644 --- a/k8s/1.28/api/authentication/v1alpha1/self_subject_review.k +++ b/k8s/1.28/api/authentication/v1alpha1/self_subject_review.k @@ -3,7 +3,7 @@ This is the self_subject_review module in k8s.api.authentication.v1alpha1 packag This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SelfSubjectReview: @@ -16,7 +16,7 @@ schema SelfSubjectReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SelfSubjectReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -25,6 +25,6 @@ schema SelfSubjectReview: kind: "SelfSubjectReview" = "SelfSubjectReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta diff --git a/k8s/1.28/api/authentication/v1beta1/self_subject_review.k b/k8s/1.28/api/authentication/v1beta1/self_subject_review.k index 7a80c911..8a74a1d9 100644 --- a/k8s/1.28/api/authentication/v1beta1/self_subject_review.k +++ b/k8s/1.28/api/authentication/v1beta1/self_subject_review.k @@ -3,7 +3,7 @@ This is the self_subject_review module in k8s.api.authentication.v1beta1 package This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SelfSubjectReview: @@ -16,7 +16,7 @@ schema SelfSubjectReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SelfSubjectReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -25,6 +25,6 @@ schema SelfSubjectReview: kind: "SelfSubjectReview" = "SelfSubjectReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta diff --git a/k8s/1.28/api/authorization/v1/local_subject_access_review.k b/k8s/1.28/api/authorization/v1/local_subject_access_review.k index 79b08fbe..4cf5723a 100644 --- a/k8s/1.28/api/authorization/v1/local_subject_access_review.k +++ b/k8s/1.28/api/authorization/v1/local_subject_access_review.k @@ -3,7 +3,7 @@ This is the local_subject_access_review module in k8s.api.authorization.v1 packa This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LocalSubjectAccessReview: @@ -16,7 +16,7 @@ schema LocalSubjectAccessReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "LocalSubjectAccessReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : SubjectAccessReviewSpec, default is Undefined, required Spec holds information about the request being evaluated. spec.namespace must be equal to the namespace you made the request against. If empty, it is defaulted. @@ -27,7 +27,7 @@ schema LocalSubjectAccessReview: kind: "LocalSubjectAccessReview" = "LocalSubjectAccessReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SubjectAccessReviewSpec diff --git a/k8s/1.28/api/authorization/v1/self_subject_access_review.k b/k8s/1.28/api/authorization/v1/self_subject_access_review.k index 4fd1e21e..d32833e7 100644 --- a/k8s/1.28/api/authorization/v1/self_subject_access_review.k +++ b/k8s/1.28/api/authorization/v1/self_subject_access_review.k @@ -3,7 +3,7 @@ This is the self_subject_access_review module in k8s.api.authorization.v1 packag This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SelfSubjectAccessReview: @@ -16,7 +16,7 @@ schema SelfSubjectAccessReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SelfSubjectAccessReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : SelfSubjectAccessReviewSpec, default is Undefined, required Spec holds information about the request being evaluated. user and groups must be empty @@ -27,7 +27,7 @@ schema SelfSubjectAccessReview: kind: "SelfSubjectAccessReview" = "SelfSubjectAccessReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SelfSubjectAccessReviewSpec diff --git a/k8s/1.28/api/authorization/v1/self_subject_rules_review.k b/k8s/1.28/api/authorization/v1/self_subject_rules_review.k index a29ee599..baaf47ac 100644 --- a/k8s/1.28/api/authorization/v1/self_subject_rules_review.k +++ b/k8s/1.28/api/authorization/v1/self_subject_rules_review.k @@ -3,7 +3,7 @@ This is the self_subject_rules_review module in k8s.api.authorization.v1 package This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SelfSubjectRulesReview: @@ -16,7 +16,7 @@ schema SelfSubjectRulesReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SelfSubjectRulesReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : SelfSubjectRulesReviewSpec, default is Undefined, required Spec holds information about the request being evaluated. @@ -27,7 +27,7 @@ schema SelfSubjectRulesReview: kind: "SelfSubjectRulesReview" = "SelfSubjectRulesReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SelfSubjectRulesReviewSpec diff --git a/k8s/1.28/api/authorization/v1/subject_access_review.k b/k8s/1.28/api/authorization/v1/subject_access_review.k index 9d15bdb3..d054d8f5 100644 --- a/k8s/1.28/api/authorization/v1/subject_access_review.k +++ b/k8s/1.28/api/authorization/v1/subject_access_review.k @@ -3,7 +3,7 @@ This is the subject_access_review module in k8s.api.authorization.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SubjectAccessReview: @@ -16,7 +16,7 @@ schema SubjectAccessReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SubjectAccessReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : SubjectAccessReviewSpec, default is Undefined, required Spec holds information about the request being evaluated @@ -27,7 +27,7 @@ schema SubjectAccessReview: kind: "SubjectAccessReview" = "SubjectAccessReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SubjectAccessReviewSpec diff --git a/k8s/1.28/api/autoscaling/v1/horizontal_pod_autoscaler.k b/k8s/1.28/api/autoscaling/v1/horizontal_pod_autoscaler.k index 236f8ffb..e12daf3f 100644 --- a/k8s/1.28/api/autoscaling/v1/horizontal_pod_autoscaler.k +++ b/k8s/1.28/api/autoscaling/v1/horizontal_pod_autoscaler.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler module in k8s.api.autoscaling.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscaler: @@ -16,7 +16,7 @@ schema HorizontalPodAutoscaler: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "HorizontalPodAutoscaler", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : HorizontalPodAutoscalerSpec, default is Undefined, optional spec defines the behaviour of autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema HorizontalPodAutoscaler: kind: "HorizontalPodAutoscaler" = "HorizontalPodAutoscaler" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: HorizontalPodAutoscalerSpec diff --git a/k8s/1.28/api/autoscaling/v1/horizontal_pod_autoscaler_list.k b/k8s/1.28/api/autoscaling/v1/horizontal_pod_autoscaler_list.k index cf1dc3c9..72c014a3 100644 --- a/k8s/1.28/api/autoscaling/v1/horizontal_pod_autoscaler_list.k +++ b/k8s/1.28/api/autoscaling/v1/horizontal_pod_autoscaler_list.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler_list module in k8s.api.autoscaling.v1 pack This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscalerList: @@ -18,7 +18,7 @@ schema HorizontalPodAutoscalerList: items is the list of horizontal pod autoscaler objects. kind : str, default is "HorizontalPodAutoscalerList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema HorizontalPodAutoscalerList: kind: "HorizontalPodAutoscalerList" = "HorizontalPodAutoscalerList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.28/api/autoscaling/v1/scale.k b/k8s/1.28/api/autoscaling/v1/scale.k index 2b87df91..61d84b02 100644 --- a/k8s/1.28/api/autoscaling/v1/scale.k +++ b/k8s/1.28/api/autoscaling/v1/scale.k @@ -3,7 +3,7 @@ This is the scale module in k8s.api.autoscaling.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Scale: @@ -16,7 +16,7 @@ schema Scale: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Scale", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. spec : ScaleSpec, default is Undefined, optional spec defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema Scale: kind: "Scale" = "Scale" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ScaleSpec diff --git a/k8s/1.28/api/autoscaling/v2/horizontal_pod_autoscaler.k b/k8s/1.28/api/autoscaling/v2/horizontal_pod_autoscaler.k index 45093baf..80ed131b 100644 --- a/k8s/1.28/api/autoscaling/v2/horizontal_pod_autoscaler.k +++ b/k8s/1.28/api/autoscaling/v2/horizontal_pod_autoscaler.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler module in k8s.api.autoscaling.v2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscaler: @@ -16,7 +16,7 @@ schema HorizontalPodAutoscaler: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "HorizontalPodAutoscaler", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : HorizontalPodAutoscalerSpec, default is Undefined, optional spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema HorizontalPodAutoscaler: kind: "HorizontalPodAutoscaler" = "HorizontalPodAutoscaler" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: HorizontalPodAutoscalerSpec diff --git a/k8s/1.28/api/autoscaling/v2/horizontal_pod_autoscaler_list.k b/k8s/1.28/api/autoscaling/v2/horizontal_pod_autoscaler_list.k index 07b059fb..87bfa8bf 100644 --- a/k8s/1.28/api/autoscaling/v2/horizontal_pod_autoscaler_list.k +++ b/k8s/1.28/api/autoscaling/v2/horizontal_pod_autoscaler_list.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler_list module in k8s.api.autoscaling.v2 pack This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscalerList: @@ -18,7 +18,7 @@ schema HorizontalPodAutoscalerList: items is the list of horizontal pod autoscaler objects. kind : str, default is "HorizontalPodAutoscalerList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata is the standard list metadata. """ @@ -29,6 +29,6 @@ schema HorizontalPodAutoscalerList: kind: "HorizontalPodAutoscalerList" = "HorizontalPodAutoscalerList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.28/api/autoscaling/v2/metric_identifier.k b/k8s/1.28/api/autoscaling/v2/metric_identifier.k index d1538fb1..df0007a9 100644 --- a/k8s/1.28/api/autoscaling/v2/metric_identifier.k +++ b/k8s/1.28/api/autoscaling/v2/metric_identifier.k @@ -3,7 +3,7 @@ This is the metric_identifier module in k8s.api.autoscaling.v2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MetricIdentifier: @@ -14,13 +14,13 @@ schema MetricIdentifier: ---------- name : str, default is Undefined, required name is the name of the given metric - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics. """ name: str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector diff --git a/k8s/1.28/api/batch/v1/cron_job.k b/k8s/1.28/api/batch/v1/cron_job.k index 380498ff..c716e33b 100644 --- a/k8s/1.28/api/batch/v1/cron_job.k +++ b/k8s/1.28/api/batch/v1/cron_job.k @@ -3,7 +3,7 @@ This is the cron_job module in k8s.api.batch.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CronJob: @@ -16,7 +16,7 @@ schema CronJob: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CronJob", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : CronJobSpec, default is Undefined, optional Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema CronJob: kind: "CronJob" = "CronJob" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: CronJobSpec diff --git a/k8s/1.28/api/batch/v1/cron_job_list.k b/k8s/1.28/api/batch/v1/cron_job_list.k index 69e1971a..8200a4bd 100644 --- a/k8s/1.28/api/batch/v1/cron_job_list.k +++ b/k8s/1.28/api/batch/v1/cron_job_list.k @@ -3,7 +3,7 @@ This is the cron_job_list module in k8s.api.batch.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CronJobList: @@ -18,7 +18,7 @@ schema CronJobList: items is the list of CronJobs. kind : str, default is "CronJobList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CronJobList: kind: "CronJobList" = "CronJobList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.28/api/batch/v1/job.k b/k8s/1.28/api/batch/v1/job.k index 44fbc917..3e545aac 100644 --- a/k8s/1.28/api/batch/v1/job.k +++ b/k8s/1.28/api/batch/v1/job.k @@ -3,7 +3,7 @@ This is the job module in k8s.api.batch.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Job: @@ -16,7 +16,7 @@ schema Job: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Job", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : JobSpec, default is Undefined, optional Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Job: kind: "Job" = "Job" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: JobSpec diff --git a/k8s/1.28/api/batch/v1/job_list.k b/k8s/1.28/api/batch/v1/job_list.k index 88588804..e2f8aee6 100644 --- a/k8s/1.28/api/batch/v1/job_list.k +++ b/k8s/1.28/api/batch/v1/job_list.k @@ -3,7 +3,7 @@ This is the job_list module in k8s.api.batch.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema JobList: @@ -18,7 +18,7 @@ schema JobList: items is the list of Jobs. kind : str, default is "JobList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema JobList: kind: "JobList" = "JobList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.28/api/batch/v1/job_spec.k b/k8s/1.28/api/batch/v1/job_spec.k index 197def5b..89062f4c 100644 --- a/k8s/1.28/api/batch/v1/job_spec.k +++ b/k8s/1.28/api/batch/v1/job_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema JobSpec: @@ -35,7 +35,7 @@ schema JobSpec: Specifies the policy of handling failed pods. In particular, it allows to specify the set of actions and conditions which need to be satisfied to take the associated action. If empty, the default behaviour applies - the counter of failed pods, represented by the jobs's .status.failed field, is incremented and it is checked against the backoffLimit. This field cannot be used in combination with restartPolicy=OnFailure. This field is beta-level. It can be used when the `JobPodFailurePolicy` feature gate is enabled (enabled by default). - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional A label query over pods that should match the pod count. Normally, the system sets this field for you. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors suspend : bool, default is Undefined, optional suspend specifies whether the Job controller should create Pods or not. If a Job is created with suspend set to true, no Pods are created by the Job controller. If a Job is suspended after creation (i.e. the flag goes from false to true), the Job controller will delete all active Pods associated with this Job. Users must design their workload to gracefully handle this. Suspending a Job will reset the StartTime field of the Job, effectively resetting the ActiveDeadlineSeconds timer too. Defaults to false. @@ -60,7 +60,7 @@ schema JobSpec: podFailurePolicy?: PodFailurePolicy - selector?: v1.LabelSelector + selector?: metav1.LabelSelector suspend?: bool diff --git a/k8s/1.28/api/batch/v1/job_template_spec.k b/k8s/1.28/api/batch/v1/job_template_spec.k index 840a8d23..c1797200 100644 --- a/k8s/1.28/api/batch/v1/job_template_spec.k +++ b/k8s/1.28/api/batch/v1/job_template_spec.k @@ -3,7 +3,7 @@ This is the job_template_spec module in k8s.api.batch.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema JobTemplateSpec: @@ -12,14 +12,14 @@ schema JobTemplateSpec: Attributes ---------- - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : JobSpec, default is Undefined, optional Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status """ - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: JobSpec diff --git a/k8s/1.28/api/certificates/v1/certificate_signing_request.k b/k8s/1.28/api/certificates/v1/certificate_signing_request.k index 70bfc6e0..6697afe5 100644 --- a/k8s/1.28/api/certificates/v1/certificate_signing_request.k +++ b/k8s/1.28/api/certificates/v1/certificate_signing_request.k @@ -3,7 +3,7 @@ This is the certificate_signing_request module in k8s.api.certificates.v1 packag This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CertificateSigningRequest: @@ -22,7 +22,7 @@ schema CertificateSigningRequest: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CertificateSigningRequest", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : CertificateSigningRequestSpec, default is Undefined, required spec contains the certificate request, and is immutable after creation. Only the request, signerName, expirationSeconds, and usages fields can be set on creation. Other fields are derived by Kubernetes and cannot be modified by users. @@ -33,7 +33,7 @@ schema CertificateSigningRequest: kind: "CertificateSigningRequest" = "CertificateSigningRequest" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CertificateSigningRequestSpec diff --git a/k8s/1.28/api/certificates/v1/certificate_signing_request_list.k b/k8s/1.28/api/certificates/v1/certificate_signing_request_list.k index bef8b509..dcf72eab 100644 --- a/k8s/1.28/api/certificates/v1/certificate_signing_request_list.k +++ b/k8s/1.28/api/certificates/v1/certificate_signing_request_list.k @@ -3,7 +3,7 @@ This is the certificate_signing_request_list module in k8s.api.certificates.v1 p This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CertificateSigningRequestList: @@ -18,7 +18,7 @@ schema CertificateSigningRequestList: items is a collection of CertificateSigningRequest objects kind : str, default is "CertificateSigningRequestList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema CertificateSigningRequestList: kind: "CertificateSigningRequestList" = "CertificateSigningRequestList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.28/api/certificates/v1alpha1/cluster_trust_bundle.k b/k8s/1.28/api/certificates/v1alpha1/cluster_trust_bundle.k index 842f9c54..7b9af1a8 100644 --- a/k8s/1.28/api/certificates/v1alpha1/cluster_trust_bundle.k +++ b/k8s/1.28/api/certificates/v1alpha1/cluster_trust_bundle.k @@ -3,7 +3,7 @@ This is the cluster_trust_bundle module in k8s.api.certificates.v1alpha1 package This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterTrustBundle: @@ -20,7 +20,7 @@ schema ClusterTrustBundle: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ClusterTrustBundle", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata contains the object metadata. spec : ClusterTrustBundleSpec, default is Undefined, required spec contains the signer (if any) and trust anchors. @@ -31,7 +31,7 @@ schema ClusterTrustBundle: kind: "ClusterTrustBundle" = "ClusterTrustBundle" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: ClusterTrustBundleSpec diff --git a/k8s/1.28/api/certificates/v1alpha1/cluster_trust_bundle_list.k b/k8s/1.28/api/certificates/v1alpha1/cluster_trust_bundle_list.k index 221fdba2..3066ba16 100644 --- a/k8s/1.28/api/certificates/v1alpha1/cluster_trust_bundle_list.k +++ b/k8s/1.28/api/certificates/v1alpha1/cluster_trust_bundle_list.k @@ -3,7 +3,7 @@ This is the cluster_trust_bundle_list module in k8s.api.certificates.v1alpha1 pa This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterTrustBundleList: @@ -18,7 +18,7 @@ schema ClusterTrustBundleList: items is a collection of ClusterTrustBundle objects kind : str, default is "ClusterTrustBundleList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata contains the list metadata. """ @@ -29,6 +29,6 @@ schema ClusterTrustBundleList: kind: "ClusterTrustBundleList" = "ClusterTrustBundleList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.28/api/coordination/v1/lease.k b/k8s/1.28/api/coordination/v1/lease.k index 2500499f..dc088ed1 100644 --- a/k8s/1.28/api/coordination/v1/lease.k +++ b/k8s/1.28/api/coordination/v1/lease.k @@ -3,7 +3,7 @@ This is the lease module in k8s.api.coordination.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Lease: @@ -16,7 +16,7 @@ schema Lease: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Lease", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : LeaseSpec, default is Undefined, optional spec contains the specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Lease: kind: "Lease" = "Lease" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: LeaseSpec diff --git a/k8s/1.28/api/coordination/v1/lease_list.k b/k8s/1.28/api/coordination/v1/lease_list.k index 428f678b..d2005abf 100644 --- a/k8s/1.28/api/coordination/v1/lease_list.k +++ b/k8s/1.28/api/coordination/v1/lease_list.k @@ -3,7 +3,7 @@ This is the lease_list module in k8s.api.coordination.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LeaseList: @@ -18,7 +18,7 @@ schema LeaseList: items is a list of schema objects. kind : str, default is "LeaseList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema LeaseList: kind: "LeaseList" = "LeaseList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.28/api/core/v1/binding.k b/k8s/1.28/api/core/v1/binding.k index e6e478fe..077459fa 100644 --- a/k8s/1.28/api/core/v1/binding.k +++ b/k8s/1.28/api/core/v1/binding.k @@ -3,7 +3,7 @@ This is the binding module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Binding: @@ -16,7 +16,7 @@ schema Binding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Binding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata target : ObjectReference, default is Undefined, required The target object that you want to bind to the standard object. @@ -27,7 +27,7 @@ schema Binding: kind: "Binding" = "Binding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta target: ObjectReference diff --git a/k8s/1.28/api/core/v1/component_status.k b/k8s/1.28/api/core/v1/component_status.k index 19549c61..0d6862b5 100644 --- a/k8s/1.28/api/core/v1/component_status.k +++ b/k8s/1.28/api/core/v1/component_status.k @@ -3,7 +3,7 @@ This is the component_status module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ComponentStatus: @@ -18,7 +18,7 @@ schema ComponentStatus: List of component conditions observed kind : str, default is "ComponentStatus", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema ComponentStatus: kind: "ComponentStatus" = "ComponentStatus" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta diff --git a/k8s/1.28/api/core/v1/component_status_list.k b/k8s/1.28/api/core/v1/component_status_list.k index 0c8fa890..f76a9a62 100644 --- a/k8s/1.28/api/core/v1/component_status_list.k +++ b/k8s/1.28/api/core/v1/component_status_list.k @@ -3,7 +3,7 @@ This is the component_status_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ComponentStatusList: @@ -18,7 +18,7 @@ schema ComponentStatusList: List of ComponentStatus objects. kind : str, default is "ComponentStatusList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ComponentStatusList: kind: "ComponentStatusList" = "ComponentStatusList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.28/api/core/v1/config_map.k b/k8s/1.28/api/core/v1/config_map.k index ac683b69..ee2a9e47 100644 --- a/k8s/1.28/api/core/v1/config_map.k +++ b/k8s/1.28/api/core/v1/config_map.k @@ -3,7 +3,7 @@ This is the config_map module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ConfigMap: @@ -22,7 +22,7 @@ schema ConfigMap: Immutable, if set to true, ensures that data stored in the ConfigMap cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil. kind : str, default is "ConfigMap", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -37,6 +37,6 @@ schema ConfigMap: kind: "ConfigMap" = "ConfigMap" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta diff --git a/k8s/1.28/api/core/v1/config_map_list.k b/k8s/1.28/api/core/v1/config_map_list.k index 5712f514..35df0e4b 100644 --- a/k8s/1.28/api/core/v1/config_map_list.k +++ b/k8s/1.28/api/core/v1/config_map_list.k @@ -3,7 +3,7 @@ This is the config_map_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ConfigMapList: @@ -18,7 +18,7 @@ schema ConfigMapList: Items is the list of ConfigMaps. kind : str, default is "ConfigMapList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema ConfigMapList: kind: "ConfigMapList" = "ConfigMapList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.28/api/core/v1/endpoints.k b/k8s/1.28/api/core/v1/endpoints.k index c1644290..6b8b80ff 100644 --- a/k8s/1.28/api/core/v1/endpoints.k +++ b/k8s/1.28/api/core/v1/endpoints.k @@ -3,7 +3,7 @@ This is the endpoints module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Endpoints: @@ -28,7 +28,7 @@ schema Endpoints: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Endpoints", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata subsets : [EndpointSubset], default is Undefined, optional The set of all endpoints is the union of all subsets. Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service. @@ -39,7 +39,7 @@ schema Endpoints: kind: "Endpoints" = "Endpoints" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta subsets?: [EndpointSubset] diff --git a/k8s/1.28/api/core/v1/endpoints_list.k b/k8s/1.28/api/core/v1/endpoints_list.k index 7ccf6442..f019c842 100644 --- a/k8s/1.28/api/core/v1/endpoints_list.k +++ b/k8s/1.28/api/core/v1/endpoints_list.k @@ -3,7 +3,7 @@ This is the endpoints_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EndpointsList: @@ -18,7 +18,7 @@ schema EndpointsList: List of endpoints. kind : str, default is "EndpointsList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema EndpointsList: kind: "EndpointsList" = "EndpointsList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.28/api/core/v1/event.k b/k8s/1.28/api/core/v1/event.k index 0cc2ba81..f1564c4b 100644 --- a/k8s/1.28/api/core/v1/event.k +++ b/k8s/1.28/api/core/v1/event.k @@ -3,7 +3,7 @@ This is the event module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Event: @@ -30,7 +30,7 @@ schema Event: The time at which the most recent occurrence of this event was recorded. message : str, default is Undefined, optional A human-readable description of the status of this operation. - metadata : v1.ObjectMeta, default is Undefined, required + metadata : metav1.ObjectMeta, default is Undefined, required Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata reason : str, default is Undefined, optional This should be a short, machine understandable string that gives the reason for the transition into the object's current status. @@ -67,7 +67,7 @@ schema Event: message?: str - metadata: v1.ObjectMeta + metadata: metav1.ObjectMeta reason?: str diff --git a/k8s/1.28/api/core/v1/event_list.k b/k8s/1.28/api/core/v1/event_list.k index e543b7cf..d4ed6ffa 100644 --- a/k8s/1.28/api/core/v1/event_list.k +++ b/k8s/1.28/api/core/v1/event_list.k @@ -3,7 +3,7 @@ This is the event_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EventList: @@ -18,7 +18,7 @@ schema EventList: List of events kind : str, default is "EventList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema EventList: kind: "EventList" = "EventList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.28/api/core/v1/limit_range.k b/k8s/1.28/api/core/v1/limit_range.k index 5de64019..3c476447 100644 --- a/k8s/1.28/api/core/v1/limit_range.k +++ b/k8s/1.28/api/core/v1/limit_range.k @@ -3,7 +3,7 @@ This is the limit_range module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LimitRange: @@ -16,7 +16,7 @@ schema LimitRange: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "LimitRange", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : LimitRangeSpec, default is Undefined, optional Spec defines the limits enforced. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema LimitRange: kind: "LimitRange" = "LimitRange" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: LimitRangeSpec diff --git a/k8s/1.28/api/core/v1/limit_range_list.k b/k8s/1.28/api/core/v1/limit_range_list.k index 61da1fba..fc6b5692 100644 --- a/k8s/1.28/api/core/v1/limit_range_list.k +++ b/k8s/1.28/api/core/v1/limit_range_list.k @@ -3,7 +3,7 @@ This is the limit_range_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LimitRangeList: @@ -18,7 +18,7 @@ schema LimitRangeList: Items is a list of LimitRange objects. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ kind : str, default is "LimitRangeList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema LimitRangeList: kind: "LimitRangeList" = "LimitRangeList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.28/api/core/v1/namespace.k b/k8s/1.28/api/core/v1/namespace.k index 52b6b94f..66125388 100644 --- a/k8s/1.28/api/core/v1/namespace.k +++ b/k8s/1.28/api/core/v1/namespace.k @@ -3,7 +3,7 @@ This is the namespace module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Namespace: @@ -16,7 +16,7 @@ schema Namespace: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Namespace", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : NamespaceSpec, default is Undefined, optional Spec defines the behavior of the Namespace. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Namespace: kind: "Namespace" = "Namespace" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: NamespaceSpec diff --git a/k8s/1.28/api/core/v1/namespace_list.k b/k8s/1.28/api/core/v1/namespace_list.k index 0a362eac..1783b0bc 100644 --- a/k8s/1.28/api/core/v1/namespace_list.k +++ b/k8s/1.28/api/core/v1/namespace_list.k @@ -3,7 +3,7 @@ This is the namespace_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NamespaceList: @@ -18,7 +18,7 @@ schema NamespaceList: Items is the list of Namespace objects in the list. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ kind : str, default is "NamespaceList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema NamespaceList: kind: "NamespaceList" = "NamespaceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.28/api/core/v1/node.k b/k8s/1.28/api/core/v1/node.k index 99f9cab9..dcfea158 100644 --- a/k8s/1.28/api/core/v1/node.k +++ b/k8s/1.28/api/core/v1/node.k @@ -3,7 +3,7 @@ This is the node module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Node: @@ -16,7 +16,7 @@ schema Node: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Node", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : NodeSpec, default is Undefined, optional Spec defines the behavior of a node. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Node: kind: "Node" = "Node" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: NodeSpec diff --git a/k8s/1.28/api/core/v1/node_list.k b/k8s/1.28/api/core/v1/node_list.k index 40992f99..26fe9968 100644 --- a/k8s/1.28/api/core/v1/node_list.k +++ b/k8s/1.28/api/core/v1/node_list.k @@ -3,7 +3,7 @@ This is the node_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NodeList: @@ -18,7 +18,7 @@ schema NodeList: List of nodes kind : str, default is "NodeList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema NodeList: kind: "NodeList" = "NodeList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.28/api/core/v1/persistent_volume.k b/k8s/1.28/api/core/v1/persistent_volume.k index ed41f554..1f3d5968 100644 --- a/k8s/1.28/api/core/v1/persistent_volume.k +++ b/k8s/1.28/api/core/v1/persistent_volume.k @@ -3,7 +3,7 @@ This is the persistent_volume module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolume: @@ -16,7 +16,7 @@ schema PersistentVolume: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PersistentVolume", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PersistentVolumeSpec, default is Undefined, optional spec defines a specification of a persistent volume owned by the cluster. Provisioned by an administrator. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes @@ -27,7 +27,7 @@ schema PersistentVolume: kind: "PersistentVolume" = "PersistentVolume" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PersistentVolumeSpec diff --git a/k8s/1.28/api/core/v1/persistent_volume_claim.k b/k8s/1.28/api/core/v1/persistent_volume_claim.k index 1b478b67..65da03d4 100644 --- a/k8s/1.28/api/core/v1/persistent_volume_claim.k +++ b/k8s/1.28/api/core/v1/persistent_volume_claim.k @@ -3,7 +3,7 @@ This is the persistent_volume_claim module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeClaim: @@ -16,7 +16,7 @@ schema PersistentVolumeClaim: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PersistentVolumeClaim", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PersistentVolumeClaimSpec, default is Undefined, optional spec defines the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims @@ -27,7 +27,7 @@ schema PersistentVolumeClaim: kind: "PersistentVolumeClaim" = "PersistentVolumeClaim" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PersistentVolumeClaimSpec diff --git a/k8s/1.28/api/core/v1/persistent_volume_claim_list.k b/k8s/1.28/api/core/v1/persistent_volume_claim_list.k index e09bc2ef..23447a12 100644 --- a/k8s/1.28/api/core/v1/persistent_volume_claim_list.k +++ b/k8s/1.28/api/core/v1/persistent_volume_claim_list.k @@ -3,7 +3,7 @@ This is the persistent_volume_claim_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeClaimList: @@ -18,7 +18,7 @@ schema PersistentVolumeClaimList: items is a list of persistent volume claims. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims kind : str, default is "PersistentVolumeClaimList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema PersistentVolumeClaimList: kind: "PersistentVolumeClaimList" = "PersistentVolumeClaimList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.28/api/core/v1/persistent_volume_claim_spec.k b/k8s/1.28/api/core/v1/persistent_volume_claim_spec.k index fda9a7cb..422e4be4 100644 --- a/k8s/1.28/api/core/v1/persistent_volume_claim_spec.k +++ b/k8s/1.28/api/core/v1/persistent_volume_claim_spec.k @@ -3,7 +3,7 @@ This is the persistent_volume_claim_spec module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeClaimSpec: @@ -27,7 +27,7 @@ schema PersistentVolumeClaimSpec: (Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled. (Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled. resources : ResourceRequirements, default is Undefined, optional resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector is a label query over volumes to consider for binding. storageClassName : str, default is Undefined, optional storageClassName is the name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1 @@ -46,7 +46,7 @@ schema PersistentVolumeClaimSpec: resources?: ResourceRequirements - selector?: v1.LabelSelector + selector?: metav1.LabelSelector storageClassName?: str diff --git a/k8s/1.28/api/core/v1/persistent_volume_claim_template.k b/k8s/1.28/api/core/v1/persistent_volume_claim_template.k index e6758b96..a8a010df 100644 --- a/k8s/1.28/api/core/v1/persistent_volume_claim_template.k +++ b/k8s/1.28/api/core/v1/persistent_volume_claim_template.k @@ -3,7 +3,7 @@ This is the persistent_volume_claim_template module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeClaimTemplate: @@ -12,14 +12,14 @@ schema PersistentVolumeClaimTemplate: Attributes ---------- - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. spec : PersistentVolumeClaimSpec, default is Undefined, required The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here. """ - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: PersistentVolumeClaimSpec diff --git a/k8s/1.28/api/core/v1/persistent_volume_list.k b/k8s/1.28/api/core/v1/persistent_volume_list.k index b1498d78..1d426ef6 100644 --- a/k8s/1.28/api/core/v1/persistent_volume_list.k +++ b/k8s/1.28/api/core/v1/persistent_volume_list.k @@ -3,7 +3,7 @@ This is the persistent_volume_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeList: @@ -18,7 +18,7 @@ schema PersistentVolumeList: items is a list of persistent volumes. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes kind : str, default is "PersistentVolumeList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema PersistentVolumeList: kind: "PersistentVolumeList" = "PersistentVolumeList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.28/api/core/v1/pod.k b/k8s/1.28/api/core/v1/pod.k index 659a9e99..66568628 100644 --- a/k8s/1.28/api/core/v1/pod.k +++ b/k8s/1.28/api/core/v1/pod.k @@ -3,7 +3,7 @@ This is the pod module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Pod: @@ -16,7 +16,7 @@ schema Pod: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Pod", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PodSpec, default is Undefined, optional Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Pod: kind: "Pod" = "Pod" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PodSpec diff --git a/k8s/1.28/api/core/v1/pod_affinity_term.k b/k8s/1.28/api/core/v1/pod_affinity_term.k index fa331b29..a0bd3408 100644 --- a/k8s/1.28/api/core/v1/pod_affinity_term.k +++ b/k8s/1.28/api/core/v1/pod_affinity_term.k @@ -3,7 +3,7 @@ This is the pod_affinity_term module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodAffinityTerm: @@ -12,9 +12,9 @@ schema PodAffinityTerm: Attributes ---------- - labelSelector : v1.LabelSelector, default is Undefined, optional + labelSelector : metav1.LabelSelector, default is Undefined, optional A label query over a set of resources, in this case pods. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. namespaces : [str], default is Undefined, optional namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means "this pod's namespace". @@ -23,9 +23,9 @@ schema PodAffinityTerm: """ - labelSelector?: v1.LabelSelector + labelSelector?: metav1.LabelSelector - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector namespaces?: [str] diff --git a/k8s/1.28/api/core/v1/pod_list.k b/k8s/1.28/api/core/v1/pod_list.k index 10ad5eb9..4c031d05 100644 --- a/k8s/1.28/api/core/v1/pod_list.k +++ b/k8s/1.28/api/core/v1/pod_list.k @@ -3,7 +3,7 @@ This is the pod_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodList: @@ -18,7 +18,7 @@ schema PodList: List of pods. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md kind : str, default is "PodList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema PodList: kind: "PodList" = "PodList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.28/api/core/v1/pod_template.k b/k8s/1.28/api/core/v1/pod_template.k index 98e64f70..6ffbfa64 100644 --- a/k8s/1.28/api/core/v1/pod_template.k +++ b/k8s/1.28/api/core/v1/pod_template.k @@ -3,7 +3,7 @@ This is the pod_template module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodTemplate: @@ -16,7 +16,7 @@ schema PodTemplate: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PodTemplate", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata template : PodTemplateSpec, default is Undefined, optional Template defines the pods that will be created from this pod template. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema PodTemplate: kind: "PodTemplate" = "PodTemplate" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta template?: PodTemplateSpec diff --git a/k8s/1.28/api/core/v1/pod_template_list.k b/k8s/1.28/api/core/v1/pod_template_list.k index 8bb1827f..94024175 100644 --- a/k8s/1.28/api/core/v1/pod_template_list.k +++ b/k8s/1.28/api/core/v1/pod_template_list.k @@ -3,7 +3,7 @@ This is the pod_template_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodTemplateList: @@ -18,7 +18,7 @@ schema PodTemplateList: List of pod templates kind : str, default is "PodTemplateList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema PodTemplateList: kind: "PodTemplateList" = "PodTemplateList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.28/api/core/v1/pod_template_spec.k b/k8s/1.28/api/core/v1/pod_template_spec.k index 1274c88b..6011ef81 100644 --- a/k8s/1.28/api/core/v1/pod_template_spec.k +++ b/k8s/1.28/api/core/v1/pod_template_spec.k @@ -3,7 +3,7 @@ This is the pod_template_spec module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodTemplateSpec: @@ -12,14 +12,14 @@ schema PodTemplateSpec: Attributes ---------- - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PodSpec, default is Undefined, optional Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status """ - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PodSpec diff --git a/k8s/1.28/api/core/v1/replication_controller.k b/k8s/1.28/api/core/v1/replication_controller.k index 08b091e8..37724706 100644 --- a/k8s/1.28/api/core/v1/replication_controller.k +++ b/k8s/1.28/api/core/v1/replication_controller.k @@ -3,7 +3,7 @@ This is the replication_controller module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicationController: @@ -16,7 +16,7 @@ schema ReplicationController: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ReplicationController", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional If the Labels of a ReplicationController are empty, they are defaulted to be the same as the Pod(s) that the replication controller manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : ReplicationControllerSpec, default is Undefined, optional Spec defines the specification of the desired behavior of the replication controller. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema ReplicationController: kind: "ReplicationController" = "ReplicationController" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ReplicationControllerSpec diff --git a/k8s/1.28/api/core/v1/replication_controller_list.k b/k8s/1.28/api/core/v1/replication_controller_list.k index 64afa179..63f9d4b2 100644 --- a/k8s/1.28/api/core/v1/replication_controller_list.k +++ b/k8s/1.28/api/core/v1/replication_controller_list.k @@ -3,7 +3,7 @@ This is the replication_controller_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicationControllerList: @@ -18,7 +18,7 @@ schema ReplicationControllerList: List of replication controllers. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller kind : str, default is "ReplicationControllerList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ReplicationControllerList: kind: "ReplicationControllerList" = "ReplicationControllerList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.28/api/core/v1/resource_quota.k b/k8s/1.28/api/core/v1/resource_quota.k index b7da49d1..0ec7c409 100644 --- a/k8s/1.28/api/core/v1/resource_quota.k +++ b/k8s/1.28/api/core/v1/resource_quota.k @@ -3,7 +3,7 @@ This is the resource_quota module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceQuota: @@ -16,7 +16,7 @@ schema ResourceQuota: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ResourceQuota", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : ResourceQuotaSpec, default is Undefined, optional Spec defines the desired quota. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema ResourceQuota: kind: "ResourceQuota" = "ResourceQuota" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ResourceQuotaSpec diff --git a/k8s/1.28/api/core/v1/resource_quota_list.k b/k8s/1.28/api/core/v1/resource_quota_list.k index ca1424b8..f8dbc87d 100644 --- a/k8s/1.28/api/core/v1/resource_quota_list.k +++ b/k8s/1.28/api/core/v1/resource_quota_list.k @@ -3,7 +3,7 @@ This is the resource_quota_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceQuotaList: @@ -18,7 +18,7 @@ schema ResourceQuotaList: Items is a list of ResourceQuota objects. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/ kind : str, default is "ResourceQuotaList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ResourceQuotaList: kind: "ResourceQuotaList" = "ResourceQuotaList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.28/api/core/v1/secret.k b/k8s/1.28/api/core/v1/secret.k index 315e5f78..79324811 100644 --- a/k8s/1.28/api/core/v1/secret.k +++ b/k8s/1.28/api/core/v1/secret.k @@ -3,7 +3,7 @@ This is the secret module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Secret: @@ -20,7 +20,7 @@ schema Secret: Immutable, if set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil. kind : str, default is "Secret", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata stringData : {str:str}, default is Undefined, optional stringData allows specifying non-binary secret data in string form. It is provided as a write-only input field for convenience. All keys and values are merged into the data field on write, overwriting any existing values. The stringData field is never output when reading from the API. @@ -37,7 +37,7 @@ schema Secret: kind: "Secret" = "Secret" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta stringData?: {str:str} diff --git a/k8s/1.28/api/core/v1/secret_list.k b/k8s/1.28/api/core/v1/secret_list.k index 335c47b4..9e80806b 100644 --- a/k8s/1.28/api/core/v1/secret_list.k +++ b/k8s/1.28/api/core/v1/secret_list.k @@ -3,7 +3,7 @@ This is the secret_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SecretList: @@ -18,7 +18,7 @@ schema SecretList: Items is a list of secret objects. More info: https://kubernetes.io/docs/concepts/configuration/secret kind : str, default is "SecretList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema SecretList: kind: "SecretList" = "SecretList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.28/api/core/v1/service.k b/k8s/1.28/api/core/v1/service.k index 1f259a80..3b86c8ef 100644 --- a/k8s/1.28/api/core/v1/service.k +++ b/k8s/1.28/api/core/v1/service.k @@ -3,7 +3,7 @@ This is the service module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Service: @@ -16,7 +16,7 @@ schema Service: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Service", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : ServiceSpec, default is Undefined, optional Spec defines the behavior of a service. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Service: kind: "Service" = "Service" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ServiceSpec diff --git a/k8s/1.28/api/core/v1/service_account.k b/k8s/1.28/api/core/v1/service_account.k index 3ffd21b4..2570f531 100644 --- a/k8s/1.28/api/core/v1/service_account.k +++ b/k8s/1.28/api/core/v1/service_account.k @@ -3,7 +3,7 @@ This is the service_account module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ServiceAccount: @@ -20,7 +20,7 @@ schema ServiceAccount: ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod kind : str, default is "ServiceAccount", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata secrets : [ObjectReference], default is Undefined, optional Secrets is a list of the secrets in the same namespace that pods running using this ServiceAccount are allowed to use. Pods are only limited to this list if this service account has a "kubernetes.io/enforce-mountable-secrets" annotation set to "true". This field should not be used to find auto-generated service account token secrets for use outside of pods. Instead, tokens can be requested directly using the TokenRequest API, or service account token secrets can be manually created. More info: https://kubernetes.io/docs/concepts/configuration/secret @@ -35,7 +35,7 @@ schema ServiceAccount: kind: "ServiceAccount" = "ServiceAccount" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta secrets?: [ObjectReference] diff --git a/k8s/1.28/api/core/v1/service_account_list.k b/k8s/1.28/api/core/v1/service_account_list.k index 26a9319a..d8cd46b8 100644 --- a/k8s/1.28/api/core/v1/service_account_list.k +++ b/k8s/1.28/api/core/v1/service_account_list.k @@ -3,7 +3,7 @@ This is the service_account_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ServiceAccountList: @@ -18,7 +18,7 @@ schema ServiceAccountList: List of ServiceAccounts. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ kind : str, default is "ServiceAccountList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ServiceAccountList: kind: "ServiceAccountList" = "ServiceAccountList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.28/api/core/v1/service_list.k b/k8s/1.28/api/core/v1/service_list.k index 0c1e31be..5c4fae8a 100644 --- a/k8s/1.28/api/core/v1/service_list.k +++ b/k8s/1.28/api/core/v1/service_list.k @@ -3,7 +3,7 @@ This is the service_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ServiceList: @@ -18,7 +18,7 @@ schema ServiceList: List of services kind : str, default is "ServiceList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ServiceList: kind: "ServiceList" = "ServiceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.28/api/core/v1/service_status.k b/k8s/1.28/api/core/v1/service_status.k index 029dda86..f1fc66e6 100644 --- a/k8s/1.28/api/core/v1/service_status.k +++ b/k8s/1.28/api/core/v1/service_status.k @@ -3,7 +3,7 @@ This is the service_status module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ServiceStatus: @@ -12,14 +12,14 @@ schema ServiceStatus: Attributes ---------- - conditions : [v1.Condition], default is Undefined, optional + conditions : [metav1.Condition], default is Undefined, optional Current service state loadBalancer : LoadBalancerStatus, default is Undefined, optional LoadBalancer contains the current status of the load-balancer, if one is present. """ - conditions?: [v1.Condition] + conditions?: [metav1.Condition] loadBalancer?: LoadBalancerStatus diff --git a/k8s/1.28/api/core/v1/topology_spread_constraint.k b/k8s/1.28/api/core/v1/topology_spread_constraint.k index 12fb14e3..94d8c034 100644 --- a/k8s/1.28/api/core/v1/topology_spread_constraint.k +++ b/k8s/1.28/api/core/v1/topology_spread_constraint.k @@ -3,7 +3,7 @@ This is the topology_spread_constraint module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema TopologySpreadConstraint: @@ -12,7 +12,7 @@ schema TopologySpreadConstraint: Attributes ---------- - labelSelector : v1.LabelSelector, default is Undefined, optional + labelSelector : metav1.LabelSelector, default is Undefined, optional LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain. matchLabelKeys : [str], default is Undefined, optional MatchLabelKeys is a set of pod label keys to select the pods over which spreading will be calculated. The keys are used to lookup values from the incoming pod labels, those key-value labels are ANDed with labelSelector to select the group of existing pods over which spreading will be calculated for the incoming pod. The same key is forbidden to exist in both MatchLabelKeys and LabelSelector. MatchLabelKeys cannot be set when LabelSelector isn't set. Keys that don't exist in the incoming pod labels will be ignored. A null or empty list means only match against labelSelector. @@ -44,7 +44,7 @@ schema TopologySpreadConstraint: """ - labelSelector?: v1.LabelSelector + labelSelector?: metav1.LabelSelector matchLabelKeys?: [str] diff --git a/k8s/1.28/api/discovery/v1/endpoint_slice.k b/k8s/1.28/api/discovery/v1/endpoint_slice.k index 77d8a1e3..462647c6 100644 --- a/k8s/1.28/api/discovery/v1/endpoint_slice.k +++ b/k8s/1.28/api/discovery/v1/endpoint_slice.k @@ -3,7 +3,7 @@ This is the endpoint_slice module in k8s.api.discovery.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EndpointSlice: @@ -20,7 +20,7 @@ schema EndpointSlice: endpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints. kind : str, default is "EndpointSlice", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. ports : [EndpointPort], default is Undefined, optional ports specifies the list of network ports exposed by each endpoint in this slice. Each port must have a unique name. When ports is empty, it indicates that there are no defined ports. When a port is defined with a nil port value, it indicates "all ports". Each slice may include a maximum of 100 ports. @@ -35,7 +35,7 @@ schema EndpointSlice: kind: "EndpointSlice" = "EndpointSlice" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta ports?: [EndpointPort] diff --git a/k8s/1.28/api/discovery/v1/endpoint_slice_list.k b/k8s/1.28/api/discovery/v1/endpoint_slice_list.k index a33ad36e..2f0adefe 100644 --- a/k8s/1.28/api/discovery/v1/endpoint_slice_list.k +++ b/k8s/1.28/api/discovery/v1/endpoint_slice_list.k @@ -3,7 +3,7 @@ This is the endpoint_slice_list module in k8s.api.discovery.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EndpointSliceList: @@ -18,7 +18,7 @@ schema EndpointSliceList: items is the list of endpoint slices kind : str, default is "EndpointSliceList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema EndpointSliceList: kind: "EndpointSliceList" = "EndpointSliceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.28/api/events/v1/event_list.k b/k8s/1.28/api/events/v1/event_list.k index 6d5e7dad..4c4d96ba 100644 --- a/k8s/1.28/api/events/v1/event_list.k +++ b/k8s/1.28/api/events/v1/event_list.k @@ -3,7 +3,7 @@ This is the event_list module in k8s.api.events.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EventList: @@ -18,7 +18,7 @@ schema EventList: items is a list of schema objects. kind : str, default is "EventList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema EventList: kind: "EventList" = "EventList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.28/api/flowcontrol/v1beta2/flow_schema.k b/k8s/1.28/api/flowcontrol/v1beta2/flow_schema.k index 38841e20..ca58b323 100644 --- a/k8s/1.28/api/flowcontrol/v1beta2/flow_schema.k +++ b/k8s/1.28/api/flowcontrol/v1beta2/flow_schema.k @@ -3,7 +3,7 @@ This is the flow_schema module in k8s.api.flowcontrol.v1beta2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema FlowSchema: @@ -16,7 +16,7 @@ schema FlowSchema: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "FlowSchema", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : FlowSchemaSpec, default is Undefined, optional `spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema FlowSchema: kind: "FlowSchema" = "FlowSchema" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: FlowSchemaSpec diff --git a/k8s/1.28/api/flowcontrol/v1beta2/flow_schema_list.k b/k8s/1.28/api/flowcontrol/v1beta2/flow_schema_list.k index 41f1f453..084935f5 100644 --- a/k8s/1.28/api/flowcontrol/v1beta2/flow_schema_list.k +++ b/k8s/1.28/api/flowcontrol/v1beta2/flow_schema_list.k @@ -3,7 +3,7 @@ This is the flow_schema_list module in k8s.api.flowcontrol.v1beta2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema FlowSchemaList: @@ -18,7 +18,7 @@ schema FlowSchemaList: `items` is a list of FlowSchemas. kind : str, default is "FlowSchemaList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional `metadata` is the standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema FlowSchemaList: kind: "FlowSchemaList" = "FlowSchemaList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.28/api/flowcontrol/v1beta2/priority_level_configuration.k b/k8s/1.28/api/flowcontrol/v1beta2/priority_level_configuration.k index adfdc552..654decc0 100644 --- a/k8s/1.28/api/flowcontrol/v1beta2/priority_level_configuration.k +++ b/k8s/1.28/api/flowcontrol/v1beta2/priority_level_configuration.k @@ -3,7 +3,7 @@ This is the priority_level_configuration module in k8s.api.flowcontrol.v1beta2 p This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityLevelConfiguration: @@ -16,7 +16,7 @@ schema PriorityLevelConfiguration: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PriorityLevelConfiguration", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PriorityLevelConfigurationSpec, default is Undefined, optional `spec` is the specification of the desired behavior of a "request-priority". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema PriorityLevelConfiguration: kind: "PriorityLevelConfiguration" = "PriorityLevelConfiguration" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PriorityLevelConfigurationSpec diff --git a/k8s/1.28/api/flowcontrol/v1beta2/priority_level_configuration_list.k b/k8s/1.28/api/flowcontrol/v1beta2/priority_level_configuration_list.k index 3677c841..e3b5923d 100644 --- a/k8s/1.28/api/flowcontrol/v1beta2/priority_level_configuration_list.k +++ b/k8s/1.28/api/flowcontrol/v1beta2/priority_level_configuration_list.k @@ -3,7 +3,7 @@ This is the priority_level_configuration_list module in k8s.api.flowcontrol.v1be This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityLevelConfigurationList: @@ -18,7 +18,7 @@ schema PriorityLevelConfigurationList: `items` is a list of request-priorities. kind : str, default is "PriorityLevelConfigurationList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PriorityLevelConfigurationList: kind: "PriorityLevelConfigurationList" = "PriorityLevelConfigurationList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.28/api/flowcontrol/v1beta3/flow_schema.k b/k8s/1.28/api/flowcontrol/v1beta3/flow_schema.k index c76a8e16..94deb6b6 100644 --- a/k8s/1.28/api/flowcontrol/v1beta3/flow_schema.k +++ b/k8s/1.28/api/flowcontrol/v1beta3/flow_schema.k @@ -3,7 +3,7 @@ This is the flow_schema module in k8s.api.flowcontrol.v1beta3 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema FlowSchema: @@ -16,7 +16,7 @@ schema FlowSchema: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "FlowSchema", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : FlowSchemaSpec, default is Undefined, optional `spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema FlowSchema: kind: "FlowSchema" = "FlowSchema" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: FlowSchemaSpec diff --git a/k8s/1.28/api/flowcontrol/v1beta3/flow_schema_list.k b/k8s/1.28/api/flowcontrol/v1beta3/flow_schema_list.k index fafe330c..7af81967 100644 --- a/k8s/1.28/api/flowcontrol/v1beta3/flow_schema_list.k +++ b/k8s/1.28/api/flowcontrol/v1beta3/flow_schema_list.k @@ -3,7 +3,7 @@ This is the flow_schema_list module in k8s.api.flowcontrol.v1beta3 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema FlowSchemaList: @@ -18,7 +18,7 @@ schema FlowSchemaList: `items` is a list of FlowSchemas. kind : str, default is "FlowSchemaList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional `metadata` is the standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema FlowSchemaList: kind: "FlowSchemaList" = "FlowSchemaList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.28/api/flowcontrol/v1beta3/priority_level_configuration.k b/k8s/1.28/api/flowcontrol/v1beta3/priority_level_configuration.k index 15f67df4..c72c8565 100644 --- a/k8s/1.28/api/flowcontrol/v1beta3/priority_level_configuration.k +++ b/k8s/1.28/api/flowcontrol/v1beta3/priority_level_configuration.k @@ -3,7 +3,7 @@ This is the priority_level_configuration module in k8s.api.flowcontrol.v1beta3 p This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityLevelConfiguration: @@ -16,7 +16,7 @@ schema PriorityLevelConfiguration: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PriorityLevelConfiguration", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PriorityLevelConfigurationSpec, default is Undefined, optional `spec` is the specification of the desired behavior of a "request-priority". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema PriorityLevelConfiguration: kind: "PriorityLevelConfiguration" = "PriorityLevelConfiguration" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PriorityLevelConfigurationSpec diff --git a/k8s/1.28/api/flowcontrol/v1beta3/priority_level_configuration_list.k b/k8s/1.28/api/flowcontrol/v1beta3/priority_level_configuration_list.k index 12396566..3af527e2 100644 --- a/k8s/1.28/api/flowcontrol/v1beta3/priority_level_configuration_list.k +++ b/k8s/1.28/api/flowcontrol/v1beta3/priority_level_configuration_list.k @@ -3,7 +3,7 @@ This is the priority_level_configuration_list module in k8s.api.flowcontrol.v1be This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityLevelConfigurationList: @@ -18,7 +18,7 @@ schema PriorityLevelConfigurationList: `items` is a list of request-priorities. kind : str, default is "PriorityLevelConfigurationList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PriorityLevelConfigurationList: kind: "PriorityLevelConfigurationList" = "PriorityLevelConfigurationList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.28/api/networking/v1/ingress.k b/k8s/1.28/api/networking/v1/ingress.k index a224b707..0987b46d 100644 --- a/k8s/1.28/api/networking/v1/ingress.k +++ b/k8s/1.28/api/networking/v1/ingress.k @@ -3,7 +3,7 @@ This is the ingress module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Ingress: @@ -16,7 +16,7 @@ schema Ingress: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Ingress", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : IngressSpec, default is Undefined, optional spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Ingress: kind: "Ingress" = "Ingress" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: IngressSpec diff --git a/k8s/1.28/api/networking/v1/ingress_class.k b/k8s/1.28/api/networking/v1/ingress_class.k index 19d34da4..62edb40f 100644 --- a/k8s/1.28/api/networking/v1/ingress_class.k +++ b/k8s/1.28/api/networking/v1/ingress_class.k @@ -3,7 +3,7 @@ This is the ingress_class module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema IngressClass: @@ -16,7 +16,7 @@ schema IngressClass: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "IngressClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : IngressClassSpec, default is Undefined, optional spec is the desired state of the IngressClass. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema IngressClass: kind: "IngressClass" = "IngressClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: IngressClassSpec diff --git a/k8s/1.28/api/networking/v1/ingress_class_list.k b/k8s/1.28/api/networking/v1/ingress_class_list.k index 8962fe08..2da5d410 100644 --- a/k8s/1.28/api/networking/v1/ingress_class_list.k +++ b/k8s/1.28/api/networking/v1/ingress_class_list.k @@ -3,7 +3,7 @@ This is the ingress_class_list module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema IngressClassList: @@ -18,7 +18,7 @@ schema IngressClassList: items is the list of IngressClasses. kind : str, default is "IngressClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema IngressClassList: kind: "IngressClassList" = "IngressClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.28/api/networking/v1/ingress_list.k b/k8s/1.28/api/networking/v1/ingress_list.k index ad9f5f1b..bfa6b178 100644 --- a/k8s/1.28/api/networking/v1/ingress_list.k +++ b/k8s/1.28/api/networking/v1/ingress_list.k @@ -3,7 +3,7 @@ This is the ingress_list module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema IngressList: @@ -18,7 +18,7 @@ schema IngressList: items is the list of Ingress. kind : str, default is "IngressList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema IngressList: kind: "IngressList" = "IngressList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.28/api/networking/v1/network_policy.k b/k8s/1.28/api/networking/v1/network_policy.k index b8b576dd..ff140307 100644 --- a/k8s/1.28/api/networking/v1/network_policy.k +++ b/k8s/1.28/api/networking/v1/network_policy.k @@ -3,7 +3,7 @@ This is the network_policy module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicy: @@ -16,7 +16,7 @@ schema NetworkPolicy: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "NetworkPolicy", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : NetworkPolicySpec, default is Undefined, optional spec represents the specification of the desired behavior for this NetworkPolicy. @@ -27,7 +27,7 @@ schema NetworkPolicy: kind: "NetworkPolicy" = "NetworkPolicy" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: NetworkPolicySpec diff --git a/k8s/1.28/api/networking/v1/network_policy_list.k b/k8s/1.28/api/networking/v1/network_policy_list.k index 7d57481a..a67c9de3 100644 --- a/k8s/1.28/api/networking/v1/network_policy_list.k +++ b/k8s/1.28/api/networking/v1/network_policy_list.k @@ -3,7 +3,7 @@ This is the network_policy_list module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicyList: @@ -18,7 +18,7 @@ schema NetworkPolicyList: items is a list of schema objects. kind : str, default is "NetworkPolicyList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema NetworkPolicyList: kind: "NetworkPolicyList" = "NetworkPolicyList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.28/api/networking/v1/network_policy_peer.k b/k8s/1.28/api/networking/v1/network_policy_peer.k index 9f1cb095..2180c607 100644 --- a/k8s/1.28/api/networking/v1/network_policy_peer.k +++ b/k8s/1.28/api/networking/v1/network_policy_peer.k @@ -3,7 +3,7 @@ This is the network_policy_peer module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicyPeer: @@ -14,11 +14,11 @@ schema NetworkPolicyPeer: ---------- ipBlock : IPBlock, default is Undefined, optional ipBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional namespaceSelector selects namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces. If podSelector is also set, then the NetworkPolicyPeer as a whole selects the pods matching podSelector in the namespaces selected by namespaceSelector. Otherwise it selects all pods in the namespaces selected by namespaceSelector. - podSelector : v1.LabelSelector, default is Undefined, optional + podSelector : metav1.LabelSelector, default is Undefined, optional podSelector is a label selector which selects pods. This field follows standard label selector semantics; if present but empty, it selects all pods. If namespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the pods matching podSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the pods matching podSelector in the policy's own namespace. @@ -27,8 +27,8 @@ schema NetworkPolicyPeer: ipBlock?: IPBlock - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector - podSelector?: v1.LabelSelector + podSelector?: metav1.LabelSelector diff --git a/k8s/1.28/api/networking/v1/network_policy_spec.k b/k8s/1.28/api/networking/v1/network_policy_spec.k index 19774502..3947b4c2 100644 --- a/k8s/1.28/api/networking/v1/network_policy_spec.k +++ b/k8s/1.28/api/networking/v1/network_policy_spec.k @@ -3,7 +3,7 @@ This is the network_policy_spec module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicySpec: @@ -16,7 +16,7 @@ schema NetworkPolicySpec: egress is a list of egress rules to be applied to the selected pods. Outgoing traffic is allowed if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic matches at least one egress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy limits all outgoing traffic (and serves solely to ensure that the pods it selects are isolated by default). This field is beta-level in 1.8 ingress : [NetworkPolicyIngressRule], default is Undefined, optional ingress is a list of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not allow any traffic (and serves solely to ensure that the pods it selects are isolated by default) - podSelector : v1.LabelSelector, default is Undefined, required + podSelector : metav1.LabelSelector, default is Undefined, required podSelector selects the pods to which this NetworkPolicy object applies. The array of ingress rules is applied to any pods selected by this field. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is NOT optional and follows standard label selector semantics. An empty podSelector matches all pods in this namespace. policyTypes : [str], default is Undefined, optional policyTypes is a list of rule types that the NetworkPolicy relates to. Valid options are ["Ingress"], ["Egress"], or ["Ingress", "Egress"]. If this field is not specified, it will default based on the existence of ingress or egress rules; policies that contain an egress section are assumed to affect egress, and all policies (whether or not they contain an ingress section) are assumed to affect ingress. If you want to write an egress-only policy, you must explicitly specify policyTypes [ "Egress" ]. Likewise, if you want to write a policy that specifies that no egress is allowed, you must specify a policyTypes value that include "Egress" (since such a policy would not include an egress section and would otherwise default to just [ "Ingress" ]). This field is beta-level in 1.8 @@ -27,7 +27,7 @@ schema NetworkPolicySpec: ingress?: [NetworkPolicyIngressRule] - podSelector: v1.LabelSelector + podSelector: metav1.LabelSelector policyTypes?: [str] diff --git a/k8s/1.28/api/networking/v1/network_policy_status.k b/k8s/1.28/api/networking/v1/network_policy_status.k index 5467d2a4..e1412718 100644 --- a/k8s/1.28/api/networking/v1/network_policy_status.k +++ b/k8s/1.28/api/networking/v1/network_policy_status.k @@ -3,7 +3,7 @@ This is the network_policy_status module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicyStatus: @@ -12,11 +12,11 @@ schema NetworkPolicyStatus: Attributes ---------- - conditions : [v1.Condition], default is Undefined, optional + conditions : [metav1.Condition], default is Undefined, optional conditions holds an array of metav1.Condition that describe the state of the NetworkPolicy. Current service state """ - conditions?: [v1.Condition] + conditions?: [metav1.Condition] diff --git a/k8s/1.28/api/networking/v1alpha1/cluster_cidr.k b/k8s/1.28/api/networking/v1alpha1/cluster_cidr.k index bfb9dfd6..661761fc 100644 --- a/k8s/1.28/api/networking/v1alpha1/cluster_cidr.k +++ b/k8s/1.28/api/networking/v1alpha1/cluster_cidr.k @@ -3,7 +3,7 @@ This is the cluster_cidr module in k8s.api.networking.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterCIDR: @@ -16,7 +16,7 @@ schema ClusterCIDR: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ClusterCIDR", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : ClusterCIDRSpec, default is Undefined, optional spec is the desired state of the ClusterCIDR. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema ClusterCIDR: kind: "ClusterCIDR" = "ClusterCIDR" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ClusterCIDRSpec diff --git a/k8s/1.28/api/networking/v1alpha1/cluster_cidr_list.k b/k8s/1.28/api/networking/v1alpha1/cluster_cidr_list.k index 38007fa0..be3c5de2 100644 --- a/k8s/1.28/api/networking/v1alpha1/cluster_cidr_list.k +++ b/k8s/1.28/api/networking/v1alpha1/cluster_cidr_list.k @@ -3,7 +3,7 @@ This is the cluster_cidr_list module in k8s.api.networking.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterCIDRList: @@ -18,7 +18,7 @@ schema ClusterCIDRList: items is the list of ClusterCIDRs. kind : str, default is "ClusterCIDRList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema ClusterCIDRList: kind: "ClusterCIDRList" = "ClusterCIDRList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.28/api/networking/v1alpha1/ip_address.k b/k8s/1.28/api/networking/v1alpha1/ip_address.k index 75366ead..220826c8 100644 --- a/k8s/1.28/api/networking/v1alpha1/ip_address.k +++ b/k8s/1.28/api/networking/v1alpha1/ip_address.k @@ -3,7 +3,7 @@ This is the ip_address module in k8s.api.networking.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema IPAddress: @@ -16,7 +16,7 @@ schema IPAddress: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "IPAddress", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : IPAddressSpec, default is Undefined, optional spec is the desired state of the IPAddress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema IPAddress: kind: "IPAddress" = "IPAddress" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: IPAddressSpec diff --git a/k8s/1.28/api/networking/v1alpha1/ip_address_list.k b/k8s/1.28/api/networking/v1alpha1/ip_address_list.k index 75e2aaad..460f34dc 100644 --- a/k8s/1.28/api/networking/v1alpha1/ip_address_list.k +++ b/k8s/1.28/api/networking/v1alpha1/ip_address_list.k @@ -3,7 +3,7 @@ This is the ip_address_list module in k8s.api.networking.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema IPAddressList: @@ -18,7 +18,7 @@ schema IPAddressList: items is the list of IPAddresses. kind : str, default is "IPAddressList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema IPAddressList: kind: "IPAddressList" = "IPAddressList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.28/api/node/v1/runtime_class.k b/k8s/1.28/api/node/v1/runtime_class.k index c890b031..313f5911 100644 --- a/k8s/1.28/api/node/v1/runtime_class.k +++ b/k8s/1.28/api/node/v1/runtime_class.k @@ -3,7 +3,7 @@ This is the runtime_class module in k8s.api.node.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RuntimeClass: @@ -18,7 +18,7 @@ schema RuntimeClass: handler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration. It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called "runc" might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The Handler must be lowercase, conform to the DNS Label (RFC 1123) requirements, and is immutable. kind : str, default is "RuntimeClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata overhead : Overhead, default is Undefined, optional overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see @@ -34,7 +34,7 @@ schema RuntimeClass: kind: "RuntimeClass" = "RuntimeClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta overhead?: Overhead diff --git a/k8s/1.28/api/node/v1/runtime_class_list.k b/k8s/1.28/api/node/v1/runtime_class_list.k index ef56265a..62b4c4c6 100644 --- a/k8s/1.28/api/node/v1/runtime_class_list.k +++ b/k8s/1.28/api/node/v1/runtime_class_list.k @@ -3,7 +3,7 @@ This is the runtime_class_list module in k8s.api.node.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RuntimeClassList: @@ -18,7 +18,7 @@ schema RuntimeClassList: items is a list of schema objects. kind : str, default is "RuntimeClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema RuntimeClassList: kind: "RuntimeClassList" = "RuntimeClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.28/api/policy/v1/eviction.k b/k8s/1.28/api/policy/v1/eviction.k index e87c2ee9..121fb323 100644 --- a/k8s/1.28/api/policy/v1/eviction.k +++ b/k8s/1.28/api/policy/v1/eviction.k @@ -3,7 +3,7 @@ This is the eviction module in k8s.api.policy.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Eviction: @@ -14,21 +14,21 @@ schema Eviction: ---------- apiVersion : str, default is "policy/v1", required APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - deleteOptions : v1.DeleteOptions, default is Undefined, optional + deleteOptions : metav1.DeleteOptions, default is Undefined, optional DeleteOptions may be provided kind : str, default is "Eviction", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional ObjectMeta describes the pod that is being evicted. """ apiVersion: "policy/v1" = "policy/v1" - deleteOptions?: v1.DeleteOptions + deleteOptions?: metav1.DeleteOptions kind: "Eviction" = "Eviction" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta diff --git a/k8s/1.28/api/policy/v1/pod_disruption_budget.k b/k8s/1.28/api/policy/v1/pod_disruption_budget.k index 08151f41..02483ed4 100644 --- a/k8s/1.28/api/policy/v1/pod_disruption_budget.k +++ b/k8s/1.28/api/policy/v1/pod_disruption_budget.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget module in k8s.api.policy.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudget: @@ -16,7 +16,7 @@ schema PodDisruptionBudget: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PodDisruptionBudget", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PodDisruptionBudgetSpec, default is Undefined, optional Specification of the desired behavior of the PodDisruptionBudget. @@ -27,7 +27,7 @@ schema PodDisruptionBudget: kind: "PodDisruptionBudget" = "PodDisruptionBudget" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PodDisruptionBudgetSpec diff --git a/k8s/1.28/api/policy/v1/pod_disruption_budget_list.k b/k8s/1.28/api/policy/v1/pod_disruption_budget_list.k index 9075ecd9..0a3f925d 100644 --- a/k8s/1.28/api/policy/v1/pod_disruption_budget_list.k +++ b/k8s/1.28/api/policy/v1/pod_disruption_budget_list.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget_list module in k8s.api.policy.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudgetList: @@ -18,7 +18,7 @@ schema PodDisruptionBudgetList: Items is a list of PodDisruptionBudgets kind : str, default is "PodDisruptionBudgetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PodDisruptionBudgetList: kind: "PodDisruptionBudgetList" = "PodDisruptionBudgetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.28/api/policy/v1/pod_disruption_budget_spec.k b/k8s/1.28/api/policy/v1/pod_disruption_budget_spec.k index e32c3163..d0118af3 100644 --- a/k8s/1.28/api/policy/v1/pod_disruption_budget_spec.k +++ b/k8s/1.28/api/policy/v1/pod_disruption_budget_spec.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget_spec module in k8s.api.policy.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudgetSpec: @@ -16,7 +16,7 @@ schema PodDisruptionBudgetSpec: An eviction is allowed if at most "maxUnavailable" pods selected by "selector" are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with "minAvailable". minAvailable : int | str, default is Undefined, optional An eviction is allowed if at least "minAvailable" pods selected by "selector" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying "100%". - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional Label query over pods whose evictions are managed by the disruption budget. A null selector will match no pods, while an empty ({}) selector will select all pods within the namespace. unhealthyPodEvictionPolicy : str, default is Undefined, optional UnhealthyPodEvictionPolicy defines the criteria for when unhealthy pods should be considered for eviction. Current implementation considers healthy pods, as pods that have status.conditions item with type="Ready",status="True". @@ -37,7 +37,7 @@ schema PodDisruptionBudgetSpec: minAvailable?: int | str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector unhealthyPodEvictionPolicy?: str diff --git a/k8s/1.28/api/policy/v1/pod_disruption_budget_status.k b/k8s/1.28/api/policy/v1/pod_disruption_budget_status.k index 58d0ef88..b8db8025 100644 --- a/k8s/1.28/api/policy/v1/pod_disruption_budget_status.k +++ b/k8s/1.28/api/policy/v1/pod_disruption_budget_status.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget_status module in k8s.api.policy.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudgetStatus: @@ -12,7 +12,7 @@ schema PodDisruptionBudgetStatus: Attributes ---------- - conditions : [v1.Condition], default is Undefined, optional + conditions : [metav1.Condition], default is Undefined, optional Conditions contain conditions for PDB. The disruption controller sets the DisruptionAllowed condition. The following are known values for the reason field (additional reasons could be added in the future): - SyncFailed: The controller encountered an error and wasn't able to compute the number of allowed disruptions. Therefore no disruptions are allowed and the status of the condition will be False. @@ -37,7 +37,7 @@ schema PodDisruptionBudgetStatus: """ - conditions?: [v1.Condition] + conditions?: [metav1.Condition] currentHealthy: int diff --git a/k8s/1.28/api/rbac/v1/aggregation_rule.k b/k8s/1.28/api/rbac/v1/aggregation_rule.k index c7969ee4..b6898869 100644 --- a/k8s/1.28/api/rbac/v1/aggregation_rule.k +++ b/k8s/1.28/api/rbac/v1/aggregation_rule.k @@ -3,7 +3,7 @@ This is the aggregation_rule module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema AggregationRule: @@ -12,11 +12,11 @@ schema AggregationRule: Attributes ---------- - clusterRoleSelectors : [v1.LabelSelector], default is Undefined, optional + clusterRoleSelectors : [metav1.LabelSelector], default is Undefined, optional ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added """ - clusterRoleSelectors?: [v1.LabelSelector] + clusterRoleSelectors?: [metav1.LabelSelector] diff --git a/k8s/1.28/api/rbac/v1/cluster_role.k b/k8s/1.28/api/rbac/v1/cluster_role.k index fcf42d1b..d32837ea 100644 --- a/k8s/1.28/api/rbac/v1/cluster_role.k +++ b/k8s/1.28/api/rbac/v1/cluster_role.k @@ -3,7 +3,7 @@ This is the cluster_role module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRole: @@ -18,7 +18,7 @@ schema ClusterRole: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ClusterRole", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. rules : [PolicyRule], default is Undefined, optional Rules holds all the PolicyRules for this ClusterRole @@ -31,7 +31,7 @@ schema ClusterRole: kind: "ClusterRole" = "ClusterRole" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta rules?: [PolicyRule] diff --git a/k8s/1.28/api/rbac/v1/cluster_role_binding.k b/k8s/1.28/api/rbac/v1/cluster_role_binding.k index e670588e..1b2c4294 100644 --- a/k8s/1.28/api/rbac/v1/cluster_role_binding.k +++ b/k8s/1.28/api/rbac/v1/cluster_role_binding.k @@ -3,7 +3,7 @@ This is the cluster_role_binding module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleBinding: @@ -16,7 +16,7 @@ schema ClusterRoleBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ClusterRoleBinding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. roleRef : RoleRef, default is Undefined, required RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. @@ -29,7 +29,7 @@ schema ClusterRoleBinding: kind: "ClusterRoleBinding" = "ClusterRoleBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta roleRef: RoleRef diff --git a/k8s/1.28/api/rbac/v1/cluster_role_binding_list.k b/k8s/1.28/api/rbac/v1/cluster_role_binding_list.k index fd53865a..bd13f6fa 100644 --- a/k8s/1.28/api/rbac/v1/cluster_role_binding_list.k +++ b/k8s/1.28/api/rbac/v1/cluster_role_binding_list.k @@ -3,7 +3,7 @@ This is the cluster_role_binding_list module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleBindingList: @@ -18,7 +18,7 @@ schema ClusterRoleBindingList: Items is a list of ClusterRoleBindings kind : str, default is "ClusterRoleBindingList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema ClusterRoleBindingList: kind: "ClusterRoleBindingList" = "ClusterRoleBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.28/api/rbac/v1/cluster_role_list.k b/k8s/1.28/api/rbac/v1/cluster_role_list.k index 8be0e1a6..303e00aa 100644 --- a/k8s/1.28/api/rbac/v1/cluster_role_list.k +++ b/k8s/1.28/api/rbac/v1/cluster_role_list.k @@ -3,7 +3,7 @@ This is the cluster_role_list module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleList: @@ -18,7 +18,7 @@ schema ClusterRoleList: Items is a list of ClusterRoles kind : str, default is "ClusterRoleList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema ClusterRoleList: kind: "ClusterRoleList" = "ClusterRoleList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.28/api/rbac/v1/role.k b/k8s/1.28/api/rbac/v1/role.k index f72c1ab0..db02dfef 100644 --- a/k8s/1.28/api/rbac/v1/role.k +++ b/k8s/1.28/api/rbac/v1/role.k @@ -3,7 +3,7 @@ This is the role module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Role: @@ -16,7 +16,7 @@ schema Role: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Role", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. rules : [PolicyRule], default is Undefined, optional Rules holds all the PolicyRules for this Role @@ -27,7 +27,7 @@ schema Role: kind: "Role" = "Role" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta rules?: [PolicyRule] diff --git a/k8s/1.28/api/rbac/v1/role_binding.k b/k8s/1.28/api/rbac/v1/role_binding.k index a305e8b1..efa93d8c 100644 --- a/k8s/1.28/api/rbac/v1/role_binding.k +++ b/k8s/1.28/api/rbac/v1/role_binding.k @@ -3,7 +3,7 @@ This is the role_binding module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleBinding: @@ -16,7 +16,7 @@ schema RoleBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "RoleBinding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. roleRef : RoleRef, default is Undefined, required RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. @@ -29,7 +29,7 @@ schema RoleBinding: kind: "RoleBinding" = "RoleBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta roleRef: RoleRef diff --git a/k8s/1.28/api/rbac/v1/role_binding_list.k b/k8s/1.28/api/rbac/v1/role_binding_list.k index ef8b7fc8..cb8d7400 100644 --- a/k8s/1.28/api/rbac/v1/role_binding_list.k +++ b/k8s/1.28/api/rbac/v1/role_binding_list.k @@ -3,7 +3,7 @@ This is the role_binding_list module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleBindingList: @@ -18,7 +18,7 @@ schema RoleBindingList: Items is a list of RoleBindings kind : str, default is "RoleBindingList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema RoleBindingList: kind: "RoleBindingList" = "RoleBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.28/api/rbac/v1/role_list.k b/k8s/1.28/api/rbac/v1/role_list.k index 6e7826e6..d102bc0c 100644 --- a/k8s/1.28/api/rbac/v1/role_list.k +++ b/k8s/1.28/api/rbac/v1/role_list.k @@ -3,7 +3,7 @@ This is the role_list module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleList: @@ -18,7 +18,7 @@ schema RoleList: Items is a list of Roles kind : str, default is "RoleList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema RoleList: kind: "RoleList" = "RoleList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.28/api/resource/v1alpha2/pod_scheduling_context.k b/k8s/1.28/api/resource/v1alpha2/pod_scheduling_context.k index ff8e77cf..dc92841a 100644 --- a/k8s/1.28/api/resource/v1alpha2/pod_scheduling_context.k +++ b/k8s/1.28/api/resource/v1alpha2/pod_scheduling_context.k @@ -3,7 +3,7 @@ This is the pod_scheduling_context module in k8s.api.resource.v1alpha2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodSchedulingContext: @@ -18,7 +18,7 @@ schema PodSchedulingContext: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PodSchedulingContext", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata spec : PodSchedulingContextSpec, default is Undefined, required Spec describes where resources for the Pod are needed. @@ -29,7 +29,7 @@ schema PodSchedulingContext: kind: "PodSchedulingContext" = "PodSchedulingContext" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: PodSchedulingContextSpec diff --git a/k8s/1.28/api/resource/v1alpha2/pod_scheduling_context_list.k b/k8s/1.28/api/resource/v1alpha2/pod_scheduling_context_list.k index 5d5a2d84..0b243a8b 100644 --- a/k8s/1.28/api/resource/v1alpha2/pod_scheduling_context_list.k +++ b/k8s/1.28/api/resource/v1alpha2/pod_scheduling_context_list.k @@ -3,7 +3,7 @@ This is the pod_scheduling_context_list module in k8s.api.resource.v1alpha2 pack This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodSchedulingContextList: @@ -18,7 +18,7 @@ schema PodSchedulingContextList: Items is the list of PodSchedulingContext objects. kind : str, default is "PodSchedulingContextList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata """ @@ -29,6 +29,6 @@ schema PodSchedulingContextList: kind: "PodSchedulingContextList" = "PodSchedulingContextList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.28/api/resource/v1alpha2/resource_claim.k b/k8s/1.28/api/resource/v1alpha2/resource_claim.k index 016cd551..c6593565 100644 --- a/k8s/1.28/api/resource/v1alpha2/resource_claim.k +++ b/k8s/1.28/api/resource/v1alpha2/resource_claim.k @@ -3,7 +3,7 @@ This is the resource_claim module in k8s.api.resource.v1alpha2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceClaim: @@ -18,7 +18,7 @@ schema ResourceClaim: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ResourceClaim", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata spec : ResourceClaimSpec, default is Undefined, required Spec describes the desired attributes of a resource that then needs to be allocated. It can only be set once when creating the ResourceClaim. @@ -29,7 +29,7 @@ schema ResourceClaim: kind: "ResourceClaim" = "ResourceClaim" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: ResourceClaimSpec diff --git a/k8s/1.28/api/resource/v1alpha2/resource_claim_list.k b/k8s/1.28/api/resource/v1alpha2/resource_claim_list.k index c16c3815..e6476316 100644 --- a/k8s/1.28/api/resource/v1alpha2/resource_claim_list.k +++ b/k8s/1.28/api/resource/v1alpha2/resource_claim_list.k @@ -3,7 +3,7 @@ This is the resource_claim_list module in k8s.api.resource.v1alpha2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceClaimList: @@ -18,7 +18,7 @@ schema ResourceClaimList: Items is the list of resource claims. kind : str, default is "ResourceClaimList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata """ @@ -29,6 +29,6 @@ schema ResourceClaimList: kind: "ResourceClaimList" = "ResourceClaimList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.28/api/resource/v1alpha2/resource_claim_template.k b/k8s/1.28/api/resource/v1alpha2/resource_claim_template.k index e35780a7..11722fdc 100644 --- a/k8s/1.28/api/resource/v1alpha2/resource_claim_template.k +++ b/k8s/1.28/api/resource/v1alpha2/resource_claim_template.k @@ -3,7 +3,7 @@ This is the resource_claim_template module in k8s.api.resource.v1alpha2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceClaimTemplate: @@ -16,7 +16,7 @@ schema ResourceClaimTemplate: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ResourceClaimTemplate", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata spec : ResourceClaimTemplateSpec, default is Undefined, required Describes the ResourceClaim that is to be generated. @@ -29,7 +29,7 @@ schema ResourceClaimTemplate: kind: "ResourceClaimTemplate" = "ResourceClaimTemplate" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: ResourceClaimTemplateSpec diff --git a/k8s/1.28/api/resource/v1alpha2/resource_claim_template_list.k b/k8s/1.28/api/resource/v1alpha2/resource_claim_template_list.k index bb8639cf..3cedbaea 100644 --- a/k8s/1.28/api/resource/v1alpha2/resource_claim_template_list.k +++ b/k8s/1.28/api/resource/v1alpha2/resource_claim_template_list.k @@ -3,7 +3,7 @@ This is the resource_claim_template_list module in k8s.api.resource.v1alpha2 pac This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceClaimTemplateList: @@ -18,7 +18,7 @@ schema ResourceClaimTemplateList: Items is the list of resource claim templates. kind : str, default is "ResourceClaimTemplateList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata """ @@ -29,6 +29,6 @@ schema ResourceClaimTemplateList: kind: "ResourceClaimTemplateList" = "ResourceClaimTemplateList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.28/api/resource/v1alpha2/resource_claim_template_spec.k b/k8s/1.28/api/resource/v1alpha2/resource_claim_template_spec.k index 9ac79c8b..e90c7509 100644 --- a/k8s/1.28/api/resource/v1alpha2/resource_claim_template_spec.k +++ b/k8s/1.28/api/resource/v1alpha2/resource_claim_template_spec.k @@ -3,7 +3,7 @@ This is the resource_claim_template_spec module in k8s.api.resource.v1alpha2 pac This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceClaimTemplateSpec: @@ -12,14 +12,14 @@ schema ResourceClaimTemplateSpec: Attributes ---------- - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional ObjectMeta may contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. spec : ResourceClaimSpec, default is Undefined, required Spec for the ResourceClaim. The entire content is copied unchanged into the ResourceClaim that gets created from this template. The same fields as in a ResourceClaim are also valid here. """ - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: ResourceClaimSpec diff --git a/k8s/1.28/api/resource/v1alpha2/resource_class.k b/k8s/1.28/api/resource/v1alpha2/resource_class.k index f037ba6e..5ffcf8dd 100644 --- a/k8s/1.28/api/resource/v1alpha2/resource_class.k +++ b/k8s/1.28/api/resource/v1alpha2/resource_class.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceClass: @@ -23,7 +23,7 @@ schema ResourceClass: Resource drivers have a unique name in forward domain order (acme.example.com). kind : str, default is "ResourceClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata parametersRef : ResourceClassParametersReference, default is Undefined, optional ParametersRef references an arbitrary separate object that may hold parameters that will be used by the driver when allocating a resource that uses this class. A dynamic resource driver can distinguish between parameters stored here and and those stored in ResourceClaimSpec. @@ -40,7 +40,7 @@ schema ResourceClass: kind: "ResourceClass" = "ResourceClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta parametersRef?: ResourceClassParametersReference diff --git a/k8s/1.28/api/resource/v1alpha2/resource_class_list.k b/k8s/1.28/api/resource/v1alpha2/resource_class_list.k index 1dd6c5b8..3662ddbb 100644 --- a/k8s/1.28/api/resource/v1alpha2/resource_class_list.k +++ b/k8s/1.28/api/resource/v1alpha2/resource_class_list.k @@ -3,7 +3,7 @@ This is the resource_class_list module in k8s.api.resource.v1alpha2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceClassList: @@ -18,7 +18,7 @@ schema ResourceClassList: Items is the list of resource classes. kind : str, default is "ResourceClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata """ @@ -29,6 +29,6 @@ schema ResourceClassList: kind: "ResourceClassList" = "ResourceClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.28/api/scheduling/v1/priority_class.k b/k8s/1.28/api/scheduling/v1/priority_class.k index 5011343b..ffafaaa1 100644 --- a/k8s/1.28/api/scheduling/v1/priority_class.k +++ b/k8s/1.28/api/scheduling/v1/priority_class.k @@ -3,7 +3,7 @@ This is the priority_class module in k8s.api.scheduling.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityClass: @@ -20,7 +20,7 @@ schema PriorityClass: globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority. kind : str, default is "PriorityClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata preemptionPolicy : str, default is Undefined, optional preemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. @@ -37,7 +37,7 @@ schema PriorityClass: kind: "PriorityClass" = "PriorityClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta preemptionPolicy?: str diff --git a/k8s/1.28/api/scheduling/v1/priority_class_list.k b/k8s/1.28/api/scheduling/v1/priority_class_list.k index ff802048..6d514f6b 100644 --- a/k8s/1.28/api/scheduling/v1/priority_class_list.k +++ b/k8s/1.28/api/scheduling/v1/priority_class_list.k @@ -3,7 +3,7 @@ This is the priority_class_list module in k8s.api.scheduling.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityClassList: @@ -18,7 +18,7 @@ schema PriorityClassList: items is the list of PriorityClasses kind : str, default is "PriorityClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PriorityClassList: kind: "PriorityClassList" = "PriorityClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.28/api/storage/v1/csi_driver.k b/k8s/1.28/api/storage/v1/csi_driver.k index 36dd1c31..e9679296 100644 --- a/k8s/1.28/api/storage/v1/csi_driver.k +++ b/k8s/1.28/api/storage/v1/csi_driver.k @@ -3,7 +3,7 @@ This is the csi_driver module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSIDriver: @@ -16,7 +16,7 @@ schema CSIDriver: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CSIDriver", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. metadata.Name indicates the name of the CSI driver that this object refers to; it MUST be the same name returned by the CSI GetPluginName() call for that driver. The driver name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and alphanumerics between. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : CSIDriverSpec, default is Undefined, required spec represents the specification of the CSI Driver. @@ -27,7 +27,7 @@ schema CSIDriver: kind: "CSIDriver" = "CSIDriver" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CSIDriverSpec diff --git a/k8s/1.28/api/storage/v1/csi_driver_list.k b/k8s/1.28/api/storage/v1/csi_driver_list.k index 91531b39..8b09e0f6 100644 --- a/k8s/1.28/api/storage/v1/csi_driver_list.k +++ b/k8s/1.28/api/storage/v1/csi_driver_list.k @@ -3,7 +3,7 @@ This is the csi_driver_list module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSIDriverList: @@ -18,7 +18,7 @@ schema CSIDriverList: items is the list of CSIDriver kind : str, default is "CSIDriverList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CSIDriverList: kind: "CSIDriverList" = "CSIDriverList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.28/api/storage/v1/csi_node.k b/k8s/1.28/api/storage/v1/csi_node.k index 097308e8..4f129f1b 100644 --- a/k8s/1.28/api/storage/v1/csi_node.k +++ b/k8s/1.28/api/storage/v1/csi_node.k @@ -3,7 +3,7 @@ This is the csi_node module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSINode: @@ -16,7 +16,7 @@ schema CSINode: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CSINode", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. metadata.name must be the Kubernetes node name. spec : CSINodeSpec, default is Undefined, required spec is the specification of CSINode @@ -27,7 +27,7 @@ schema CSINode: kind: "CSINode" = "CSINode" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CSINodeSpec diff --git a/k8s/1.28/api/storage/v1/csi_node_list.k b/k8s/1.28/api/storage/v1/csi_node_list.k index ce5793c1..3a93da71 100644 --- a/k8s/1.28/api/storage/v1/csi_node_list.k +++ b/k8s/1.28/api/storage/v1/csi_node_list.k @@ -3,7 +3,7 @@ This is the csi_node_list module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSINodeList: @@ -18,7 +18,7 @@ schema CSINodeList: items is the list of CSINode kind : str, default is "CSINodeList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CSINodeList: kind: "CSINodeList" = "CSINodeList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.28/api/storage/v1/csi_storage_capacity.k b/k8s/1.28/api/storage/v1/csi_storage_capacity.k index 1a098e03..7193e8a7 100644 --- a/k8s/1.28/api/storage/v1/csi_storage_capacity.k +++ b/k8s/1.28/api/storage/v1/csi_storage_capacity.k @@ -3,7 +3,7 @@ This is the csi_storage_capacity module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSIStorageCapacity: @@ -32,13 +32,13 @@ schema CSIStorageCapacity: maximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields. This is defined since CSI spec 1.4.0 as the largest size that may be used in a CreateVolumeRequest.capacity_range.required_bytes field to create a volume with the same parameters as those in GetCapacityRequest. The corresponding value in the Kubernetes API is ResourceRequirements.Requests in a volume claim. - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. The name has no particular meaning. It must be a DNS subdomain (dots allowed, 253 characters). To ensure that there are no conflicts with other CSI drivers on the cluster, the recommendation is to use csisc-, a generated name, or a reverse-domain name which ends with the unique CSI driver name. Objects are namespaced. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - nodeTopology : v1.LabelSelector, default is Undefined, optional + nodeTopology : metav1.LabelSelector, default is Undefined, optional nodeTopology defines which nodes have access to the storage for which capacity was reported. If not set, the storage is not accessible from any node in the cluster. If empty, the storage is accessible from all nodes. This field is immutable. storageClassName : str, default is Undefined, required storageClassName represents the name of the StorageClass that the reported capacity applies to. It must meet the same requirements as the name of a StorageClass object (non-empty, DNS subdomain). If that object no longer exists, the CSIStorageCapacity object is obsolete and should be removed by its creator. This field is immutable. @@ -53,9 +53,9 @@ schema CSIStorageCapacity: maximumVolumeSize?: str - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta - nodeTopology?: v1.LabelSelector + nodeTopology?: metav1.LabelSelector storageClassName: str diff --git a/k8s/1.28/api/storage/v1/csi_storage_capacity_list.k b/k8s/1.28/api/storage/v1/csi_storage_capacity_list.k index 0b95b427..31f7b913 100644 --- a/k8s/1.28/api/storage/v1/csi_storage_capacity_list.k +++ b/k8s/1.28/api/storage/v1/csi_storage_capacity_list.k @@ -3,7 +3,7 @@ This is the csi_storage_capacity_list module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSIStorageCapacityList: @@ -18,7 +18,7 @@ schema CSIStorageCapacityList: items is the list of CSIStorageCapacity objects. kind : str, default is "CSIStorageCapacityList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CSIStorageCapacityList: kind: "CSIStorageCapacityList" = "CSIStorageCapacityList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.28/api/storage/v1/storage_class_list.k b/k8s/1.28/api/storage/v1/storage_class_list.k index 9644734a..840d2d6c 100644 --- a/k8s/1.28/api/storage/v1/storage_class_list.k +++ b/k8s/1.28/api/storage/v1/storage_class_list.k @@ -3,7 +3,7 @@ This is the storage_class_list module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StorageClassList: @@ -18,7 +18,7 @@ schema StorageClassList: items is the list of StorageClasses kind : str, default is "StorageClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema StorageClassList: kind: "StorageClassList" = "StorageClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.28/api/storage/v1/volume_attachment.k b/k8s/1.28/api/storage/v1/volume_attachment.k index 8014f40e..9c5844f3 100644 --- a/k8s/1.28/api/storage/v1/volume_attachment.k +++ b/k8s/1.28/api/storage/v1/volume_attachment.k @@ -3,7 +3,7 @@ This is the volume_attachment module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema VolumeAttachment: @@ -18,7 +18,7 @@ schema VolumeAttachment: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "VolumeAttachment", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : VolumeAttachmentSpec, default is Undefined, required spec represents specification of the desired attach/detach volume behavior. Populated by the Kubernetes system. @@ -29,7 +29,7 @@ schema VolumeAttachment: kind: "VolumeAttachment" = "VolumeAttachment" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: VolumeAttachmentSpec diff --git a/k8s/1.28/api/storage/v1/volume_attachment_list.k b/k8s/1.28/api/storage/v1/volume_attachment_list.k index d8a605d6..f7d2f75c 100644 --- a/k8s/1.28/api/storage/v1/volume_attachment_list.k +++ b/k8s/1.28/api/storage/v1/volume_attachment_list.k @@ -3,7 +3,7 @@ This is the volume_attachment_list module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema VolumeAttachmentList: @@ -18,7 +18,7 @@ schema VolumeAttachmentList: items is the list of VolumeAttachments kind : str, default is "VolumeAttachmentList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema VolumeAttachmentList: kind: "VolumeAttachmentList" = "VolumeAttachmentList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.28/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition.k b/k8s/1.28/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition.k index f348f6d1..5010467b 100644 --- a/k8s/1.28/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition.k +++ b/k8s/1.28/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition.k @@ -3,7 +3,7 @@ This is the custom_resource_definition module in k8s.apiextensions_apiserver.pkg This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CustomResourceDefinition: @@ -16,7 +16,7 @@ schema CustomResourceDefinition: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CustomResourceDefinition", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : CustomResourceDefinitionSpec, default is Undefined, required spec describes how the user wants the resources to appear @@ -27,7 +27,7 @@ schema CustomResourceDefinition: kind: "CustomResourceDefinition" = "CustomResourceDefinition" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CustomResourceDefinitionSpec diff --git a/k8s/1.28/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition_list.k b/k8s/1.28/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition_list.k index ca3c928b..8b625323 100644 --- a/k8s/1.28/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition_list.k +++ b/k8s/1.28/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition_list.k @@ -3,7 +3,7 @@ This is the custom_resource_definition_list module in k8s.apiextensions_apiserve This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CustomResourceDefinitionList: @@ -18,7 +18,7 @@ schema CustomResourceDefinitionList: items list individual CustomResourceDefinition objects kind : str, default is "CustomResourceDefinitionList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CustomResourceDefinitionList: kind: "CustomResourceDefinitionList" = "CustomResourceDefinitionList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.28/kcl.mod b/k8s/1.28/kcl.mod index 2dafde42..a2ffd099 100644 --- a/k8s/1.28/kcl.mod +++ b/k8s/1.28/kcl.mod @@ -1,5 +1,5 @@ [package] name = "k8s" edition = "*" -version = "1.28.1" +version = "1.28.2" description = "`k8s` is a KCL module contains all the built-in Kubernetes resource models (the CRDs are not included here)." diff --git a/k8s/1.28/kube_aggregator/pkg/apis/apiregistration/v1/api_service.k b/k8s/1.28/kube_aggregator/pkg/apis/apiregistration/v1/api_service.k index 89028f12..7b645741 100644 --- a/k8s/1.28/kube_aggregator/pkg/apis/apiregistration/v1/api_service.k +++ b/k8s/1.28/kube_aggregator/pkg/apis/apiregistration/v1/api_service.k @@ -3,7 +3,7 @@ This is the api_service module in k8s.kube_aggregator.pkg.apis.apiregistration.v This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema APIService: @@ -16,7 +16,7 @@ schema APIService: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "APIService", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : APIServiceSpec, default is Undefined, optional Spec contains information for locating and communicating with a server @@ -27,7 +27,7 @@ schema APIService: kind: "APIService" = "APIService" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: APIServiceSpec diff --git a/k8s/1.28/kube_aggregator/pkg/apis/apiregistration/v1/api_service_list.k b/k8s/1.28/kube_aggregator/pkg/apis/apiregistration/v1/api_service_list.k index acf02534..3a385202 100644 --- a/k8s/1.28/kube_aggregator/pkg/apis/apiregistration/v1/api_service_list.k +++ b/k8s/1.28/kube_aggregator/pkg/apis/apiregistration/v1/api_service_list.k @@ -3,7 +3,7 @@ This is the api_service_list module in k8s.kube_aggregator.pkg.apis.apiregistrat This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema APIServiceList: @@ -18,7 +18,7 @@ schema APIServiceList: Items is the list of APIService kind : str, default is "APIServiceList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema APIServiceList: kind: "APIServiceList" = "APIServiceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.29/api/admissionregistration/v1/mutating_webhook.k b/k8s/1.29/api/admissionregistration/v1/mutating_webhook.k index e20cff4c..a2fa2cc2 100644 --- a/k8s/1.29/api/admissionregistration/v1/mutating_webhook.k +++ b/k8s/1.29/api/admissionregistration/v1/mutating_webhook.k @@ -3,7 +3,7 @@ This is the mutating_webhook module in k8s.api.admissionregistration.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MutatingWebhook: @@ -39,7 +39,7 @@ schema MutatingWebhook: Defaults to "Equivalent" name : str, default is Undefined, required The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook. For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1"; you will set the selector as follows: "namespaceSelector": { @@ -71,7 +71,7 @@ schema MutatingWebhook: See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors. Default to the empty LabelSelector, which matches everything. - objectSelector : v1.LabelSelector, default is Undefined, optional + objectSelector : metav1.LabelSelector, default is Undefined, optional ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything. reinvocationPolicy : str, default is Undefined, optional reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded". @@ -102,9 +102,9 @@ schema MutatingWebhook: name: str - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector - objectSelector?: v1.LabelSelector + objectSelector?: metav1.LabelSelector reinvocationPolicy?: str diff --git a/k8s/1.29/api/admissionregistration/v1/mutating_webhook_configuration.k b/k8s/1.29/api/admissionregistration/v1/mutating_webhook_configuration.k index a9864b32..0c970740 100644 --- a/k8s/1.29/api/admissionregistration/v1/mutating_webhook_configuration.k +++ b/k8s/1.29/api/admissionregistration/v1/mutating_webhook_configuration.k @@ -3,7 +3,7 @@ This is the mutating_webhook_configuration module in k8s.api.admissionregistrati This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MutatingWebhookConfiguration: @@ -16,7 +16,7 @@ schema MutatingWebhookConfiguration: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "MutatingWebhookConfiguration", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. webhooks : [MutatingWebhook], default is Undefined, optional Webhooks is a list of webhooks and the affected resources and operations. @@ -27,7 +27,7 @@ schema MutatingWebhookConfiguration: kind: "MutatingWebhookConfiguration" = "MutatingWebhookConfiguration" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta webhooks?: [MutatingWebhook] diff --git a/k8s/1.29/api/admissionregistration/v1/mutating_webhook_configuration_list.k b/k8s/1.29/api/admissionregistration/v1/mutating_webhook_configuration_list.k index d4e15e81..b6fd6022 100644 --- a/k8s/1.29/api/admissionregistration/v1/mutating_webhook_configuration_list.k +++ b/k8s/1.29/api/admissionregistration/v1/mutating_webhook_configuration_list.k @@ -3,7 +3,7 @@ This is the mutating_webhook_configuration_list module in k8s.api.admissionregis This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MutatingWebhookConfigurationList: @@ -18,7 +18,7 @@ schema MutatingWebhookConfigurationList: List of MutatingWebhookConfiguration. kind : str, default is "MutatingWebhookConfigurationList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema MutatingWebhookConfigurationList: kind: "MutatingWebhookConfigurationList" = "MutatingWebhookConfigurationList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.29/api/admissionregistration/v1/validating_webhook.k b/k8s/1.29/api/admissionregistration/v1/validating_webhook.k index 1a0fda08..4f2825c4 100644 --- a/k8s/1.29/api/admissionregistration/v1/validating_webhook.k +++ b/k8s/1.29/api/admissionregistration/v1/validating_webhook.k @@ -3,7 +3,7 @@ This is the validating_webhook module in k8s.api.admissionregistration.v1 packag This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingWebhook: @@ -39,7 +39,7 @@ schema ValidatingWebhook: Defaults to "Equivalent" name : str, default is Undefined, required The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook. For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1"; you will set the selector as follows: "namespaceSelector": { @@ -71,7 +71,7 @@ schema ValidatingWebhook: See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels for more examples of label selectors. Default to the empty LabelSelector, which matches everything. - objectSelector : v1.LabelSelector, default is Undefined, optional + objectSelector : metav1.LabelSelector, default is Undefined, optional ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything. rules : [RuleWithOperations], default is Undefined, optional Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects. @@ -94,9 +94,9 @@ schema ValidatingWebhook: name: str - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector - objectSelector?: v1.LabelSelector + objectSelector?: metav1.LabelSelector rules?: [RuleWithOperations] diff --git a/k8s/1.29/api/admissionregistration/v1/validating_webhook_configuration.k b/k8s/1.29/api/admissionregistration/v1/validating_webhook_configuration.k index 2b45293a..e35bb335 100644 --- a/k8s/1.29/api/admissionregistration/v1/validating_webhook_configuration.k +++ b/k8s/1.29/api/admissionregistration/v1/validating_webhook_configuration.k @@ -3,7 +3,7 @@ This is the validating_webhook_configuration module in k8s.api.admissionregistra This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingWebhookConfiguration: @@ -16,7 +16,7 @@ schema ValidatingWebhookConfiguration: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ValidatingWebhookConfiguration", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. webhooks : [ValidatingWebhook], default is Undefined, optional Webhooks is a list of webhooks and the affected resources and operations. @@ -27,7 +27,7 @@ schema ValidatingWebhookConfiguration: kind: "ValidatingWebhookConfiguration" = "ValidatingWebhookConfiguration" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta webhooks?: [ValidatingWebhook] diff --git a/k8s/1.29/api/admissionregistration/v1/validating_webhook_configuration_list.k b/k8s/1.29/api/admissionregistration/v1/validating_webhook_configuration_list.k index 0515b188..2691da1c 100644 --- a/k8s/1.29/api/admissionregistration/v1/validating_webhook_configuration_list.k +++ b/k8s/1.29/api/admissionregistration/v1/validating_webhook_configuration_list.k @@ -3,7 +3,7 @@ This is the validating_webhook_configuration_list module in k8s.api.admissionreg This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingWebhookConfigurationList: @@ -18,7 +18,7 @@ schema ValidatingWebhookConfigurationList: List of ValidatingWebhookConfiguration. kind : str, default is "ValidatingWebhookConfigurationList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ValidatingWebhookConfigurationList: kind: "ValidatingWebhookConfigurationList" = "ValidatingWebhookConfigurationList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.29/api/admissionregistration/v1alpha1/match_resources.k b/k8s/1.29/api/admissionregistration/v1alpha1/match_resources.k index d86be0e0..47769c40 100644 --- a/k8s/1.29/api/admissionregistration/v1alpha1/match_resources.k +++ b/k8s/1.29/api/admissionregistration/v1alpha1/match_resources.k @@ -3,7 +3,7 @@ This is the match_resources module in k8s.api.admissionregistration.v1alpha1 pac This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MatchResources: @@ -22,7 +22,7 @@ schema MatchResources: - Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the ValidatingAdmissionPolicy. Defaults to "Equivalent" - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional NamespaceSelector decides whether to run the admission control policy on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the policy. For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1"; you will set the selector as follows: "namespaceSelector": { @@ -54,7 +54,7 @@ schema MatchResources: See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors. Default to the empty LabelSelector, which matches everything. - objectSelector : v1.LabelSelector, default is Undefined, optional + objectSelector : metav1.LabelSelector, default is Undefined, optional ObjectSelector decides whether to run the validation based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the cel validation, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything. resourceRules : [NamedRuleWithOperations], default is Undefined, optional ResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy matches. The policy cares about an operation if it matches _any_ Rule. @@ -65,9 +65,9 @@ schema MatchResources: matchPolicy?: str - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector - objectSelector?: v1.LabelSelector + objectSelector?: metav1.LabelSelector resourceRules?: [NamedRuleWithOperations] diff --git a/k8s/1.29/api/admissionregistration/v1alpha1/param_ref.k b/k8s/1.29/api/admissionregistration/v1alpha1/param_ref.k index 8b2278f8..8bf3c61f 100644 --- a/k8s/1.29/api/admissionregistration/v1alpha1/param_ref.k +++ b/k8s/1.29/api/admissionregistration/v1alpha1/param_ref.k @@ -3,7 +3,7 @@ This is the param_ref module in k8s.api.admissionregistration.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ParamRef: @@ -28,7 +28,7 @@ schema ParamRef: `parameterNotFoundAction` controls the behavior of the binding when the resource exists, and name or selector is valid, but there are no parameters matched by the binding. If the value is set to `Allow`, then no matched parameters will be treated as successful validation by the binding. If set to `Deny`, then no matched parameters will be subject to the `failurePolicy` of the policy. Allowed values are `Allow` or `Deny` Default to `Deny` - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector can be used to match multiple param objects based on their labels. Supply selector: {} to match all resources of the ParamKind. If multiple params are found, they are all evaluated with the policy expressions and the results are ANDed together. @@ -43,6 +43,6 @@ schema ParamRef: parameterNotFoundAction?: str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector diff --git a/k8s/1.29/api/admissionregistration/v1alpha1/validating_admission_policy.k b/k8s/1.29/api/admissionregistration/v1alpha1/validating_admission_policy.k index e7c00f7b..9c6fa4d4 100644 --- a/k8s/1.29/api/admissionregistration/v1alpha1/validating_admission_policy.k +++ b/k8s/1.29/api/admissionregistration/v1alpha1/validating_admission_policy.k @@ -3,7 +3,7 @@ This is the validating_admission_policy module in k8s.api.admissionregistration. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingAdmissionPolicy: @@ -16,7 +16,7 @@ schema ValidatingAdmissionPolicy: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ValidatingAdmissionPolicy", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. spec : ValidatingAdmissionPolicySpec, default is Undefined, optional Specification of the desired behavior of the ValidatingAdmissionPolicy. @@ -27,7 +27,7 @@ schema ValidatingAdmissionPolicy: kind: "ValidatingAdmissionPolicy" = "ValidatingAdmissionPolicy" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ValidatingAdmissionPolicySpec diff --git a/k8s/1.29/api/admissionregistration/v1alpha1/validating_admission_policy_binding.k b/k8s/1.29/api/admissionregistration/v1alpha1/validating_admission_policy_binding.k index d01e7a8d..2682043d 100644 --- a/k8s/1.29/api/admissionregistration/v1alpha1/validating_admission_policy_binding.k +++ b/k8s/1.29/api/admissionregistration/v1alpha1/validating_admission_policy_binding.k @@ -3,7 +3,7 @@ This is the validating_admission_policy_binding module in k8s.api.admissionregis This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingAdmissionPolicyBinding: @@ -20,7 +20,7 @@ schema ValidatingAdmissionPolicyBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ValidatingAdmissionPolicyBinding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. spec : ValidatingAdmissionPolicyBindingSpec, default is Undefined, optional Specification of the desired behavior of the ValidatingAdmissionPolicyBinding. @@ -31,7 +31,7 @@ schema ValidatingAdmissionPolicyBinding: kind: "ValidatingAdmissionPolicyBinding" = "ValidatingAdmissionPolicyBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ValidatingAdmissionPolicyBindingSpec diff --git a/k8s/1.29/api/admissionregistration/v1alpha1/validating_admission_policy_binding_list.k b/k8s/1.29/api/admissionregistration/v1alpha1/validating_admission_policy_binding_list.k index 0e7e8fc5..46d10fbf 100644 --- a/k8s/1.29/api/admissionregistration/v1alpha1/validating_admission_policy_binding_list.k +++ b/k8s/1.29/api/admissionregistration/v1alpha1/validating_admission_policy_binding_list.k @@ -3,7 +3,7 @@ This is the validating_admission_policy_binding_list module in k8s.api.admission This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingAdmissionPolicyBindingList: @@ -18,7 +18,7 @@ schema ValidatingAdmissionPolicyBindingList: List of PolicyBinding. kind : str, default is "ValidatingAdmissionPolicyBindingList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ValidatingAdmissionPolicyBindingList: kind: "ValidatingAdmissionPolicyBindingList" = "ValidatingAdmissionPolicyBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.29/api/admissionregistration/v1alpha1/validating_admission_policy_list.k b/k8s/1.29/api/admissionregistration/v1alpha1/validating_admission_policy_list.k index cd0c51df..d3aa1e7e 100644 --- a/k8s/1.29/api/admissionregistration/v1alpha1/validating_admission_policy_list.k +++ b/k8s/1.29/api/admissionregistration/v1alpha1/validating_admission_policy_list.k @@ -3,7 +3,7 @@ This is the validating_admission_policy_list module in k8s.api.admissionregistra This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingAdmissionPolicyList: @@ -18,7 +18,7 @@ schema ValidatingAdmissionPolicyList: List of ValidatingAdmissionPolicy. kind : str, default is "ValidatingAdmissionPolicyList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ValidatingAdmissionPolicyList: kind: "ValidatingAdmissionPolicyList" = "ValidatingAdmissionPolicyList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.29/api/admissionregistration/v1alpha1/validating_admission_policy_status.k b/k8s/1.29/api/admissionregistration/v1alpha1/validating_admission_policy_status.k index 854bdc8c..f7743287 100644 --- a/k8s/1.29/api/admissionregistration/v1alpha1/validating_admission_policy_status.k +++ b/k8s/1.29/api/admissionregistration/v1alpha1/validating_admission_policy_status.k @@ -3,7 +3,7 @@ This is the validating_admission_policy_status module in k8s.api.admissionregist This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingAdmissionPolicyStatus: @@ -12,7 +12,7 @@ schema ValidatingAdmissionPolicyStatus: Attributes ---------- - conditions : [v1.Condition], default is Undefined, optional + conditions : [metav1.Condition], default is Undefined, optional The conditions represent the latest available observations of a policy's current state. observedGeneration : int, default is Undefined, optional The generation observed by the controller. @@ -21,7 +21,7 @@ schema ValidatingAdmissionPolicyStatus: """ - conditions?: [v1.Condition] + conditions?: [metav1.Condition] observedGeneration?: int diff --git a/k8s/1.29/api/admissionregistration/v1beta1/match_resources.k b/k8s/1.29/api/admissionregistration/v1beta1/match_resources.k index 17162add..260c06d6 100644 --- a/k8s/1.29/api/admissionregistration/v1beta1/match_resources.k +++ b/k8s/1.29/api/admissionregistration/v1beta1/match_resources.k @@ -3,7 +3,7 @@ This is the match_resources module in k8s.api.admissionregistration.v1beta1 pack This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MatchResources: @@ -22,7 +22,7 @@ schema MatchResources: - Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the ValidatingAdmissionPolicy. Defaults to "Equivalent" - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional NamespaceSelector decides whether to run the admission control policy on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the policy. For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1"; you will set the selector as follows: "namespaceSelector": { @@ -54,7 +54,7 @@ schema MatchResources: See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors. Default to the empty LabelSelector, which matches everything. - objectSelector : v1.LabelSelector, default is Undefined, optional + objectSelector : metav1.LabelSelector, default is Undefined, optional ObjectSelector decides whether to run the validation based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the cel validation, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything. resourceRules : [NamedRuleWithOperations], default is Undefined, optional ResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy matches. The policy cares about an operation if it matches _any_ Rule. @@ -65,9 +65,9 @@ schema MatchResources: matchPolicy?: str - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector - objectSelector?: v1.LabelSelector + objectSelector?: metav1.LabelSelector resourceRules?: [NamedRuleWithOperations] diff --git a/k8s/1.29/api/admissionregistration/v1beta1/param_ref.k b/k8s/1.29/api/admissionregistration/v1beta1/param_ref.k index f1a6bacf..f7617c02 100644 --- a/k8s/1.29/api/admissionregistration/v1beta1/param_ref.k +++ b/k8s/1.29/api/admissionregistration/v1beta1/param_ref.k @@ -3,7 +3,7 @@ This is the param_ref module in k8s.api.admissionregistration.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ParamRef: @@ -32,7 +32,7 @@ schema ParamRef: Allowed values are `Allow` or `Deny` Required - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector can be used to match multiple param objects based on their labels. Supply selector: {} to match all resources of the ParamKind. If multiple params are found, they are all evaluated with the policy expressions and the results are ANDed together. @@ -47,6 +47,6 @@ schema ParamRef: parameterNotFoundAction?: str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector diff --git a/k8s/1.29/api/admissionregistration/v1beta1/validating_admission_policy.k b/k8s/1.29/api/admissionregistration/v1beta1/validating_admission_policy.k index 352f7c4e..ea6de96d 100644 --- a/k8s/1.29/api/admissionregistration/v1beta1/validating_admission_policy.k +++ b/k8s/1.29/api/admissionregistration/v1beta1/validating_admission_policy.k @@ -3,7 +3,7 @@ This is the validating_admission_policy module in k8s.api.admissionregistration. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingAdmissionPolicy: @@ -16,7 +16,7 @@ schema ValidatingAdmissionPolicy: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ValidatingAdmissionPolicy", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. spec : ValidatingAdmissionPolicySpec, default is Undefined, optional Specification of the desired behavior of the ValidatingAdmissionPolicy. @@ -27,7 +27,7 @@ schema ValidatingAdmissionPolicy: kind: "ValidatingAdmissionPolicy" = "ValidatingAdmissionPolicy" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ValidatingAdmissionPolicySpec diff --git a/k8s/1.29/api/admissionregistration/v1beta1/validating_admission_policy_binding.k b/k8s/1.29/api/admissionregistration/v1beta1/validating_admission_policy_binding.k index 0948d271..53247488 100644 --- a/k8s/1.29/api/admissionregistration/v1beta1/validating_admission_policy_binding.k +++ b/k8s/1.29/api/admissionregistration/v1beta1/validating_admission_policy_binding.k @@ -3,7 +3,7 @@ This is the validating_admission_policy_binding module in k8s.api.admissionregis This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingAdmissionPolicyBinding: @@ -20,7 +20,7 @@ schema ValidatingAdmissionPolicyBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ValidatingAdmissionPolicyBinding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. spec : ValidatingAdmissionPolicyBindingSpec, default is Undefined, optional Specification of the desired behavior of the ValidatingAdmissionPolicyBinding. @@ -31,7 +31,7 @@ schema ValidatingAdmissionPolicyBinding: kind: "ValidatingAdmissionPolicyBinding" = "ValidatingAdmissionPolicyBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ValidatingAdmissionPolicyBindingSpec diff --git a/k8s/1.29/api/admissionregistration/v1beta1/validating_admission_policy_binding_list.k b/k8s/1.29/api/admissionregistration/v1beta1/validating_admission_policy_binding_list.k index dc9d9504..aedf6439 100644 --- a/k8s/1.29/api/admissionregistration/v1beta1/validating_admission_policy_binding_list.k +++ b/k8s/1.29/api/admissionregistration/v1beta1/validating_admission_policy_binding_list.k @@ -3,7 +3,7 @@ This is the validating_admission_policy_binding_list module in k8s.api.admission This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingAdmissionPolicyBindingList: @@ -18,7 +18,7 @@ schema ValidatingAdmissionPolicyBindingList: List of PolicyBinding. kind : str, default is "ValidatingAdmissionPolicyBindingList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ValidatingAdmissionPolicyBindingList: kind: "ValidatingAdmissionPolicyBindingList" = "ValidatingAdmissionPolicyBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.29/api/admissionregistration/v1beta1/validating_admission_policy_list.k b/k8s/1.29/api/admissionregistration/v1beta1/validating_admission_policy_list.k index 3d0b4d56..3525696b 100644 --- a/k8s/1.29/api/admissionregistration/v1beta1/validating_admission_policy_list.k +++ b/k8s/1.29/api/admissionregistration/v1beta1/validating_admission_policy_list.k @@ -3,7 +3,7 @@ This is the validating_admission_policy_list module in k8s.api.admissionregistra This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingAdmissionPolicyList: @@ -18,7 +18,7 @@ schema ValidatingAdmissionPolicyList: List of ValidatingAdmissionPolicy. kind : str, default is "ValidatingAdmissionPolicyList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ValidatingAdmissionPolicyList: kind: "ValidatingAdmissionPolicyList" = "ValidatingAdmissionPolicyList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.29/api/admissionregistration/v1beta1/validating_admission_policy_status.k b/k8s/1.29/api/admissionregistration/v1beta1/validating_admission_policy_status.k index 7b8abd7e..a0b0db31 100644 --- a/k8s/1.29/api/admissionregistration/v1beta1/validating_admission_policy_status.k +++ b/k8s/1.29/api/admissionregistration/v1beta1/validating_admission_policy_status.k @@ -3,7 +3,7 @@ This is the validating_admission_policy_status module in k8s.api.admissionregist This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingAdmissionPolicyStatus: @@ -12,7 +12,7 @@ schema ValidatingAdmissionPolicyStatus: Attributes ---------- - conditions : [v1.Condition], default is Undefined, optional + conditions : [metav1.Condition], default is Undefined, optional The conditions represent the latest available observations of a policy's current state. observedGeneration : int, default is Undefined, optional The generation observed by the controller. @@ -21,7 +21,7 @@ schema ValidatingAdmissionPolicyStatus: """ - conditions?: [v1.Condition] + conditions?: [metav1.Condition] observedGeneration?: int diff --git a/k8s/1.29/api/apiserverinternal/v1alpha1/storage_version.k b/k8s/1.29/api/apiserverinternal/v1alpha1/storage_version.k index 4e3de9df..9723ca14 100644 --- a/k8s/1.29/api/apiserverinternal/v1alpha1/storage_version.k +++ b/k8s/1.29/api/apiserverinternal/v1alpha1/storage_version.k @@ -3,7 +3,7 @@ This is the storage_version module in k8s.api.apiserverinternal.v1alpha1 package This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StorageVersion: @@ -16,7 +16,7 @@ schema StorageVersion: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "StorageVersion", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional The name is .. spec : any, default is Undefined, required Spec is an empty spec. It is here to comply with Kubernetes API style. @@ -27,7 +27,7 @@ schema StorageVersion: kind: "StorageVersion" = "StorageVersion" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: any diff --git a/k8s/1.29/api/apiserverinternal/v1alpha1/storage_version_list.k b/k8s/1.29/api/apiserverinternal/v1alpha1/storage_version_list.k index 1da65e55..a75d5c84 100644 --- a/k8s/1.29/api/apiserverinternal/v1alpha1/storage_version_list.k +++ b/k8s/1.29/api/apiserverinternal/v1alpha1/storage_version_list.k @@ -3,7 +3,7 @@ This is the storage_version_list module in k8s.api.apiserverinternal.v1alpha1 pa This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StorageVersionList: @@ -18,7 +18,7 @@ schema StorageVersionList: Items holds a list of StorageVersion kind : str, default is "StorageVersionList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema StorageVersionList: kind: "StorageVersionList" = "StorageVersionList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.29/api/apps/v1/controller_revision.k b/k8s/1.29/api/apps/v1/controller_revision.k index dbb3d441..56163182 100644 --- a/k8s/1.29/api/apps/v1/controller_revision.k +++ b/k8s/1.29/api/apps/v1/controller_revision.k @@ -3,7 +3,7 @@ This is the controller_revision module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ControllerRevision: @@ -18,7 +18,7 @@ schema ControllerRevision: Data is the serialized representation of the state. kind : str, default is "ControllerRevision", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata revision : int, default is Undefined, required Revision indicates the revision of the state represented by Data. @@ -31,7 +31,7 @@ schema ControllerRevision: kind: "ControllerRevision" = "ControllerRevision" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta revision: int diff --git a/k8s/1.29/api/apps/v1/controller_revision_list.k b/k8s/1.29/api/apps/v1/controller_revision_list.k index e145fcff..bb64d1fe 100644 --- a/k8s/1.29/api/apps/v1/controller_revision_list.k +++ b/k8s/1.29/api/apps/v1/controller_revision_list.k @@ -3,7 +3,7 @@ This is the controller_revision_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ControllerRevisionList: @@ -18,7 +18,7 @@ schema ControllerRevisionList: Items is the list of ControllerRevisions kind : str, default is "ControllerRevisionList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema ControllerRevisionList: kind: "ControllerRevisionList" = "ControllerRevisionList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.29/api/apps/v1/daemon_set.k b/k8s/1.29/api/apps/v1/daemon_set.k index 33e7b68b..fd1c7c20 100644 --- a/k8s/1.29/api/apps/v1/daemon_set.k +++ b/k8s/1.29/api/apps/v1/daemon_set.k @@ -3,7 +3,7 @@ This is the daemon_set module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DaemonSet: @@ -16,7 +16,7 @@ schema DaemonSet: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "DaemonSet", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : DaemonSetSpec, default is Undefined, optional The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema DaemonSet: kind: "DaemonSet" = "DaemonSet" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: DaemonSetSpec diff --git a/k8s/1.29/api/apps/v1/daemon_set_list.k b/k8s/1.29/api/apps/v1/daemon_set_list.k index 3515d999..795c26f8 100644 --- a/k8s/1.29/api/apps/v1/daemon_set_list.k +++ b/k8s/1.29/api/apps/v1/daemon_set_list.k @@ -3,7 +3,7 @@ This is the daemon_set_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DaemonSetList: @@ -18,7 +18,7 @@ schema DaemonSetList: A list of daemon sets. kind : str, default is "DaemonSetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema DaemonSetList: kind: "DaemonSetList" = "DaemonSetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.29/api/apps/v1/daemon_set_spec.k b/k8s/1.29/api/apps/v1/daemon_set_spec.k index c34c5eba..e99149e3 100644 --- a/k8s/1.29/api/apps/v1/daemon_set_spec.k +++ b/k8s/1.29/api/apps/v1/daemon_set_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DaemonSetSpec: @@ -17,7 +17,7 @@ schema DaemonSetSpec: The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready). revisionHistoryLimit : int, default is Undefined, optional The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required A label query over pods that are managed by the daemon set. Must match in order to be controlled. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors template : corev1.PodTemplateSpec, default is Undefined, required An object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). The only allowed template.spec.restartPolicy value is "Always". More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template @@ -30,7 +30,7 @@ schema DaemonSetSpec: revisionHistoryLimit?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector template: corev1.PodTemplateSpec diff --git a/k8s/1.29/api/apps/v1/deployment.k b/k8s/1.29/api/apps/v1/deployment.k index 38b5af9e..12cf0b73 100644 --- a/k8s/1.29/api/apps/v1/deployment.k +++ b/k8s/1.29/api/apps/v1/deployment.k @@ -3,7 +3,7 @@ This is the deployment module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Deployment: @@ -16,7 +16,7 @@ schema Deployment: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Deployment", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : DeploymentSpec, default is Undefined, optional Specification of the desired behavior of the Deployment. @@ -27,7 +27,7 @@ schema Deployment: kind: "Deployment" = "Deployment" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: DeploymentSpec diff --git a/k8s/1.29/api/apps/v1/deployment_list.k b/k8s/1.29/api/apps/v1/deployment_list.k index a83ce0d5..8fa44e9b 100644 --- a/k8s/1.29/api/apps/v1/deployment_list.k +++ b/k8s/1.29/api/apps/v1/deployment_list.k @@ -3,7 +3,7 @@ This is the deployment_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DeploymentList: @@ -18,7 +18,7 @@ schema DeploymentList: Items is the list of Deployments. kind : str, default is "DeploymentList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema DeploymentList: kind: "DeploymentList" = "DeploymentList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.29/api/apps/v1/deployment_spec.k b/k8s/1.29/api/apps/v1/deployment_spec.k index 7a6835d9..5ecbcccc 100644 --- a/k8s/1.29/api/apps/v1/deployment_spec.k +++ b/k8s/1.29/api/apps/v1/deployment_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DeploymentSpec: @@ -23,7 +23,7 @@ schema DeploymentSpec: Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1. revisionHistoryLimit : int, default is Undefined, optional The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. It must match the pod template's labels. strategy : DeploymentStrategy, default is Undefined, optional The deployment strategy to use to replace existing pods with new ones. @@ -42,7 +42,7 @@ schema DeploymentSpec: revisionHistoryLimit?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector strategy?: DeploymentStrategy diff --git a/k8s/1.29/api/apps/v1/replica_set.k b/k8s/1.29/api/apps/v1/replica_set.k index 0497ff66..79552175 100644 --- a/k8s/1.29/api/apps/v1/replica_set.k +++ b/k8s/1.29/api/apps/v1/replica_set.k @@ -3,7 +3,7 @@ This is the replica_set module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicaSet: @@ -16,7 +16,7 @@ schema ReplicaSet: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ReplicaSet", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : ReplicaSetSpec, default is Undefined, optional Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema ReplicaSet: kind: "ReplicaSet" = "ReplicaSet" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ReplicaSetSpec diff --git a/k8s/1.29/api/apps/v1/replica_set_list.k b/k8s/1.29/api/apps/v1/replica_set_list.k index 0e25bef7..689ca9bb 100644 --- a/k8s/1.29/api/apps/v1/replica_set_list.k +++ b/k8s/1.29/api/apps/v1/replica_set_list.k @@ -3,7 +3,7 @@ This is the replica_set_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicaSetList: @@ -18,7 +18,7 @@ schema ReplicaSetList: List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller kind : str, default is "ReplicaSetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ReplicaSetList: kind: "ReplicaSetList" = "ReplicaSetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.29/api/apps/v1/replica_set_spec.k b/k8s/1.29/api/apps/v1/replica_set_spec.k index 700810d3..53ae3f6f 100644 --- a/k8s/1.29/api/apps/v1/replica_set_spec.k +++ b/k8s/1.29/api/apps/v1/replica_set_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicaSetSpec: @@ -17,7 +17,7 @@ schema ReplicaSetSpec: Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) replicas : int, default is Undefined, optional Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required Selector is a label query over pods that should match the replica count. Label keys and values that must match in order to be controlled by this replica set. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors template : corev1.PodTemplateSpec, default is Undefined, optional Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template @@ -28,7 +28,7 @@ schema ReplicaSetSpec: replicas?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector template?: corev1.PodTemplateSpec diff --git a/k8s/1.29/api/apps/v1/stateful_set.k b/k8s/1.29/api/apps/v1/stateful_set.k index c3b7106d..18d52ced 100644 --- a/k8s/1.29/api/apps/v1/stateful_set.k +++ b/k8s/1.29/api/apps/v1/stateful_set.k @@ -3,7 +3,7 @@ This is the stateful_set module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StatefulSet: @@ -20,7 +20,7 @@ schema StatefulSet: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "StatefulSet", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : StatefulSetSpec, default is Undefined, optional Spec defines the desired identities of pods in this set. @@ -31,7 +31,7 @@ schema StatefulSet: kind: "StatefulSet" = "StatefulSet" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: StatefulSetSpec diff --git a/k8s/1.29/api/apps/v1/stateful_set_list.k b/k8s/1.29/api/apps/v1/stateful_set_list.k index 2eec95d8..441abc55 100644 --- a/k8s/1.29/api/apps/v1/stateful_set_list.k +++ b/k8s/1.29/api/apps/v1/stateful_set_list.k @@ -3,7 +3,7 @@ This is the stateful_set_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StatefulSetList: @@ -18,7 +18,7 @@ schema StatefulSetList: Items is the list of stateful sets. kind : str, default is "StatefulSetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema StatefulSetList: kind: "StatefulSetList" = "StatefulSetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.29/api/apps/v1/stateful_set_spec.k b/k8s/1.29/api/apps/v1/stateful_set_spec.k index fb5f2938..9824ff2e 100644 --- a/k8s/1.29/api/apps/v1/stateful_set_spec.k +++ b/k8s/1.29/api/apps/v1/stateful_set_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StatefulSetSpec: @@ -25,7 +25,7 @@ schema StatefulSetSpec: replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1. revisionHistoryLimit : int, default is Undefined, optional revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10. - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required selector is a label query over pods that should match the replica count. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors serviceName : str, default is Undefined, required serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where "pod-specific-string" is managed by the StatefulSet controller. @@ -50,7 +50,7 @@ schema StatefulSetSpec: revisionHistoryLimit?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector serviceName: str diff --git a/k8s/1.29/api/authentication/v1/self_subject_review.k b/k8s/1.29/api/authentication/v1/self_subject_review.k index fea01134..2bbf3ae0 100644 --- a/k8s/1.29/api/authentication/v1/self_subject_review.k +++ b/k8s/1.29/api/authentication/v1/self_subject_review.k @@ -3,7 +3,7 @@ This is the self_subject_review module in k8s.api.authentication.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SelfSubjectReview: @@ -16,7 +16,7 @@ schema SelfSubjectReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SelfSubjectReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -25,6 +25,6 @@ schema SelfSubjectReview: kind: "SelfSubjectReview" = "SelfSubjectReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta diff --git a/k8s/1.29/api/authentication/v1/token_request.k b/k8s/1.29/api/authentication/v1/token_request.k index 429ebd8e..477cf85e 100644 --- a/k8s/1.29/api/authentication/v1/token_request.k +++ b/k8s/1.29/api/authentication/v1/token_request.k @@ -3,7 +3,7 @@ This is the token_request module in k8s.api.authentication.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema TokenRequest: @@ -16,7 +16,7 @@ schema TokenRequest: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "TokenRequest", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : TokenRequestSpec, default is Undefined, required Spec holds information about the request being evaluated @@ -27,7 +27,7 @@ schema TokenRequest: kind: "TokenRequest" = "TokenRequest" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: TokenRequestSpec diff --git a/k8s/1.29/api/authentication/v1/token_review.k b/k8s/1.29/api/authentication/v1/token_review.k index 62c61db1..349936f3 100644 --- a/k8s/1.29/api/authentication/v1/token_review.k +++ b/k8s/1.29/api/authentication/v1/token_review.k @@ -3,7 +3,7 @@ This is the token_review module in k8s.api.authentication.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema TokenReview: @@ -16,7 +16,7 @@ schema TokenReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "TokenReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : TokenReviewSpec, default is Undefined, required Spec holds information about the request being evaluated @@ -27,7 +27,7 @@ schema TokenReview: kind: "TokenReview" = "TokenReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: TokenReviewSpec diff --git a/k8s/1.29/api/authentication/v1alpha1/self_subject_review.k b/k8s/1.29/api/authentication/v1alpha1/self_subject_review.k index b0c5c3de..0e636dce 100644 --- a/k8s/1.29/api/authentication/v1alpha1/self_subject_review.k +++ b/k8s/1.29/api/authentication/v1alpha1/self_subject_review.k @@ -3,7 +3,7 @@ This is the self_subject_review module in k8s.api.authentication.v1alpha1 packag This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SelfSubjectReview: @@ -16,7 +16,7 @@ schema SelfSubjectReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SelfSubjectReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -25,6 +25,6 @@ schema SelfSubjectReview: kind: "SelfSubjectReview" = "SelfSubjectReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta diff --git a/k8s/1.29/api/authentication/v1beta1/self_subject_review.k b/k8s/1.29/api/authentication/v1beta1/self_subject_review.k index 7a80c911..8a74a1d9 100644 --- a/k8s/1.29/api/authentication/v1beta1/self_subject_review.k +++ b/k8s/1.29/api/authentication/v1beta1/self_subject_review.k @@ -3,7 +3,7 @@ This is the self_subject_review module in k8s.api.authentication.v1beta1 package This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SelfSubjectReview: @@ -16,7 +16,7 @@ schema SelfSubjectReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SelfSubjectReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -25,6 +25,6 @@ schema SelfSubjectReview: kind: "SelfSubjectReview" = "SelfSubjectReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta diff --git a/k8s/1.29/api/authorization/v1/local_subject_access_review.k b/k8s/1.29/api/authorization/v1/local_subject_access_review.k index 79b08fbe..4cf5723a 100644 --- a/k8s/1.29/api/authorization/v1/local_subject_access_review.k +++ b/k8s/1.29/api/authorization/v1/local_subject_access_review.k @@ -3,7 +3,7 @@ This is the local_subject_access_review module in k8s.api.authorization.v1 packa This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LocalSubjectAccessReview: @@ -16,7 +16,7 @@ schema LocalSubjectAccessReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "LocalSubjectAccessReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : SubjectAccessReviewSpec, default is Undefined, required Spec holds information about the request being evaluated. spec.namespace must be equal to the namespace you made the request against. If empty, it is defaulted. @@ -27,7 +27,7 @@ schema LocalSubjectAccessReview: kind: "LocalSubjectAccessReview" = "LocalSubjectAccessReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SubjectAccessReviewSpec diff --git a/k8s/1.29/api/authorization/v1/self_subject_access_review.k b/k8s/1.29/api/authorization/v1/self_subject_access_review.k index 4fd1e21e..d32833e7 100644 --- a/k8s/1.29/api/authorization/v1/self_subject_access_review.k +++ b/k8s/1.29/api/authorization/v1/self_subject_access_review.k @@ -3,7 +3,7 @@ This is the self_subject_access_review module in k8s.api.authorization.v1 packag This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SelfSubjectAccessReview: @@ -16,7 +16,7 @@ schema SelfSubjectAccessReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SelfSubjectAccessReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : SelfSubjectAccessReviewSpec, default is Undefined, required Spec holds information about the request being evaluated. user and groups must be empty @@ -27,7 +27,7 @@ schema SelfSubjectAccessReview: kind: "SelfSubjectAccessReview" = "SelfSubjectAccessReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SelfSubjectAccessReviewSpec diff --git a/k8s/1.29/api/authorization/v1/self_subject_rules_review.k b/k8s/1.29/api/authorization/v1/self_subject_rules_review.k index a29ee599..baaf47ac 100644 --- a/k8s/1.29/api/authorization/v1/self_subject_rules_review.k +++ b/k8s/1.29/api/authorization/v1/self_subject_rules_review.k @@ -3,7 +3,7 @@ This is the self_subject_rules_review module in k8s.api.authorization.v1 package This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SelfSubjectRulesReview: @@ -16,7 +16,7 @@ schema SelfSubjectRulesReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SelfSubjectRulesReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : SelfSubjectRulesReviewSpec, default is Undefined, required Spec holds information about the request being evaluated. @@ -27,7 +27,7 @@ schema SelfSubjectRulesReview: kind: "SelfSubjectRulesReview" = "SelfSubjectRulesReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SelfSubjectRulesReviewSpec diff --git a/k8s/1.29/api/authorization/v1/subject_access_review.k b/k8s/1.29/api/authorization/v1/subject_access_review.k index 9d15bdb3..d054d8f5 100644 --- a/k8s/1.29/api/authorization/v1/subject_access_review.k +++ b/k8s/1.29/api/authorization/v1/subject_access_review.k @@ -3,7 +3,7 @@ This is the subject_access_review module in k8s.api.authorization.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SubjectAccessReview: @@ -16,7 +16,7 @@ schema SubjectAccessReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SubjectAccessReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : SubjectAccessReviewSpec, default is Undefined, required Spec holds information about the request being evaluated @@ -27,7 +27,7 @@ schema SubjectAccessReview: kind: "SubjectAccessReview" = "SubjectAccessReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SubjectAccessReviewSpec diff --git a/k8s/1.29/api/autoscaling/v1/horizontal_pod_autoscaler.k b/k8s/1.29/api/autoscaling/v1/horizontal_pod_autoscaler.k index 236f8ffb..e12daf3f 100644 --- a/k8s/1.29/api/autoscaling/v1/horizontal_pod_autoscaler.k +++ b/k8s/1.29/api/autoscaling/v1/horizontal_pod_autoscaler.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler module in k8s.api.autoscaling.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscaler: @@ -16,7 +16,7 @@ schema HorizontalPodAutoscaler: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "HorizontalPodAutoscaler", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : HorizontalPodAutoscalerSpec, default is Undefined, optional spec defines the behaviour of autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema HorizontalPodAutoscaler: kind: "HorizontalPodAutoscaler" = "HorizontalPodAutoscaler" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: HorizontalPodAutoscalerSpec diff --git a/k8s/1.29/api/autoscaling/v1/horizontal_pod_autoscaler_list.k b/k8s/1.29/api/autoscaling/v1/horizontal_pod_autoscaler_list.k index cf1dc3c9..72c014a3 100644 --- a/k8s/1.29/api/autoscaling/v1/horizontal_pod_autoscaler_list.k +++ b/k8s/1.29/api/autoscaling/v1/horizontal_pod_autoscaler_list.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler_list module in k8s.api.autoscaling.v1 pack This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscalerList: @@ -18,7 +18,7 @@ schema HorizontalPodAutoscalerList: items is the list of horizontal pod autoscaler objects. kind : str, default is "HorizontalPodAutoscalerList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema HorizontalPodAutoscalerList: kind: "HorizontalPodAutoscalerList" = "HorizontalPodAutoscalerList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.29/api/autoscaling/v1/scale.k b/k8s/1.29/api/autoscaling/v1/scale.k index 2b87df91..61d84b02 100644 --- a/k8s/1.29/api/autoscaling/v1/scale.k +++ b/k8s/1.29/api/autoscaling/v1/scale.k @@ -3,7 +3,7 @@ This is the scale module in k8s.api.autoscaling.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Scale: @@ -16,7 +16,7 @@ schema Scale: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Scale", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. spec : ScaleSpec, default is Undefined, optional spec defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema Scale: kind: "Scale" = "Scale" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ScaleSpec diff --git a/k8s/1.29/api/autoscaling/v2/horizontal_pod_autoscaler.k b/k8s/1.29/api/autoscaling/v2/horizontal_pod_autoscaler.k index 45093baf..80ed131b 100644 --- a/k8s/1.29/api/autoscaling/v2/horizontal_pod_autoscaler.k +++ b/k8s/1.29/api/autoscaling/v2/horizontal_pod_autoscaler.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler module in k8s.api.autoscaling.v2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscaler: @@ -16,7 +16,7 @@ schema HorizontalPodAutoscaler: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "HorizontalPodAutoscaler", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : HorizontalPodAutoscalerSpec, default is Undefined, optional spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema HorizontalPodAutoscaler: kind: "HorizontalPodAutoscaler" = "HorizontalPodAutoscaler" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: HorizontalPodAutoscalerSpec diff --git a/k8s/1.29/api/autoscaling/v2/horizontal_pod_autoscaler_list.k b/k8s/1.29/api/autoscaling/v2/horizontal_pod_autoscaler_list.k index 07b059fb..87bfa8bf 100644 --- a/k8s/1.29/api/autoscaling/v2/horizontal_pod_autoscaler_list.k +++ b/k8s/1.29/api/autoscaling/v2/horizontal_pod_autoscaler_list.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler_list module in k8s.api.autoscaling.v2 pack This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscalerList: @@ -18,7 +18,7 @@ schema HorizontalPodAutoscalerList: items is the list of horizontal pod autoscaler objects. kind : str, default is "HorizontalPodAutoscalerList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata is the standard list metadata. """ @@ -29,6 +29,6 @@ schema HorizontalPodAutoscalerList: kind: "HorizontalPodAutoscalerList" = "HorizontalPodAutoscalerList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.29/api/autoscaling/v2/metric_identifier.k b/k8s/1.29/api/autoscaling/v2/metric_identifier.k index d1538fb1..df0007a9 100644 --- a/k8s/1.29/api/autoscaling/v2/metric_identifier.k +++ b/k8s/1.29/api/autoscaling/v2/metric_identifier.k @@ -3,7 +3,7 @@ This is the metric_identifier module in k8s.api.autoscaling.v2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MetricIdentifier: @@ -14,13 +14,13 @@ schema MetricIdentifier: ---------- name : str, default is Undefined, required name is the name of the given metric - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics. """ name: str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector diff --git a/k8s/1.29/api/batch/v1/cron_job.k b/k8s/1.29/api/batch/v1/cron_job.k index 380498ff..c716e33b 100644 --- a/k8s/1.29/api/batch/v1/cron_job.k +++ b/k8s/1.29/api/batch/v1/cron_job.k @@ -3,7 +3,7 @@ This is the cron_job module in k8s.api.batch.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CronJob: @@ -16,7 +16,7 @@ schema CronJob: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CronJob", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : CronJobSpec, default is Undefined, optional Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema CronJob: kind: "CronJob" = "CronJob" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: CronJobSpec diff --git a/k8s/1.29/api/batch/v1/cron_job_list.k b/k8s/1.29/api/batch/v1/cron_job_list.k index 69e1971a..8200a4bd 100644 --- a/k8s/1.29/api/batch/v1/cron_job_list.k +++ b/k8s/1.29/api/batch/v1/cron_job_list.k @@ -3,7 +3,7 @@ This is the cron_job_list module in k8s.api.batch.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CronJobList: @@ -18,7 +18,7 @@ schema CronJobList: items is the list of CronJobs. kind : str, default is "CronJobList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CronJobList: kind: "CronJobList" = "CronJobList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.29/api/batch/v1/job.k b/k8s/1.29/api/batch/v1/job.k index 44fbc917..3e545aac 100644 --- a/k8s/1.29/api/batch/v1/job.k +++ b/k8s/1.29/api/batch/v1/job.k @@ -3,7 +3,7 @@ This is the job module in k8s.api.batch.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Job: @@ -16,7 +16,7 @@ schema Job: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Job", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : JobSpec, default is Undefined, optional Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Job: kind: "Job" = "Job" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: JobSpec diff --git a/k8s/1.29/api/batch/v1/job_list.k b/k8s/1.29/api/batch/v1/job_list.k index 88588804..e2f8aee6 100644 --- a/k8s/1.29/api/batch/v1/job_list.k +++ b/k8s/1.29/api/batch/v1/job_list.k @@ -3,7 +3,7 @@ This is the job_list module in k8s.api.batch.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema JobList: @@ -18,7 +18,7 @@ schema JobList: items is the list of Jobs. kind : str, default is "JobList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema JobList: kind: "JobList" = "JobList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.29/api/batch/v1/job_spec.k b/k8s/1.29/api/batch/v1/job_spec.k index 835efa21..1b6ea60a 100644 --- a/k8s/1.29/api/batch/v1/job_spec.k +++ b/k8s/1.29/api/batch/v1/job_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema JobSpec: @@ -46,7 +46,7 @@ schema JobSpec: Failed or Succeeded) before creating a replacement Pod. When using podFailurePolicy, Failed is the the only allowed value. TerminatingOrFailed and Failed are allowed values when podFailurePolicy is not in use. This is an beta field. To use this, enable the JobPodReplacementPolicy feature toggle. This is on by default. - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional A label query over pods that should match the pod count. Normally, the system sets this field for you. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors suspend : bool, default is Undefined, optional suspend specifies whether the Job controller should create Pods or not. If a Job is created with suspend set to true, no Pods are created by the Job controller. If a Job is suspended after creation (i.e. the flag goes from false to true), the Job controller will delete all active Pods associated with this Job. Users must design their workload to gracefully handle this. Suspending a Job will reset the StartTime field of the Job, effectively resetting the ActiveDeadlineSeconds timer too. Defaults to false. @@ -77,7 +77,7 @@ schema JobSpec: podReplacementPolicy?: str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector suspend?: bool diff --git a/k8s/1.29/api/batch/v1/job_template_spec.k b/k8s/1.29/api/batch/v1/job_template_spec.k index 840a8d23..c1797200 100644 --- a/k8s/1.29/api/batch/v1/job_template_spec.k +++ b/k8s/1.29/api/batch/v1/job_template_spec.k @@ -3,7 +3,7 @@ This is the job_template_spec module in k8s.api.batch.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema JobTemplateSpec: @@ -12,14 +12,14 @@ schema JobTemplateSpec: Attributes ---------- - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : JobSpec, default is Undefined, optional Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status """ - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: JobSpec diff --git a/k8s/1.29/api/certificates/v1/certificate_signing_request.k b/k8s/1.29/api/certificates/v1/certificate_signing_request.k index 70bfc6e0..6697afe5 100644 --- a/k8s/1.29/api/certificates/v1/certificate_signing_request.k +++ b/k8s/1.29/api/certificates/v1/certificate_signing_request.k @@ -3,7 +3,7 @@ This is the certificate_signing_request module in k8s.api.certificates.v1 packag This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CertificateSigningRequest: @@ -22,7 +22,7 @@ schema CertificateSigningRequest: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CertificateSigningRequest", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : CertificateSigningRequestSpec, default is Undefined, required spec contains the certificate request, and is immutable after creation. Only the request, signerName, expirationSeconds, and usages fields can be set on creation. Other fields are derived by Kubernetes and cannot be modified by users. @@ -33,7 +33,7 @@ schema CertificateSigningRequest: kind: "CertificateSigningRequest" = "CertificateSigningRequest" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CertificateSigningRequestSpec diff --git a/k8s/1.29/api/certificates/v1/certificate_signing_request_list.k b/k8s/1.29/api/certificates/v1/certificate_signing_request_list.k index bef8b509..dcf72eab 100644 --- a/k8s/1.29/api/certificates/v1/certificate_signing_request_list.k +++ b/k8s/1.29/api/certificates/v1/certificate_signing_request_list.k @@ -3,7 +3,7 @@ This is the certificate_signing_request_list module in k8s.api.certificates.v1 p This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CertificateSigningRequestList: @@ -18,7 +18,7 @@ schema CertificateSigningRequestList: items is a collection of CertificateSigningRequest objects kind : str, default is "CertificateSigningRequestList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema CertificateSigningRequestList: kind: "CertificateSigningRequestList" = "CertificateSigningRequestList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.29/api/certificates/v1alpha1/cluster_trust_bundle.k b/k8s/1.29/api/certificates/v1alpha1/cluster_trust_bundle.k index 842f9c54..7b9af1a8 100644 --- a/k8s/1.29/api/certificates/v1alpha1/cluster_trust_bundle.k +++ b/k8s/1.29/api/certificates/v1alpha1/cluster_trust_bundle.k @@ -3,7 +3,7 @@ This is the cluster_trust_bundle module in k8s.api.certificates.v1alpha1 package This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterTrustBundle: @@ -20,7 +20,7 @@ schema ClusterTrustBundle: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ClusterTrustBundle", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata contains the object metadata. spec : ClusterTrustBundleSpec, default is Undefined, required spec contains the signer (if any) and trust anchors. @@ -31,7 +31,7 @@ schema ClusterTrustBundle: kind: "ClusterTrustBundle" = "ClusterTrustBundle" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: ClusterTrustBundleSpec diff --git a/k8s/1.29/api/certificates/v1alpha1/cluster_trust_bundle_list.k b/k8s/1.29/api/certificates/v1alpha1/cluster_trust_bundle_list.k index 221fdba2..3066ba16 100644 --- a/k8s/1.29/api/certificates/v1alpha1/cluster_trust_bundle_list.k +++ b/k8s/1.29/api/certificates/v1alpha1/cluster_trust_bundle_list.k @@ -3,7 +3,7 @@ This is the cluster_trust_bundle_list module in k8s.api.certificates.v1alpha1 pa This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterTrustBundleList: @@ -18,7 +18,7 @@ schema ClusterTrustBundleList: items is a collection of ClusterTrustBundle objects kind : str, default is "ClusterTrustBundleList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata contains the list metadata. """ @@ -29,6 +29,6 @@ schema ClusterTrustBundleList: kind: "ClusterTrustBundleList" = "ClusterTrustBundleList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.29/api/coordination/v1/lease.k b/k8s/1.29/api/coordination/v1/lease.k index 2500499f..dc088ed1 100644 --- a/k8s/1.29/api/coordination/v1/lease.k +++ b/k8s/1.29/api/coordination/v1/lease.k @@ -3,7 +3,7 @@ This is the lease module in k8s.api.coordination.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Lease: @@ -16,7 +16,7 @@ schema Lease: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Lease", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : LeaseSpec, default is Undefined, optional spec contains the specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Lease: kind: "Lease" = "Lease" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: LeaseSpec diff --git a/k8s/1.29/api/coordination/v1/lease_list.k b/k8s/1.29/api/coordination/v1/lease_list.k index 428f678b..d2005abf 100644 --- a/k8s/1.29/api/coordination/v1/lease_list.k +++ b/k8s/1.29/api/coordination/v1/lease_list.k @@ -3,7 +3,7 @@ This is the lease_list module in k8s.api.coordination.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LeaseList: @@ -18,7 +18,7 @@ schema LeaseList: items is a list of schema objects. kind : str, default is "LeaseList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema LeaseList: kind: "LeaseList" = "LeaseList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.29/api/core/v1/binding.k b/k8s/1.29/api/core/v1/binding.k index e6e478fe..077459fa 100644 --- a/k8s/1.29/api/core/v1/binding.k +++ b/k8s/1.29/api/core/v1/binding.k @@ -3,7 +3,7 @@ This is the binding module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Binding: @@ -16,7 +16,7 @@ schema Binding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Binding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata target : ObjectReference, default is Undefined, required The target object that you want to bind to the standard object. @@ -27,7 +27,7 @@ schema Binding: kind: "Binding" = "Binding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta target: ObjectReference diff --git a/k8s/1.29/api/core/v1/cluster_trust_bundle_projection.k b/k8s/1.29/api/core/v1/cluster_trust_bundle_projection.k index 5e22be47..80e92124 100644 --- a/k8s/1.29/api/core/v1/cluster_trust_bundle_projection.k +++ b/k8s/1.29/api/core/v1/cluster_trust_bundle_projection.k @@ -3,7 +3,7 @@ This is the cluster_trust_bundle_projection module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterTrustBundleProjection: @@ -12,7 +12,7 @@ schema ClusterTrustBundleProjection: Attributes ---------- - labelSelector : v1.LabelSelector, default is Undefined, optional + labelSelector : metav1.LabelSelector, default is Undefined, optional Select all ClusterTrustBundles that match this label selector. Only has effect if signerName is set. Mutually-exclusive with name. If unset, interpreted as "match nothing". If set but empty, interpreted as "match everything". name : str, default is Undefined, optional Select a single ClusterTrustBundle by object name. Mutually-exclusive with signerName and labelSelector. @@ -25,7 +25,7 @@ schema ClusterTrustBundleProjection: """ - labelSelector?: v1.LabelSelector + labelSelector?: metav1.LabelSelector name?: str diff --git a/k8s/1.29/api/core/v1/component_status.k b/k8s/1.29/api/core/v1/component_status.k index 19549c61..0d6862b5 100644 --- a/k8s/1.29/api/core/v1/component_status.k +++ b/k8s/1.29/api/core/v1/component_status.k @@ -3,7 +3,7 @@ This is the component_status module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ComponentStatus: @@ -18,7 +18,7 @@ schema ComponentStatus: List of component conditions observed kind : str, default is "ComponentStatus", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema ComponentStatus: kind: "ComponentStatus" = "ComponentStatus" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta diff --git a/k8s/1.29/api/core/v1/component_status_list.k b/k8s/1.29/api/core/v1/component_status_list.k index 0c8fa890..f76a9a62 100644 --- a/k8s/1.29/api/core/v1/component_status_list.k +++ b/k8s/1.29/api/core/v1/component_status_list.k @@ -3,7 +3,7 @@ This is the component_status_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ComponentStatusList: @@ -18,7 +18,7 @@ schema ComponentStatusList: List of ComponentStatus objects. kind : str, default is "ComponentStatusList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ComponentStatusList: kind: "ComponentStatusList" = "ComponentStatusList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.29/api/core/v1/config_map.k b/k8s/1.29/api/core/v1/config_map.k index ac683b69..ee2a9e47 100644 --- a/k8s/1.29/api/core/v1/config_map.k +++ b/k8s/1.29/api/core/v1/config_map.k @@ -3,7 +3,7 @@ This is the config_map module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ConfigMap: @@ -22,7 +22,7 @@ schema ConfigMap: Immutable, if set to true, ensures that data stored in the ConfigMap cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil. kind : str, default is "ConfigMap", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -37,6 +37,6 @@ schema ConfigMap: kind: "ConfigMap" = "ConfigMap" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta diff --git a/k8s/1.29/api/core/v1/config_map_list.k b/k8s/1.29/api/core/v1/config_map_list.k index 5712f514..35df0e4b 100644 --- a/k8s/1.29/api/core/v1/config_map_list.k +++ b/k8s/1.29/api/core/v1/config_map_list.k @@ -3,7 +3,7 @@ This is the config_map_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ConfigMapList: @@ -18,7 +18,7 @@ schema ConfigMapList: Items is the list of ConfigMaps. kind : str, default is "ConfigMapList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema ConfigMapList: kind: "ConfigMapList" = "ConfigMapList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.29/api/core/v1/endpoints.k b/k8s/1.29/api/core/v1/endpoints.k index c1644290..6b8b80ff 100644 --- a/k8s/1.29/api/core/v1/endpoints.k +++ b/k8s/1.29/api/core/v1/endpoints.k @@ -3,7 +3,7 @@ This is the endpoints module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Endpoints: @@ -28,7 +28,7 @@ schema Endpoints: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Endpoints", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata subsets : [EndpointSubset], default is Undefined, optional The set of all endpoints is the union of all subsets. Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service. @@ -39,7 +39,7 @@ schema Endpoints: kind: "Endpoints" = "Endpoints" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta subsets?: [EndpointSubset] diff --git a/k8s/1.29/api/core/v1/endpoints_list.k b/k8s/1.29/api/core/v1/endpoints_list.k index 7ccf6442..f019c842 100644 --- a/k8s/1.29/api/core/v1/endpoints_list.k +++ b/k8s/1.29/api/core/v1/endpoints_list.k @@ -3,7 +3,7 @@ This is the endpoints_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EndpointsList: @@ -18,7 +18,7 @@ schema EndpointsList: List of endpoints. kind : str, default is "EndpointsList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema EndpointsList: kind: "EndpointsList" = "EndpointsList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.29/api/core/v1/event.k b/k8s/1.29/api/core/v1/event.k index 0cc2ba81..f1564c4b 100644 --- a/k8s/1.29/api/core/v1/event.k +++ b/k8s/1.29/api/core/v1/event.k @@ -3,7 +3,7 @@ This is the event module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Event: @@ -30,7 +30,7 @@ schema Event: The time at which the most recent occurrence of this event was recorded. message : str, default is Undefined, optional A human-readable description of the status of this operation. - metadata : v1.ObjectMeta, default is Undefined, required + metadata : metav1.ObjectMeta, default is Undefined, required Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata reason : str, default is Undefined, optional This should be a short, machine understandable string that gives the reason for the transition into the object's current status. @@ -67,7 +67,7 @@ schema Event: message?: str - metadata: v1.ObjectMeta + metadata: metav1.ObjectMeta reason?: str diff --git a/k8s/1.29/api/core/v1/event_list.k b/k8s/1.29/api/core/v1/event_list.k index e543b7cf..d4ed6ffa 100644 --- a/k8s/1.29/api/core/v1/event_list.k +++ b/k8s/1.29/api/core/v1/event_list.k @@ -3,7 +3,7 @@ This is the event_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EventList: @@ -18,7 +18,7 @@ schema EventList: List of events kind : str, default is "EventList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema EventList: kind: "EventList" = "EventList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.29/api/core/v1/limit_range.k b/k8s/1.29/api/core/v1/limit_range.k index 5de64019..3c476447 100644 --- a/k8s/1.29/api/core/v1/limit_range.k +++ b/k8s/1.29/api/core/v1/limit_range.k @@ -3,7 +3,7 @@ This is the limit_range module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LimitRange: @@ -16,7 +16,7 @@ schema LimitRange: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "LimitRange", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : LimitRangeSpec, default is Undefined, optional Spec defines the limits enforced. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema LimitRange: kind: "LimitRange" = "LimitRange" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: LimitRangeSpec diff --git a/k8s/1.29/api/core/v1/limit_range_list.k b/k8s/1.29/api/core/v1/limit_range_list.k index 61da1fba..fc6b5692 100644 --- a/k8s/1.29/api/core/v1/limit_range_list.k +++ b/k8s/1.29/api/core/v1/limit_range_list.k @@ -3,7 +3,7 @@ This is the limit_range_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LimitRangeList: @@ -18,7 +18,7 @@ schema LimitRangeList: Items is a list of LimitRange objects. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ kind : str, default is "LimitRangeList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema LimitRangeList: kind: "LimitRangeList" = "LimitRangeList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.29/api/core/v1/namespace.k b/k8s/1.29/api/core/v1/namespace.k index 52b6b94f..66125388 100644 --- a/k8s/1.29/api/core/v1/namespace.k +++ b/k8s/1.29/api/core/v1/namespace.k @@ -3,7 +3,7 @@ This is the namespace module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Namespace: @@ -16,7 +16,7 @@ schema Namespace: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Namespace", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : NamespaceSpec, default is Undefined, optional Spec defines the behavior of the Namespace. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Namespace: kind: "Namespace" = "Namespace" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: NamespaceSpec diff --git a/k8s/1.29/api/core/v1/namespace_list.k b/k8s/1.29/api/core/v1/namespace_list.k index 0a362eac..1783b0bc 100644 --- a/k8s/1.29/api/core/v1/namespace_list.k +++ b/k8s/1.29/api/core/v1/namespace_list.k @@ -3,7 +3,7 @@ This is the namespace_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NamespaceList: @@ -18,7 +18,7 @@ schema NamespaceList: Items is the list of Namespace objects in the list. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ kind : str, default is "NamespaceList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema NamespaceList: kind: "NamespaceList" = "NamespaceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.29/api/core/v1/node.k b/k8s/1.29/api/core/v1/node.k index 99f9cab9..dcfea158 100644 --- a/k8s/1.29/api/core/v1/node.k +++ b/k8s/1.29/api/core/v1/node.k @@ -3,7 +3,7 @@ This is the node module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Node: @@ -16,7 +16,7 @@ schema Node: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Node", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : NodeSpec, default is Undefined, optional Spec defines the behavior of a node. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Node: kind: "Node" = "Node" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: NodeSpec diff --git a/k8s/1.29/api/core/v1/node_list.k b/k8s/1.29/api/core/v1/node_list.k index 40992f99..26fe9968 100644 --- a/k8s/1.29/api/core/v1/node_list.k +++ b/k8s/1.29/api/core/v1/node_list.k @@ -3,7 +3,7 @@ This is the node_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NodeList: @@ -18,7 +18,7 @@ schema NodeList: List of nodes kind : str, default is "NodeList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema NodeList: kind: "NodeList" = "NodeList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.29/api/core/v1/persistent_volume.k b/k8s/1.29/api/core/v1/persistent_volume.k index ed41f554..1f3d5968 100644 --- a/k8s/1.29/api/core/v1/persistent_volume.k +++ b/k8s/1.29/api/core/v1/persistent_volume.k @@ -3,7 +3,7 @@ This is the persistent_volume module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolume: @@ -16,7 +16,7 @@ schema PersistentVolume: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PersistentVolume", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PersistentVolumeSpec, default is Undefined, optional spec defines a specification of a persistent volume owned by the cluster. Provisioned by an administrator. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes @@ -27,7 +27,7 @@ schema PersistentVolume: kind: "PersistentVolume" = "PersistentVolume" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PersistentVolumeSpec diff --git a/k8s/1.29/api/core/v1/persistent_volume_claim.k b/k8s/1.29/api/core/v1/persistent_volume_claim.k index 1b478b67..65da03d4 100644 --- a/k8s/1.29/api/core/v1/persistent_volume_claim.k +++ b/k8s/1.29/api/core/v1/persistent_volume_claim.k @@ -3,7 +3,7 @@ This is the persistent_volume_claim module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeClaim: @@ -16,7 +16,7 @@ schema PersistentVolumeClaim: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PersistentVolumeClaim", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PersistentVolumeClaimSpec, default is Undefined, optional spec defines the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims @@ -27,7 +27,7 @@ schema PersistentVolumeClaim: kind: "PersistentVolumeClaim" = "PersistentVolumeClaim" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PersistentVolumeClaimSpec diff --git a/k8s/1.29/api/core/v1/persistent_volume_claim_list.k b/k8s/1.29/api/core/v1/persistent_volume_claim_list.k index e09bc2ef..23447a12 100644 --- a/k8s/1.29/api/core/v1/persistent_volume_claim_list.k +++ b/k8s/1.29/api/core/v1/persistent_volume_claim_list.k @@ -3,7 +3,7 @@ This is the persistent_volume_claim_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeClaimList: @@ -18,7 +18,7 @@ schema PersistentVolumeClaimList: items is a list of persistent volume claims. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims kind : str, default is "PersistentVolumeClaimList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema PersistentVolumeClaimList: kind: "PersistentVolumeClaimList" = "PersistentVolumeClaimList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.29/api/core/v1/persistent_volume_claim_spec.k b/k8s/1.29/api/core/v1/persistent_volume_claim_spec.k index e4fb2ec9..67ec5097 100644 --- a/k8s/1.29/api/core/v1/persistent_volume_claim_spec.k +++ b/k8s/1.29/api/core/v1/persistent_volume_claim_spec.k @@ -3,7 +3,7 @@ This is the persistent_volume_claim_spec module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeClaimSpec: @@ -27,7 +27,7 @@ schema PersistentVolumeClaimSpec: (Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled. (Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled. resources : VolumeResourceRequirements, default is Undefined, optional resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector is a label query over volumes to consider for binding. storageClassName : str, default is Undefined, optional storageClassName is the name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1 @@ -48,7 +48,7 @@ schema PersistentVolumeClaimSpec: resources?: VolumeResourceRequirements - selector?: v1.LabelSelector + selector?: metav1.LabelSelector storageClassName?: str diff --git a/k8s/1.29/api/core/v1/persistent_volume_claim_template.k b/k8s/1.29/api/core/v1/persistent_volume_claim_template.k index e6758b96..a8a010df 100644 --- a/k8s/1.29/api/core/v1/persistent_volume_claim_template.k +++ b/k8s/1.29/api/core/v1/persistent_volume_claim_template.k @@ -3,7 +3,7 @@ This is the persistent_volume_claim_template module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeClaimTemplate: @@ -12,14 +12,14 @@ schema PersistentVolumeClaimTemplate: Attributes ---------- - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. spec : PersistentVolumeClaimSpec, default is Undefined, required The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here. """ - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: PersistentVolumeClaimSpec diff --git a/k8s/1.29/api/core/v1/persistent_volume_list.k b/k8s/1.29/api/core/v1/persistent_volume_list.k index b1498d78..1d426ef6 100644 --- a/k8s/1.29/api/core/v1/persistent_volume_list.k +++ b/k8s/1.29/api/core/v1/persistent_volume_list.k @@ -3,7 +3,7 @@ This is the persistent_volume_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeList: @@ -18,7 +18,7 @@ schema PersistentVolumeList: items is a list of persistent volumes. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes kind : str, default is "PersistentVolumeList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema PersistentVolumeList: kind: "PersistentVolumeList" = "PersistentVolumeList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.29/api/core/v1/pod.k b/k8s/1.29/api/core/v1/pod.k index 659a9e99..66568628 100644 --- a/k8s/1.29/api/core/v1/pod.k +++ b/k8s/1.29/api/core/v1/pod.k @@ -3,7 +3,7 @@ This is the pod module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Pod: @@ -16,7 +16,7 @@ schema Pod: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Pod", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PodSpec, default is Undefined, optional Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Pod: kind: "Pod" = "Pod" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PodSpec diff --git a/k8s/1.29/api/core/v1/pod_affinity_term.k b/k8s/1.29/api/core/v1/pod_affinity_term.k index c84360d1..e7311b89 100644 --- a/k8s/1.29/api/core/v1/pod_affinity_term.k +++ b/k8s/1.29/api/core/v1/pod_affinity_term.k @@ -3,7 +3,7 @@ This is the pod_affinity_term module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodAffinityTerm: @@ -12,13 +12,13 @@ schema PodAffinityTerm: Attributes ---------- - labelSelector : v1.LabelSelector, default is Undefined, optional + labelSelector : metav1.LabelSelector, default is Undefined, optional A label query over a set of resources, in this case pods. If it's null, this PodAffinityTerm matches with no Pods. matchLabelKeys : [str], default is Undefined, optional MatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `LabelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both MatchLabelKeys and LabelSelector. Also, MatchLabelKeys cannot be set when LabelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. mismatchLabelKeys : [str], default is Undefined, optional MismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `LabelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both MismatchLabelKeys and LabelSelector. Also, MismatchLabelKeys cannot be set when LabelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. namespaces : [str], default is Undefined, optional namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means "this pod's namespace". @@ -27,13 +27,13 @@ schema PodAffinityTerm: """ - labelSelector?: v1.LabelSelector + labelSelector?: metav1.LabelSelector matchLabelKeys?: [str] mismatchLabelKeys?: [str] - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector namespaces?: [str] diff --git a/k8s/1.29/api/core/v1/pod_list.k b/k8s/1.29/api/core/v1/pod_list.k index 10ad5eb9..4c031d05 100644 --- a/k8s/1.29/api/core/v1/pod_list.k +++ b/k8s/1.29/api/core/v1/pod_list.k @@ -3,7 +3,7 @@ This is the pod_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodList: @@ -18,7 +18,7 @@ schema PodList: List of pods. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md kind : str, default is "PodList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema PodList: kind: "PodList" = "PodList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.29/api/core/v1/pod_template.k b/k8s/1.29/api/core/v1/pod_template.k index 98e64f70..6ffbfa64 100644 --- a/k8s/1.29/api/core/v1/pod_template.k +++ b/k8s/1.29/api/core/v1/pod_template.k @@ -3,7 +3,7 @@ This is the pod_template module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodTemplate: @@ -16,7 +16,7 @@ schema PodTemplate: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PodTemplate", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata template : PodTemplateSpec, default is Undefined, optional Template defines the pods that will be created from this pod template. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema PodTemplate: kind: "PodTemplate" = "PodTemplate" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta template?: PodTemplateSpec diff --git a/k8s/1.29/api/core/v1/pod_template_list.k b/k8s/1.29/api/core/v1/pod_template_list.k index 8bb1827f..94024175 100644 --- a/k8s/1.29/api/core/v1/pod_template_list.k +++ b/k8s/1.29/api/core/v1/pod_template_list.k @@ -3,7 +3,7 @@ This is the pod_template_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodTemplateList: @@ -18,7 +18,7 @@ schema PodTemplateList: List of pod templates kind : str, default is "PodTemplateList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema PodTemplateList: kind: "PodTemplateList" = "PodTemplateList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.29/api/core/v1/pod_template_spec.k b/k8s/1.29/api/core/v1/pod_template_spec.k index 1274c88b..6011ef81 100644 --- a/k8s/1.29/api/core/v1/pod_template_spec.k +++ b/k8s/1.29/api/core/v1/pod_template_spec.k @@ -3,7 +3,7 @@ This is the pod_template_spec module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodTemplateSpec: @@ -12,14 +12,14 @@ schema PodTemplateSpec: Attributes ---------- - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PodSpec, default is Undefined, optional Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status """ - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PodSpec diff --git a/k8s/1.29/api/core/v1/replication_controller.k b/k8s/1.29/api/core/v1/replication_controller.k index 08b091e8..37724706 100644 --- a/k8s/1.29/api/core/v1/replication_controller.k +++ b/k8s/1.29/api/core/v1/replication_controller.k @@ -3,7 +3,7 @@ This is the replication_controller module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicationController: @@ -16,7 +16,7 @@ schema ReplicationController: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ReplicationController", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional If the Labels of a ReplicationController are empty, they are defaulted to be the same as the Pod(s) that the replication controller manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : ReplicationControllerSpec, default is Undefined, optional Spec defines the specification of the desired behavior of the replication controller. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema ReplicationController: kind: "ReplicationController" = "ReplicationController" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ReplicationControllerSpec diff --git a/k8s/1.29/api/core/v1/replication_controller_list.k b/k8s/1.29/api/core/v1/replication_controller_list.k index 64afa179..63f9d4b2 100644 --- a/k8s/1.29/api/core/v1/replication_controller_list.k +++ b/k8s/1.29/api/core/v1/replication_controller_list.k @@ -3,7 +3,7 @@ This is the replication_controller_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicationControllerList: @@ -18,7 +18,7 @@ schema ReplicationControllerList: List of replication controllers. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller kind : str, default is "ReplicationControllerList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ReplicationControllerList: kind: "ReplicationControllerList" = "ReplicationControllerList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.29/api/core/v1/resource_quota.k b/k8s/1.29/api/core/v1/resource_quota.k index b7da49d1..0ec7c409 100644 --- a/k8s/1.29/api/core/v1/resource_quota.k +++ b/k8s/1.29/api/core/v1/resource_quota.k @@ -3,7 +3,7 @@ This is the resource_quota module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceQuota: @@ -16,7 +16,7 @@ schema ResourceQuota: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ResourceQuota", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : ResourceQuotaSpec, default is Undefined, optional Spec defines the desired quota. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema ResourceQuota: kind: "ResourceQuota" = "ResourceQuota" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ResourceQuotaSpec diff --git a/k8s/1.29/api/core/v1/resource_quota_list.k b/k8s/1.29/api/core/v1/resource_quota_list.k index ca1424b8..f8dbc87d 100644 --- a/k8s/1.29/api/core/v1/resource_quota_list.k +++ b/k8s/1.29/api/core/v1/resource_quota_list.k @@ -3,7 +3,7 @@ This is the resource_quota_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceQuotaList: @@ -18,7 +18,7 @@ schema ResourceQuotaList: Items is a list of ResourceQuota objects. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/ kind : str, default is "ResourceQuotaList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ResourceQuotaList: kind: "ResourceQuotaList" = "ResourceQuotaList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.29/api/core/v1/secret.k b/k8s/1.29/api/core/v1/secret.k index 315e5f78..79324811 100644 --- a/k8s/1.29/api/core/v1/secret.k +++ b/k8s/1.29/api/core/v1/secret.k @@ -3,7 +3,7 @@ This is the secret module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Secret: @@ -20,7 +20,7 @@ schema Secret: Immutable, if set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil. kind : str, default is "Secret", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata stringData : {str:str}, default is Undefined, optional stringData allows specifying non-binary secret data in string form. It is provided as a write-only input field for convenience. All keys and values are merged into the data field on write, overwriting any existing values. The stringData field is never output when reading from the API. @@ -37,7 +37,7 @@ schema Secret: kind: "Secret" = "Secret" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta stringData?: {str:str} diff --git a/k8s/1.29/api/core/v1/secret_list.k b/k8s/1.29/api/core/v1/secret_list.k index 335c47b4..9e80806b 100644 --- a/k8s/1.29/api/core/v1/secret_list.k +++ b/k8s/1.29/api/core/v1/secret_list.k @@ -3,7 +3,7 @@ This is the secret_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SecretList: @@ -18,7 +18,7 @@ schema SecretList: Items is a list of secret objects. More info: https://kubernetes.io/docs/concepts/configuration/secret kind : str, default is "SecretList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema SecretList: kind: "SecretList" = "SecretList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.29/api/core/v1/service.k b/k8s/1.29/api/core/v1/service.k index 1f259a80..3b86c8ef 100644 --- a/k8s/1.29/api/core/v1/service.k +++ b/k8s/1.29/api/core/v1/service.k @@ -3,7 +3,7 @@ This is the service module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Service: @@ -16,7 +16,7 @@ schema Service: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Service", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : ServiceSpec, default is Undefined, optional Spec defines the behavior of a service. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Service: kind: "Service" = "Service" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ServiceSpec diff --git a/k8s/1.29/api/core/v1/service_account.k b/k8s/1.29/api/core/v1/service_account.k index 3ffd21b4..2570f531 100644 --- a/k8s/1.29/api/core/v1/service_account.k +++ b/k8s/1.29/api/core/v1/service_account.k @@ -3,7 +3,7 @@ This is the service_account module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ServiceAccount: @@ -20,7 +20,7 @@ schema ServiceAccount: ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod kind : str, default is "ServiceAccount", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata secrets : [ObjectReference], default is Undefined, optional Secrets is a list of the secrets in the same namespace that pods running using this ServiceAccount are allowed to use. Pods are only limited to this list if this service account has a "kubernetes.io/enforce-mountable-secrets" annotation set to "true". This field should not be used to find auto-generated service account token secrets for use outside of pods. Instead, tokens can be requested directly using the TokenRequest API, or service account token secrets can be manually created. More info: https://kubernetes.io/docs/concepts/configuration/secret @@ -35,7 +35,7 @@ schema ServiceAccount: kind: "ServiceAccount" = "ServiceAccount" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta secrets?: [ObjectReference] diff --git a/k8s/1.29/api/core/v1/service_account_list.k b/k8s/1.29/api/core/v1/service_account_list.k index 26a9319a..d8cd46b8 100644 --- a/k8s/1.29/api/core/v1/service_account_list.k +++ b/k8s/1.29/api/core/v1/service_account_list.k @@ -3,7 +3,7 @@ This is the service_account_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ServiceAccountList: @@ -18,7 +18,7 @@ schema ServiceAccountList: List of ServiceAccounts. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ kind : str, default is "ServiceAccountList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ServiceAccountList: kind: "ServiceAccountList" = "ServiceAccountList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.29/api/core/v1/service_list.k b/k8s/1.29/api/core/v1/service_list.k index 0c1e31be..5c4fae8a 100644 --- a/k8s/1.29/api/core/v1/service_list.k +++ b/k8s/1.29/api/core/v1/service_list.k @@ -3,7 +3,7 @@ This is the service_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ServiceList: @@ -18,7 +18,7 @@ schema ServiceList: List of services kind : str, default is "ServiceList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ServiceList: kind: "ServiceList" = "ServiceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.29/api/core/v1/service_status.k b/k8s/1.29/api/core/v1/service_status.k index 029dda86..f1fc66e6 100644 --- a/k8s/1.29/api/core/v1/service_status.k +++ b/k8s/1.29/api/core/v1/service_status.k @@ -3,7 +3,7 @@ This is the service_status module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ServiceStatus: @@ -12,14 +12,14 @@ schema ServiceStatus: Attributes ---------- - conditions : [v1.Condition], default is Undefined, optional + conditions : [metav1.Condition], default is Undefined, optional Current service state loadBalancer : LoadBalancerStatus, default is Undefined, optional LoadBalancer contains the current status of the load-balancer, if one is present. """ - conditions?: [v1.Condition] + conditions?: [metav1.Condition] loadBalancer?: LoadBalancerStatus diff --git a/k8s/1.29/api/core/v1/topology_spread_constraint.k b/k8s/1.29/api/core/v1/topology_spread_constraint.k index 12fb14e3..94d8c034 100644 --- a/k8s/1.29/api/core/v1/topology_spread_constraint.k +++ b/k8s/1.29/api/core/v1/topology_spread_constraint.k @@ -3,7 +3,7 @@ This is the topology_spread_constraint module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema TopologySpreadConstraint: @@ -12,7 +12,7 @@ schema TopologySpreadConstraint: Attributes ---------- - labelSelector : v1.LabelSelector, default is Undefined, optional + labelSelector : metav1.LabelSelector, default is Undefined, optional LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain. matchLabelKeys : [str], default is Undefined, optional MatchLabelKeys is a set of pod label keys to select the pods over which spreading will be calculated. The keys are used to lookup values from the incoming pod labels, those key-value labels are ANDed with labelSelector to select the group of existing pods over which spreading will be calculated for the incoming pod. The same key is forbidden to exist in both MatchLabelKeys and LabelSelector. MatchLabelKeys cannot be set when LabelSelector isn't set. Keys that don't exist in the incoming pod labels will be ignored. A null or empty list means only match against labelSelector. @@ -44,7 +44,7 @@ schema TopologySpreadConstraint: """ - labelSelector?: v1.LabelSelector + labelSelector?: metav1.LabelSelector matchLabelKeys?: [str] diff --git a/k8s/1.29/api/discovery/v1/endpoint_slice.k b/k8s/1.29/api/discovery/v1/endpoint_slice.k index 77d8a1e3..462647c6 100644 --- a/k8s/1.29/api/discovery/v1/endpoint_slice.k +++ b/k8s/1.29/api/discovery/v1/endpoint_slice.k @@ -3,7 +3,7 @@ This is the endpoint_slice module in k8s.api.discovery.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EndpointSlice: @@ -20,7 +20,7 @@ schema EndpointSlice: endpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints. kind : str, default is "EndpointSlice", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. ports : [EndpointPort], default is Undefined, optional ports specifies the list of network ports exposed by each endpoint in this slice. Each port must have a unique name. When ports is empty, it indicates that there are no defined ports. When a port is defined with a nil port value, it indicates "all ports". Each slice may include a maximum of 100 ports. @@ -35,7 +35,7 @@ schema EndpointSlice: kind: "EndpointSlice" = "EndpointSlice" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta ports?: [EndpointPort] diff --git a/k8s/1.29/api/discovery/v1/endpoint_slice_list.k b/k8s/1.29/api/discovery/v1/endpoint_slice_list.k index a33ad36e..2f0adefe 100644 --- a/k8s/1.29/api/discovery/v1/endpoint_slice_list.k +++ b/k8s/1.29/api/discovery/v1/endpoint_slice_list.k @@ -3,7 +3,7 @@ This is the endpoint_slice_list module in k8s.api.discovery.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EndpointSliceList: @@ -18,7 +18,7 @@ schema EndpointSliceList: items is the list of endpoint slices kind : str, default is "EndpointSliceList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema EndpointSliceList: kind: "EndpointSliceList" = "EndpointSliceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.29/api/events/v1/event_list.k b/k8s/1.29/api/events/v1/event_list.k index 6d5e7dad..4c4d96ba 100644 --- a/k8s/1.29/api/events/v1/event_list.k +++ b/k8s/1.29/api/events/v1/event_list.k @@ -3,7 +3,7 @@ This is the event_list module in k8s.api.events.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EventList: @@ -18,7 +18,7 @@ schema EventList: items is a list of schema objects. kind : str, default is "EventList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema EventList: kind: "EventList" = "EventList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.29/api/flowcontrol/v1/flow_schema.k b/k8s/1.29/api/flowcontrol/v1/flow_schema.k index f033ed1b..033103f6 100644 --- a/k8s/1.29/api/flowcontrol/v1/flow_schema.k +++ b/k8s/1.29/api/flowcontrol/v1/flow_schema.k @@ -3,7 +3,7 @@ This is the flow_schema module in k8s.api.flowcontrol.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema FlowSchema: @@ -16,7 +16,7 @@ schema FlowSchema: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "FlowSchema", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : FlowSchemaSpec, default is Undefined, optional `spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema FlowSchema: kind: "FlowSchema" = "FlowSchema" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: FlowSchemaSpec diff --git a/k8s/1.29/api/flowcontrol/v1/flow_schema_list.k b/k8s/1.29/api/flowcontrol/v1/flow_schema_list.k index 1a5673f7..ab3c0e70 100644 --- a/k8s/1.29/api/flowcontrol/v1/flow_schema_list.k +++ b/k8s/1.29/api/flowcontrol/v1/flow_schema_list.k @@ -3,7 +3,7 @@ This is the flow_schema_list module in k8s.api.flowcontrol.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema FlowSchemaList: @@ -18,7 +18,7 @@ schema FlowSchemaList: `items` is a list of FlowSchemas. kind : str, default is "FlowSchemaList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional `metadata` is the standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema FlowSchemaList: kind: "FlowSchemaList" = "FlowSchemaList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.29/api/flowcontrol/v1/priority_level_configuration.k b/k8s/1.29/api/flowcontrol/v1/priority_level_configuration.k index 0f5b8f45..2d8a5292 100644 --- a/k8s/1.29/api/flowcontrol/v1/priority_level_configuration.k +++ b/k8s/1.29/api/flowcontrol/v1/priority_level_configuration.k @@ -3,7 +3,7 @@ This is the priority_level_configuration module in k8s.api.flowcontrol.v1 packag This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityLevelConfiguration: @@ -16,7 +16,7 @@ schema PriorityLevelConfiguration: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PriorityLevelConfiguration", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PriorityLevelConfigurationSpec, default is Undefined, optional `spec` is the specification of the desired behavior of a "request-priority". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema PriorityLevelConfiguration: kind: "PriorityLevelConfiguration" = "PriorityLevelConfiguration" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PriorityLevelConfigurationSpec diff --git a/k8s/1.29/api/flowcontrol/v1/priority_level_configuration_list.k b/k8s/1.29/api/flowcontrol/v1/priority_level_configuration_list.k index f47110fe..c9f60637 100644 --- a/k8s/1.29/api/flowcontrol/v1/priority_level_configuration_list.k +++ b/k8s/1.29/api/flowcontrol/v1/priority_level_configuration_list.k @@ -3,7 +3,7 @@ This is the priority_level_configuration_list module in k8s.api.flowcontrol.v1 p This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityLevelConfigurationList: @@ -18,7 +18,7 @@ schema PriorityLevelConfigurationList: `items` is a list of request-priorities. kind : str, default is "PriorityLevelConfigurationList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PriorityLevelConfigurationList: kind: "PriorityLevelConfigurationList" = "PriorityLevelConfigurationList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.29/api/flowcontrol/v1beta3/flow_schema.k b/k8s/1.29/api/flowcontrol/v1beta3/flow_schema.k index c76a8e16..94deb6b6 100644 --- a/k8s/1.29/api/flowcontrol/v1beta3/flow_schema.k +++ b/k8s/1.29/api/flowcontrol/v1beta3/flow_schema.k @@ -3,7 +3,7 @@ This is the flow_schema module in k8s.api.flowcontrol.v1beta3 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema FlowSchema: @@ -16,7 +16,7 @@ schema FlowSchema: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "FlowSchema", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : FlowSchemaSpec, default is Undefined, optional `spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema FlowSchema: kind: "FlowSchema" = "FlowSchema" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: FlowSchemaSpec diff --git a/k8s/1.29/api/flowcontrol/v1beta3/flow_schema_list.k b/k8s/1.29/api/flowcontrol/v1beta3/flow_schema_list.k index fafe330c..7af81967 100644 --- a/k8s/1.29/api/flowcontrol/v1beta3/flow_schema_list.k +++ b/k8s/1.29/api/flowcontrol/v1beta3/flow_schema_list.k @@ -3,7 +3,7 @@ This is the flow_schema_list module in k8s.api.flowcontrol.v1beta3 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema FlowSchemaList: @@ -18,7 +18,7 @@ schema FlowSchemaList: `items` is a list of FlowSchemas. kind : str, default is "FlowSchemaList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional `metadata` is the standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema FlowSchemaList: kind: "FlowSchemaList" = "FlowSchemaList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.29/api/flowcontrol/v1beta3/priority_level_configuration.k b/k8s/1.29/api/flowcontrol/v1beta3/priority_level_configuration.k index 15f67df4..c72c8565 100644 --- a/k8s/1.29/api/flowcontrol/v1beta3/priority_level_configuration.k +++ b/k8s/1.29/api/flowcontrol/v1beta3/priority_level_configuration.k @@ -3,7 +3,7 @@ This is the priority_level_configuration module in k8s.api.flowcontrol.v1beta3 p This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityLevelConfiguration: @@ -16,7 +16,7 @@ schema PriorityLevelConfiguration: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PriorityLevelConfiguration", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PriorityLevelConfigurationSpec, default is Undefined, optional `spec` is the specification of the desired behavior of a "request-priority". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema PriorityLevelConfiguration: kind: "PriorityLevelConfiguration" = "PriorityLevelConfiguration" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PriorityLevelConfigurationSpec diff --git a/k8s/1.29/api/flowcontrol/v1beta3/priority_level_configuration_list.k b/k8s/1.29/api/flowcontrol/v1beta3/priority_level_configuration_list.k index 12396566..3af527e2 100644 --- a/k8s/1.29/api/flowcontrol/v1beta3/priority_level_configuration_list.k +++ b/k8s/1.29/api/flowcontrol/v1beta3/priority_level_configuration_list.k @@ -3,7 +3,7 @@ This is the priority_level_configuration_list module in k8s.api.flowcontrol.v1be This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityLevelConfigurationList: @@ -18,7 +18,7 @@ schema PriorityLevelConfigurationList: `items` is a list of request-priorities. kind : str, default is "PriorityLevelConfigurationList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PriorityLevelConfigurationList: kind: "PriorityLevelConfigurationList" = "PriorityLevelConfigurationList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.29/api/networking/v1/ingress.k b/k8s/1.29/api/networking/v1/ingress.k index a224b707..0987b46d 100644 --- a/k8s/1.29/api/networking/v1/ingress.k +++ b/k8s/1.29/api/networking/v1/ingress.k @@ -3,7 +3,7 @@ This is the ingress module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Ingress: @@ -16,7 +16,7 @@ schema Ingress: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Ingress", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : IngressSpec, default is Undefined, optional spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Ingress: kind: "Ingress" = "Ingress" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: IngressSpec diff --git a/k8s/1.29/api/networking/v1/ingress_class.k b/k8s/1.29/api/networking/v1/ingress_class.k index 19d34da4..62edb40f 100644 --- a/k8s/1.29/api/networking/v1/ingress_class.k +++ b/k8s/1.29/api/networking/v1/ingress_class.k @@ -3,7 +3,7 @@ This is the ingress_class module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema IngressClass: @@ -16,7 +16,7 @@ schema IngressClass: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "IngressClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : IngressClassSpec, default is Undefined, optional spec is the desired state of the IngressClass. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema IngressClass: kind: "IngressClass" = "IngressClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: IngressClassSpec diff --git a/k8s/1.29/api/networking/v1/ingress_class_list.k b/k8s/1.29/api/networking/v1/ingress_class_list.k index 8962fe08..2da5d410 100644 --- a/k8s/1.29/api/networking/v1/ingress_class_list.k +++ b/k8s/1.29/api/networking/v1/ingress_class_list.k @@ -3,7 +3,7 @@ This is the ingress_class_list module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema IngressClassList: @@ -18,7 +18,7 @@ schema IngressClassList: items is the list of IngressClasses. kind : str, default is "IngressClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema IngressClassList: kind: "IngressClassList" = "IngressClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.29/api/networking/v1/ingress_list.k b/k8s/1.29/api/networking/v1/ingress_list.k index ad9f5f1b..bfa6b178 100644 --- a/k8s/1.29/api/networking/v1/ingress_list.k +++ b/k8s/1.29/api/networking/v1/ingress_list.k @@ -3,7 +3,7 @@ This is the ingress_list module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema IngressList: @@ -18,7 +18,7 @@ schema IngressList: items is the list of Ingress. kind : str, default is "IngressList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema IngressList: kind: "IngressList" = "IngressList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.29/api/networking/v1/network_policy.k b/k8s/1.29/api/networking/v1/network_policy.k index b8b576dd..ff140307 100644 --- a/k8s/1.29/api/networking/v1/network_policy.k +++ b/k8s/1.29/api/networking/v1/network_policy.k @@ -3,7 +3,7 @@ This is the network_policy module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicy: @@ -16,7 +16,7 @@ schema NetworkPolicy: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "NetworkPolicy", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : NetworkPolicySpec, default is Undefined, optional spec represents the specification of the desired behavior for this NetworkPolicy. @@ -27,7 +27,7 @@ schema NetworkPolicy: kind: "NetworkPolicy" = "NetworkPolicy" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: NetworkPolicySpec diff --git a/k8s/1.29/api/networking/v1/network_policy_list.k b/k8s/1.29/api/networking/v1/network_policy_list.k index 7d57481a..a67c9de3 100644 --- a/k8s/1.29/api/networking/v1/network_policy_list.k +++ b/k8s/1.29/api/networking/v1/network_policy_list.k @@ -3,7 +3,7 @@ This is the network_policy_list module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicyList: @@ -18,7 +18,7 @@ schema NetworkPolicyList: items is a list of schema objects. kind : str, default is "NetworkPolicyList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema NetworkPolicyList: kind: "NetworkPolicyList" = "NetworkPolicyList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.29/api/networking/v1/network_policy_peer.k b/k8s/1.29/api/networking/v1/network_policy_peer.k index 9f1cb095..2180c607 100644 --- a/k8s/1.29/api/networking/v1/network_policy_peer.k +++ b/k8s/1.29/api/networking/v1/network_policy_peer.k @@ -3,7 +3,7 @@ This is the network_policy_peer module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicyPeer: @@ -14,11 +14,11 @@ schema NetworkPolicyPeer: ---------- ipBlock : IPBlock, default is Undefined, optional ipBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional namespaceSelector selects namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces. If podSelector is also set, then the NetworkPolicyPeer as a whole selects the pods matching podSelector in the namespaces selected by namespaceSelector. Otherwise it selects all pods in the namespaces selected by namespaceSelector. - podSelector : v1.LabelSelector, default is Undefined, optional + podSelector : metav1.LabelSelector, default is Undefined, optional podSelector is a label selector which selects pods. This field follows standard label selector semantics; if present but empty, it selects all pods. If namespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the pods matching podSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the pods matching podSelector in the policy's own namespace. @@ -27,8 +27,8 @@ schema NetworkPolicyPeer: ipBlock?: IPBlock - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector - podSelector?: v1.LabelSelector + podSelector?: metav1.LabelSelector diff --git a/k8s/1.29/api/networking/v1/network_policy_spec.k b/k8s/1.29/api/networking/v1/network_policy_spec.k index 19774502..3947b4c2 100644 --- a/k8s/1.29/api/networking/v1/network_policy_spec.k +++ b/k8s/1.29/api/networking/v1/network_policy_spec.k @@ -3,7 +3,7 @@ This is the network_policy_spec module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicySpec: @@ -16,7 +16,7 @@ schema NetworkPolicySpec: egress is a list of egress rules to be applied to the selected pods. Outgoing traffic is allowed if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic matches at least one egress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy limits all outgoing traffic (and serves solely to ensure that the pods it selects are isolated by default). This field is beta-level in 1.8 ingress : [NetworkPolicyIngressRule], default is Undefined, optional ingress is a list of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not allow any traffic (and serves solely to ensure that the pods it selects are isolated by default) - podSelector : v1.LabelSelector, default is Undefined, required + podSelector : metav1.LabelSelector, default is Undefined, required podSelector selects the pods to which this NetworkPolicy object applies. The array of ingress rules is applied to any pods selected by this field. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is NOT optional and follows standard label selector semantics. An empty podSelector matches all pods in this namespace. policyTypes : [str], default is Undefined, optional policyTypes is a list of rule types that the NetworkPolicy relates to. Valid options are ["Ingress"], ["Egress"], or ["Ingress", "Egress"]. If this field is not specified, it will default based on the existence of ingress or egress rules; policies that contain an egress section are assumed to affect egress, and all policies (whether or not they contain an ingress section) are assumed to affect ingress. If you want to write an egress-only policy, you must explicitly specify policyTypes [ "Egress" ]. Likewise, if you want to write a policy that specifies that no egress is allowed, you must specify a policyTypes value that include "Egress" (since such a policy would not include an egress section and would otherwise default to just [ "Ingress" ]). This field is beta-level in 1.8 @@ -27,7 +27,7 @@ schema NetworkPolicySpec: ingress?: [NetworkPolicyIngressRule] - podSelector: v1.LabelSelector + podSelector: metav1.LabelSelector policyTypes?: [str] diff --git a/k8s/1.29/api/networking/v1alpha1/ip_address.k b/k8s/1.29/api/networking/v1alpha1/ip_address.k index 75366ead..220826c8 100644 --- a/k8s/1.29/api/networking/v1alpha1/ip_address.k +++ b/k8s/1.29/api/networking/v1alpha1/ip_address.k @@ -3,7 +3,7 @@ This is the ip_address module in k8s.api.networking.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema IPAddress: @@ -16,7 +16,7 @@ schema IPAddress: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "IPAddress", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : IPAddressSpec, default is Undefined, optional spec is the desired state of the IPAddress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema IPAddress: kind: "IPAddress" = "IPAddress" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: IPAddressSpec diff --git a/k8s/1.29/api/networking/v1alpha1/ip_address_list.k b/k8s/1.29/api/networking/v1alpha1/ip_address_list.k index 75e2aaad..460f34dc 100644 --- a/k8s/1.29/api/networking/v1alpha1/ip_address_list.k +++ b/k8s/1.29/api/networking/v1alpha1/ip_address_list.k @@ -3,7 +3,7 @@ This is the ip_address_list module in k8s.api.networking.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema IPAddressList: @@ -18,7 +18,7 @@ schema IPAddressList: items is the list of IPAddresses. kind : str, default is "IPAddressList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema IPAddressList: kind: "IPAddressList" = "IPAddressList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.29/api/networking/v1alpha1/service_cidr.k b/k8s/1.29/api/networking/v1alpha1/service_cidr.k index 68579dfa..2b0b081d 100644 --- a/k8s/1.29/api/networking/v1alpha1/service_cidr.k +++ b/k8s/1.29/api/networking/v1alpha1/service_cidr.k @@ -3,7 +3,7 @@ This is the service_cidr module in k8s.api.networking.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ServiceCIDR: @@ -16,7 +16,7 @@ schema ServiceCIDR: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ServiceCIDR", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : ServiceCIDRSpec, default is Undefined, optional spec is the desired state of the ServiceCIDR. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema ServiceCIDR: kind: "ServiceCIDR" = "ServiceCIDR" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ServiceCIDRSpec diff --git a/k8s/1.29/api/networking/v1alpha1/service_cidr_list.k b/k8s/1.29/api/networking/v1alpha1/service_cidr_list.k index ef997e6f..d23f4565 100644 --- a/k8s/1.29/api/networking/v1alpha1/service_cidr_list.k +++ b/k8s/1.29/api/networking/v1alpha1/service_cidr_list.k @@ -3,7 +3,7 @@ This is the service_cidr_list module in k8s.api.networking.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ServiceCIDRList: @@ -18,7 +18,7 @@ schema ServiceCIDRList: items is the list of ServiceCIDRs. kind : str, default is "ServiceCIDRList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema ServiceCIDRList: kind: "ServiceCIDRList" = "ServiceCIDRList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.29/api/networking/v1alpha1/service_cidr_status.k b/k8s/1.29/api/networking/v1alpha1/service_cidr_status.k index 477b6723..65df6d9e 100644 --- a/k8s/1.29/api/networking/v1alpha1/service_cidr_status.k +++ b/k8s/1.29/api/networking/v1alpha1/service_cidr_status.k @@ -3,7 +3,7 @@ This is the service_cidr_status module in k8s.api.networking.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ServiceCIDRStatus: @@ -12,11 +12,11 @@ schema ServiceCIDRStatus: Attributes ---------- - conditions : [v1.Condition], default is Undefined, optional + conditions : [metav1.Condition], default is Undefined, optional conditions holds an array of metav1.Condition that describe the state of the ServiceCIDR. Current service state """ - conditions?: [v1.Condition] + conditions?: [metav1.Condition] diff --git a/k8s/1.29/api/node/v1/runtime_class.k b/k8s/1.29/api/node/v1/runtime_class.k index c890b031..313f5911 100644 --- a/k8s/1.29/api/node/v1/runtime_class.k +++ b/k8s/1.29/api/node/v1/runtime_class.k @@ -3,7 +3,7 @@ This is the runtime_class module in k8s.api.node.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RuntimeClass: @@ -18,7 +18,7 @@ schema RuntimeClass: handler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration. It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called "runc" might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The Handler must be lowercase, conform to the DNS Label (RFC 1123) requirements, and is immutable. kind : str, default is "RuntimeClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata overhead : Overhead, default is Undefined, optional overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see @@ -34,7 +34,7 @@ schema RuntimeClass: kind: "RuntimeClass" = "RuntimeClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta overhead?: Overhead diff --git a/k8s/1.29/api/node/v1/runtime_class_list.k b/k8s/1.29/api/node/v1/runtime_class_list.k index ef56265a..62b4c4c6 100644 --- a/k8s/1.29/api/node/v1/runtime_class_list.k +++ b/k8s/1.29/api/node/v1/runtime_class_list.k @@ -3,7 +3,7 @@ This is the runtime_class_list module in k8s.api.node.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RuntimeClassList: @@ -18,7 +18,7 @@ schema RuntimeClassList: items is a list of schema objects. kind : str, default is "RuntimeClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema RuntimeClassList: kind: "RuntimeClassList" = "RuntimeClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.29/api/policy/v1/eviction.k b/k8s/1.29/api/policy/v1/eviction.k index e87c2ee9..121fb323 100644 --- a/k8s/1.29/api/policy/v1/eviction.k +++ b/k8s/1.29/api/policy/v1/eviction.k @@ -3,7 +3,7 @@ This is the eviction module in k8s.api.policy.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Eviction: @@ -14,21 +14,21 @@ schema Eviction: ---------- apiVersion : str, default is "policy/v1", required APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - deleteOptions : v1.DeleteOptions, default is Undefined, optional + deleteOptions : metav1.DeleteOptions, default is Undefined, optional DeleteOptions may be provided kind : str, default is "Eviction", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional ObjectMeta describes the pod that is being evicted. """ apiVersion: "policy/v1" = "policy/v1" - deleteOptions?: v1.DeleteOptions + deleteOptions?: metav1.DeleteOptions kind: "Eviction" = "Eviction" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta diff --git a/k8s/1.29/api/policy/v1/pod_disruption_budget.k b/k8s/1.29/api/policy/v1/pod_disruption_budget.k index 08151f41..02483ed4 100644 --- a/k8s/1.29/api/policy/v1/pod_disruption_budget.k +++ b/k8s/1.29/api/policy/v1/pod_disruption_budget.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget module in k8s.api.policy.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudget: @@ -16,7 +16,7 @@ schema PodDisruptionBudget: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PodDisruptionBudget", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PodDisruptionBudgetSpec, default is Undefined, optional Specification of the desired behavior of the PodDisruptionBudget. @@ -27,7 +27,7 @@ schema PodDisruptionBudget: kind: "PodDisruptionBudget" = "PodDisruptionBudget" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PodDisruptionBudgetSpec diff --git a/k8s/1.29/api/policy/v1/pod_disruption_budget_list.k b/k8s/1.29/api/policy/v1/pod_disruption_budget_list.k index 9075ecd9..0a3f925d 100644 --- a/k8s/1.29/api/policy/v1/pod_disruption_budget_list.k +++ b/k8s/1.29/api/policy/v1/pod_disruption_budget_list.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget_list module in k8s.api.policy.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudgetList: @@ -18,7 +18,7 @@ schema PodDisruptionBudgetList: Items is a list of PodDisruptionBudgets kind : str, default is "PodDisruptionBudgetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PodDisruptionBudgetList: kind: "PodDisruptionBudgetList" = "PodDisruptionBudgetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.29/api/policy/v1/pod_disruption_budget_spec.k b/k8s/1.29/api/policy/v1/pod_disruption_budget_spec.k index e32c3163..d0118af3 100644 --- a/k8s/1.29/api/policy/v1/pod_disruption_budget_spec.k +++ b/k8s/1.29/api/policy/v1/pod_disruption_budget_spec.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget_spec module in k8s.api.policy.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudgetSpec: @@ -16,7 +16,7 @@ schema PodDisruptionBudgetSpec: An eviction is allowed if at most "maxUnavailable" pods selected by "selector" are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with "minAvailable". minAvailable : int | str, default is Undefined, optional An eviction is allowed if at least "minAvailable" pods selected by "selector" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying "100%". - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional Label query over pods whose evictions are managed by the disruption budget. A null selector will match no pods, while an empty ({}) selector will select all pods within the namespace. unhealthyPodEvictionPolicy : str, default is Undefined, optional UnhealthyPodEvictionPolicy defines the criteria for when unhealthy pods should be considered for eviction. Current implementation considers healthy pods, as pods that have status.conditions item with type="Ready",status="True". @@ -37,7 +37,7 @@ schema PodDisruptionBudgetSpec: minAvailable?: int | str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector unhealthyPodEvictionPolicy?: str diff --git a/k8s/1.29/api/policy/v1/pod_disruption_budget_status.k b/k8s/1.29/api/policy/v1/pod_disruption_budget_status.k index 58d0ef88..b8db8025 100644 --- a/k8s/1.29/api/policy/v1/pod_disruption_budget_status.k +++ b/k8s/1.29/api/policy/v1/pod_disruption_budget_status.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget_status module in k8s.api.policy.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudgetStatus: @@ -12,7 +12,7 @@ schema PodDisruptionBudgetStatus: Attributes ---------- - conditions : [v1.Condition], default is Undefined, optional + conditions : [metav1.Condition], default is Undefined, optional Conditions contain conditions for PDB. The disruption controller sets the DisruptionAllowed condition. The following are known values for the reason field (additional reasons could be added in the future): - SyncFailed: The controller encountered an error and wasn't able to compute the number of allowed disruptions. Therefore no disruptions are allowed and the status of the condition will be False. @@ -37,7 +37,7 @@ schema PodDisruptionBudgetStatus: """ - conditions?: [v1.Condition] + conditions?: [metav1.Condition] currentHealthy: int diff --git a/k8s/1.29/api/rbac/v1/aggregation_rule.k b/k8s/1.29/api/rbac/v1/aggregation_rule.k index c7969ee4..b6898869 100644 --- a/k8s/1.29/api/rbac/v1/aggregation_rule.k +++ b/k8s/1.29/api/rbac/v1/aggregation_rule.k @@ -3,7 +3,7 @@ This is the aggregation_rule module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema AggregationRule: @@ -12,11 +12,11 @@ schema AggregationRule: Attributes ---------- - clusterRoleSelectors : [v1.LabelSelector], default is Undefined, optional + clusterRoleSelectors : [metav1.LabelSelector], default is Undefined, optional ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added """ - clusterRoleSelectors?: [v1.LabelSelector] + clusterRoleSelectors?: [metav1.LabelSelector] diff --git a/k8s/1.29/api/rbac/v1/cluster_role.k b/k8s/1.29/api/rbac/v1/cluster_role.k index fcf42d1b..d32837ea 100644 --- a/k8s/1.29/api/rbac/v1/cluster_role.k +++ b/k8s/1.29/api/rbac/v1/cluster_role.k @@ -3,7 +3,7 @@ This is the cluster_role module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRole: @@ -18,7 +18,7 @@ schema ClusterRole: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ClusterRole", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. rules : [PolicyRule], default is Undefined, optional Rules holds all the PolicyRules for this ClusterRole @@ -31,7 +31,7 @@ schema ClusterRole: kind: "ClusterRole" = "ClusterRole" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta rules?: [PolicyRule] diff --git a/k8s/1.29/api/rbac/v1/cluster_role_binding.k b/k8s/1.29/api/rbac/v1/cluster_role_binding.k index 986c2dae..e4f4bf0a 100644 --- a/k8s/1.29/api/rbac/v1/cluster_role_binding.k +++ b/k8s/1.29/api/rbac/v1/cluster_role_binding.k @@ -3,7 +3,7 @@ This is the cluster_role_binding module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleBinding: @@ -16,7 +16,7 @@ schema ClusterRoleBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ClusterRoleBinding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. roleRef : RoleRef, default is Undefined, required RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. This field is immutable. @@ -29,7 +29,7 @@ schema ClusterRoleBinding: kind: "ClusterRoleBinding" = "ClusterRoleBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta roleRef: RoleRef diff --git a/k8s/1.29/api/rbac/v1/cluster_role_binding_list.k b/k8s/1.29/api/rbac/v1/cluster_role_binding_list.k index fd53865a..bd13f6fa 100644 --- a/k8s/1.29/api/rbac/v1/cluster_role_binding_list.k +++ b/k8s/1.29/api/rbac/v1/cluster_role_binding_list.k @@ -3,7 +3,7 @@ This is the cluster_role_binding_list module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleBindingList: @@ -18,7 +18,7 @@ schema ClusterRoleBindingList: Items is a list of ClusterRoleBindings kind : str, default is "ClusterRoleBindingList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema ClusterRoleBindingList: kind: "ClusterRoleBindingList" = "ClusterRoleBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.29/api/rbac/v1/cluster_role_list.k b/k8s/1.29/api/rbac/v1/cluster_role_list.k index 8be0e1a6..303e00aa 100644 --- a/k8s/1.29/api/rbac/v1/cluster_role_list.k +++ b/k8s/1.29/api/rbac/v1/cluster_role_list.k @@ -3,7 +3,7 @@ This is the cluster_role_list module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleList: @@ -18,7 +18,7 @@ schema ClusterRoleList: Items is a list of ClusterRoles kind : str, default is "ClusterRoleList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema ClusterRoleList: kind: "ClusterRoleList" = "ClusterRoleList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.29/api/rbac/v1/role.k b/k8s/1.29/api/rbac/v1/role.k index f72c1ab0..db02dfef 100644 --- a/k8s/1.29/api/rbac/v1/role.k +++ b/k8s/1.29/api/rbac/v1/role.k @@ -3,7 +3,7 @@ This is the role module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Role: @@ -16,7 +16,7 @@ schema Role: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Role", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. rules : [PolicyRule], default is Undefined, optional Rules holds all the PolicyRules for this Role @@ -27,7 +27,7 @@ schema Role: kind: "Role" = "Role" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta rules?: [PolicyRule] diff --git a/k8s/1.29/api/rbac/v1/role_binding.k b/k8s/1.29/api/rbac/v1/role_binding.k index e6fcb05e..69be4952 100644 --- a/k8s/1.29/api/rbac/v1/role_binding.k +++ b/k8s/1.29/api/rbac/v1/role_binding.k @@ -3,7 +3,7 @@ This is the role_binding module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleBinding: @@ -16,7 +16,7 @@ schema RoleBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "RoleBinding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. roleRef : RoleRef, default is Undefined, required RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. This field is immutable. @@ -29,7 +29,7 @@ schema RoleBinding: kind: "RoleBinding" = "RoleBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta roleRef: RoleRef diff --git a/k8s/1.29/api/rbac/v1/role_binding_list.k b/k8s/1.29/api/rbac/v1/role_binding_list.k index ef8b7fc8..cb8d7400 100644 --- a/k8s/1.29/api/rbac/v1/role_binding_list.k +++ b/k8s/1.29/api/rbac/v1/role_binding_list.k @@ -3,7 +3,7 @@ This is the role_binding_list module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleBindingList: @@ -18,7 +18,7 @@ schema RoleBindingList: Items is a list of RoleBindings kind : str, default is "RoleBindingList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema RoleBindingList: kind: "RoleBindingList" = "RoleBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.29/api/rbac/v1/role_list.k b/k8s/1.29/api/rbac/v1/role_list.k index 6e7826e6..d102bc0c 100644 --- a/k8s/1.29/api/rbac/v1/role_list.k +++ b/k8s/1.29/api/rbac/v1/role_list.k @@ -3,7 +3,7 @@ This is the role_list module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleList: @@ -18,7 +18,7 @@ schema RoleList: Items is a list of Roles kind : str, default is "RoleList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema RoleList: kind: "RoleList" = "RoleList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.29/api/resource/v1alpha2/pod_scheduling_context.k b/k8s/1.29/api/resource/v1alpha2/pod_scheduling_context.k index ff8e77cf..dc92841a 100644 --- a/k8s/1.29/api/resource/v1alpha2/pod_scheduling_context.k +++ b/k8s/1.29/api/resource/v1alpha2/pod_scheduling_context.k @@ -3,7 +3,7 @@ This is the pod_scheduling_context module in k8s.api.resource.v1alpha2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodSchedulingContext: @@ -18,7 +18,7 @@ schema PodSchedulingContext: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PodSchedulingContext", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata spec : PodSchedulingContextSpec, default is Undefined, required Spec describes where resources for the Pod are needed. @@ -29,7 +29,7 @@ schema PodSchedulingContext: kind: "PodSchedulingContext" = "PodSchedulingContext" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: PodSchedulingContextSpec diff --git a/k8s/1.29/api/resource/v1alpha2/pod_scheduling_context_list.k b/k8s/1.29/api/resource/v1alpha2/pod_scheduling_context_list.k index 5d5a2d84..0b243a8b 100644 --- a/k8s/1.29/api/resource/v1alpha2/pod_scheduling_context_list.k +++ b/k8s/1.29/api/resource/v1alpha2/pod_scheduling_context_list.k @@ -3,7 +3,7 @@ This is the pod_scheduling_context_list module in k8s.api.resource.v1alpha2 pack This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodSchedulingContextList: @@ -18,7 +18,7 @@ schema PodSchedulingContextList: Items is the list of PodSchedulingContext objects. kind : str, default is "PodSchedulingContextList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata """ @@ -29,6 +29,6 @@ schema PodSchedulingContextList: kind: "PodSchedulingContextList" = "PodSchedulingContextList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.29/api/resource/v1alpha2/resource_claim.k b/k8s/1.29/api/resource/v1alpha2/resource_claim.k index 016cd551..c6593565 100644 --- a/k8s/1.29/api/resource/v1alpha2/resource_claim.k +++ b/k8s/1.29/api/resource/v1alpha2/resource_claim.k @@ -3,7 +3,7 @@ This is the resource_claim module in k8s.api.resource.v1alpha2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceClaim: @@ -18,7 +18,7 @@ schema ResourceClaim: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ResourceClaim", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata spec : ResourceClaimSpec, default is Undefined, required Spec describes the desired attributes of a resource that then needs to be allocated. It can only be set once when creating the ResourceClaim. @@ -29,7 +29,7 @@ schema ResourceClaim: kind: "ResourceClaim" = "ResourceClaim" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: ResourceClaimSpec diff --git a/k8s/1.29/api/resource/v1alpha2/resource_claim_list.k b/k8s/1.29/api/resource/v1alpha2/resource_claim_list.k index c16c3815..e6476316 100644 --- a/k8s/1.29/api/resource/v1alpha2/resource_claim_list.k +++ b/k8s/1.29/api/resource/v1alpha2/resource_claim_list.k @@ -3,7 +3,7 @@ This is the resource_claim_list module in k8s.api.resource.v1alpha2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceClaimList: @@ -18,7 +18,7 @@ schema ResourceClaimList: Items is the list of resource claims. kind : str, default is "ResourceClaimList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata """ @@ -29,6 +29,6 @@ schema ResourceClaimList: kind: "ResourceClaimList" = "ResourceClaimList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.29/api/resource/v1alpha2/resource_claim_template.k b/k8s/1.29/api/resource/v1alpha2/resource_claim_template.k index e35780a7..11722fdc 100644 --- a/k8s/1.29/api/resource/v1alpha2/resource_claim_template.k +++ b/k8s/1.29/api/resource/v1alpha2/resource_claim_template.k @@ -3,7 +3,7 @@ This is the resource_claim_template module in k8s.api.resource.v1alpha2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceClaimTemplate: @@ -16,7 +16,7 @@ schema ResourceClaimTemplate: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ResourceClaimTemplate", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata spec : ResourceClaimTemplateSpec, default is Undefined, required Describes the ResourceClaim that is to be generated. @@ -29,7 +29,7 @@ schema ResourceClaimTemplate: kind: "ResourceClaimTemplate" = "ResourceClaimTemplate" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: ResourceClaimTemplateSpec diff --git a/k8s/1.29/api/resource/v1alpha2/resource_claim_template_list.k b/k8s/1.29/api/resource/v1alpha2/resource_claim_template_list.k index bb8639cf..3cedbaea 100644 --- a/k8s/1.29/api/resource/v1alpha2/resource_claim_template_list.k +++ b/k8s/1.29/api/resource/v1alpha2/resource_claim_template_list.k @@ -3,7 +3,7 @@ This is the resource_claim_template_list module in k8s.api.resource.v1alpha2 pac This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceClaimTemplateList: @@ -18,7 +18,7 @@ schema ResourceClaimTemplateList: Items is the list of resource claim templates. kind : str, default is "ResourceClaimTemplateList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata """ @@ -29,6 +29,6 @@ schema ResourceClaimTemplateList: kind: "ResourceClaimTemplateList" = "ResourceClaimTemplateList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.29/api/resource/v1alpha2/resource_claim_template_spec.k b/k8s/1.29/api/resource/v1alpha2/resource_claim_template_spec.k index 9ac79c8b..e90c7509 100644 --- a/k8s/1.29/api/resource/v1alpha2/resource_claim_template_spec.k +++ b/k8s/1.29/api/resource/v1alpha2/resource_claim_template_spec.k @@ -3,7 +3,7 @@ This is the resource_claim_template_spec module in k8s.api.resource.v1alpha2 pac This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceClaimTemplateSpec: @@ -12,14 +12,14 @@ schema ResourceClaimTemplateSpec: Attributes ---------- - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional ObjectMeta may contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. spec : ResourceClaimSpec, default is Undefined, required Spec for the ResourceClaim. The entire content is copied unchanged into the ResourceClaim that gets created from this template. The same fields as in a ResourceClaim are also valid here. """ - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: ResourceClaimSpec diff --git a/k8s/1.29/api/resource/v1alpha2/resource_class.k b/k8s/1.29/api/resource/v1alpha2/resource_class.k index f037ba6e..5ffcf8dd 100644 --- a/k8s/1.29/api/resource/v1alpha2/resource_class.k +++ b/k8s/1.29/api/resource/v1alpha2/resource_class.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceClass: @@ -23,7 +23,7 @@ schema ResourceClass: Resource drivers have a unique name in forward domain order (acme.example.com). kind : str, default is "ResourceClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata parametersRef : ResourceClassParametersReference, default is Undefined, optional ParametersRef references an arbitrary separate object that may hold parameters that will be used by the driver when allocating a resource that uses this class. A dynamic resource driver can distinguish between parameters stored here and and those stored in ResourceClaimSpec. @@ -40,7 +40,7 @@ schema ResourceClass: kind: "ResourceClass" = "ResourceClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta parametersRef?: ResourceClassParametersReference diff --git a/k8s/1.29/api/resource/v1alpha2/resource_class_list.k b/k8s/1.29/api/resource/v1alpha2/resource_class_list.k index 1dd6c5b8..3662ddbb 100644 --- a/k8s/1.29/api/resource/v1alpha2/resource_class_list.k +++ b/k8s/1.29/api/resource/v1alpha2/resource_class_list.k @@ -3,7 +3,7 @@ This is the resource_class_list module in k8s.api.resource.v1alpha2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceClassList: @@ -18,7 +18,7 @@ schema ResourceClassList: Items is the list of resource classes. kind : str, default is "ResourceClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata """ @@ -29,6 +29,6 @@ schema ResourceClassList: kind: "ResourceClassList" = "ResourceClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.29/api/scheduling/v1/priority_class.k b/k8s/1.29/api/scheduling/v1/priority_class.k index 5011343b..ffafaaa1 100644 --- a/k8s/1.29/api/scheduling/v1/priority_class.k +++ b/k8s/1.29/api/scheduling/v1/priority_class.k @@ -3,7 +3,7 @@ This is the priority_class module in k8s.api.scheduling.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityClass: @@ -20,7 +20,7 @@ schema PriorityClass: globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority. kind : str, default is "PriorityClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata preemptionPolicy : str, default is Undefined, optional preemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. @@ -37,7 +37,7 @@ schema PriorityClass: kind: "PriorityClass" = "PriorityClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta preemptionPolicy?: str diff --git a/k8s/1.29/api/scheduling/v1/priority_class_list.k b/k8s/1.29/api/scheduling/v1/priority_class_list.k index ff802048..6d514f6b 100644 --- a/k8s/1.29/api/scheduling/v1/priority_class_list.k +++ b/k8s/1.29/api/scheduling/v1/priority_class_list.k @@ -3,7 +3,7 @@ This is the priority_class_list module in k8s.api.scheduling.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityClassList: @@ -18,7 +18,7 @@ schema PriorityClassList: items is the list of PriorityClasses kind : str, default is "PriorityClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PriorityClassList: kind: "PriorityClassList" = "PriorityClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.29/api/storage/v1/csi_driver.k b/k8s/1.29/api/storage/v1/csi_driver.k index 36dd1c31..e9679296 100644 --- a/k8s/1.29/api/storage/v1/csi_driver.k +++ b/k8s/1.29/api/storage/v1/csi_driver.k @@ -3,7 +3,7 @@ This is the csi_driver module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSIDriver: @@ -16,7 +16,7 @@ schema CSIDriver: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CSIDriver", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. metadata.Name indicates the name of the CSI driver that this object refers to; it MUST be the same name returned by the CSI GetPluginName() call for that driver. The driver name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and alphanumerics between. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : CSIDriverSpec, default is Undefined, required spec represents the specification of the CSI Driver. @@ -27,7 +27,7 @@ schema CSIDriver: kind: "CSIDriver" = "CSIDriver" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CSIDriverSpec diff --git a/k8s/1.29/api/storage/v1/csi_driver_list.k b/k8s/1.29/api/storage/v1/csi_driver_list.k index 91531b39..8b09e0f6 100644 --- a/k8s/1.29/api/storage/v1/csi_driver_list.k +++ b/k8s/1.29/api/storage/v1/csi_driver_list.k @@ -3,7 +3,7 @@ This is the csi_driver_list module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSIDriverList: @@ -18,7 +18,7 @@ schema CSIDriverList: items is the list of CSIDriver kind : str, default is "CSIDriverList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CSIDriverList: kind: "CSIDriverList" = "CSIDriverList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.29/api/storage/v1/csi_node.k b/k8s/1.29/api/storage/v1/csi_node.k index 097308e8..4f129f1b 100644 --- a/k8s/1.29/api/storage/v1/csi_node.k +++ b/k8s/1.29/api/storage/v1/csi_node.k @@ -3,7 +3,7 @@ This is the csi_node module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSINode: @@ -16,7 +16,7 @@ schema CSINode: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CSINode", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. metadata.name must be the Kubernetes node name. spec : CSINodeSpec, default is Undefined, required spec is the specification of CSINode @@ -27,7 +27,7 @@ schema CSINode: kind: "CSINode" = "CSINode" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CSINodeSpec diff --git a/k8s/1.29/api/storage/v1/csi_node_list.k b/k8s/1.29/api/storage/v1/csi_node_list.k index ce5793c1..3a93da71 100644 --- a/k8s/1.29/api/storage/v1/csi_node_list.k +++ b/k8s/1.29/api/storage/v1/csi_node_list.k @@ -3,7 +3,7 @@ This is the csi_node_list module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSINodeList: @@ -18,7 +18,7 @@ schema CSINodeList: items is the list of CSINode kind : str, default is "CSINodeList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CSINodeList: kind: "CSINodeList" = "CSINodeList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.29/api/storage/v1/csi_storage_capacity.k b/k8s/1.29/api/storage/v1/csi_storage_capacity.k index 1a098e03..7193e8a7 100644 --- a/k8s/1.29/api/storage/v1/csi_storage_capacity.k +++ b/k8s/1.29/api/storage/v1/csi_storage_capacity.k @@ -3,7 +3,7 @@ This is the csi_storage_capacity module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSIStorageCapacity: @@ -32,13 +32,13 @@ schema CSIStorageCapacity: maximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields. This is defined since CSI spec 1.4.0 as the largest size that may be used in a CreateVolumeRequest.capacity_range.required_bytes field to create a volume with the same parameters as those in GetCapacityRequest. The corresponding value in the Kubernetes API is ResourceRequirements.Requests in a volume claim. - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. The name has no particular meaning. It must be a DNS subdomain (dots allowed, 253 characters). To ensure that there are no conflicts with other CSI drivers on the cluster, the recommendation is to use csisc-, a generated name, or a reverse-domain name which ends with the unique CSI driver name. Objects are namespaced. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - nodeTopology : v1.LabelSelector, default is Undefined, optional + nodeTopology : metav1.LabelSelector, default is Undefined, optional nodeTopology defines which nodes have access to the storage for which capacity was reported. If not set, the storage is not accessible from any node in the cluster. If empty, the storage is accessible from all nodes. This field is immutable. storageClassName : str, default is Undefined, required storageClassName represents the name of the StorageClass that the reported capacity applies to. It must meet the same requirements as the name of a StorageClass object (non-empty, DNS subdomain). If that object no longer exists, the CSIStorageCapacity object is obsolete and should be removed by its creator. This field is immutable. @@ -53,9 +53,9 @@ schema CSIStorageCapacity: maximumVolumeSize?: str - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta - nodeTopology?: v1.LabelSelector + nodeTopology?: metav1.LabelSelector storageClassName: str diff --git a/k8s/1.29/api/storage/v1/csi_storage_capacity_list.k b/k8s/1.29/api/storage/v1/csi_storage_capacity_list.k index 0b95b427..31f7b913 100644 --- a/k8s/1.29/api/storage/v1/csi_storage_capacity_list.k +++ b/k8s/1.29/api/storage/v1/csi_storage_capacity_list.k @@ -3,7 +3,7 @@ This is the csi_storage_capacity_list module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSIStorageCapacityList: @@ -18,7 +18,7 @@ schema CSIStorageCapacityList: items is the list of CSIStorageCapacity objects. kind : str, default is "CSIStorageCapacityList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CSIStorageCapacityList: kind: "CSIStorageCapacityList" = "CSIStorageCapacityList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.29/api/storage/v1/storage_class_list.k b/k8s/1.29/api/storage/v1/storage_class_list.k index 9644734a..840d2d6c 100644 --- a/k8s/1.29/api/storage/v1/storage_class_list.k +++ b/k8s/1.29/api/storage/v1/storage_class_list.k @@ -3,7 +3,7 @@ This is the storage_class_list module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StorageClassList: @@ -18,7 +18,7 @@ schema StorageClassList: items is the list of StorageClasses kind : str, default is "StorageClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema StorageClassList: kind: "StorageClassList" = "StorageClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.29/api/storage/v1/volume_attachment.k b/k8s/1.29/api/storage/v1/volume_attachment.k index 8014f40e..9c5844f3 100644 --- a/k8s/1.29/api/storage/v1/volume_attachment.k +++ b/k8s/1.29/api/storage/v1/volume_attachment.k @@ -3,7 +3,7 @@ This is the volume_attachment module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema VolumeAttachment: @@ -18,7 +18,7 @@ schema VolumeAttachment: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "VolumeAttachment", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : VolumeAttachmentSpec, default is Undefined, required spec represents specification of the desired attach/detach volume behavior. Populated by the Kubernetes system. @@ -29,7 +29,7 @@ schema VolumeAttachment: kind: "VolumeAttachment" = "VolumeAttachment" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: VolumeAttachmentSpec diff --git a/k8s/1.29/api/storage/v1/volume_attachment_list.k b/k8s/1.29/api/storage/v1/volume_attachment_list.k index d8a605d6..f7d2f75c 100644 --- a/k8s/1.29/api/storage/v1/volume_attachment_list.k +++ b/k8s/1.29/api/storage/v1/volume_attachment_list.k @@ -3,7 +3,7 @@ This is the volume_attachment_list module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema VolumeAttachmentList: @@ -18,7 +18,7 @@ schema VolumeAttachmentList: items is the list of VolumeAttachments kind : str, default is "VolumeAttachmentList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema VolumeAttachmentList: kind: "VolumeAttachmentList" = "VolumeAttachmentList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.29/api/storage/v1alpha1/volume_attributes_class.k b/k8s/1.29/api/storage/v1alpha1/volume_attributes_class.k index 77ccbec0..f52e297a 100644 --- a/k8s/1.29/api/storage/v1alpha1/volume_attributes_class.k +++ b/k8s/1.29/api/storage/v1alpha1/volume_attributes_class.k @@ -3,7 +3,7 @@ This is the volume_attributes_class module in k8s.api.storage.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema VolumeAttributesClass: @@ -18,7 +18,7 @@ schema VolumeAttributesClass: Name of the CSI driver This field is immutable. kind : str, default is "VolumeAttributesClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata parameters : {str:str}, default is Undefined, optional parameters hold volume attributes defined by the CSI driver. These values are opaque to the Kubernetes and are passed directly to the CSI driver. The underlying storage provider supports changing these attributes on an existing volume, however the parameters field itself is immutable. To invoke a volume update, a new VolumeAttributesClass should be created with new parameters, and the PersistentVolumeClaim should be updated to reference the new VolumeAttributesClass. @@ -33,7 +33,7 @@ schema VolumeAttributesClass: kind: "VolumeAttributesClass" = "VolumeAttributesClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta parameters?: {str:str} diff --git a/k8s/1.29/api/storage/v1alpha1/volume_attributes_class_list.k b/k8s/1.29/api/storage/v1alpha1/volume_attributes_class_list.k index c5d71674..af74a993 100644 --- a/k8s/1.29/api/storage/v1alpha1/volume_attributes_class_list.k +++ b/k8s/1.29/api/storage/v1alpha1/volume_attributes_class_list.k @@ -3,7 +3,7 @@ This is the volume_attributes_class_list module in k8s.api.storage.v1alpha1 pack This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema VolumeAttributesClassList: @@ -18,7 +18,7 @@ schema VolumeAttributesClassList: items is the list of VolumeAttributesClass objects. kind : str, default is "VolumeAttributesClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema VolumeAttributesClassList: kind: "VolumeAttributesClassList" = "VolumeAttributesClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.29/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition.k b/k8s/1.29/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition.k index f348f6d1..5010467b 100644 --- a/k8s/1.29/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition.k +++ b/k8s/1.29/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition.k @@ -3,7 +3,7 @@ This is the custom_resource_definition module in k8s.apiextensions_apiserver.pkg This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CustomResourceDefinition: @@ -16,7 +16,7 @@ schema CustomResourceDefinition: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CustomResourceDefinition", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : CustomResourceDefinitionSpec, default is Undefined, required spec describes how the user wants the resources to appear @@ -27,7 +27,7 @@ schema CustomResourceDefinition: kind: "CustomResourceDefinition" = "CustomResourceDefinition" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CustomResourceDefinitionSpec diff --git a/k8s/1.29/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition_list.k b/k8s/1.29/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition_list.k index ca3c928b..8b625323 100644 --- a/k8s/1.29/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition_list.k +++ b/k8s/1.29/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition_list.k @@ -3,7 +3,7 @@ This is the custom_resource_definition_list module in k8s.apiextensions_apiserve This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CustomResourceDefinitionList: @@ -18,7 +18,7 @@ schema CustomResourceDefinitionList: items list individual CustomResourceDefinition objects kind : str, default is "CustomResourceDefinitionList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CustomResourceDefinitionList: kind: "CustomResourceDefinitionList" = "CustomResourceDefinitionList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.29/kcl.mod b/k8s/1.29/kcl.mod index 4e325744..5103ba89 100644 --- a/k8s/1.29/kcl.mod +++ b/k8s/1.29/kcl.mod @@ -1,5 +1,5 @@ [package] name = "k8s" edition = "*" -version = "1.29.1" +version = "1.29.2" description = "`k8s` is a KCL module contains all the built-in Kubernetes resource models (the CRDs are not included here)." diff --git a/k8s/1.29/kube_aggregator/pkg/apis/apiregistration/v1/api_service.k b/k8s/1.29/kube_aggregator/pkg/apis/apiregistration/v1/api_service.k index 89028f12..7b645741 100644 --- a/k8s/1.29/kube_aggregator/pkg/apis/apiregistration/v1/api_service.k +++ b/k8s/1.29/kube_aggregator/pkg/apis/apiregistration/v1/api_service.k @@ -3,7 +3,7 @@ This is the api_service module in k8s.kube_aggregator.pkg.apis.apiregistration.v This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema APIService: @@ -16,7 +16,7 @@ schema APIService: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "APIService", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : APIServiceSpec, default is Undefined, optional Spec contains information for locating and communicating with a server @@ -27,7 +27,7 @@ schema APIService: kind: "APIService" = "APIService" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: APIServiceSpec diff --git a/k8s/1.29/kube_aggregator/pkg/apis/apiregistration/v1/api_service_list.k b/k8s/1.29/kube_aggregator/pkg/apis/apiregistration/v1/api_service_list.k index acf02534..3a385202 100644 --- a/k8s/1.29/kube_aggregator/pkg/apis/apiregistration/v1/api_service_list.k +++ b/k8s/1.29/kube_aggregator/pkg/apis/apiregistration/v1/api_service_list.k @@ -3,7 +3,7 @@ This is the api_service_list module in k8s.kube_aggregator.pkg.apis.apiregistrat This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema APIServiceList: @@ -18,7 +18,7 @@ schema APIServiceList: Items is the list of APIService kind : str, default is "APIServiceList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema APIServiceList: kind: "APIServiceList" = "APIServiceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.30/api/admissionregistration/v1/match_resources.k b/k8s/1.30/api/admissionregistration/v1/match_resources.k index d69fbce4..fc286bbc 100644 --- a/k8s/1.30/api/admissionregistration/v1/match_resources.k +++ b/k8s/1.30/api/admissionregistration/v1/match_resources.k @@ -3,7 +3,7 @@ This is the match_resources module in k8s.api.admissionregistration.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MatchResources: @@ -22,7 +22,7 @@ schema MatchResources: - Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the ValidatingAdmissionPolicy. Defaults to "Equivalent" - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional NamespaceSelector decides whether to run the admission control policy on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the policy. For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1"; you will set the selector as follows: "namespaceSelector": { @@ -54,7 +54,7 @@ schema MatchResources: See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors. Default to the empty LabelSelector, which matches everything. - objectSelector : v1.LabelSelector, default is Undefined, optional + objectSelector : metav1.LabelSelector, default is Undefined, optional ObjectSelector decides whether to run the validation based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the cel validation, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything. resourceRules : [NamedRuleWithOperations], default is Undefined, optional ResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy matches. The policy cares about an operation if it matches _any_ Rule. @@ -65,9 +65,9 @@ schema MatchResources: matchPolicy?: str - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector - objectSelector?: v1.LabelSelector + objectSelector?: metav1.LabelSelector resourceRules?: [NamedRuleWithOperations] diff --git a/k8s/1.30/api/admissionregistration/v1/mutating_webhook.k b/k8s/1.30/api/admissionregistration/v1/mutating_webhook.k index dbb5003e..2f38e391 100644 --- a/k8s/1.30/api/admissionregistration/v1/mutating_webhook.k +++ b/k8s/1.30/api/admissionregistration/v1/mutating_webhook.k @@ -3,7 +3,7 @@ This is the mutating_webhook module in k8s.api.admissionregistration.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MutatingWebhook: @@ -37,7 +37,7 @@ schema MutatingWebhook: Defaults to "Equivalent" name : str, default is Undefined, required The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook. For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1"; you will set the selector as follows: "namespaceSelector": { @@ -69,7 +69,7 @@ schema MutatingWebhook: See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors. Default to the empty LabelSelector, which matches everything. - objectSelector : v1.LabelSelector, default is Undefined, optional + objectSelector : metav1.LabelSelector, default is Undefined, optional ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything. reinvocationPolicy : str, default is Undefined, optional reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded". @@ -100,9 +100,9 @@ schema MutatingWebhook: name: str - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector - objectSelector?: v1.LabelSelector + objectSelector?: metav1.LabelSelector reinvocationPolicy?: str diff --git a/k8s/1.30/api/admissionregistration/v1/mutating_webhook_configuration.k b/k8s/1.30/api/admissionregistration/v1/mutating_webhook_configuration.k index a9864b32..0c970740 100644 --- a/k8s/1.30/api/admissionregistration/v1/mutating_webhook_configuration.k +++ b/k8s/1.30/api/admissionregistration/v1/mutating_webhook_configuration.k @@ -3,7 +3,7 @@ This is the mutating_webhook_configuration module in k8s.api.admissionregistrati This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MutatingWebhookConfiguration: @@ -16,7 +16,7 @@ schema MutatingWebhookConfiguration: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "MutatingWebhookConfiguration", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. webhooks : [MutatingWebhook], default is Undefined, optional Webhooks is a list of webhooks and the affected resources and operations. @@ -27,7 +27,7 @@ schema MutatingWebhookConfiguration: kind: "MutatingWebhookConfiguration" = "MutatingWebhookConfiguration" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta webhooks?: [MutatingWebhook] diff --git a/k8s/1.30/api/admissionregistration/v1/mutating_webhook_configuration_list.k b/k8s/1.30/api/admissionregistration/v1/mutating_webhook_configuration_list.k index d4e15e81..b6fd6022 100644 --- a/k8s/1.30/api/admissionregistration/v1/mutating_webhook_configuration_list.k +++ b/k8s/1.30/api/admissionregistration/v1/mutating_webhook_configuration_list.k @@ -3,7 +3,7 @@ This is the mutating_webhook_configuration_list module in k8s.api.admissionregis This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MutatingWebhookConfigurationList: @@ -18,7 +18,7 @@ schema MutatingWebhookConfigurationList: List of MutatingWebhookConfiguration. kind : str, default is "MutatingWebhookConfigurationList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema MutatingWebhookConfigurationList: kind: "MutatingWebhookConfigurationList" = "MutatingWebhookConfigurationList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.30/api/admissionregistration/v1/param_ref.k b/k8s/1.30/api/admissionregistration/v1/param_ref.k index 9dfcdc60..9e28026a 100644 --- a/k8s/1.30/api/admissionregistration/v1/param_ref.k +++ b/k8s/1.30/api/admissionregistration/v1/param_ref.k @@ -3,7 +3,7 @@ This is the param_ref module in k8s.api.admissionregistration.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ParamRef: @@ -32,7 +32,7 @@ schema ParamRef: Allowed values are `Allow` or `Deny` Required - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector can be used to match multiple param objects based on their labels. Supply selector: {} to match all resources of the ParamKind. If multiple params are found, they are all evaluated with the policy expressions and the results are ANDed together. @@ -47,6 +47,6 @@ schema ParamRef: parameterNotFoundAction?: str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector diff --git a/k8s/1.30/api/admissionregistration/v1/validating_admission_policy.k b/k8s/1.30/api/admissionregistration/v1/validating_admission_policy.k index e6df4769..e8615564 100644 --- a/k8s/1.30/api/admissionregistration/v1/validating_admission_policy.k +++ b/k8s/1.30/api/admissionregistration/v1/validating_admission_policy.k @@ -3,7 +3,7 @@ This is the validating_admission_policy module in k8s.api.admissionregistration. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingAdmissionPolicy: @@ -16,7 +16,7 @@ schema ValidatingAdmissionPolicy: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ValidatingAdmissionPolicy", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. spec : ValidatingAdmissionPolicySpec, default is Undefined, optional Specification of the desired behavior of the ValidatingAdmissionPolicy. @@ -27,7 +27,7 @@ schema ValidatingAdmissionPolicy: kind: "ValidatingAdmissionPolicy" = "ValidatingAdmissionPolicy" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ValidatingAdmissionPolicySpec diff --git a/k8s/1.30/api/admissionregistration/v1/validating_admission_policy_binding.k b/k8s/1.30/api/admissionregistration/v1/validating_admission_policy_binding.k index 32b0265e..36e771db 100644 --- a/k8s/1.30/api/admissionregistration/v1/validating_admission_policy_binding.k +++ b/k8s/1.30/api/admissionregistration/v1/validating_admission_policy_binding.k @@ -3,7 +3,7 @@ This is the validating_admission_policy_binding module in k8s.api.admissionregis This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingAdmissionPolicyBinding: @@ -20,7 +20,7 @@ schema ValidatingAdmissionPolicyBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ValidatingAdmissionPolicyBinding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. spec : ValidatingAdmissionPolicyBindingSpec, default is Undefined, optional Specification of the desired behavior of the ValidatingAdmissionPolicyBinding. @@ -31,7 +31,7 @@ schema ValidatingAdmissionPolicyBinding: kind: "ValidatingAdmissionPolicyBinding" = "ValidatingAdmissionPolicyBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ValidatingAdmissionPolicyBindingSpec diff --git a/k8s/1.30/api/admissionregistration/v1/validating_admission_policy_binding_list.k b/k8s/1.30/api/admissionregistration/v1/validating_admission_policy_binding_list.k index 68ebbbbc..8757f400 100644 --- a/k8s/1.30/api/admissionregistration/v1/validating_admission_policy_binding_list.k +++ b/k8s/1.30/api/admissionregistration/v1/validating_admission_policy_binding_list.k @@ -3,7 +3,7 @@ This is the validating_admission_policy_binding_list module in k8s.api.admission This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingAdmissionPolicyBindingList: @@ -18,7 +18,7 @@ schema ValidatingAdmissionPolicyBindingList: List of PolicyBinding. kind : str, default is "ValidatingAdmissionPolicyBindingList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ValidatingAdmissionPolicyBindingList: kind: "ValidatingAdmissionPolicyBindingList" = "ValidatingAdmissionPolicyBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.30/api/admissionregistration/v1/validating_admission_policy_list.k b/k8s/1.30/api/admissionregistration/v1/validating_admission_policy_list.k index fe38664f..f91d73f4 100644 --- a/k8s/1.30/api/admissionregistration/v1/validating_admission_policy_list.k +++ b/k8s/1.30/api/admissionregistration/v1/validating_admission_policy_list.k @@ -3,7 +3,7 @@ This is the validating_admission_policy_list module in k8s.api.admissionregistra This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingAdmissionPolicyList: @@ -18,7 +18,7 @@ schema ValidatingAdmissionPolicyList: List of ValidatingAdmissionPolicy. kind : str, default is "ValidatingAdmissionPolicyList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ValidatingAdmissionPolicyList: kind: "ValidatingAdmissionPolicyList" = "ValidatingAdmissionPolicyList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.30/api/admissionregistration/v1/validating_admission_policy_status.k b/k8s/1.30/api/admissionregistration/v1/validating_admission_policy_status.k index 03c30f65..7b57fdff 100644 --- a/k8s/1.30/api/admissionregistration/v1/validating_admission_policy_status.k +++ b/k8s/1.30/api/admissionregistration/v1/validating_admission_policy_status.k @@ -3,7 +3,7 @@ This is the validating_admission_policy_status module in k8s.api.admissionregist This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingAdmissionPolicyStatus: @@ -12,7 +12,7 @@ schema ValidatingAdmissionPolicyStatus: Attributes ---------- - conditions : [v1.Condition], default is Undefined, optional + conditions : [metav1.Condition], default is Undefined, optional The conditions represent the latest available observations of a policy's current state. observedGeneration : int, default is Undefined, optional The generation observed by the controller. @@ -21,7 +21,7 @@ schema ValidatingAdmissionPolicyStatus: """ - conditions?: [v1.Condition] + conditions?: [metav1.Condition] observedGeneration?: int diff --git a/k8s/1.30/api/admissionregistration/v1/validating_webhook.k b/k8s/1.30/api/admissionregistration/v1/validating_webhook.k index 1c993393..ef9f14e3 100644 --- a/k8s/1.30/api/admissionregistration/v1/validating_webhook.k +++ b/k8s/1.30/api/admissionregistration/v1/validating_webhook.k @@ -3,7 +3,7 @@ This is the validating_webhook module in k8s.api.admissionregistration.v1 packag This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingWebhook: @@ -37,7 +37,7 @@ schema ValidatingWebhook: Defaults to "Equivalent" name : str, default is Undefined, required The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook. For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1"; you will set the selector as follows: "namespaceSelector": { @@ -69,7 +69,7 @@ schema ValidatingWebhook: See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels for more examples of label selectors. Default to the empty LabelSelector, which matches everything. - objectSelector : v1.LabelSelector, default is Undefined, optional + objectSelector : metav1.LabelSelector, default is Undefined, optional ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything. rules : [RuleWithOperations], default is Undefined, optional Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects. @@ -92,9 +92,9 @@ schema ValidatingWebhook: name: str - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector - objectSelector?: v1.LabelSelector + objectSelector?: metav1.LabelSelector rules?: [RuleWithOperations] diff --git a/k8s/1.30/api/admissionregistration/v1/validating_webhook_configuration.k b/k8s/1.30/api/admissionregistration/v1/validating_webhook_configuration.k index 2b45293a..e35bb335 100644 --- a/k8s/1.30/api/admissionregistration/v1/validating_webhook_configuration.k +++ b/k8s/1.30/api/admissionregistration/v1/validating_webhook_configuration.k @@ -3,7 +3,7 @@ This is the validating_webhook_configuration module in k8s.api.admissionregistra This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingWebhookConfiguration: @@ -16,7 +16,7 @@ schema ValidatingWebhookConfiguration: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ValidatingWebhookConfiguration", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. webhooks : [ValidatingWebhook], default is Undefined, optional Webhooks is a list of webhooks and the affected resources and operations. @@ -27,7 +27,7 @@ schema ValidatingWebhookConfiguration: kind: "ValidatingWebhookConfiguration" = "ValidatingWebhookConfiguration" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta webhooks?: [ValidatingWebhook] diff --git a/k8s/1.30/api/admissionregistration/v1/validating_webhook_configuration_list.k b/k8s/1.30/api/admissionregistration/v1/validating_webhook_configuration_list.k index 0515b188..2691da1c 100644 --- a/k8s/1.30/api/admissionregistration/v1/validating_webhook_configuration_list.k +++ b/k8s/1.30/api/admissionregistration/v1/validating_webhook_configuration_list.k @@ -3,7 +3,7 @@ This is the validating_webhook_configuration_list module in k8s.api.admissionreg This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingWebhookConfigurationList: @@ -18,7 +18,7 @@ schema ValidatingWebhookConfigurationList: List of ValidatingWebhookConfiguration. kind : str, default is "ValidatingWebhookConfigurationList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ValidatingWebhookConfigurationList: kind: "ValidatingWebhookConfigurationList" = "ValidatingWebhookConfigurationList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.30/api/admissionregistration/v1alpha1/match_resources.k b/k8s/1.30/api/admissionregistration/v1alpha1/match_resources.k index d86be0e0..47769c40 100644 --- a/k8s/1.30/api/admissionregistration/v1alpha1/match_resources.k +++ b/k8s/1.30/api/admissionregistration/v1alpha1/match_resources.k @@ -3,7 +3,7 @@ This is the match_resources module in k8s.api.admissionregistration.v1alpha1 pac This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MatchResources: @@ -22,7 +22,7 @@ schema MatchResources: - Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the ValidatingAdmissionPolicy. Defaults to "Equivalent" - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional NamespaceSelector decides whether to run the admission control policy on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the policy. For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1"; you will set the selector as follows: "namespaceSelector": { @@ -54,7 +54,7 @@ schema MatchResources: See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors. Default to the empty LabelSelector, which matches everything. - objectSelector : v1.LabelSelector, default is Undefined, optional + objectSelector : metav1.LabelSelector, default is Undefined, optional ObjectSelector decides whether to run the validation based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the cel validation, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything. resourceRules : [NamedRuleWithOperations], default is Undefined, optional ResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy matches. The policy cares about an operation if it matches _any_ Rule. @@ -65,9 +65,9 @@ schema MatchResources: matchPolicy?: str - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector - objectSelector?: v1.LabelSelector + objectSelector?: metav1.LabelSelector resourceRules?: [NamedRuleWithOperations] diff --git a/k8s/1.30/api/admissionregistration/v1alpha1/param_ref.k b/k8s/1.30/api/admissionregistration/v1alpha1/param_ref.k index 8b2278f8..8bf3c61f 100644 --- a/k8s/1.30/api/admissionregistration/v1alpha1/param_ref.k +++ b/k8s/1.30/api/admissionregistration/v1alpha1/param_ref.k @@ -3,7 +3,7 @@ This is the param_ref module in k8s.api.admissionregistration.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ParamRef: @@ -28,7 +28,7 @@ schema ParamRef: `parameterNotFoundAction` controls the behavior of the binding when the resource exists, and name or selector is valid, but there are no parameters matched by the binding. If the value is set to `Allow`, then no matched parameters will be treated as successful validation by the binding. If set to `Deny`, then no matched parameters will be subject to the `failurePolicy` of the policy. Allowed values are `Allow` or `Deny` Default to `Deny` - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector can be used to match multiple param objects based on their labels. Supply selector: {} to match all resources of the ParamKind. If multiple params are found, they are all evaluated with the policy expressions and the results are ANDed together. @@ -43,6 +43,6 @@ schema ParamRef: parameterNotFoundAction?: str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector diff --git a/k8s/1.30/api/admissionregistration/v1alpha1/validating_admission_policy.k b/k8s/1.30/api/admissionregistration/v1alpha1/validating_admission_policy.k index e7c00f7b..9c6fa4d4 100644 --- a/k8s/1.30/api/admissionregistration/v1alpha1/validating_admission_policy.k +++ b/k8s/1.30/api/admissionregistration/v1alpha1/validating_admission_policy.k @@ -3,7 +3,7 @@ This is the validating_admission_policy module in k8s.api.admissionregistration. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingAdmissionPolicy: @@ -16,7 +16,7 @@ schema ValidatingAdmissionPolicy: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ValidatingAdmissionPolicy", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. spec : ValidatingAdmissionPolicySpec, default is Undefined, optional Specification of the desired behavior of the ValidatingAdmissionPolicy. @@ -27,7 +27,7 @@ schema ValidatingAdmissionPolicy: kind: "ValidatingAdmissionPolicy" = "ValidatingAdmissionPolicy" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ValidatingAdmissionPolicySpec diff --git a/k8s/1.30/api/admissionregistration/v1alpha1/validating_admission_policy_binding.k b/k8s/1.30/api/admissionregistration/v1alpha1/validating_admission_policy_binding.k index d01e7a8d..2682043d 100644 --- a/k8s/1.30/api/admissionregistration/v1alpha1/validating_admission_policy_binding.k +++ b/k8s/1.30/api/admissionregistration/v1alpha1/validating_admission_policy_binding.k @@ -3,7 +3,7 @@ This is the validating_admission_policy_binding module in k8s.api.admissionregis This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingAdmissionPolicyBinding: @@ -20,7 +20,7 @@ schema ValidatingAdmissionPolicyBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ValidatingAdmissionPolicyBinding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. spec : ValidatingAdmissionPolicyBindingSpec, default is Undefined, optional Specification of the desired behavior of the ValidatingAdmissionPolicyBinding. @@ -31,7 +31,7 @@ schema ValidatingAdmissionPolicyBinding: kind: "ValidatingAdmissionPolicyBinding" = "ValidatingAdmissionPolicyBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ValidatingAdmissionPolicyBindingSpec diff --git a/k8s/1.30/api/admissionregistration/v1alpha1/validating_admission_policy_binding_list.k b/k8s/1.30/api/admissionregistration/v1alpha1/validating_admission_policy_binding_list.k index 0e7e8fc5..46d10fbf 100644 --- a/k8s/1.30/api/admissionregistration/v1alpha1/validating_admission_policy_binding_list.k +++ b/k8s/1.30/api/admissionregistration/v1alpha1/validating_admission_policy_binding_list.k @@ -3,7 +3,7 @@ This is the validating_admission_policy_binding_list module in k8s.api.admission This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingAdmissionPolicyBindingList: @@ -18,7 +18,7 @@ schema ValidatingAdmissionPolicyBindingList: List of PolicyBinding. kind : str, default is "ValidatingAdmissionPolicyBindingList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ValidatingAdmissionPolicyBindingList: kind: "ValidatingAdmissionPolicyBindingList" = "ValidatingAdmissionPolicyBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.30/api/admissionregistration/v1alpha1/validating_admission_policy_list.k b/k8s/1.30/api/admissionregistration/v1alpha1/validating_admission_policy_list.k index cd0c51df..d3aa1e7e 100644 --- a/k8s/1.30/api/admissionregistration/v1alpha1/validating_admission_policy_list.k +++ b/k8s/1.30/api/admissionregistration/v1alpha1/validating_admission_policy_list.k @@ -3,7 +3,7 @@ This is the validating_admission_policy_list module in k8s.api.admissionregistra This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingAdmissionPolicyList: @@ -18,7 +18,7 @@ schema ValidatingAdmissionPolicyList: List of ValidatingAdmissionPolicy. kind : str, default is "ValidatingAdmissionPolicyList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ValidatingAdmissionPolicyList: kind: "ValidatingAdmissionPolicyList" = "ValidatingAdmissionPolicyList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.30/api/admissionregistration/v1alpha1/validating_admission_policy_status.k b/k8s/1.30/api/admissionregistration/v1alpha1/validating_admission_policy_status.k index 854bdc8c..f7743287 100644 --- a/k8s/1.30/api/admissionregistration/v1alpha1/validating_admission_policy_status.k +++ b/k8s/1.30/api/admissionregistration/v1alpha1/validating_admission_policy_status.k @@ -3,7 +3,7 @@ This is the validating_admission_policy_status module in k8s.api.admissionregist This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingAdmissionPolicyStatus: @@ -12,7 +12,7 @@ schema ValidatingAdmissionPolicyStatus: Attributes ---------- - conditions : [v1.Condition], default is Undefined, optional + conditions : [metav1.Condition], default is Undefined, optional The conditions represent the latest available observations of a policy's current state. observedGeneration : int, default is Undefined, optional The generation observed by the controller. @@ -21,7 +21,7 @@ schema ValidatingAdmissionPolicyStatus: """ - conditions?: [v1.Condition] + conditions?: [metav1.Condition] observedGeneration?: int diff --git a/k8s/1.30/api/admissionregistration/v1beta1/match_resources.k b/k8s/1.30/api/admissionregistration/v1beta1/match_resources.k index 17162add..260c06d6 100644 --- a/k8s/1.30/api/admissionregistration/v1beta1/match_resources.k +++ b/k8s/1.30/api/admissionregistration/v1beta1/match_resources.k @@ -3,7 +3,7 @@ This is the match_resources module in k8s.api.admissionregistration.v1beta1 pack This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MatchResources: @@ -22,7 +22,7 @@ schema MatchResources: - Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the ValidatingAdmissionPolicy. Defaults to "Equivalent" - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional NamespaceSelector decides whether to run the admission control policy on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the policy. For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1"; you will set the selector as follows: "namespaceSelector": { @@ -54,7 +54,7 @@ schema MatchResources: See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors. Default to the empty LabelSelector, which matches everything. - objectSelector : v1.LabelSelector, default is Undefined, optional + objectSelector : metav1.LabelSelector, default is Undefined, optional ObjectSelector decides whether to run the validation based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the cel validation, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything. resourceRules : [NamedRuleWithOperations], default is Undefined, optional ResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy matches. The policy cares about an operation if it matches _any_ Rule. @@ -65,9 +65,9 @@ schema MatchResources: matchPolicy?: str - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector - objectSelector?: v1.LabelSelector + objectSelector?: metav1.LabelSelector resourceRules?: [NamedRuleWithOperations] diff --git a/k8s/1.30/api/admissionregistration/v1beta1/param_ref.k b/k8s/1.30/api/admissionregistration/v1beta1/param_ref.k index f1a6bacf..f7617c02 100644 --- a/k8s/1.30/api/admissionregistration/v1beta1/param_ref.k +++ b/k8s/1.30/api/admissionregistration/v1beta1/param_ref.k @@ -3,7 +3,7 @@ This is the param_ref module in k8s.api.admissionregistration.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ParamRef: @@ -32,7 +32,7 @@ schema ParamRef: Allowed values are `Allow` or `Deny` Required - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector can be used to match multiple param objects based on their labels. Supply selector: {} to match all resources of the ParamKind. If multiple params are found, they are all evaluated with the policy expressions and the results are ANDed together. @@ -47,6 +47,6 @@ schema ParamRef: parameterNotFoundAction?: str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector diff --git a/k8s/1.30/api/admissionregistration/v1beta1/validating_admission_policy.k b/k8s/1.30/api/admissionregistration/v1beta1/validating_admission_policy.k index 352f7c4e..ea6de96d 100644 --- a/k8s/1.30/api/admissionregistration/v1beta1/validating_admission_policy.k +++ b/k8s/1.30/api/admissionregistration/v1beta1/validating_admission_policy.k @@ -3,7 +3,7 @@ This is the validating_admission_policy module in k8s.api.admissionregistration. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingAdmissionPolicy: @@ -16,7 +16,7 @@ schema ValidatingAdmissionPolicy: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ValidatingAdmissionPolicy", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. spec : ValidatingAdmissionPolicySpec, default is Undefined, optional Specification of the desired behavior of the ValidatingAdmissionPolicy. @@ -27,7 +27,7 @@ schema ValidatingAdmissionPolicy: kind: "ValidatingAdmissionPolicy" = "ValidatingAdmissionPolicy" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ValidatingAdmissionPolicySpec diff --git a/k8s/1.30/api/admissionregistration/v1beta1/validating_admission_policy_binding.k b/k8s/1.30/api/admissionregistration/v1beta1/validating_admission_policy_binding.k index 0948d271..53247488 100644 --- a/k8s/1.30/api/admissionregistration/v1beta1/validating_admission_policy_binding.k +++ b/k8s/1.30/api/admissionregistration/v1beta1/validating_admission_policy_binding.k @@ -3,7 +3,7 @@ This is the validating_admission_policy_binding module in k8s.api.admissionregis This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingAdmissionPolicyBinding: @@ -20,7 +20,7 @@ schema ValidatingAdmissionPolicyBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ValidatingAdmissionPolicyBinding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. spec : ValidatingAdmissionPolicyBindingSpec, default is Undefined, optional Specification of the desired behavior of the ValidatingAdmissionPolicyBinding. @@ -31,7 +31,7 @@ schema ValidatingAdmissionPolicyBinding: kind: "ValidatingAdmissionPolicyBinding" = "ValidatingAdmissionPolicyBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ValidatingAdmissionPolicyBindingSpec diff --git a/k8s/1.30/api/admissionregistration/v1beta1/validating_admission_policy_binding_list.k b/k8s/1.30/api/admissionregistration/v1beta1/validating_admission_policy_binding_list.k index dc9d9504..aedf6439 100644 --- a/k8s/1.30/api/admissionregistration/v1beta1/validating_admission_policy_binding_list.k +++ b/k8s/1.30/api/admissionregistration/v1beta1/validating_admission_policy_binding_list.k @@ -3,7 +3,7 @@ This is the validating_admission_policy_binding_list module in k8s.api.admission This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingAdmissionPolicyBindingList: @@ -18,7 +18,7 @@ schema ValidatingAdmissionPolicyBindingList: List of PolicyBinding. kind : str, default is "ValidatingAdmissionPolicyBindingList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ValidatingAdmissionPolicyBindingList: kind: "ValidatingAdmissionPolicyBindingList" = "ValidatingAdmissionPolicyBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.30/api/admissionregistration/v1beta1/validating_admission_policy_list.k b/k8s/1.30/api/admissionregistration/v1beta1/validating_admission_policy_list.k index 3d0b4d56..3525696b 100644 --- a/k8s/1.30/api/admissionregistration/v1beta1/validating_admission_policy_list.k +++ b/k8s/1.30/api/admissionregistration/v1beta1/validating_admission_policy_list.k @@ -3,7 +3,7 @@ This is the validating_admission_policy_list module in k8s.api.admissionregistra This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingAdmissionPolicyList: @@ -18,7 +18,7 @@ schema ValidatingAdmissionPolicyList: List of ValidatingAdmissionPolicy. kind : str, default is "ValidatingAdmissionPolicyList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ValidatingAdmissionPolicyList: kind: "ValidatingAdmissionPolicyList" = "ValidatingAdmissionPolicyList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.30/api/admissionregistration/v1beta1/validating_admission_policy_status.k b/k8s/1.30/api/admissionregistration/v1beta1/validating_admission_policy_status.k index 7b8abd7e..a0b0db31 100644 --- a/k8s/1.30/api/admissionregistration/v1beta1/validating_admission_policy_status.k +++ b/k8s/1.30/api/admissionregistration/v1beta1/validating_admission_policy_status.k @@ -3,7 +3,7 @@ This is the validating_admission_policy_status module in k8s.api.admissionregist This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingAdmissionPolicyStatus: @@ -12,7 +12,7 @@ schema ValidatingAdmissionPolicyStatus: Attributes ---------- - conditions : [v1.Condition], default is Undefined, optional + conditions : [metav1.Condition], default is Undefined, optional The conditions represent the latest available observations of a policy's current state. observedGeneration : int, default is Undefined, optional The generation observed by the controller. @@ -21,7 +21,7 @@ schema ValidatingAdmissionPolicyStatus: """ - conditions?: [v1.Condition] + conditions?: [metav1.Condition] observedGeneration?: int diff --git a/k8s/1.30/api/apiserverinternal/v1alpha1/storage_version.k b/k8s/1.30/api/apiserverinternal/v1alpha1/storage_version.k index 4e3de9df..9723ca14 100644 --- a/k8s/1.30/api/apiserverinternal/v1alpha1/storage_version.k +++ b/k8s/1.30/api/apiserverinternal/v1alpha1/storage_version.k @@ -3,7 +3,7 @@ This is the storage_version module in k8s.api.apiserverinternal.v1alpha1 package This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StorageVersion: @@ -16,7 +16,7 @@ schema StorageVersion: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "StorageVersion", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional The name is .. spec : any, default is Undefined, required Spec is an empty spec. It is here to comply with Kubernetes API style. @@ -27,7 +27,7 @@ schema StorageVersion: kind: "StorageVersion" = "StorageVersion" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: any diff --git a/k8s/1.30/api/apiserverinternal/v1alpha1/storage_version_list.k b/k8s/1.30/api/apiserverinternal/v1alpha1/storage_version_list.k index 1da65e55..a75d5c84 100644 --- a/k8s/1.30/api/apiserverinternal/v1alpha1/storage_version_list.k +++ b/k8s/1.30/api/apiserverinternal/v1alpha1/storage_version_list.k @@ -3,7 +3,7 @@ This is the storage_version_list module in k8s.api.apiserverinternal.v1alpha1 pa This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StorageVersionList: @@ -18,7 +18,7 @@ schema StorageVersionList: Items holds a list of StorageVersion kind : str, default is "StorageVersionList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema StorageVersionList: kind: "StorageVersionList" = "StorageVersionList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.30/api/apps/v1/controller_revision.k b/k8s/1.30/api/apps/v1/controller_revision.k index dbb3d441..56163182 100644 --- a/k8s/1.30/api/apps/v1/controller_revision.k +++ b/k8s/1.30/api/apps/v1/controller_revision.k @@ -3,7 +3,7 @@ This is the controller_revision module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ControllerRevision: @@ -18,7 +18,7 @@ schema ControllerRevision: Data is the serialized representation of the state. kind : str, default is "ControllerRevision", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata revision : int, default is Undefined, required Revision indicates the revision of the state represented by Data. @@ -31,7 +31,7 @@ schema ControllerRevision: kind: "ControllerRevision" = "ControllerRevision" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta revision: int diff --git a/k8s/1.30/api/apps/v1/controller_revision_list.k b/k8s/1.30/api/apps/v1/controller_revision_list.k index e145fcff..bb64d1fe 100644 --- a/k8s/1.30/api/apps/v1/controller_revision_list.k +++ b/k8s/1.30/api/apps/v1/controller_revision_list.k @@ -3,7 +3,7 @@ This is the controller_revision_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ControllerRevisionList: @@ -18,7 +18,7 @@ schema ControllerRevisionList: Items is the list of ControllerRevisions kind : str, default is "ControllerRevisionList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema ControllerRevisionList: kind: "ControllerRevisionList" = "ControllerRevisionList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.30/api/apps/v1/daemon_set.k b/k8s/1.30/api/apps/v1/daemon_set.k index 33e7b68b..fd1c7c20 100644 --- a/k8s/1.30/api/apps/v1/daemon_set.k +++ b/k8s/1.30/api/apps/v1/daemon_set.k @@ -3,7 +3,7 @@ This is the daemon_set module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DaemonSet: @@ -16,7 +16,7 @@ schema DaemonSet: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "DaemonSet", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : DaemonSetSpec, default is Undefined, optional The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema DaemonSet: kind: "DaemonSet" = "DaemonSet" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: DaemonSetSpec diff --git a/k8s/1.30/api/apps/v1/daemon_set_list.k b/k8s/1.30/api/apps/v1/daemon_set_list.k index 3515d999..795c26f8 100644 --- a/k8s/1.30/api/apps/v1/daemon_set_list.k +++ b/k8s/1.30/api/apps/v1/daemon_set_list.k @@ -3,7 +3,7 @@ This is the daemon_set_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DaemonSetList: @@ -18,7 +18,7 @@ schema DaemonSetList: A list of daemon sets. kind : str, default is "DaemonSetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema DaemonSetList: kind: "DaemonSetList" = "DaemonSetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.30/api/apps/v1/daemon_set_spec.k b/k8s/1.30/api/apps/v1/daemon_set_spec.k index c34c5eba..e99149e3 100644 --- a/k8s/1.30/api/apps/v1/daemon_set_spec.k +++ b/k8s/1.30/api/apps/v1/daemon_set_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DaemonSetSpec: @@ -17,7 +17,7 @@ schema DaemonSetSpec: The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready). revisionHistoryLimit : int, default is Undefined, optional The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required A label query over pods that are managed by the daemon set. Must match in order to be controlled. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors template : corev1.PodTemplateSpec, default is Undefined, required An object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). The only allowed template.spec.restartPolicy value is "Always". More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template @@ -30,7 +30,7 @@ schema DaemonSetSpec: revisionHistoryLimit?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector template: corev1.PodTemplateSpec diff --git a/k8s/1.30/api/apps/v1/deployment.k b/k8s/1.30/api/apps/v1/deployment.k index 38b5af9e..12cf0b73 100644 --- a/k8s/1.30/api/apps/v1/deployment.k +++ b/k8s/1.30/api/apps/v1/deployment.k @@ -3,7 +3,7 @@ This is the deployment module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Deployment: @@ -16,7 +16,7 @@ schema Deployment: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Deployment", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : DeploymentSpec, default is Undefined, optional Specification of the desired behavior of the Deployment. @@ -27,7 +27,7 @@ schema Deployment: kind: "Deployment" = "Deployment" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: DeploymentSpec diff --git a/k8s/1.30/api/apps/v1/deployment_list.k b/k8s/1.30/api/apps/v1/deployment_list.k index a83ce0d5..8fa44e9b 100644 --- a/k8s/1.30/api/apps/v1/deployment_list.k +++ b/k8s/1.30/api/apps/v1/deployment_list.k @@ -3,7 +3,7 @@ This is the deployment_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DeploymentList: @@ -18,7 +18,7 @@ schema DeploymentList: Items is the list of Deployments. kind : str, default is "DeploymentList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema DeploymentList: kind: "DeploymentList" = "DeploymentList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.30/api/apps/v1/deployment_spec.k b/k8s/1.30/api/apps/v1/deployment_spec.k index 7a6835d9..5ecbcccc 100644 --- a/k8s/1.30/api/apps/v1/deployment_spec.k +++ b/k8s/1.30/api/apps/v1/deployment_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DeploymentSpec: @@ -23,7 +23,7 @@ schema DeploymentSpec: Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1. revisionHistoryLimit : int, default is Undefined, optional The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. It must match the pod template's labels. strategy : DeploymentStrategy, default is Undefined, optional The deployment strategy to use to replace existing pods with new ones. @@ -42,7 +42,7 @@ schema DeploymentSpec: revisionHistoryLimit?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector strategy?: DeploymentStrategy diff --git a/k8s/1.30/api/apps/v1/replica_set.k b/k8s/1.30/api/apps/v1/replica_set.k index 0497ff66..79552175 100644 --- a/k8s/1.30/api/apps/v1/replica_set.k +++ b/k8s/1.30/api/apps/v1/replica_set.k @@ -3,7 +3,7 @@ This is the replica_set module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicaSet: @@ -16,7 +16,7 @@ schema ReplicaSet: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ReplicaSet", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : ReplicaSetSpec, default is Undefined, optional Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema ReplicaSet: kind: "ReplicaSet" = "ReplicaSet" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ReplicaSetSpec diff --git a/k8s/1.30/api/apps/v1/replica_set_list.k b/k8s/1.30/api/apps/v1/replica_set_list.k index 0e25bef7..689ca9bb 100644 --- a/k8s/1.30/api/apps/v1/replica_set_list.k +++ b/k8s/1.30/api/apps/v1/replica_set_list.k @@ -3,7 +3,7 @@ This is the replica_set_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicaSetList: @@ -18,7 +18,7 @@ schema ReplicaSetList: List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller kind : str, default is "ReplicaSetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ReplicaSetList: kind: "ReplicaSetList" = "ReplicaSetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.30/api/apps/v1/replica_set_spec.k b/k8s/1.30/api/apps/v1/replica_set_spec.k index 700810d3..53ae3f6f 100644 --- a/k8s/1.30/api/apps/v1/replica_set_spec.k +++ b/k8s/1.30/api/apps/v1/replica_set_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicaSetSpec: @@ -17,7 +17,7 @@ schema ReplicaSetSpec: Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) replicas : int, default is Undefined, optional Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required Selector is a label query over pods that should match the replica count. Label keys and values that must match in order to be controlled by this replica set. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors template : corev1.PodTemplateSpec, default is Undefined, optional Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template @@ -28,7 +28,7 @@ schema ReplicaSetSpec: replicas?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector template?: corev1.PodTemplateSpec diff --git a/k8s/1.30/api/apps/v1/stateful_set.k b/k8s/1.30/api/apps/v1/stateful_set.k index c3b7106d..18d52ced 100644 --- a/k8s/1.30/api/apps/v1/stateful_set.k +++ b/k8s/1.30/api/apps/v1/stateful_set.k @@ -3,7 +3,7 @@ This is the stateful_set module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StatefulSet: @@ -20,7 +20,7 @@ schema StatefulSet: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "StatefulSet", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : StatefulSetSpec, default is Undefined, optional Spec defines the desired identities of pods in this set. @@ -31,7 +31,7 @@ schema StatefulSet: kind: "StatefulSet" = "StatefulSet" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: StatefulSetSpec diff --git a/k8s/1.30/api/apps/v1/stateful_set_list.k b/k8s/1.30/api/apps/v1/stateful_set_list.k index 2eec95d8..441abc55 100644 --- a/k8s/1.30/api/apps/v1/stateful_set_list.k +++ b/k8s/1.30/api/apps/v1/stateful_set_list.k @@ -3,7 +3,7 @@ This is the stateful_set_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StatefulSetList: @@ -18,7 +18,7 @@ schema StatefulSetList: Items is the list of stateful sets. kind : str, default is "StatefulSetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema StatefulSetList: kind: "StatefulSetList" = "StatefulSetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.30/api/apps/v1/stateful_set_spec.k b/k8s/1.30/api/apps/v1/stateful_set_spec.k index fb5f2938..9824ff2e 100644 --- a/k8s/1.30/api/apps/v1/stateful_set_spec.k +++ b/k8s/1.30/api/apps/v1/stateful_set_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StatefulSetSpec: @@ -25,7 +25,7 @@ schema StatefulSetSpec: replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1. revisionHistoryLimit : int, default is Undefined, optional revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10. - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required selector is a label query over pods that should match the replica count. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors serviceName : str, default is Undefined, required serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where "pod-specific-string" is managed by the StatefulSet controller. @@ -50,7 +50,7 @@ schema StatefulSetSpec: revisionHistoryLimit?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector serviceName: str diff --git a/k8s/1.30/api/authentication/v1/self_subject_review.k b/k8s/1.30/api/authentication/v1/self_subject_review.k index fea01134..2bbf3ae0 100644 --- a/k8s/1.30/api/authentication/v1/self_subject_review.k +++ b/k8s/1.30/api/authentication/v1/self_subject_review.k @@ -3,7 +3,7 @@ This is the self_subject_review module in k8s.api.authentication.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SelfSubjectReview: @@ -16,7 +16,7 @@ schema SelfSubjectReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SelfSubjectReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -25,6 +25,6 @@ schema SelfSubjectReview: kind: "SelfSubjectReview" = "SelfSubjectReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta diff --git a/k8s/1.30/api/authentication/v1/token_request.k b/k8s/1.30/api/authentication/v1/token_request.k index 429ebd8e..477cf85e 100644 --- a/k8s/1.30/api/authentication/v1/token_request.k +++ b/k8s/1.30/api/authentication/v1/token_request.k @@ -3,7 +3,7 @@ This is the token_request module in k8s.api.authentication.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema TokenRequest: @@ -16,7 +16,7 @@ schema TokenRequest: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "TokenRequest", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : TokenRequestSpec, default is Undefined, required Spec holds information about the request being evaluated @@ -27,7 +27,7 @@ schema TokenRequest: kind: "TokenRequest" = "TokenRequest" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: TokenRequestSpec diff --git a/k8s/1.30/api/authentication/v1/token_review.k b/k8s/1.30/api/authentication/v1/token_review.k index 62c61db1..349936f3 100644 --- a/k8s/1.30/api/authentication/v1/token_review.k +++ b/k8s/1.30/api/authentication/v1/token_review.k @@ -3,7 +3,7 @@ This is the token_review module in k8s.api.authentication.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema TokenReview: @@ -16,7 +16,7 @@ schema TokenReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "TokenReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : TokenReviewSpec, default is Undefined, required Spec holds information about the request being evaluated @@ -27,7 +27,7 @@ schema TokenReview: kind: "TokenReview" = "TokenReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: TokenReviewSpec diff --git a/k8s/1.30/api/authentication/v1alpha1/self_subject_review.k b/k8s/1.30/api/authentication/v1alpha1/self_subject_review.k index b0c5c3de..0e636dce 100644 --- a/k8s/1.30/api/authentication/v1alpha1/self_subject_review.k +++ b/k8s/1.30/api/authentication/v1alpha1/self_subject_review.k @@ -3,7 +3,7 @@ This is the self_subject_review module in k8s.api.authentication.v1alpha1 packag This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SelfSubjectReview: @@ -16,7 +16,7 @@ schema SelfSubjectReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SelfSubjectReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -25,6 +25,6 @@ schema SelfSubjectReview: kind: "SelfSubjectReview" = "SelfSubjectReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta diff --git a/k8s/1.30/api/authentication/v1beta1/self_subject_review.k b/k8s/1.30/api/authentication/v1beta1/self_subject_review.k index 7a80c911..8a74a1d9 100644 --- a/k8s/1.30/api/authentication/v1beta1/self_subject_review.k +++ b/k8s/1.30/api/authentication/v1beta1/self_subject_review.k @@ -3,7 +3,7 @@ This is the self_subject_review module in k8s.api.authentication.v1beta1 package This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SelfSubjectReview: @@ -16,7 +16,7 @@ schema SelfSubjectReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SelfSubjectReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -25,6 +25,6 @@ schema SelfSubjectReview: kind: "SelfSubjectReview" = "SelfSubjectReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta diff --git a/k8s/1.30/api/authorization/v1/local_subject_access_review.k b/k8s/1.30/api/authorization/v1/local_subject_access_review.k index 79b08fbe..4cf5723a 100644 --- a/k8s/1.30/api/authorization/v1/local_subject_access_review.k +++ b/k8s/1.30/api/authorization/v1/local_subject_access_review.k @@ -3,7 +3,7 @@ This is the local_subject_access_review module in k8s.api.authorization.v1 packa This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LocalSubjectAccessReview: @@ -16,7 +16,7 @@ schema LocalSubjectAccessReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "LocalSubjectAccessReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : SubjectAccessReviewSpec, default is Undefined, required Spec holds information about the request being evaluated. spec.namespace must be equal to the namespace you made the request against. If empty, it is defaulted. @@ -27,7 +27,7 @@ schema LocalSubjectAccessReview: kind: "LocalSubjectAccessReview" = "LocalSubjectAccessReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SubjectAccessReviewSpec diff --git a/k8s/1.30/api/authorization/v1/self_subject_access_review.k b/k8s/1.30/api/authorization/v1/self_subject_access_review.k index 4fd1e21e..d32833e7 100644 --- a/k8s/1.30/api/authorization/v1/self_subject_access_review.k +++ b/k8s/1.30/api/authorization/v1/self_subject_access_review.k @@ -3,7 +3,7 @@ This is the self_subject_access_review module in k8s.api.authorization.v1 packag This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SelfSubjectAccessReview: @@ -16,7 +16,7 @@ schema SelfSubjectAccessReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SelfSubjectAccessReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : SelfSubjectAccessReviewSpec, default is Undefined, required Spec holds information about the request being evaluated. user and groups must be empty @@ -27,7 +27,7 @@ schema SelfSubjectAccessReview: kind: "SelfSubjectAccessReview" = "SelfSubjectAccessReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SelfSubjectAccessReviewSpec diff --git a/k8s/1.30/api/authorization/v1/self_subject_rules_review.k b/k8s/1.30/api/authorization/v1/self_subject_rules_review.k index a29ee599..baaf47ac 100644 --- a/k8s/1.30/api/authorization/v1/self_subject_rules_review.k +++ b/k8s/1.30/api/authorization/v1/self_subject_rules_review.k @@ -3,7 +3,7 @@ This is the self_subject_rules_review module in k8s.api.authorization.v1 package This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SelfSubjectRulesReview: @@ -16,7 +16,7 @@ schema SelfSubjectRulesReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SelfSubjectRulesReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : SelfSubjectRulesReviewSpec, default is Undefined, required Spec holds information about the request being evaluated. @@ -27,7 +27,7 @@ schema SelfSubjectRulesReview: kind: "SelfSubjectRulesReview" = "SelfSubjectRulesReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SelfSubjectRulesReviewSpec diff --git a/k8s/1.30/api/authorization/v1/subject_access_review.k b/k8s/1.30/api/authorization/v1/subject_access_review.k index 9d15bdb3..d054d8f5 100644 --- a/k8s/1.30/api/authorization/v1/subject_access_review.k +++ b/k8s/1.30/api/authorization/v1/subject_access_review.k @@ -3,7 +3,7 @@ This is the subject_access_review module in k8s.api.authorization.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SubjectAccessReview: @@ -16,7 +16,7 @@ schema SubjectAccessReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SubjectAccessReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : SubjectAccessReviewSpec, default is Undefined, required Spec holds information about the request being evaluated @@ -27,7 +27,7 @@ schema SubjectAccessReview: kind: "SubjectAccessReview" = "SubjectAccessReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SubjectAccessReviewSpec diff --git a/k8s/1.30/api/autoscaling/v1/horizontal_pod_autoscaler.k b/k8s/1.30/api/autoscaling/v1/horizontal_pod_autoscaler.k index 236f8ffb..e12daf3f 100644 --- a/k8s/1.30/api/autoscaling/v1/horizontal_pod_autoscaler.k +++ b/k8s/1.30/api/autoscaling/v1/horizontal_pod_autoscaler.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler module in k8s.api.autoscaling.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscaler: @@ -16,7 +16,7 @@ schema HorizontalPodAutoscaler: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "HorizontalPodAutoscaler", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : HorizontalPodAutoscalerSpec, default is Undefined, optional spec defines the behaviour of autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema HorizontalPodAutoscaler: kind: "HorizontalPodAutoscaler" = "HorizontalPodAutoscaler" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: HorizontalPodAutoscalerSpec diff --git a/k8s/1.30/api/autoscaling/v1/horizontal_pod_autoscaler_list.k b/k8s/1.30/api/autoscaling/v1/horizontal_pod_autoscaler_list.k index cf1dc3c9..72c014a3 100644 --- a/k8s/1.30/api/autoscaling/v1/horizontal_pod_autoscaler_list.k +++ b/k8s/1.30/api/autoscaling/v1/horizontal_pod_autoscaler_list.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler_list module in k8s.api.autoscaling.v1 pack This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscalerList: @@ -18,7 +18,7 @@ schema HorizontalPodAutoscalerList: items is the list of horizontal pod autoscaler objects. kind : str, default is "HorizontalPodAutoscalerList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema HorizontalPodAutoscalerList: kind: "HorizontalPodAutoscalerList" = "HorizontalPodAutoscalerList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.30/api/autoscaling/v1/scale.k b/k8s/1.30/api/autoscaling/v1/scale.k index 2b87df91..61d84b02 100644 --- a/k8s/1.30/api/autoscaling/v1/scale.k +++ b/k8s/1.30/api/autoscaling/v1/scale.k @@ -3,7 +3,7 @@ This is the scale module in k8s.api.autoscaling.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Scale: @@ -16,7 +16,7 @@ schema Scale: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Scale", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. spec : ScaleSpec, default is Undefined, optional spec defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema Scale: kind: "Scale" = "Scale" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ScaleSpec diff --git a/k8s/1.30/api/autoscaling/v2/horizontal_pod_autoscaler.k b/k8s/1.30/api/autoscaling/v2/horizontal_pod_autoscaler.k index 45093baf..80ed131b 100644 --- a/k8s/1.30/api/autoscaling/v2/horizontal_pod_autoscaler.k +++ b/k8s/1.30/api/autoscaling/v2/horizontal_pod_autoscaler.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler module in k8s.api.autoscaling.v2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscaler: @@ -16,7 +16,7 @@ schema HorizontalPodAutoscaler: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "HorizontalPodAutoscaler", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : HorizontalPodAutoscalerSpec, default is Undefined, optional spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema HorizontalPodAutoscaler: kind: "HorizontalPodAutoscaler" = "HorizontalPodAutoscaler" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: HorizontalPodAutoscalerSpec diff --git a/k8s/1.30/api/autoscaling/v2/horizontal_pod_autoscaler_list.k b/k8s/1.30/api/autoscaling/v2/horizontal_pod_autoscaler_list.k index 07b059fb..87bfa8bf 100644 --- a/k8s/1.30/api/autoscaling/v2/horizontal_pod_autoscaler_list.k +++ b/k8s/1.30/api/autoscaling/v2/horizontal_pod_autoscaler_list.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler_list module in k8s.api.autoscaling.v2 pack This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscalerList: @@ -18,7 +18,7 @@ schema HorizontalPodAutoscalerList: items is the list of horizontal pod autoscaler objects. kind : str, default is "HorizontalPodAutoscalerList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata is the standard list metadata. """ @@ -29,6 +29,6 @@ schema HorizontalPodAutoscalerList: kind: "HorizontalPodAutoscalerList" = "HorizontalPodAutoscalerList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.30/api/autoscaling/v2/metric_identifier.k b/k8s/1.30/api/autoscaling/v2/metric_identifier.k index d1538fb1..df0007a9 100644 --- a/k8s/1.30/api/autoscaling/v2/metric_identifier.k +++ b/k8s/1.30/api/autoscaling/v2/metric_identifier.k @@ -3,7 +3,7 @@ This is the metric_identifier module in k8s.api.autoscaling.v2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MetricIdentifier: @@ -14,13 +14,13 @@ schema MetricIdentifier: ---------- name : str, default is Undefined, required name is the name of the given metric - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics. """ name: str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector diff --git a/k8s/1.30/api/batch/v1/cron_job.k b/k8s/1.30/api/batch/v1/cron_job.k index 380498ff..c716e33b 100644 --- a/k8s/1.30/api/batch/v1/cron_job.k +++ b/k8s/1.30/api/batch/v1/cron_job.k @@ -3,7 +3,7 @@ This is the cron_job module in k8s.api.batch.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CronJob: @@ -16,7 +16,7 @@ schema CronJob: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CronJob", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : CronJobSpec, default is Undefined, optional Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema CronJob: kind: "CronJob" = "CronJob" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: CronJobSpec diff --git a/k8s/1.30/api/batch/v1/cron_job_list.k b/k8s/1.30/api/batch/v1/cron_job_list.k index 69e1971a..8200a4bd 100644 --- a/k8s/1.30/api/batch/v1/cron_job_list.k +++ b/k8s/1.30/api/batch/v1/cron_job_list.k @@ -3,7 +3,7 @@ This is the cron_job_list module in k8s.api.batch.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CronJobList: @@ -18,7 +18,7 @@ schema CronJobList: items is the list of CronJobs. kind : str, default is "CronJobList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CronJobList: kind: "CronJobList" = "CronJobList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.30/api/batch/v1/job.k b/k8s/1.30/api/batch/v1/job.k index 44fbc917..3e545aac 100644 --- a/k8s/1.30/api/batch/v1/job.k +++ b/k8s/1.30/api/batch/v1/job.k @@ -3,7 +3,7 @@ This is the job module in k8s.api.batch.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Job: @@ -16,7 +16,7 @@ schema Job: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Job", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : JobSpec, default is Undefined, optional Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Job: kind: "Job" = "Job" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: JobSpec diff --git a/k8s/1.30/api/batch/v1/job_list.k b/k8s/1.30/api/batch/v1/job_list.k index 88588804..e2f8aee6 100644 --- a/k8s/1.30/api/batch/v1/job_list.k +++ b/k8s/1.30/api/batch/v1/job_list.k @@ -3,7 +3,7 @@ This is the job_list module in k8s.api.batch.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema JobList: @@ -18,7 +18,7 @@ schema JobList: items is the list of Jobs. kind : str, default is "JobList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema JobList: kind: "JobList" = "JobList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.30/api/batch/v1/job_spec.k b/k8s/1.30/api/batch/v1/job_spec.k index 9c4bfd01..e3c73e40 100644 --- a/k8s/1.30/api/batch/v1/job_spec.k +++ b/k8s/1.30/api/batch/v1/job_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema JobSpec: @@ -50,7 +50,7 @@ schema JobSpec: Failed or Succeeded) before creating a replacement Pod. When using podFailurePolicy, Failed is the the only allowed value. TerminatingOrFailed and Failed are allowed values when podFailurePolicy is not in use. This is an beta field. To use this, enable the JobPodReplacementPolicy feature toggle. This is on by default. - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional A label query over pods that should match the pod count. Normally, the system sets this field for you. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors successPolicy : SuccessPolicy, default is Undefined, optional successPolicy specifies the policy when the Job can be declared as succeeded. If empty, the default behavior applies - the Job is declared as succeeded only when the number of succeeded pods equals to the completions. When the field is specified, it must be immutable and works only for the Indexed Jobs. Once the Job meets the SuccessPolicy, the lingering pods are terminated. @@ -87,7 +87,7 @@ schema JobSpec: podReplacementPolicy?: str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector successPolicy?: SuccessPolicy diff --git a/k8s/1.30/api/batch/v1/job_template_spec.k b/k8s/1.30/api/batch/v1/job_template_spec.k index 840a8d23..c1797200 100644 --- a/k8s/1.30/api/batch/v1/job_template_spec.k +++ b/k8s/1.30/api/batch/v1/job_template_spec.k @@ -3,7 +3,7 @@ This is the job_template_spec module in k8s.api.batch.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema JobTemplateSpec: @@ -12,14 +12,14 @@ schema JobTemplateSpec: Attributes ---------- - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : JobSpec, default is Undefined, optional Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status """ - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: JobSpec diff --git a/k8s/1.30/api/certificates/v1/certificate_signing_request.k b/k8s/1.30/api/certificates/v1/certificate_signing_request.k index 70bfc6e0..6697afe5 100644 --- a/k8s/1.30/api/certificates/v1/certificate_signing_request.k +++ b/k8s/1.30/api/certificates/v1/certificate_signing_request.k @@ -3,7 +3,7 @@ This is the certificate_signing_request module in k8s.api.certificates.v1 packag This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CertificateSigningRequest: @@ -22,7 +22,7 @@ schema CertificateSigningRequest: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CertificateSigningRequest", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : CertificateSigningRequestSpec, default is Undefined, required spec contains the certificate request, and is immutable after creation. Only the request, signerName, expirationSeconds, and usages fields can be set on creation. Other fields are derived by Kubernetes and cannot be modified by users. @@ -33,7 +33,7 @@ schema CertificateSigningRequest: kind: "CertificateSigningRequest" = "CertificateSigningRequest" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CertificateSigningRequestSpec diff --git a/k8s/1.30/api/certificates/v1/certificate_signing_request_list.k b/k8s/1.30/api/certificates/v1/certificate_signing_request_list.k index bef8b509..dcf72eab 100644 --- a/k8s/1.30/api/certificates/v1/certificate_signing_request_list.k +++ b/k8s/1.30/api/certificates/v1/certificate_signing_request_list.k @@ -3,7 +3,7 @@ This is the certificate_signing_request_list module in k8s.api.certificates.v1 p This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CertificateSigningRequestList: @@ -18,7 +18,7 @@ schema CertificateSigningRequestList: items is a collection of CertificateSigningRequest objects kind : str, default is "CertificateSigningRequestList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema CertificateSigningRequestList: kind: "CertificateSigningRequestList" = "CertificateSigningRequestList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.30/api/certificates/v1alpha1/cluster_trust_bundle.k b/k8s/1.30/api/certificates/v1alpha1/cluster_trust_bundle.k index 842f9c54..7b9af1a8 100644 --- a/k8s/1.30/api/certificates/v1alpha1/cluster_trust_bundle.k +++ b/k8s/1.30/api/certificates/v1alpha1/cluster_trust_bundle.k @@ -3,7 +3,7 @@ This is the cluster_trust_bundle module in k8s.api.certificates.v1alpha1 package This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterTrustBundle: @@ -20,7 +20,7 @@ schema ClusterTrustBundle: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ClusterTrustBundle", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata contains the object metadata. spec : ClusterTrustBundleSpec, default is Undefined, required spec contains the signer (if any) and trust anchors. @@ -31,7 +31,7 @@ schema ClusterTrustBundle: kind: "ClusterTrustBundle" = "ClusterTrustBundle" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: ClusterTrustBundleSpec diff --git a/k8s/1.30/api/certificates/v1alpha1/cluster_trust_bundle_list.k b/k8s/1.30/api/certificates/v1alpha1/cluster_trust_bundle_list.k index 221fdba2..3066ba16 100644 --- a/k8s/1.30/api/certificates/v1alpha1/cluster_trust_bundle_list.k +++ b/k8s/1.30/api/certificates/v1alpha1/cluster_trust_bundle_list.k @@ -3,7 +3,7 @@ This is the cluster_trust_bundle_list module in k8s.api.certificates.v1alpha1 pa This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterTrustBundleList: @@ -18,7 +18,7 @@ schema ClusterTrustBundleList: items is a collection of ClusterTrustBundle objects kind : str, default is "ClusterTrustBundleList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata contains the list metadata. """ @@ -29,6 +29,6 @@ schema ClusterTrustBundleList: kind: "ClusterTrustBundleList" = "ClusterTrustBundleList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.30/api/coordination/v1/lease.k b/k8s/1.30/api/coordination/v1/lease.k index 2500499f..dc088ed1 100644 --- a/k8s/1.30/api/coordination/v1/lease.k +++ b/k8s/1.30/api/coordination/v1/lease.k @@ -3,7 +3,7 @@ This is the lease module in k8s.api.coordination.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Lease: @@ -16,7 +16,7 @@ schema Lease: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Lease", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : LeaseSpec, default is Undefined, optional spec contains the specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Lease: kind: "Lease" = "Lease" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: LeaseSpec diff --git a/k8s/1.30/api/coordination/v1/lease_list.k b/k8s/1.30/api/coordination/v1/lease_list.k index 428f678b..d2005abf 100644 --- a/k8s/1.30/api/coordination/v1/lease_list.k +++ b/k8s/1.30/api/coordination/v1/lease_list.k @@ -3,7 +3,7 @@ This is the lease_list module in k8s.api.coordination.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LeaseList: @@ -18,7 +18,7 @@ schema LeaseList: items is a list of schema objects. kind : str, default is "LeaseList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema LeaseList: kind: "LeaseList" = "LeaseList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.30/api/core/v1/binding.k b/k8s/1.30/api/core/v1/binding.k index e6e478fe..077459fa 100644 --- a/k8s/1.30/api/core/v1/binding.k +++ b/k8s/1.30/api/core/v1/binding.k @@ -3,7 +3,7 @@ This is the binding module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Binding: @@ -16,7 +16,7 @@ schema Binding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Binding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata target : ObjectReference, default is Undefined, required The target object that you want to bind to the standard object. @@ -27,7 +27,7 @@ schema Binding: kind: "Binding" = "Binding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta target: ObjectReference diff --git a/k8s/1.30/api/core/v1/cluster_trust_bundle_projection.k b/k8s/1.30/api/core/v1/cluster_trust_bundle_projection.k index 5e22be47..80e92124 100644 --- a/k8s/1.30/api/core/v1/cluster_trust_bundle_projection.k +++ b/k8s/1.30/api/core/v1/cluster_trust_bundle_projection.k @@ -3,7 +3,7 @@ This is the cluster_trust_bundle_projection module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterTrustBundleProjection: @@ -12,7 +12,7 @@ schema ClusterTrustBundleProjection: Attributes ---------- - labelSelector : v1.LabelSelector, default is Undefined, optional + labelSelector : metav1.LabelSelector, default is Undefined, optional Select all ClusterTrustBundles that match this label selector. Only has effect if signerName is set. Mutually-exclusive with name. If unset, interpreted as "match nothing". If set but empty, interpreted as "match everything". name : str, default is Undefined, optional Select a single ClusterTrustBundle by object name. Mutually-exclusive with signerName and labelSelector. @@ -25,7 +25,7 @@ schema ClusterTrustBundleProjection: """ - labelSelector?: v1.LabelSelector + labelSelector?: metav1.LabelSelector name?: str diff --git a/k8s/1.30/api/core/v1/component_status.k b/k8s/1.30/api/core/v1/component_status.k index 19549c61..0d6862b5 100644 --- a/k8s/1.30/api/core/v1/component_status.k +++ b/k8s/1.30/api/core/v1/component_status.k @@ -3,7 +3,7 @@ This is the component_status module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ComponentStatus: @@ -18,7 +18,7 @@ schema ComponentStatus: List of component conditions observed kind : str, default is "ComponentStatus", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema ComponentStatus: kind: "ComponentStatus" = "ComponentStatus" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta diff --git a/k8s/1.30/api/core/v1/component_status_list.k b/k8s/1.30/api/core/v1/component_status_list.k index 0c8fa890..f76a9a62 100644 --- a/k8s/1.30/api/core/v1/component_status_list.k +++ b/k8s/1.30/api/core/v1/component_status_list.k @@ -3,7 +3,7 @@ This is the component_status_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ComponentStatusList: @@ -18,7 +18,7 @@ schema ComponentStatusList: List of ComponentStatus objects. kind : str, default is "ComponentStatusList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ComponentStatusList: kind: "ComponentStatusList" = "ComponentStatusList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.30/api/core/v1/config_map.k b/k8s/1.30/api/core/v1/config_map.k index ac683b69..ee2a9e47 100644 --- a/k8s/1.30/api/core/v1/config_map.k +++ b/k8s/1.30/api/core/v1/config_map.k @@ -3,7 +3,7 @@ This is the config_map module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ConfigMap: @@ -22,7 +22,7 @@ schema ConfigMap: Immutable, if set to true, ensures that data stored in the ConfigMap cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil. kind : str, default is "ConfigMap", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -37,6 +37,6 @@ schema ConfigMap: kind: "ConfigMap" = "ConfigMap" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta diff --git a/k8s/1.30/api/core/v1/config_map_list.k b/k8s/1.30/api/core/v1/config_map_list.k index 5712f514..35df0e4b 100644 --- a/k8s/1.30/api/core/v1/config_map_list.k +++ b/k8s/1.30/api/core/v1/config_map_list.k @@ -3,7 +3,7 @@ This is the config_map_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ConfigMapList: @@ -18,7 +18,7 @@ schema ConfigMapList: Items is the list of ConfigMaps. kind : str, default is "ConfigMapList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema ConfigMapList: kind: "ConfigMapList" = "ConfigMapList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.30/api/core/v1/endpoints.k b/k8s/1.30/api/core/v1/endpoints.k index c1644290..6b8b80ff 100644 --- a/k8s/1.30/api/core/v1/endpoints.k +++ b/k8s/1.30/api/core/v1/endpoints.k @@ -3,7 +3,7 @@ This is the endpoints module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Endpoints: @@ -28,7 +28,7 @@ schema Endpoints: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Endpoints", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata subsets : [EndpointSubset], default is Undefined, optional The set of all endpoints is the union of all subsets. Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service. @@ -39,7 +39,7 @@ schema Endpoints: kind: "Endpoints" = "Endpoints" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta subsets?: [EndpointSubset] diff --git a/k8s/1.30/api/core/v1/endpoints_list.k b/k8s/1.30/api/core/v1/endpoints_list.k index 7ccf6442..f019c842 100644 --- a/k8s/1.30/api/core/v1/endpoints_list.k +++ b/k8s/1.30/api/core/v1/endpoints_list.k @@ -3,7 +3,7 @@ This is the endpoints_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EndpointsList: @@ -18,7 +18,7 @@ schema EndpointsList: List of endpoints. kind : str, default is "EndpointsList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema EndpointsList: kind: "EndpointsList" = "EndpointsList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.30/api/core/v1/event.k b/k8s/1.30/api/core/v1/event.k index 0cc2ba81..f1564c4b 100644 --- a/k8s/1.30/api/core/v1/event.k +++ b/k8s/1.30/api/core/v1/event.k @@ -3,7 +3,7 @@ This is the event module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Event: @@ -30,7 +30,7 @@ schema Event: The time at which the most recent occurrence of this event was recorded. message : str, default is Undefined, optional A human-readable description of the status of this operation. - metadata : v1.ObjectMeta, default is Undefined, required + metadata : metav1.ObjectMeta, default is Undefined, required Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata reason : str, default is Undefined, optional This should be a short, machine understandable string that gives the reason for the transition into the object's current status. @@ -67,7 +67,7 @@ schema Event: message?: str - metadata: v1.ObjectMeta + metadata: metav1.ObjectMeta reason?: str diff --git a/k8s/1.30/api/core/v1/event_list.k b/k8s/1.30/api/core/v1/event_list.k index e543b7cf..d4ed6ffa 100644 --- a/k8s/1.30/api/core/v1/event_list.k +++ b/k8s/1.30/api/core/v1/event_list.k @@ -3,7 +3,7 @@ This is the event_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EventList: @@ -18,7 +18,7 @@ schema EventList: List of events kind : str, default is "EventList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema EventList: kind: "EventList" = "EventList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.30/api/core/v1/limit_range.k b/k8s/1.30/api/core/v1/limit_range.k index 5de64019..3c476447 100644 --- a/k8s/1.30/api/core/v1/limit_range.k +++ b/k8s/1.30/api/core/v1/limit_range.k @@ -3,7 +3,7 @@ This is the limit_range module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LimitRange: @@ -16,7 +16,7 @@ schema LimitRange: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "LimitRange", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : LimitRangeSpec, default is Undefined, optional Spec defines the limits enforced. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema LimitRange: kind: "LimitRange" = "LimitRange" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: LimitRangeSpec diff --git a/k8s/1.30/api/core/v1/limit_range_list.k b/k8s/1.30/api/core/v1/limit_range_list.k index 61da1fba..fc6b5692 100644 --- a/k8s/1.30/api/core/v1/limit_range_list.k +++ b/k8s/1.30/api/core/v1/limit_range_list.k @@ -3,7 +3,7 @@ This is the limit_range_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LimitRangeList: @@ -18,7 +18,7 @@ schema LimitRangeList: Items is a list of LimitRange objects. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ kind : str, default is "LimitRangeList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema LimitRangeList: kind: "LimitRangeList" = "LimitRangeList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.30/api/core/v1/namespace.k b/k8s/1.30/api/core/v1/namespace.k index 52b6b94f..66125388 100644 --- a/k8s/1.30/api/core/v1/namespace.k +++ b/k8s/1.30/api/core/v1/namespace.k @@ -3,7 +3,7 @@ This is the namespace module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Namespace: @@ -16,7 +16,7 @@ schema Namespace: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Namespace", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : NamespaceSpec, default is Undefined, optional Spec defines the behavior of the Namespace. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Namespace: kind: "Namespace" = "Namespace" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: NamespaceSpec diff --git a/k8s/1.30/api/core/v1/namespace_list.k b/k8s/1.30/api/core/v1/namespace_list.k index 0a362eac..1783b0bc 100644 --- a/k8s/1.30/api/core/v1/namespace_list.k +++ b/k8s/1.30/api/core/v1/namespace_list.k @@ -3,7 +3,7 @@ This is the namespace_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NamespaceList: @@ -18,7 +18,7 @@ schema NamespaceList: Items is the list of Namespace objects in the list. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ kind : str, default is "NamespaceList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema NamespaceList: kind: "NamespaceList" = "NamespaceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.30/api/core/v1/node.k b/k8s/1.30/api/core/v1/node.k index 99f9cab9..dcfea158 100644 --- a/k8s/1.30/api/core/v1/node.k +++ b/k8s/1.30/api/core/v1/node.k @@ -3,7 +3,7 @@ This is the node module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Node: @@ -16,7 +16,7 @@ schema Node: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Node", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : NodeSpec, default is Undefined, optional Spec defines the behavior of a node. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Node: kind: "Node" = "Node" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: NodeSpec diff --git a/k8s/1.30/api/core/v1/node_list.k b/k8s/1.30/api/core/v1/node_list.k index 40992f99..26fe9968 100644 --- a/k8s/1.30/api/core/v1/node_list.k +++ b/k8s/1.30/api/core/v1/node_list.k @@ -3,7 +3,7 @@ This is the node_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NodeList: @@ -18,7 +18,7 @@ schema NodeList: List of nodes kind : str, default is "NodeList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema NodeList: kind: "NodeList" = "NodeList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.30/api/core/v1/persistent_volume.k b/k8s/1.30/api/core/v1/persistent_volume.k index ed41f554..1f3d5968 100644 --- a/k8s/1.30/api/core/v1/persistent_volume.k +++ b/k8s/1.30/api/core/v1/persistent_volume.k @@ -3,7 +3,7 @@ This is the persistent_volume module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolume: @@ -16,7 +16,7 @@ schema PersistentVolume: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PersistentVolume", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PersistentVolumeSpec, default is Undefined, optional spec defines a specification of a persistent volume owned by the cluster. Provisioned by an administrator. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes @@ -27,7 +27,7 @@ schema PersistentVolume: kind: "PersistentVolume" = "PersistentVolume" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PersistentVolumeSpec diff --git a/k8s/1.30/api/core/v1/persistent_volume_claim.k b/k8s/1.30/api/core/v1/persistent_volume_claim.k index 1b478b67..65da03d4 100644 --- a/k8s/1.30/api/core/v1/persistent_volume_claim.k +++ b/k8s/1.30/api/core/v1/persistent_volume_claim.k @@ -3,7 +3,7 @@ This is the persistent_volume_claim module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeClaim: @@ -16,7 +16,7 @@ schema PersistentVolumeClaim: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PersistentVolumeClaim", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PersistentVolumeClaimSpec, default is Undefined, optional spec defines the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims @@ -27,7 +27,7 @@ schema PersistentVolumeClaim: kind: "PersistentVolumeClaim" = "PersistentVolumeClaim" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PersistentVolumeClaimSpec diff --git a/k8s/1.30/api/core/v1/persistent_volume_claim_list.k b/k8s/1.30/api/core/v1/persistent_volume_claim_list.k index e09bc2ef..23447a12 100644 --- a/k8s/1.30/api/core/v1/persistent_volume_claim_list.k +++ b/k8s/1.30/api/core/v1/persistent_volume_claim_list.k @@ -3,7 +3,7 @@ This is the persistent_volume_claim_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeClaimList: @@ -18,7 +18,7 @@ schema PersistentVolumeClaimList: items is a list of persistent volume claims. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims kind : str, default is "PersistentVolumeClaimList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema PersistentVolumeClaimList: kind: "PersistentVolumeClaimList" = "PersistentVolumeClaimList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.30/api/core/v1/persistent_volume_claim_spec.k b/k8s/1.30/api/core/v1/persistent_volume_claim_spec.k index 84c0b5c2..8d03947c 100644 --- a/k8s/1.30/api/core/v1/persistent_volume_claim_spec.k +++ b/k8s/1.30/api/core/v1/persistent_volume_claim_spec.k @@ -3,7 +3,7 @@ This is the persistent_volume_claim_spec module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeClaimSpec: @@ -27,7 +27,7 @@ schema PersistentVolumeClaimSpec: (Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled. (Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled. resources : VolumeResourceRequirements, default is Undefined, optional resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector is a label query over volumes to consider for binding. storageClassName : str, default is Undefined, optional storageClassName is the name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1 @@ -48,7 +48,7 @@ schema PersistentVolumeClaimSpec: resources?: VolumeResourceRequirements - selector?: v1.LabelSelector + selector?: metav1.LabelSelector storageClassName?: str diff --git a/k8s/1.30/api/core/v1/persistent_volume_claim_template.k b/k8s/1.30/api/core/v1/persistent_volume_claim_template.k index e6758b96..a8a010df 100644 --- a/k8s/1.30/api/core/v1/persistent_volume_claim_template.k +++ b/k8s/1.30/api/core/v1/persistent_volume_claim_template.k @@ -3,7 +3,7 @@ This is the persistent_volume_claim_template module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeClaimTemplate: @@ -12,14 +12,14 @@ schema PersistentVolumeClaimTemplate: Attributes ---------- - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. spec : PersistentVolumeClaimSpec, default is Undefined, required The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here. """ - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: PersistentVolumeClaimSpec diff --git a/k8s/1.30/api/core/v1/persistent_volume_list.k b/k8s/1.30/api/core/v1/persistent_volume_list.k index b1498d78..1d426ef6 100644 --- a/k8s/1.30/api/core/v1/persistent_volume_list.k +++ b/k8s/1.30/api/core/v1/persistent_volume_list.k @@ -3,7 +3,7 @@ This is the persistent_volume_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeList: @@ -18,7 +18,7 @@ schema PersistentVolumeList: items is a list of persistent volumes. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes kind : str, default is "PersistentVolumeList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema PersistentVolumeList: kind: "PersistentVolumeList" = "PersistentVolumeList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.30/api/core/v1/pod.k b/k8s/1.30/api/core/v1/pod.k index 659a9e99..66568628 100644 --- a/k8s/1.30/api/core/v1/pod.k +++ b/k8s/1.30/api/core/v1/pod.k @@ -3,7 +3,7 @@ This is the pod module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Pod: @@ -16,7 +16,7 @@ schema Pod: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Pod", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PodSpec, default is Undefined, optional Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Pod: kind: "Pod" = "Pod" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PodSpec diff --git a/k8s/1.30/api/core/v1/pod_affinity_term.k b/k8s/1.30/api/core/v1/pod_affinity_term.k index b25c2834..82aa652f 100644 --- a/k8s/1.30/api/core/v1/pod_affinity_term.k +++ b/k8s/1.30/api/core/v1/pod_affinity_term.k @@ -3,7 +3,7 @@ This is the pod_affinity_term module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodAffinityTerm: @@ -12,13 +12,13 @@ schema PodAffinityTerm: Attributes ---------- - labelSelector : v1.LabelSelector, default is Undefined, optional + labelSelector : metav1.LabelSelector, default is Undefined, optional A label query over a set of resources, in this case pods. If it's null, this PodAffinityTerm matches with no Pods. matchLabelKeys : [str], default is Undefined, optional MatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both matchLabelKeys and labelSelector. Also, matchLabelKeys cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. mismatchLabelKeys : [str], default is Undefined, optional MismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. Also, mismatchLabelKeys cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. namespaces : [str], default is Undefined, optional namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means "this pod's namespace". @@ -27,13 +27,13 @@ schema PodAffinityTerm: """ - labelSelector?: v1.LabelSelector + labelSelector?: metav1.LabelSelector matchLabelKeys?: [str] mismatchLabelKeys?: [str] - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector namespaces?: [str] diff --git a/k8s/1.30/api/core/v1/pod_list.k b/k8s/1.30/api/core/v1/pod_list.k index 10ad5eb9..4c031d05 100644 --- a/k8s/1.30/api/core/v1/pod_list.k +++ b/k8s/1.30/api/core/v1/pod_list.k @@ -3,7 +3,7 @@ This is the pod_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodList: @@ -18,7 +18,7 @@ schema PodList: List of pods. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md kind : str, default is "PodList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema PodList: kind: "PodList" = "PodList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.30/api/core/v1/pod_template.k b/k8s/1.30/api/core/v1/pod_template.k index 98e64f70..6ffbfa64 100644 --- a/k8s/1.30/api/core/v1/pod_template.k +++ b/k8s/1.30/api/core/v1/pod_template.k @@ -3,7 +3,7 @@ This is the pod_template module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodTemplate: @@ -16,7 +16,7 @@ schema PodTemplate: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PodTemplate", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata template : PodTemplateSpec, default is Undefined, optional Template defines the pods that will be created from this pod template. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema PodTemplate: kind: "PodTemplate" = "PodTemplate" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta template?: PodTemplateSpec diff --git a/k8s/1.30/api/core/v1/pod_template_list.k b/k8s/1.30/api/core/v1/pod_template_list.k index 8bb1827f..94024175 100644 --- a/k8s/1.30/api/core/v1/pod_template_list.k +++ b/k8s/1.30/api/core/v1/pod_template_list.k @@ -3,7 +3,7 @@ This is the pod_template_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodTemplateList: @@ -18,7 +18,7 @@ schema PodTemplateList: List of pod templates kind : str, default is "PodTemplateList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema PodTemplateList: kind: "PodTemplateList" = "PodTemplateList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.30/api/core/v1/pod_template_spec.k b/k8s/1.30/api/core/v1/pod_template_spec.k index 1274c88b..6011ef81 100644 --- a/k8s/1.30/api/core/v1/pod_template_spec.k +++ b/k8s/1.30/api/core/v1/pod_template_spec.k @@ -3,7 +3,7 @@ This is the pod_template_spec module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodTemplateSpec: @@ -12,14 +12,14 @@ schema PodTemplateSpec: Attributes ---------- - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PodSpec, default is Undefined, optional Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status """ - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PodSpec diff --git a/k8s/1.30/api/core/v1/replication_controller.k b/k8s/1.30/api/core/v1/replication_controller.k index 08b091e8..37724706 100644 --- a/k8s/1.30/api/core/v1/replication_controller.k +++ b/k8s/1.30/api/core/v1/replication_controller.k @@ -3,7 +3,7 @@ This is the replication_controller module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicationController: @@ -16,7 +16,7 @@ schema ReplicationController: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ReplicationController", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional If the Labels of a ReplicationController are empty, they are defaulted to be the same as the Pod(s) that the replication controller manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : ReplicationControllerSpec, default is Undefined, optional Spec defines the specification of the desired behavior of the replication controller. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema ReplicationController: kind: "ReplicationController" = "ReplicationController" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ReplicationControllerSpec diff --git a/k8s/1.30/api/core/v1/replication_controller_list.k b/k8s/1.30/api/core/v1/replication_controller_list.k index 64afa179..63f9d4b2 100644 --- a/k8s/1.30/api/core/v1/replication_controller_list.k +++ b/k8s/1.30/api/core/v1/replication_controller_list.k @@ -3,7 +3,7 @@ This is the replication_controller_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicationControllerList: @@ -18,7 +18,7 @@ schema ReplicationControllerList: List of replication controllers. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller kind : str, default is "ReplicationControllerList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ReplicationControllerList: kind: "ReplicationControllerList" = "ReplicationControllerList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.30/api/core/v1/resource_quota.k b/k8s/1.30/api/core/v1/resource_quota.k index b7da49d1..0ec7c409 100644 --- a/k8s/1.30/api/core/v1/resource_quota.k +++ b/k8s/1.30/api/core/v1/resource_quota.k @@ -3,7 +3,7 @@ This is the resource_quota module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceQuota: @@ -16,7 +16,7 @@ schema ResourceQuota: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ResourceQuota", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : ResourceQuotaSpec, default is Undefined, optional Spec defines the desired quota. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema ResourceQuota: kind: "ResourceQuota" = "ResourceQuota" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ResourceQuotaSpec diff --git a/k8s/1.30/api/core/v1/resource_quota_list.k b/k8s/1.30/api/core/v1/resource_quota_list.k index ca1424b8..f8dbc87d 100644 --- a/k8s/1.30/api/core/v1/resource_quota_list.k +++ b/k8s/1.30/api/core/v1/resource_quota_list.k @@ -3,7 +3,7 @@ This is the resource_quota_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceQuotaList: @@ -18,7 +18,7 @@ schema ResourceQuotaList: Items is a list of ResourceQuota objects. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/ kind : str, default is "ResourceQuotaList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ResourceQuotaList: kind: "ResourceQuotaList" = "ResourceQuotaList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.30/api/core/v1/secret.k b/k8s/1.30/api/core/v1/secret.k index 315e5f78..79324811 100644 --- a/k8s/1.30/api/core/v1/secret.k +++ b/k8s/1.30/api/core/v1/secret.k @@ -3,7 +3,7 @@ This is the secret module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Secret: @@ -20,7 +20,7 @@ schema Secret: Immutable, if set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil. kind : str, default is "Secret", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata stringData : {str:str}, default is Undefined, optional stringData allows specifying non-binary secret data in string form. It is provided as a write-only input field for convenience. All keys and values are merged into the data field on write, overwriting any existing values. The stringData field is never output when reading from the API. @@ -37,7 +37,7 @@ schema Secret: kind: "Secret" = "Secret" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta stringData?: {str:str} diff --git a/k8s/1.30/api/core/v1/secret_list.k b/k8s/1.30/api/core/v1/secret_list.k index 335c47b4..9e80806b 100644 --- a/k8s/1.30/api/core/v1/secret_list.k +++ b/k8s/1.30/api/core/v1/secret_list.k @@ -3,7 +3,7 @@ This is the secret_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SecretList: @@ -18,7 +18,7 @@ schema SecretList: Items is a list of secret objects. More info: https://kubernetes.io/docs/concepts/configuration/secret kind : str, default is "SecretList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema SecretList: kind: "SecretList" = "SecretList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.30/api/core/v1/service.k b/k8s/1.30/api/core/v1/service.k index 1f259a80..3b86c8ef 100644 --- a/k8s/1.30/api/core/v1/service.k +++ b/k8s/1.30/api/core/v1/service.k @@ -3,7 +3,7 @@ This is the service module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Service: @@ -16,7 +16,7 @@ schema Service: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Service", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : ServiceSpec, default is Undefined, optional Spec defines the behavior of a service. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Service: kind: "Service" = "Service" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ServiceSpec diff --git a/k8s/1.30/api/core/v1/service_account.k b/k8s/1.30/api/core/v1/service_account.k index 3ffd21b4..2570f531 100644 --- a/k8s/1.30/api/core/v1/service_account.k +++ b/k8s/1.30/api/core/v1/service_account.k @@ -3,7 +3,7 @@ This is the service_account module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ServiceAccount: @@ -20,7 +20,7 @@ schema ServiceAccount: ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod kind : str, default is "ServiceAccount", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata secrets : [ObjectReference], default is Undefined, optional Secrets is a list of the secrets in the same namespace that pods running using this ServiceAccount are allowed to use. Pods are only limited to this list if this service account has a "kubernetes.io/enforce-mountable-secrets" annotation set to "true". This field should not be used to find auto-generated service account token secrets for use outside of pods. Instead, tokens can be requested directly using the TokenRequest API, or service account token secrets can be manually created. More info: https://kubernetes.io/docs/concepts/configuration/secret @@ -35,7 +35,7 @@ schema ServiceAccount: kind: "ServiceAccount" = "ServiceAccount" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta secrets?: [ObjectReference] diff --git a/k8s/1.30/api/core/v1/service_account_list.k b/k8s/1.30/api/core/v1/service_account_list.k index 26a9319a..d8cd46b8 100644 --- a/k8s/1.30/api/core/v1/service_account_list.k +++ b/k8s/1.30/api/core/v1/service_account_list.k @@ -3,7 +3,7 @@ This is the service_account_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ServiceAccountList: @@ -18,7 +18,7 @@ schema ServiceAccountList: List of ServiceAccounts. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ kind : str, default is "ServiceAccountList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ServiceAccountList: kind: "ServiceAccountList" = "ServiceAccountList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.30/api/core/v1/service_list.k b/k8s/1.30/api/core/v1/service_list.k index 0c1e31be..5c4fae8a 100644 --- a/k8s/1.30/api/core/v1/service_list.k +++ b/k8s/1.30/api/core/v1/service_list.k @@ -3,7 +3,7 @@ This is the service_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ServiceList: @@ -18,7 +18,7 @@ schema ServiceList: List of services kind : str, default is "ServiceList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ServiceList: kind: "ServiceList" = "ServiceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.30/api/core/v1/service_status.k b/k8s/1.30/api/core/v1/service_status.k index 029dda86..f1fc66e6 100644 --- a/k8s/1.30/api/core/v1/service_status.k +++ b/k8s/1.30/api/core/v1/service_status.k @@ -3,7 +3,7 @@ This is the service_status module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ServiceStatus: @@ -12,14 +12,14 @@ schema ServiceStatus: Attributes ---------- - conditions : [v1.Condition], default is Undefined, optional + conditions : [metav1.Condition], default is Undefined, optional Current service state loadBalancer : LoadBalancerStatus, default is Undefined, optional LoadBalancer contains the current status of the load-balancer, if one is present. """ - conditions?: [v1.Condition] + conditions?: [metav1.Condition] loadBalancer?: LoadBalancerStatus diff --git a/k8s/1.30/api/core/v1/topology_spread_constraint.k b/k8s/1.30/api/core/v1/topology_spread_constraint.k index bfc2bb04..dce6ef56 100644 --- a/k8s/1.30/api/core/v1/topology_spread_constraint.k +++ b/k8s/1.30/api/core/v1/topology_spread_constraint.k @@ -3,7 +3,7 @@ This is the topology_spread_constraint module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema TopologySpreadConstraint: @@ -12,7 +12,7 @@ schema TopologySpreadConstraint: Attributes ---------- - labelSelector : v1.LabelSelector, default is Undefined, optional + labelSelector : metav1.LabelSelector, default is Undefined, optional LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain. matchLabelKeys : [str], default is Undefined, optional MatchLabelKeys is a set of pod label keys to select the pods over which spreading will be calculated. The keys are used to lookup values from the incoming pod labels, those key-value labels are ANDed with labelSelector to select the group of existing pods over which spreading will be calculated for the incoming pod. The same key is forbidden to exist in both MatchLabelKeys and LabelSelector. MatchLabelKeys cannot be set when LabelSelector isn't set. Keys that don't exist in the incoming pod labels will be ignored. A null or empty list means only match against labelSelector. @@ -42,7 +42,7 @@ schema TopologySpreadConstraint: """ - labelSelector?: v1.LabelSelector + labelSelector?: metav1.LabelSelector matchLabelKeys?: [str] diff --git a/k8s/1.30/api/discovery/v1/endpoint_slice.k b/k8s/1.30/api/discovery/v1/endpoint_slice.k index 77d8a1e3..462647c6 100644 --- a/k8s/1.30/api/discovery/v1/endpoint_slice.k +++ b/k8s/1.30/api/discovery/v1/endpoint_slice.k @@ -3,7 +3,7 @@ This is the endpoint_slice module in k8s.api.discovery.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EndpointSlice: @@ -20,7 +20,7 @@ schema EndpointSlice: endpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints. kind : str, default is "EndpointSlice", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. ports : [EndpointPort], default is Undefined, optional ports specifies the list of network ports exposed by each endpoint in this slice. Each port must have a unique name. When ports is empty, it indicates that there are no defined ports. When a port is defined with a nil port value, it indicates "all ports". Each slice may include a maximum of 100 ports. @@ -35,7 +35,7 @@ schema EndpointSlice: kind: "EndpointSlice" = "EndpointSlice" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta ports?: [EndpointPort] diff --git a/k8s/1.30/api/discovery/v1/endpoint_slice_list.k b/k8s/1.30/api/discovery/v1/endpoint_slice_list.k index a33ad36e..2f0adefe 100644 --- a/k8s/1.30/api/discovery/v1/endpoint_slice_list.k +++ b/k8s/1.30/api/discovery/v1/endpoint_slice_list.k @@ -3,7 +3,7 @@ This is the endpoint_slice_list module in k8s.api.discovery.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EndpointSliceList: @@ -18,7 +18,7 @@ schema EndpointSliceList: items is the list of endpoint slices kind : str, default is "EndpointSliceList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema EndpointSliceList: kind: "EndpointSliceList" = "EndpointSliceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.30/api/events/v1/event_list.k b/k8s/1.30/api/events/v1/event_list.k index 6d5e7dad..4c4d96ba 100644 --- a/k8s/1.30/api/events/v1/event_list.k +++ b/k8s/1.30/api/events/v1/event_list.k @@ -3,7 +3,7 @@ This is the event_list module in k8s.api.events.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EventList: @@ -18,7 +18,7 @@ schema EventList: items is a list of schema objects. kind : str, default is "EventList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema EventList: kind: "EventList" = "EventList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.30/api/flowcontrol/v1/flow_schema.k b/k8s/1.30/api/flowcontrol/v1/flow_schema.k index f033ed1b..033103f6 100644 --- a/k8s/1.30/api/flowcontrol/v1/flow_schema.k +++ b/k8s/1.30/api/flowcontrol/v1/flow_schema.k @@ -3,7 +3,7 @@ This is the flow_schema module in k8s.api.flowcontrol.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema FlowSchema: @@ -16,7 +16,7 @@ schema FlowSchema: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "FlowSchema", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : FlowSchemaSpec, default is Undefined, optional `spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema FlowSchema: kind: "FlowSchema" = "FlowSchema" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: FlowSchemaSpec diff --git a/k8s/1.30/api/flowcontrol/v1/flow_schema_list.k b/k8s/1.30/api/flowcontrol/v1/flow_schema_list.k index 1a5673f7..ab3c0e70 100644 --- a/k8s/1.30/api/flowcontrol/v1/flow_schema_list.k +++ b/k8s/1.30/api/flowcontrol/v1/flow_schema_list.k @@ -3,7 +3,7 @@ This is the flow_schema_list module in k8s.api.flowcontrol.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema FlowSchemaList: @@ -18,7 +18,7 @@ schema FlowSchemaList: `items` is a list of FlowSchemas. kind : str, default is "FlowSchemaList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional `metadata` is the standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema FlowSchemaList: kind: "FlowSchemaList" = "FlowSchemaList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.30/api/flowcontrol/v1/priority_level_configuration.k b/k8s/1.30/api/flowcontrol/v1/priority_level_configuration.k index 0f5b8f45..2d8a5292 100644 --- a/k8s/1.30/api/flowcontrol/v1/priority_level_configuration.k +++ b/k8s/1.30/api/flowcontrol/v1/priority_level_configuration.k @@ -3,7 +3,7 @@ This is the priority_level_configuration module in k8s.api.flowcontrol.v1 packag This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityLevelConfiguration: @@ -16,7 +16,7 @@ schema PriorityLevelConfiguration: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PriorityLevelConfiguration", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PriorityLevelConfigurationSpec, default is Undefined, optional `spec` is the specification of the desired behavior of a "request-priority". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema PriorityLevelConfiguration: kind: "PriorityLevelConfiguration" = "PriorityLevelConfiguration" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PriorityLevelConfigurationSpec diff --git a/k8s/1.30/api/flowcontrol/v1/priority_level_configuration_list.k b/k8s/1.30/api/flowcontrol/v1/priority_level_configuration_list.k index f47110fe..c9f60637 100644 --- a/k8s/1.30/api/flowcontrol/v1/priority_level_configuration_list.k +++ b/k8s/1.30/api/flowcontrol/v1/priority_level_configuration_list.k @@ -3,7 +3,7 @@ This is the priority_level_configuration_list module in k8s.api.flowcontrol.v1 p This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityLevelConfigurationList: @@ -18,7 +18,7 @@ schema PriorityLevelConfigurationList: `items` is a list of request-priorities. kind : str, default is "PriorityLevelConfigurationList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PriorityLevelConfigurationList: kind: "PriorityLevelConfigurationList" = "PriorityLevelConfigurationList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.30/api/flowcontrol/v1beta3/flow_schema.k b/k8s/1.30/api/flowcontrol/v1beta3/flow_schema.k index c76a8e16..94deb6b6 100644 --- a/k8s/1.30/api/flowcontrol/v1beta3/flow_schema.k +++ b/k8s/1.30/api/flowcontrol/v1beta3/flow_schema.k @@ -3,7 +3,7 @@ This is the flow_schema module in k8s.api.flowcontrol.v1beta3 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema FlowSchema: @@ -16,7 +16,7 @@ schema FlowSchema: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "FlowSchema", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : FlowSchemaSpec, default is Undefined, optional `spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema FlowSchema: kind: "FlowSchema" = "FlowSchema" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: FlowSchemaSpec diff --git a/k8s/1.30/api/flowcontrol/v1beta3/flow_schema_list.k b/k8s/1.30/api/flowcontrol/v1beta3/flow_schema_list.k index fafe330c..7af81967 100644 --- a/k8s/1.30/api/flowcontrol/v1beta3/flow_schema_list.k +++ b/k8s/1.30/api/flowcontrol/v1beta3/flow_schema_list.k @@ -3,7 +3,7 @@ This is the flow_schema_list module in k8s.api.flowcontrol.v1beta3 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema FlowSchemaList: @@ -18,7 +18,7 @@ schema FlowSchemaList: `items` is a list of FlowSchemas. kind : str, default is "FlowSchemaList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional `metadata` is the standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema FlowSchemaList: kind: "FlowSchemaList" = "FlowSchemaList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.30/api/flowcontrol/v1beta3/priority_level_configuration.k b/k8s/1.30/api/flowcontrol/v1beta3/priority_level_configuration.k index 15f67df4..c72c8565 100644 --- a/k8s/1.30/api/flowcontrol/v1beta3/priority_level_configuration.k +++ b/k8s/1.30/api/flowcontrol/v1beta3/priority_level_configuration.k @@ -3,7 +3,7 @@ This is the priority_level_configuration module in k8s.api.flowcontrol.v1beta3 p This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityLevelConfiguration: @@ -16,7 +16,7 @@ schema PriorityLevelConfiguration: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PriorityLevelConfiguration", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PriorityLevelConfigurationSpec, default is Undefined, optional `spec` is the specification of the desired behavior of a "request-priority". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema PriorityLevelConfiguration: kind: "PriorityLevelConfiguration" = "PriorityLevelConfiguration" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PriorityLevelConfigurationSpec diff --git a/k8s/1.30/api/flowcontrol/v1beta3/priority_level_configuration_list.k b/k8s/1.30/api/flowcontrol/v1beta3/priority_level_configuration_list.k index 12396566..3af527e2 100644 --- a/k8s/1.30/api/flowcontrol/v1beta3/priority_level_configuration_list.k +++ b/k8s/1.30/api/flowcontrol/v1beta3/priority_level_configuration_list.k @@ -3,7 +3,7 @@ This is the priority_level_configuration_list module in k8s.api.flowcontrol.v1be This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityLevelConfigurationList: @@ -18,7 +18,7 @@ schema PriorityLevelConfigurationList: `items` is a list of request-priorities. kind : str, default is "PriorityLevelConfigurationList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PriorityLevelConfigurationList: kind: "PriorityLevelConfigurationList" = "PriorityLevelConfigurationList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.30/api/networking/v1/ingress.k b/k8s/1.30/api/networking/v1/ingress.k index a224b707..0987b46d 100644 --- a/k8s/1.30/api/networking/v1/ingress.k +++ b/k8s/1.30/api/networking/v1/ingress.k @@ -3,7 +3,7 @@ This is the ingress module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Ingress: @@ -16,7 +16,7 @@ schema Ingress: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Ingress", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : IngressSpec, default is Undefined, optional spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Ingress: kind: "Ingress" = "Ingress" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: IngressSpec diff --git a/k8s/1.30/api/networking/v1/ingress_class.k b/k8s/1.30/api/networking/v1/ingress_class.k index 19d34da4..62edb40f 100644 --- a/k8s/1.30/api/networking/v1/ingress_class.k +++ b/k8s/1.30/api/networking/v1/ingress_class.k @@ -3,7 +3,7 @@ This is the ingress_class module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema IngressClass: @@ -16,7 +16,7 @@ schema IngressClass: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "IngressClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : IngressClassSpec, default is Undefined, optional spec is the desired state of the IngressClass. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema IngressClass: kind: "IngressClass" = "IngressClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: IngressClassSpec diff --git a/k8s/1.30/api/networking/v1/ingress_class_list.k b/k8s/1.30/api/networking/v1/ingress_class_list.k index 8962fe08..2da5d410 100644 --- a/k8s/1.30/api/networking/v1/ingress_class_list.k +++ b/k8s/1.30/api/networking/v1/ingress_class_list.k @@ -3,7 +3,7 @@ This is the ingress_class_list module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema IngressClassList: @@ -18,7 +18,7 @@ schema IngressClassList: items is the list of IngressClasses. kind : str, default is "IngressClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema IngressClassList: kind: "IngressClassList" = "IngressClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.30/api/networking/v1/ingress_list.k b/k8s/1.30/api/networking/v1/ingress_list.k index ad9f5f1b..bfa6b178 100644 --- a/k8s/1.30/api/networking/v1/ingress_list.k +++ b/k8s/1.30/api/networking/v1/ingress_list.k @@ -3,7 +3,7 @@ This is the ingress_list module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema IngressList: @@ -18,7 +18,7 @@ schema IngressList: items is the list of Ingress. kind : str, default is "IngressList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema IngressList: kind: "IngressList" = "IngressList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.30/api/networking/v1/network_policy.k b/k8s/1.30/api/networking/v1/network_policy.k index b8b576dd..ff140307 100644 --- a/k8s/1.30/api/networking/v1/network_policy.k +++ b/k8s/1.30/api/networking/v1/network_policy.k @@ -3,7 +3,7 @@ This is the network_policy module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicy: @@ -16,7 +16,7 @@ schema NetworkPolicy: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "NetworkPolicy", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : NetworkPolicySpec, default is Undefined, optional spec represents the specification of the desired behavior for this NetworkPolicy. @@ -27,7 +27,7 @@ schema NetworkPolicy: kind: "NetworkPolicy" = "NetworkPolicy" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: NetworkPolicySpec diff --git a/k8s/1.30/api/networking/v1/network_policy_list.k b/k8s/1.30/api/networking/v1/network_policy_list.k index 7d57481a..a67c9de3 100644 --- a/k8s/1.30/api/networking/v1/network_policy_list.k +++ b/k8s/1.30/api/networking/v1/network_policy_list.k @@ -3,7 +3,7 @@ This is the network_policy_list module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicyList: @@ -18,7 +18,7 @@ schema NetworkPolicyList: items is a list of schema objects. kind : str, default is "NetworkPolicyList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema NetworkPolicyList: kind: "NetworkPolicyList" = "NetworkPolicyList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.30/api/networking/v1/network_policy_peer.k b/k8s/1.30/api/networking/v1/network_policy_peer.k index 9f1cb095..2180c607 100644 --- a/k8s/1.30/api/networking/v1/network_policy_peer.k +++ b/k8s/1.30/api/networking/v1/network_policy_peer.k @@ -3,7 +3,7 @@ This is the network_policy_peer module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicyPeer: @@ -14,11 +14,11 @@ schema NetworkPolicyPeer: ---------- ipBlock : IPBlock, default is Undefined, optional ipBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional namespaceSelector selects namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces. If podSelector is also set, then the NetworkPolicyPeer as a whole selects the pods matching podSelector in the namespaces selected by namespaceSelector. Otherwise it selects all pods in the namespaces selected by namespaceSelector. - podSelector : v1.LabelSelector, default is Undefined, optional + podSelector : metav1.LabelSelector, default is Undefined, optional podSelector is a label selector which selects pods. This field follows standard label selector semantics; if present but empty, it selects all pods. If namespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the pods matching podSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the pods matching podSelector in the policy's own namespace. @@ -27,8 +27,8 @@ schema NetworkPolicyPeer: ipBlock?: IPBlock - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector - podSelector?: v1.LabelSelector + podSelector?: metav1.LabelSelector diff --git a/k8s/1.30/api/networking/v1/network_policy_spec.k b/k8s/1.30/api/networking/v1/network_policy_spec.k index 19774502..3947b4c2 100644 --- a/k8s/1.30/api/networking/v1/network_policy_spec.k +++ b/k8s/1.30/api/networking/v1/network_policy_spec.k @@ -3,7 +3,7 @@ This is the network_policy_spec module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicySpec: @@ -16,7 +16,7 @@ schema NetworkPolicySpec: egress is a list of egress rules to be applied to the selected pods. Outgoing traffic is allowed if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic matches at least one egress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy limits all outgoing traffic (and serves solely to ensure that the pods it selects are isolated by default). This field is beta-level in 1.8 ingress : [NetworkPolicyIngressRule], default is Undefined, optional ingress is a list of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not allow any traffic (and serves solely to ensure that the pods it selects are isolated by default) - podSelector : v1.LabelSelector, default is Undefined, required + podSelector : metav1.LabelSelector, default is Undefined, required podSelector selects the pods to which this NetworkPolicy object applies. The array of ingress rules is applied to any pods selected by this field. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is NOT optional and follows standard label selector semantics. An empty podSelector matches all pods in this namespace. policyTypes : [str], default is Undefined, optional policyTypes is a list of rule types that the NetworkPolicy relates to. Valid options are ["Ingress"], ["Egress"], or ["Ingress", "Egress"]. If this field is not specified, it will default based on the existence of ingress or egress rules; policies that contain an egress section are assumed to affect egress, and all policies (whether or not they contain an ingress section) are assumed to affect ingress. If you want to write an egress-only policy, you must explicitly specify policyTypes [ "Egress" ]. Likewise, if you want to write a policy that specifies that no egress is allowed, you must specify a policyTypes value that include "Egress" (since such a policy would not include an egress section and would otherwise default to just [ "Ingress" ]). This field is beta-level in 1.8 @@ -27,7 +27,7 @@ schema NetworkPolicySpec: ingress?: [NetworkPolicyIngressRule] - podSelector: v1.LabelSelector + podSelector: metav1.LabelSelector policyTypes?: [str] diff --git a/k8s/1.30/api/networking/v1alpha1/ip_address.k b/k8s/1.30/api/networking/v1alpha1/ip_address.k index 75366ead..220826c8 100644 --- a/k8s/1.30/api/networking/v1alpha1/ip_address.k +++ b/k8s/1.30/api/networking/v1alpha1/ip_address.k @@ -3,7 +3,7 @@ This is the ip_address module in k8s.api.networking.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema IPAddress: @@ -16,7 +16,7 @@ schema IPAddress: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "IPAddress", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : IPAddressSpec, default is Undefined, optional spec is the desired state of the IPAddress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema IPAddress: kind: "IPAddress" = "IPAddress" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: IPAddressSpec diff --git a/k8s/1.30/api/networking/v1alpha1/ip_address_list.k b/k8s/1.30/api/networking/v1alpha1/ip_address_list.k index 75e2aaad..460f34dc 100644 --- a/k8s/1.30/api/networking/v1alpha1/ip_address_list.k +++ b/k8s/1.30/api/networking/v1alpha1/ip_address_list.k @@ -3,7 +3,7 @@ This is the ip_address_list module in k8s.api.networking.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema IPAddressList: @@ -18,7 +18,7 @@ schema IPAddressList: items is the list of IPAddresses. kind : str, default is "IPAddressList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema IPAddressList: kind: "IPAddressList" = "IPAddressList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.30/api/networking/v1alpha1/service_cidr.k b/k8s/1.30/api/networking/v1alpha1/service_cidr.k index 68579dfa..2b0b081d 100644 --- a/k8s/1.30/api/networking/v1alpha1/service_cidr.k +++ b/k8s/1.30/api/networking/v1alpha1/service_cidr.k @@ -3,7 +3,7 @@ This is the service_cidr module in k8s.api.networking.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ServiceCIDR: @@ -16,7 +16,7 @@ schema ServiceCIDR: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ServiceCIDR", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : ServiceCIDRSpec, default is Undefined, optional spec is the desired state of the ServiceCIDR. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema ServiceCIDR: kind: "ServiceCIDR" = "ServiceCIDR" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ServiceCIDRSpec diff --git a/k8s/1.30/api/networking/v1alpha1/service_cidr_list.k b/k8s/1.30/api/networking/v1alpha1/service_cidr_list.k index ef997e6f..d23f4565 100644 --- a/k8s/1.30/api/networking/v1alpha1/service_cidr_list.k +++ b/k8s/1.30/api/networking/v1alpha1/service_cidr_list.k @@ -3,7 +3,7 @@ This is the service_cidr_list module in k8s.api.networking.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ServiceCIDRList: @@ -18,7 +18,7 @@ schema ServiceCIDRList: items is the list of ServiceCIDRs. kind : str, default is "ServiceCIDRList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema ServiceCIDRList: kind: "ServiceCIDRList" = "ServiceCIDRList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.30/api/networking/v1alpha1/service_cidr_status.k b/k8s/1.30/api/networking/v1alpha1/service_cidr_status.k index 477b6723..65df6d9e 100644 --- a/k8s/1.30/api/networking/v1alpha1/service_cidr_status.k +++ b/k8s/1.30/api/networking/v1alpha1/service_cidr_status.k @@ -3,7 +3,7 @@ This is the service_cidr_status module in k8s.api.networking.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ServiceCIDRStatus: @@ -12,11 +12,11 @@ schema ServiceCIDRStatus: Attributes ---------- - conditions : [v1.Condition], default is Undefined, optional + conditions : [metav1.Condition], default is Undefined, optional conditions holds an array of metav1.Condition that describe the state of the ServiceCIDR. Current service state """ - conditions?: [v1.Condition] + conditions?: [metav1.Condition] diff --git a/k8s/1.30/api/node/v1/runtime_class.k b/k8s/1.30/api/node/v1/runtime_class.k index c890b031..313f5911 100644 --- a/k8s/1.30/api/node/v1/runtime_class.k +++ b/k8s/1.30/api/node/v1/runtime_class.k @@ -3,7 +3,7 @@ This is the runtime_class module in k8s.api.node.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RuntimeClass: @@ -18,7 +18,7 @@ schema RuntimeClass: handler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration. It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called "runc" might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The Handler must be lowercase, conform to the DNS Label (RFC 1123) requirements, and is immutable. kind : str, default is "RuntimeClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata overhead : Overhead, default is Undefined, optional overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see @@ -34,7 +34,7 @@ schema RuntimeClass: kind: "RuntimeClass" = "RuntimeClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta overhead?: Overhead diff --git a/k8s/1.30/api/node/v1/runtime_class_list.k b/k8s/1.30/api/node/v1/runtime_class_list.k index ef56265a..62b4c4c6 100644 --- a/k8s/1.30/api/node/v1/runtime_class_list.k +++ b/k8s/1.30/api/node/v1/runtime_class_list.k @@ -3,7 +3,7 @@ This is the runtime_class_list module in k8s.api.node.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RuntimeClassList: @@ -18,7 +18,7 @@ schema RuntimeClassList: items is a list of schema objects. kind : str, default is "RuntimeClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema RuntimeClassList: kind: "RuntimeClassList" = "RuntimeClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.30/api/policy/v1/eviction.k b/k8s/1.30/api/policy/v1/eviction.k index e87c2ee9..121fb323 100644 --- a/k8s/1.30/api/policy/v1/eviction.k +++ b/k8s/1.30/api/policy/v1/eviction.k @@ -3,7 +3,7 @@ This is the eviction module in k8s.api.policy.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Eviction: @@ -14,21 +14,21 @@ schema Eviction: ---------- apiVersion : str, default is "policy/v1", required APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - deleteOptions : v1.DeleteOptions, default is Undefined, optional + deleteOptions : metav1.DeleteOptions, default is Undefined, optional DeleteOptions may be provided kind : str, default is "Eviction", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional ObjectMeta describes the pod that is being evicted. """ apiVersion: "policy/v1" = "policy/v1" - deleteOptions?: v1.DeleteOptions + deleteOptions?: metav1.DeleteOptions kind: "Eviction" = "Eviction" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta diff --git a/k8s/1.30/api/policy/v1/pod_disruption_budget.k b/k8s/1.30/api/policy/v1/pod_disruption_budget.k index 08151f41..02483ed4 100644 --- a/k8s/1.30/api/policy/v1/pod_disruption_budget.k +++ b/k8s/1.30/api/policy/v1/pod_disruption_budget.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget module in k8s.api.policy.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudget: @@ -16,7 +16,7 @@ schema PodDisruptionBudget: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PodDisruptionBudget", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PodDisruptionBudgetSpec, default is Undefined, optional Specification of the desired behavior of the PodDisruptionBudget. @@ -27,7 +27,7 @@ schema PodDisruptionBudget: kind: "PodDisruptionBudget" = "PodDisruptionBudget" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PodDisruptionBudgetSpec diff --git a/k8s/1.30/api/policy/v1/pod_disruption_budget_list.k b/k8s/1.30/api/policy/v1/pod_disruption_budget_list.k index 9075ecd9..0a3f925d 100644 --- a/k8s/1.30/api/policy/v1/pod_disruption_budget_list.k +++ b/k8s/1.30/api/policy/v1/pod_disruption_budget_list.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget_list module in k8s.api.policy.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudgetList: @@ -18,7 +18,7 @@ schema PodDisruptionBudgetList: Items is a list of PodDisruptionBudgets kind : str, default is "PodDisruptionBudgetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PodDisruptionBudgetList: kind: "PodDisruptionBudgetList" = "PodDisruptionBudgetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.30/api/policy/v1/pod_disruption_budget_spec.k b/k8s/1.30/api/policy/v1/pod_disruption_budget_spec.k index e32c3163..d0118af3 100644 --- a/k8s/1.30/api/policy/v1/pod_disruption_budget_spec.k +++ b/k8s/1.30/api/policy/v1/pod_disruption_budget_spec.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget_spec module in k8s.api.policy.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudgetSpec: @@ -16,7 +16,7 @@ schema PodDisruptionBudgetSpec: An eviction is allowed if at most "maxUnavailable" pods selected by "selector" are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with "minAvailable". minAvailable : int | str, default is Undefined, optional An eviction is allowed if at least "minAvailable" pods selected by "selector" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying "100%". - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional Label query over pods whose evictions are managed by the disruption budget. A null selector will match no pods, while an empty ({}) selector will select all pods within the namespace. unhealthyPodEvictionPolicy : str, default is Undefined, optional UnhealthyPodEvictionPolicy defines the criteria for when unhealthy pods should be considered for eviction. Current implementation considers healthy pods, as pods that have status.conditions item with type="Ready",status="True". @@ -37,7 +37,7 @@ schema PodDisruptionBudgetSpec: minAvailable?: int | str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector unhealthyPodEvictionPolicy?: str diff --git a/k8s/1.30/api/policy/v1/pod_disruption_budget_status.k b/k8s/1.30/api/policy/v1/pod_disruption_budget_status.k index 58d0ef88..b8db8025 100644 --- a/k8s/1.30/api/policy/v1/pod_disruption_budget_status.k +++ b/k8s/1.30/api/policy/v1/pod_disruption_budget_status.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget_status module in k8s.api.policy.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudgetStatus: @@ -12,7 +12,7 @@ schema PodDisruptionBudgetStatus: Attributes ---------- - conditions : [v1.Condition], default is Undefined, optional + conditions : [metav1.Condition], default is Undefined, optional Conditions contain conditions for PDB. The disruption controller sets the DisruptionAllowed condition. The following are known values for the reason field (additional reasons could be added in the future): - SyncFailed: The controller encountered an error and wasn't able to compute the number of allowed disruptions. Therefore no disruptions are allowed and the status of the condition will be False. @@ -37,7 +37,7 @@ schema PodDisruptionBudgetStatus: """ - conditions?: [v1.Condition] + conditions?: [metav1.Condition] currentHealthy: int diff --git a/k8s/1.30/api/rbac/v1/aggregation_rule.k b/k8s/1.30/api/rbac/v1/aggregation_rule.k index c7969ee4..b6898869 100644 --- a/k8s/1.30/api/rbac/v1/aggregation_rule.k +++ b/k8s/1.30/api/rbac/v1/aggregation_rule.k @@ -3,7 +3,7 @@ This is the aggregation_rule module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema AggregationRule: @@ -12,11 +12,11 @@ schema AggregationRule: Attributes ---------- - clusterRoleSelectors : [v1.LabelSelector], default is Undefined, optional + clusterRoleSelectors : [metav1.LabelSelector], default is Undefined, optional ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added """ - clusterRoleSelectors?: [v1.LabelSelector] + clusterRoleSelectors?: [metav1.LabelSelector] diff --git a/k8s/1.30/api/rbac/v1/cluster_role.k b/k8s/1.30/api/rbac/v1/cluster_role.k index fcf42d1b..d32837ea 100644 --- a/k8s/1.30/api/rbac/v1/cluster_role.k +++ b/k8s/1.30/api/rbac/v1/cluster_role.k @@ -3,7 +3,7 @@ This is the cluster_role module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRole: @@ -18,7 +18,7 @@ schema ClusterRole: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ClusterRole", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. rules : [PolicyRule], default is Undefined, optional Rules holds all the PolicyRules for this ClusterRole @@ -31,7 +31,7 @@ schema ClusterRole: kind: "ClusterRole" = "ClusterRole" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta rules?: [PolicyRule] diff --git a/k8s/1.30/api/rbac/v1/cluster_role_binding.k b/k8s/1.30/api/rbac/v1/cluster_role_binding.k index 986c2dae..e4f4bf0a 100644 --- a/k8s/1.30/api/rbac/v1/cluster_role_binding.k +++ b/k8s/1.30/api/rbac/v1/cluster_role_binding.k @@ -3,7 +3,7 @@ This is the cluster_role_binding module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleBinding: @@ -16,7 +16,7 @@ schema ClusterRoleBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ClusterRoleBinding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. roleRef : RoleRef, default is Undefined, required RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. This field is immutable. @@ -29,7 +29,7 @@ schema ClusterRoleBinding: kind: "ClusterRoleBinding" = "ClusterRoleBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta roleRef: RoleRef diff --git a/k8s/1.30/api/rbac/v1/cluster_role_binding_list.k b/k8s/1.30/api/rbac/v1/cluster_role_binding_list.k index fd53865a..bd13f6fa 100644 --- a/k8s/1.30/api/rbac/v1/cluster_role_binding_list.k +++ b/k8s/1.30/api/rbac/v1/cluster_role_binding_list.k @@ -3,7 +3,7 @@ This is the cluster_role_binding_list module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleBindingList: @@ -18,7 +18,7 @@ schema ClusterRoleBindingList: Items is a list of ClusterRoleBindings kind : str, default is "ClusterRoleBindingList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema ClusterRoleBindingList: kind: "ClusterRoleBindingList" = "ClusterRoleBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.30/api/rbac/v1/cluster_role_list.k b/k8s/1.30/api/rbac/v1/cluster_role_list.k index 8be0e1a6..303e00aa 100644 --- a/k8s/1.30/api/rbac/v1/cluster_role_list.k +++ b/k8s/1.30/api/rbac/v1/cluster_role_list.k @@ -3,7 +3,7 @@ This is the cluster_role_list module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleList: @@ -18,7 +18,7 @@ schema ClusterRoleList: Items is a list of ClusterRoles kind : str, default is "ClusterRoleList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema ClusterRoleList: kind: "ClusterRoleList" = "ClusterRoleList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.30/api/rbac/v1/role.k b/k8s/1.30/api/rbac/v1/role.k index f72c1ab0..db02dfef 100644 --- a/k8s/1.30/api/rbac/v1/role.k +++ b/k8s/1.30/api/rbac/v1/role.k @@ -3,7 +3,7 @@ This is the role module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Role: @@ -16,7 +16,7 @@ schema Role: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Role", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. rules : [PolicyRule], default is Undefined, optional Rules holds all the PolicyRules for this Role @@ -27,7 +27,7 @@ schema Role: kind: "Role" = "Role" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta rules?: [PolicyRule] diff --git a/k8s/1.30/api/rbac/v1/role_binding.k b/k8s/1.30/api/rbac/v1/role_binding.k index e6fcb05e..69be4952 100644 --- a/k8s/1.30/api/rbac/v1/role_binding.k +++ b/k8s/1.30/api/rbac/v1/role_binding.k @@ -3,7 +3,7 @@ This is the role_binding module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleBinding: @@ -16,7 +16,7 @@ schema RoleBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "RoleBinding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. roleRef : RoleRef, default is Undefined, required RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. This field is immutable. @@ -29,7 +29,7 @@ schema RoleBinding: kind: "RoleBinding" = "RoleBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta roleRef: RoleRef diff --git a/k8s/1.30/api/rbac/v1/role_binding_list.k b/k8s/1.30/api/rbac/v1/role_binding_list.k index ef8b7fc8..cb8d7400 100644 --- a/k8s/1.30/api/rbac/v1/role_binding_list.k +++ b/k8s/1.30/api/rbac/v1/role_binding_list.k @@ -3,7 +3,7 @@ This is the role_binding_list module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleBindingList: @@ -18,7 +18,7 @@ schema RoleBindingList: Items is a list of RoleBindings kind : str, default is "RoleBindingList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema RoleBindingList: kind: "RoleBindingList" = "RoleBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.30/api/rbac/v1/role_list.k b/k8s/1.30/api/rbac/v1/role_list.k index 6e7826e6..d102bc0c 100644 --- a/k8s/1.30/api/rbac/v1/role_list.k +++ b/k8s/1.30/api/rbac/v1/role_list.k @@ -3,7 +3,7 @@ This is the role_list module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleList: @@ -18,7 +18,7 @@ schema RoleList: Items is a list of Roles kind : str, default is "RoleList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema RoleList: kind: "RoleList" = "RoleList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.30/api/resource/v1alpha2/pod_scheduling_context.k b/k8s/1.30/api/resource/v1alpha2/pod_scheduling_context.k index ff8e77cf..dc92841a 100644 --- a/k8s/1.30/api/resource/v1alpha2/pod_scheduling_context.k +++ b/k8s/1.30/api/resource/v1alpha2/pod_scheduling_context.k @@ -3,7 +3,7 @@ This is the pod_scheduling_context module in k8s.api.resource.v1alpha2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodSchedulingContext: @@ -18,7 +18,7 @@ schema PodSchedulingContext: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PodSchedulingContext", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata spec : PodSchedulingContextSpec, default is Undefined, required Spec describes where resources for the Pod are needed. @@ -29,7 +29,7 @@ schema PodSchedulingContext: kind: "PodSchedulingContext" = "PodSchedulingContext" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: PodSchedulingContextSpec diff --git a/k8s/1.30/api/resource/v1alpha2/pod_scheduling_context_list.k b/k8s/1.30/api/resource/v1alpha2/pod_scheduling_context_list.k index 5d5a2d84..0b243a8b 100644 --- a/k8s/1.30/api/resource/v1alpha2/pod_scheduling_context_list.k +++ b/k8s/1.30/api/resource/v1alpha2/pod_scheduling_context_list.k @@ -3,7 +3,7 @@ This is the pod_scheduling_context_list module in k8s.api.resource.v1alpha2 pack This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodSchedulingContextList: @@ -18,7 +18,7 @@ schema PodSchedulingContextList: Items is the list of PodSchedulingContext objects. kind : str, default is "PodSchedulingContextList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata """ @@ -29,6 +29,6 @@ schema PodSchedulingContextList: kind: "PodSchedulingContextList" = "PodSchedulingContextList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.30/api/resource/v1alpha2/resource_claim.k b/k8s/1.30/api/resource/v1alpha2/resource_claim.k index 016cd551..c6593565 100644 --- a/k8s/1.30/api/resource/v1alpha2/resource_claim.k +++ b/k8s/1.30/api/resource/v1alpha2/resource_claim.k @@ -3,7 +3,7 @@ This is the resource_claim module in k8s.api.resource.v1alpha2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceClaim: @@ -18,7 +18,7 @@ schema ResourceClaim: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ResourceClaim", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata spec : ResourceClaimSpec, default is Undefined, required Spec describes the desired attributes of a resource that then needs to be allocated. It can only be set once when creating the ResourceClaim. @@ -29,7 +29,7 @@ schema ResourceClaim: kind: "ResourceClaim" = "ResourceClaim" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: ResourceClaimSpec diff --git a/k8s/1.30/api/resource/v1alpha2/resource_claim_list.k b/k8s/1.30/api/resource/v1alpha2/resource_claim_list.k index c16c3815..e6476316 100644 --- a/k8s/1.30/api/resource/v1alpha2/resource_claim_list.k +++ b/k8s/1.30/api/resource/v1alpha2/resource_claim_list.k @@ -3,7 +3,7 @@ This is the resource_claim_list module in k8s.api.resource.v1alpha2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceClaimList: @@ -18,7 +18,7 @@ schema ResourceClaimList: Items is the list of resource claims. kind : str, default is "ResourceClaimList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata """ @@ -29,6 +29,6 @@ schema ResourceClaimList: kind: "ResourceClaimList" = "ResourceClaimList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.30/api/resource/v1alpha2/resource_claim_parameters.k b/k8s/1.30/api/resource/v1alpha2/resource_claim_parameters.k index b2d8ed13..af63670c 100644 --- a/k8s/1.30/api/resource/v1alpha2/resource_claim_parameters.k +++ b/k8s/1.30/api/resource/v1alpha2/resource_claim_parameters.k @@ -3,7 +3,7 @@ This is the resource_claim_parameters module in k8s.api.resource.v1alpha2 packag This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceClaimParameters: @@ -22,7 +22,7 @@ schema ResourceClaimParameters: If this object was created from some other resource, then this links back to that resource. This field is used to find the in-tree representation of the claim parameters when the parameter reference of the claim refers to some unknown type. kind : str, default is "ResourceClaimParameters", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata shareable : bool, default is Undefined, optional Shareable indicates whether the allocated claim is meant to be shareable by multiple consumers at the same time. @@ -37,7 +37,7 @@ schema ResourceClaimParameters: kind: "ResourceClaimParameters" = "ResourceClaimParameters" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta shareable?: bool diff --git a/k8s/1.30/api/resource/v1alpha2/resource_claim_parameters_list.k b/k8s/1.30/api/resource/v1alpha2/resource_claim_parameters_list.k index 6113c97d..7050f103 100644 --- a/k8s/1.30/api/resource/v1alpha2/resource_claim_parameters_list.k +++ b/k8s/1.30/api/resource/v1alpha2/resource_claim_parameters_list.k @@ -3,7 +3,7 @@ This is the resource_claim_parameters_list module in k8s.api.resource.v1alpha2 p This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceClaimParametersList: @@ -18,7 +18,7 @@ schema ResourceClaimParametersList: Items is the list of node resource capacity objects. kind : str, default is "ResourceClaimParametersList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata """ @@ -29,6 +29,6 @@ schema ResourceClaimParametersList: kind: "ResourceClaimParametersList" = "ResourceClaimParametersList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.30/api/resource/v1alpha2/resource_claim_template.k b/k8s/1.30/api/resource/v1alpha2/resource_claim_template.k index e35780a7..11722fdc 100644 --- a/k8s/1.30/api/resource/v1alpha2/resource_claim_template.k +++ b/k8s/1.30/api/resource/v1alpha2/resource_claim_template.k @@ -3,7 +3,7 @@ This is the resource_claim_template module in k8s.api.resource.v1alpha2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceClaimTemplate: @@ -16,7 +16,7 @@ schema ResourceClaimTemplate: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ResourceClaimTemplate", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata spec : ResourceClaimTemplateSpec, default is Undefined, required Describes the ResourceClaim that is to be generated. @@ -29,7 +29,7 @@ schema ResourceClaimTemplate: kind: "ResourceClaimTemplate" = "ResourceClaimTemplate" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: ResourceClaimTemplateSpec diff --git a/k8s/1.30/api/resource/v1alpha2/resource_claim_template_list.k b/k8s/1.30/api/resource/v1alpha2/resource_claim_template_list.k index bb8639cf..3cedbaea 100644 --- a/k8s/1.30/api/resource/v1alpha2/resource_claim_template_list.k +++ b/k8s/1.30/api/resource/v1alpha2/resource_claim_template_list.k @@ -3,7 +3,7 @@ This is the resource_claim_template_list module in k8s.api.resource.v1alpha2 pac This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceClaimTemplateList: @@ -18,7 +18,7 @@ schema ResourceClaimTemplateList: Items is the list of resource claim templates. kind : str, default is "ResourceClaimTemplateList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata """ @@ -29,6 +29,6 @@ schema ResourceClaimTemplateList: kind: "ResourceClaimTemplateList" = "ResourceClaimTemplateList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.30/api/resource/v1alpha2/resource_claim_template_spec.k b/k8s/1.30/api/resource/v1alpha2/resource_claim_template_spec.k index 9ac79c8b..e90c7509 100644 --- a/k8s/1.30/api/resource/v1alpha2/resource_claim_template_spec.k +++ b/k8s/1.30/api/resource/v1alpha2/resource_claim_template_spec.k @@ -3,7 +3,7 @@ This is the resource_claim_template_spec module in k8s.api.resource.v1alpha2 pac This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceClaimTemplateSpec: @@ -12,14 +12,14 @@ schema ResourceClaimTemplateSpec: Attributes ---------- - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional ObjectMeta may contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. spec : ResourceClaimSpec, default is Undefined, required Spec for the ResourceClaim. The entire content is copied unchanged into the ResourceClaim that gets created from this template. The same fields as in a ResourceClaim are also valid here. """ - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: ResourceClaimSpec diff --git a/k8s/1.30/api/resource/v1alpha2/resource_class.k b/k8s/1.30/api/resource/v1alpha2/resource_class.k index d92eadd3..721ea3dc 100644 --- a/k8s/1.30/api/resource/v1alpha2/resource_class.k +++ b/k8s/1.30/api/resource/v1alpha2/resource_class.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceClass: @@ -23,7 +23,7 @@ schema ResourceClass: Resource drivers have a unique name in forward domain order (acme.example.com). kind : str, default is "ResourceClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata parametersRef : ResourceClassParametersReference, default is Undefined, optional ParametersRef references an arbitrary separate object that may hold parameters that will be used by the driver when allocating a resource that uses this class. A dynamic resource driver can distinguish between parameters stored here and and those stored in ResourceClaimSpec. @@ -42,7 +42,7 @@ schema ResourceClass: kind: "ResourceClass" = "ResourceClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta parametersRef?: ResourceClassParametersReference diff --git a/k8s/1.30/api/resource/v1alpha2/resource_class_list.k b/k8s/1.30/api/resource/v1alpha2/resource_class_list.k index 1dd6c5b8..3662ddbb 100644 --- a/k8s/1.30/api/resource/v1alpha2/resource_class_list.k +++ b/k8s/1.30/api/resource/v1alpha2/resource_class_list.k @@ -3,7 +3,7 @@ This is the resource_class_list module in k8s.api.resource.v1alpha2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceClassList: @@ -18,7 +18,7 @@ schema ResourceClassList: Items is the list of resource classes. kind : str, default is "ResourceClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata """ @@ -29,6 +29,6 @@ schema ResourceClassList: kind: "ResourceClassList" = "ResourceClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.30/api/resource/v1alpha2/resource_class_parameters.k b/k8s/1.30/api/resource/v1alpha2/resource_class_parameters.k index 92ba300a..e16c202b 100644 --- a/k8s/1.30/api/resource/v1alpha2/resource_class_parameters.k +++ b/k8s/1.30/api/resource/v1alpha2/resource_class_parameters.k @@ -3,7 +3,7 @@ This is the resource_class_parameters module in k8s.api.resource.v1alpha2 packag This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceClassParameters: @@ -20,7 +20,7 @@ schema ResourceClassParameters: If this object was created from some other resource, then this links back to that resource. This field is used to find the in-tree representation of the class parameters when the parameter reference of the class refers to some unknown type. kind : str, default is "ResourceClassParameters", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata vendorParameters : [VendorParameters], default is Undefined, optional VendorParameters are arbitrary setup parameters for all claims using this class. They are ignored while allocating the claim. There must not be more than one entry per driver. @@ -35,7 +35,7 @@ schema ResourceClassParameters: kind: "ResourceClassParameters" = "ResourceClassParameters" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta vendorParameters?: [VendorParameters] diff --git a/k8s/1.30/api/resource/v1alpha2/resource_class_parameters_list.k b/k8s/1.30/api/resource/v1alpha2/resource_class_parameters_list.k index bc1c0a77..741eb44b 100644 --- a/k8s/1.30/api/resource/v1alpha2/resource_class_parameters_list.k +++ b/k8s/1.30/api/resource/v1alpha2/resource_class_parameters_list.k @@ -3,7 +3,7 @@ This is the resource_class_parameters_list module in k8s.api.resource.v1alpha2 p This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceClassParametersList: @@ -18,7 +18,7 @@ schema ResourceClassParametersList: Items is the list of node resource capacity objects. kind : str, default is "ResourceClassParametersList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata """ @@ -29,6 +29,6 @@ schema ResourceClassParametersList: kind: "ResourceClassParametersList" = "ResourceClassParametersList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.30/api/resource/v1alpha2/resource_slice.k b/k8s/1.30/api/resource/v1alpha2/resource_slice.k index 2cb06b66..50b3edbc 100644 --- a/k8s/1.30/api/resource/v1alpha2/resource_slice.k +++ b/k8s/1.30/api/resource/v1alpha2/resource_slice.k @@ -3,7 +3,7 @@ This is the resource_slice module in k8s.api.resource.v1alpha2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceSlice: @@ -18,7 +18,7 @@ schema ResourceSlice: DriverName identifies the DRA driver providing the capacity information. A field selector can be used to list only ResourceSlice objects with a certain driver name. kind : str, default is "ResourceSlice", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata namedResources : NamedResourcesResources, default is Undefined, optional NamedResources describes available resources using the named resources model. @@ -35,7 +35,7 @@ schema ResourceSlice: kind: "ResourceSlice" = "ResourceSlice" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta namedResources?: NamedResourcesResources diff --git a/k8s/1.30/api/resource/v1alpha2/resource_slice_list.k b/k8s/1.30/api/resource/v1alpha2/resource_slice_list.k index aa4b98b3..2ca814b1 100644 --- a/k8s/1.30/api/resource/v1alpha2/resource_slice_list.k +++ b/k8s/1.30/api/resource/v1alpha2/resource_slice_list.k @@ -3,7 +3,7 @@ This is the resource_slice_list module in k8s.api.resource.v1alpha2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceSliceList: @@ -18,7 +18,7 @@ schema ResourceSliceList: Items is the list of node resource capacity objects. kind : str, default is "ResourceSliceList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata """ @@ -29,6 +29,6 @@ schema ResourceSliceList: kind: "ResourceSliceList" = "ResourceSliceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.30/api/scheduling/v1/priority_class.k b/k8s/1.30/api/scheduling/v1/priority_class.k index 5011343b..ffafaaa1 100644 --- a/k8s/1.30/api/scheduling/v1/priority_class.k +++ b/k8s/1.30/api/scheduling/v1/priority_class.k @@ -3,7 +3,7 @@ This is the priority_class module in k8s.api.scheduling.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityClass: @@ -20,7 +20,7 @@ schema PriorityClass: globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority. kind : str, default is "PriorityClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata preemptionPolicy : str, default is Undefined, optional preemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. @@ -37,7 +37,7 @@ schema PriorityClass: kind: "PriorityClass" = "PriorityClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta preemptionPolicy?: str diff --git a/k8s/1.30/api/scheduling/v1/priority_class_list.k b/k8s/1.30/api/scheduling/v1/priority_class_list.k index ff802048..6d514f6b 100644 --- a/k8s/1.30/api/scheduling/v1/priority_class_list.k +++ b/k8s/1.30/api/scheduling/v1/priority_class_list.k @@ -3,7 +3,7 @@ This is the priority_class_list module in k8s.api.scheduling.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityClassList: @@ -18,7 +18,7 @@ schema PriorityClassList: items is the list of PriorityClasses kind : str, default is "PriorityClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PriorityClassList: kind: "PriorityClassList" = "PriorityClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.30/api/storage/v1/csi_driver.k b/k8s/1.30/api/storage/v1/csi_driver.k index 36dd1c31..e9679296 100644 --- a/k8s/1.30/api/storage/v1/csi_driver.k +++ b/k8s/1.30/api/storage/v1/csi_driver.k @@ -3,7 +3,7 @@ This is the csi_driver module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSIDriver: @@ -16,7 +16,7 @@ schema CSIDriver: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CSIDriver", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. metadata.Name indicates the name of the CSI driver that this object refers to; it MUST be the same name returned by the CSI GetPluginName() call for that driver. The driver name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and alphanumerics between. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : CSIDriverSpec, default is Undefined, required spec represents the specification of the CSI Driver. @@ -27,7 +27,7 @@ schema CSIDriver: kind: "CSIDriver" = "CSIDriver" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CSIDriverSpec diff --git a/k8s/1.30/api/storage/v1/csi_driver_list.k b/k8s/1.30/api/storage/v1/csi_driver_list.k index 91531b39..8b09e0f6 100644 --- a/k8s/1.30/api/storage/v1/csi_driver_list.k +++ b/k8s/1.30/api/storage/v1/csi_driver_list.k @@ -3,7 +3,7 @@ This is the csi_driver_list module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSIDriverList: @@ -18,7 +18,7 @@ schema CSIDriverList: items is the list of CSIDriver kind : str, default is "CSIDriverList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CSIDriverList: kind: "CSIDriverList" = "CSIDriverList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.30/api/storage/v1/csi_node.k b/k8s/1.30/api/storage/v1/csi_node.k index 097308e8..4f129f1b 100644 --- a/k8s/1.30/api/storage/v1/csi_node.k +++ b/k8s/1.30/api/storage/v1/csi_node.k @@ -3,7 +3,7 @@ This is the csi_node module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSINode: @@ -16,7 +16,7 @@ schema CSINode: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CSINode", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. metadata.name must be the Kubernetes node name. spec : CSINodeSpec, default is Undefined, required spec is the specification of CSINode @@ -27,7 +27,7 @@ schema CSINode: kind: "CSINode" = "CSINode" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CSINodeSpec diff --git a/k8s/1.30/api/storage/v1/csi_node_list.k b/k8s/1.30/api/storage/v1/csi_node_list.k index ce5793c1..3a93da71 100644 --- a/k8s/1.30/api/storage/v1/csi_node_list.k +++ b/k8s/1.30/api/storage/v1/csi_node_list.k @@ -3,7 +3,7 @@ This is the csi_node_list module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSINodeList: @@ -18,7 +18,7 @@ schema CSINodeList: items is the list of CSINode kind : str, default is "CSINodeList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CSINodeList: kind: "CSINodeList" = "CSINodeList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.30/api/storage/v1/csi_storage_capacity.k b/k8s/1.30/api/storage/v1/csi_storage_capacity.k index 1a098e03..7193e8a7 100644 --- a/k8s/1.30/api/storage/v1/csi_storage_capacity.k +++ b/k8s/1.30/api/storage/v1/csi_storage_capacity.k @@ -3,7 +3,7 @@ This is the csi_storage_capacity module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSIStorageCapacity: @@ -32,13 +32,13 @@ schema CSIStorageCapacity: maximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields. This is defined since CSI spec 1.4.0 as the largest size that may be used in a CreateVolumeRequest.capacity_range.required_bytes field to create a volume with the same parameters as those in GetCapacityRequest. The corresponding value in the Kubernetes API is ResourceRequirements.Requests in a volume claim. - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. The name has no particular meaning. It must be a DNS subdomain (dots allowed, 253 characters). To ensure that there are no conflicts with other CSI drivers on the cluster, the recommendation is to use csisc-, a generated name, or a reverse-domain name which ends with the unique CSI driver name. Objects are namespaced. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - nodeTopology : v1.LabelSelector, default is Undefined, optional + nodeTopology : metav1.LabelSelector, default is Undefined, optional nodeTopology defines which nodes have access to the storage for which capacity was reported. If not set, the storage is not accessible from any node in the cluster. If empty, the storage is accessible from all nodes. This field is immutable. storageClassName : str, default is Undefined, required storageClassName represents the name of the StorageClass that the reported capacity applies to. It must meet the same requirements as the name of a StorageClass object (non-empty, DNS subdomain). If that object no longer exists, the CSIStorageCapacity object is obsolete and should be removed by its creator. This field is immutable. @@ -53,9 +53,9 @@ schema CSIStorageCapacity: maximumVolumeSize?: str - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta - nodeTopology?: v1.LabelSelector + nodeTopology?: metav1.LabelSelector storageClassName: str diff --git a/k8s/1.30/api/storage/v1/csi_storage_capacity_list.k b/k8s/1.30/api/storage/v1/csi_storage_capacity_list.k index 0b95b427..31f7b913 100644 --- a/k8s/1.30/api/storage/v1/csi_storage_capacity_list.k +++ b/k8s/1.30/api/storage/v1/csi_storage_capacity_list.k @@ -3,7 +3,7 @@ This is the csi_storage_capacity_list module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSIStorageCapacityList: @@ -18,7 +18,7 @@ schema CSIStorageCapacityList: items is the list of CSIStorageCapacity objects. kind : str, default is "CSIStorageCapacityList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CSIStorageCapacityList: kind: "CSIStorageCapacityList" = "CSIStorageCapacityList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.30/api/storage/v1/storage_class_list.k b/k8s/1.30/api/storage/v1/storage_class_list.k index 9644734a..840d2d6c 100644 --- a/k8s/1.30/api/storage/v1/storage_class_list.k +++ b/k8s/1.30/api/storage/v1/storage_class_list.k @@ -3,7 +3,7 @@ This is the storage_class_list module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StorageClassList: @@ -18,7 +18,7 @@ schema StorageClassList: items is the list of StorageClasses kind : str, default is "StorageClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema StorageClassList: kind: "StorageClassList" = "StorageClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.30/api/storage/v1/volume_attachment.k b/k8s/1.30/api/storage/v1/volume_attachment.k index 8014f40e..9c5844f3 100644 --- a/k8s/1.30/api/storage/v1/volume_attachment.k +++ b/k8s/1.30/api/storage/v1/volume_attachment.k @@ -3,7 +3,7 @@ This is the volume_attachment module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema VolumeAttachment: @@ -18,7 +18,7 @@ schema VolumeAttachment: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "VolumeAttachment", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : VolumeAttachmentSpec, default is Undefined, required spec represents specification of the desired attach/detach volume behavior. Populated by the Kubernetes system. @@ -29,7 +29,7 @@ schema VolumeAttachment: kind: "VolumeAttachment" = "VolumeAttachment" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: VolumeAttachmentSpec diff --git a/k8s/1.30/api/storage/v1/volume_attachment_list.k b/k8s/1.30/api/storage/v1/volume_attachment_list.k index d8a605d6..f7d2f75c 100644 --- a/k8s/1.30/api/storage/v1/volume_attachment_list.k +++ b/k8s/1.30/api/storage/v1/volume_attachment_list.k @@ -3,7 +3,7 @@ This is the volume_attachment_list module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema VolumeAttachmentList: @@ -18,7 +18,7 @@ schema VolumeAttachmentList: items is the list of VolumeAttachments kind : str, default is "VolumeAttachmentList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema VolumeAttachmentList: kind: "VolumeAttachmentList" = "VolumeAttachmentList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.30/api/storage/v1alpha1/volume_attributes_class.k b/k8s/1.30/api/storage/v1alpha1/volume_attributes_class.k index 77ccbec0..f52e297a 100644 --- a/k8s/1.30/api/storage/v1alpha1/volume_attributes_class.k +++ b/k8s/1.30/api/storage/v1alpha1/volume_attributes_class.k @@ -3,7 +3,7 @@ This is the volume_attributes_class module in k8s.api.storage.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema VolumeAttributesClass: @@ -18,7 +18,7 @@ schema VolumeAttributesClass: Name of the CSI driver This field is immutable. kind : str, default is "VolumeAttributesClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata parameters : {str:str}, default is Undefined, optional parameters hold volume attributes defined by the CSI driver. These values are opaque to the Kubernetes and are passed directly to the CSI driver. The underlying storage provider supports changing these attributes on an existing volume, however the parameters field itself is immutable. To invoke a volume update, a new VolumeAttributesClass should be created with new parameters, and the PersistentVolumeClaim should be updated to reference the new VolumeAttributesClass. @@ -33,7 +33,7 @@ schema VolumeAttributesClass: kind: "VolumeAttributesClass" = "VolumeAttributesClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta parameters?: {str:str} diff --git a/k8s/1.30/api/storage/v1alpha1/volume_attributes_class_list.k b/k8s/1.30/api/storage/v1alpha1/volume_attributes_class_list.k index c5d71674..af74a993 100644 --- a/k8s/1.30/api/storage/v1alpha1/volume_attributes_class_list.k +++ b/k8s/1.30/api/storage/v1alpha1/volume_attributes_class_list.k @@ -3,7 +3,7 @@ This is the volume_attributes_class_list module in k8s.api.storage.v1alpha1 pack This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema VolumeAttributesClassList: @@ -18,7 +18,7 @@ schema VolumeAttributesClassList: items is the list of VolumeAttributesClass objects. kind : str, default is "VolumeAttributesClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema VolumeAttributesClassList: kind: "VolumeAttributesClassList" = "VolumeAttributesClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.30/api/storagemigration/v1alpha1/storage_version_migration.k b/k8s/1.30/api/storagemigration/v1alpha1/storage_version_migration.k index 2f300551..b03d4295 100644 --- a/k8s/1.30/api/storagemigration/v1alpha1/storage_version_migration.k +++ b/k8s/1.30/api/storagemigration/v1alpha1/storage_version_migration.k @@ -3,7 +3,7 @@ This is the storage_version_migration module in k8s.api.storagemigration.v1alpha This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StorageVersionMigration: @@ -16,7 +16,7 @@ schema StorageVersionMigration: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "StorageVersionMigration", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : StorageVersionMigrationSpec, default is Undefined, optional Specification of the migration. @@ -27,7 +27,7 @@ schema StorageVersionMigration: kind: "StorageVersionMigration" = "StorageVersionMigration" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: StorageVersionMigrationSpec diff --git a/k8s/1.30/api/storagemigration/v1alpha1/storage_version_migration_list.k b/k8s/1.30/api/storagemigration/v1alpha1/storage_version_migration_list.k index d4af69ea..b48806a2 100644 --- a/k8s/1.30/api/storagemigration/v1alpha1/storage_version_migration_list.k +++ b/k8s/1.30/api/storagemigration/v1alpha1/storage_version_migration_list.k @@ -3,7 +3,7 @@ This is the storage_version_migration_list module in k8s.api.storagemigration.v1 This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StorageVersionMigrationList: @@ -18,7 +18,7 @@ schema StorageVersionMigrationList: Items is the list of StorageVersionMigration kind : str, default is "StorageVersionMigrationList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema StorageVersionMigrationList: kind: "StorageVersionMigrationList" = "StorageVersionMigrationList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.30/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition.k b/k8s/1.30/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition.k index f348f6d1..5010467b 100644 --- a/k8s/1.30/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition.k +++ b/k8s/1.30/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition.k @@ -3,7 +3,7 @@ This is the custom_resource_definition module in k8s.apiextensions_apiserver.pkg This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CustomResourceDefinition: @@ -16,7 +16,7 @@ schema CustomResourceDefinition: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CustomResourceDefinition", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : CustomResourceDefinitionSpec, default is Undefined, required spec describes how the user wants the resources to appear @@ -27,7 +27,7 @@ schema CustomResourceDefinition: kind: "CustomResourceDefinition" = "CustomResourceDefinition" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CustomResourceDefinitionSpec diff --git a/k8s/1.30/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition_list.k b/k8s/1.30/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition_list.k index ca3c928b..8b625323 100644 --- a/k8s/1.30/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition_list.k +++ b/k8s/1.30/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition_list.k @@ -3,7 +3,7 @@ This is the custom_resource_definition_list module in k8s.apiextensions_apiserve This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CustomResourceDefinitionList: @@ -18,7 +18,7 @@ schema CustomResourceDefinitionList: items list individual CustomResourceDefinition objects kind : str, default is "CustomResourceDefinitionList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CustomResourceDefinitionList: kind: "CustomResourceDefinitionList" = "CustomResourceDefinitionList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.30/kcl.mod b/k8s/1.30/kcl.mod index 15ff28a6..0bf95103 100644 --- a/k8s/1.30/kcl.mod +++ b/k8s/1.30/kcl.mod @@ -1,5 +1,5 @@ [package] name = "k8s" edition = "*" -version = "1.30.1" +version = "1.30.2" description = "`k8s` is a KCL module contains all the built-in Kubernetes resource models (the CRDs are not included here)." diff --git a/k8s/1.30/kube_aggregator/pkg/apis/apiregistration/v1/api_service.k b/k8s/1.30/kube_aggregator/pkg/apis/apiregistration/v1/api_service.k index 89028f12..7b645741 100644 --- a/k8s/1.30/kube_aggregator/pkg/apis/apiregistration/v1/api_service.k +++ b/k8s/1.30/kube_aggregator/pkg/apis/apiregistration/v1/api_service.k @@ -3,7 +3,7 @@ This is the api_service module in k8s.kube_aggregator.pkg.apis.apiregistration.v This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema APIService: @@ -16,7 +16,7 @@ schema APIService: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "APIService", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : APIServiceSpec, default is Undefined, optional Spec contains information for locating and communicating with a server @@ -27,7 +27,7 @@ schema APIService: kind: "APIService" = "APIService" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: APIServiceSpec diff --git a/k8s/1.30/kube_aggregator/pkg/apis/apiregistration/v1/api_service_list.k b/k8s/1.30/kube_aggregator/pkg/apis/apiregistration/v1/api_service_list.k index acf02534..3a385202 100644 --- a/k8s/1.30/kube_aggregator/pkg/apis/apiregistration/v1/api_service_list.k +++ b/k8s/1.30/kube_aggregator/pkg/apis/apiregistration/v1/api_service_list.k @@ -3,7 +3,7 @@ This is the api_service_list module in k8s.kube_aggregator.pkg.apis.apiregistrat This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema APIServiceList: @@ -18,7 +18,7 @@ schema APIServiceList: Items is the list of APIService kind : str, default is "APIServiceList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema APIServiceList: kind: "APIServiceList" = "APIServiceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.31/api/admissionregistration/v1/match_resources.k b/k8s/1.31/api/admissionregistration/v1/match_resources.k index 088cf0f3..f03960c0 100644 --- a/k8s/1.31/api/admissionregistration/v1/match_resources.k +++ b/k8s/1.31/api/admissionregistration/v1/match_resources.k @@ -3,7 +3,7 @@ This is the match_resources module in k8s.api.admissionregistration.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MatchResources: @@ -22,7 +22,7 @@ schema MatchResources: - Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the ValidatingAdmissionPolicy. Defaults to "Equivalent" - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional NamespaceSelector decides whether to run the admission control policy on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the policy. For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1"; you will set the selector as follows: "namespaceSelector": { @@ -54,7 +54,7 @@ schema MatchResources: See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors. Default to the empty LabelSelector, which matches everything. - objectSelector : v1.LabelSelector, default is Undefined, optional + objectSelector : metav1.LabelSelector, default is Undefined, optional ObjectSelector decides whether to run the validation based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the cel validation, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything. resourceRules : [NamedRuleWithOperations], default is Undefined, optional ResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy matches. The policy cares about an operation if it matches _any_ Rule. @@ -65,9 +65,9 @@ schema MatchResources: matchPolicy?: str - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector - objectSelector?: v1.LabelSelector + objectSelector?: metav1.LabelSelector resourceRules?: [NamedRuleWithOperations] diff --git a/k8s/1.31/api/admissionregistration/v1/mutating_webhook.k b/k8s/1.31/api/admissionregistration/v1/mutating_webhook.k index df8ddf57..ba3ea131 100644 --- a/k8s/1.31/api/admissionregistration/v1/mutating_webhook.k +++ b/k8s/1.31/api/admissionregistration/v1/mutating_webhook.k @@ -3,7 +3,7 @@ This is the mutating_webhook module in k8s.api.admissionregistration.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MutatingWebhook: @@ -37,7 +37,7 @@ schema MutatingWebhook: Defaults to "Equivalent" name : str, default is Undefined, required The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook. For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1"; you will set the selector as follows: "namespaceSelector": { @@ -69,7 +69,7 @@ schema MutatingWebhook: See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors. Default to the empty LabelSelector, which matches everything. - objectSelector : v1.LabelSelector, default is Undefined, optional + objectSelector : metav1.LabelSelector, default is Undefined, optional ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything. reinvocationPolicy : str, default is Undefined, optional reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded". @@ -100,9 +100,9 @@ schema MutatingWebhook: name: str - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector - objectSelector?: v1.LabelSelector + objectSelector?: metav1.LabelSelector reinvocationPolicy?: str diff --git a/k8s/1.31/api/admissionregistration/v1/mutating_webhook_configuration.k b/k8s/1.31/api/admissionregistration/v1/mutating_webhook_configuration.k index 122ee8e6..bb06fd56 100644 --- a/k8s/1.31/api/admissionregistration/v1/mutating_webhook_configuration.k +++ b/k8s/1.31/api/admissionregistration/v1/mutating_webhook_configuration.k @@ -3,7 +3,7 @@ This is the mutating_webhook_configuration module in k8s.api.admissionregistrati This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MutatingWebhookConfiguration: @@ -16,7 +16,7 @@ schema MutatingWebhookConfiguration: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "MutatingWebhookConfiguration", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. webhooks : [MutatingWebhook], default is Undefined, optional Webhooks is a list of webhooks and the affected resources and operations. @@ -27,7 +27,7 @@ schema MutatingWebhookConfiguration: kind: "MutatingWebhookConfiguration" = "MutatingWebhookConfiguration" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta webhooks?: [MutatingWebhook] diff --git a/k8s/1.31/api/admissionregistration/v1/mutating_webhook_configuration_list.k b/k8s/1.31/api/admissionregistration/v1/mutating_webhook_configuration_list.k index 87b58819..6a77e4da 100644 --- a/k8s/1.31/api/admissionregistration/v1/mutating_webhook_configuration_list.k +++ b/k8s/1.31/api/admissionregistration/v1/mutating_webhook_configuration_list.k @@ -3,7 +3,7 @@ This is the mutating_webhook_configuration_list module in k8s.api.admissionregis This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MutatingWebhookConfigurationList: @@ -18,7 +18,7 @@ schema MutatingWebhookConfigurationList: List of MutatingWebhookConfiguration. kind : str, default is "MutatingWebhookConfigurationList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema MutatingWebhookConfigurationList: kind: "MutatingWebhookConfigurationList" = "MutatingWebhookConfigurationList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.31/api/admissionregistration/v1/param_ref.k b/k8s/1.31/api/admissionregistration/v1/param_ref.k index ca62f916..61c64c0e 100644 --- a/k8s/1.31/api/admissionregistration/v1/param_ref.k +++ b/k8s/1.31/api/admissionregistration/v1/param_ref.k @@ -3,7 +3,7 @@ This is the param_ref module in k8s.api.admissionregistration.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ParamRef: @@ -32,7 +32,7 @@ schema ParamRef: Allowed values are `Allow` or `Deny` Required - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector can be used to match multiple param objects based on their labels. Supply selector: {} to match all resources of the ParamKind. If multiple params are found, they are all evaluated with the policy expressions and the results are ANDed together. @@ -47,6 +47,6 @@ schema ParamRef: parameterNotFoundAction?: str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector diff --git a/k8s/1.31/api/admissionregistration/v1/validating_admission_policy.k b/k8s/1.31/api/admissionregistration/v1/validating_admission_policy.k index e92f38b3..a56619aa 100644 --- a/k8s/1.31/api/admissionregistration/v1/validating_admission_policy.k +++ b/k8s/1.31/api/admissionregistration/v1/validating_admission_policy.k @@ -3,7 +3,7 @@ This is the validating_admission_policy module in k8s.api.admissionregistration. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingAdmissionPolicy: @@ -16,7 +16,7 @@ schema ValidatingAdmissionPolicy: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ValidatingAdmissionPolicy", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. spec : ValidatingAdmissionPolicySpec, default is Undefined, optional Specification of the desired behavior of the ValidatingAdmissionPolicy. @@ -27,7 +27,7 @@ schema ValidatingAdmissionPolicy: kind: "ValidatingAdmissionPolicy" = "ValidatingAdmissionPolicy" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ValidatingAdmissionPolicySpec diff --git a/k8s/1.31/api/admissionregistration/v1/validating_admission_policy_binding.k b/k8s/1.31/api/admissionregistration/v1/validating_admission_policy_binding.k index 29220372..3a244b46 100644 --- a/k8s/1.31/api/admissionregistration/v1/validating_admission_policy_binding.k +++ b/k8s/1.31/api/admissionregistration/v1/validating_admission_policy_binding.k @@ -3,7 +3,7 @@ This is the validating_admission_policy_binding module in k8s.api.admissionregis This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingAdmissionPolicyBinding: @@ -20,7 +20,7 @@ schema ValidatingAdmissionPolicyBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ValidatingAdmissionPolicyBinding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. spec : ValidatingAdmissionPolicyBindingSpec, default is Undefined, optional Specification of the desired behavior of the ValidatingAdmissionPolicyBinding. @@ -31,7 +31,7 @@ schema ValidatingAdmissionPolicyBinding: kind: "ValidatingAdmissionPolicyBinding" = "ValidatingAdmissionPolicyBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ValidatingAdmissionPolicyBindingSpec diff --git a/k8s/1.31/api/admissionregistration/v1/validating_admission_policy_binding_list.k b/k8s/1.31/api/admissionregistration/v1/validating_admission_policy_binding_list.k index e767b1b7..13df846f 100644 --- a/k8s/1.31/api/admissionregistration/v1/validating_admission_policy_binding_list.k +++ b/k8s/1.31/api/admissionregistration/v1/validating_admission_policy_binding_list.k @@ -3,7 +3,7 @@ This is the validating_admission_policy_binding_list module in k8s.api.admission This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingAdmissionPolicyBindingList: @@ -18,7 +18,7 @@ schema ValidatingAdmissionPolicyBindingList: List of PolicyBinding. kind : str, default is "ValidatingAdmissionPolicyBindingList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ValidatingAdmissionPolicyBindingList: kind: "ValidatingAdmissionPolicyBindingList" = "ValidatingAdmissionPolicyBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.31/api/admissionregistration/v1/validating_admission_policy_list.k b/k8s/1.31/api/admissionregistration/v1/validating_admission_policy_list.k index d3089b6c..fbb94916 100644 --- a/k8s/1.31/api/admissionregistration/v1/validating_admission_policy_list.k +++ b/k8s/1.31/api/admissionregistration/v1/validating_admission_policy_list.k @@ -3,7 +3,7 @@ This is the validating_admission_policy_list module in k8s.api.admissionregistra This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingAdmissionPolicyList: @@ -18,7 +18,7 @@ schema ValidatingAdmissionPolicyList: List of ValidatingAdmissionPolicy. kind : str, default is "ValidatingAdmissionPolicyList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ValidatingAdmissionPolicyList: kind: "ValidatingAdmissionPolicyList" = "ValidatingAdmissionPolicyList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.31/api/admissionregistration/v1/validating_admission_policy_status.k b/k8s/1.31/api/admissionregistration/v1/validating_admission_policy_status.k index bb8aa4c4..e95b1574 100644 --- a/k8s/1.31/api/admissionregistration/v1/validating_admission_policy_status.k +++ b/k8s/1.31/api/admissionregistration/v1/validating_admission_policy_status.k @@ -3,7 +3,7 @@ This is the validating_admission_policy_status module in k8s.api.admissionregist This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingAdmissionPolicyStatus: @@ -12,7 +12,7 @@ schema ValidatingAdmissionPolicyStatus: Attributes ---------- - conditions : [v1.Condition], default is Undefined, optional + conditions : [metav1.Condition], default is Undefined, optional The conditions represent the latest available observations of a policy's current state. observedGeneration : int, default is Undefined, optional The generation observed by the controller. @@ -21,7 +21,7 @@ schema ValidatingAdmissionPolicyStatus: """ - conditions?: [v1.Condition] + conditions?: [metav1.Condition] observedGeneration?: int diff --git a/k8s/1.31/api/admissionregistration/v1/validating_webhook.k b/k8s/1.31/api/admissionregistration/v1/validating_webhook.k index 2b5f8f2a..228785b8 100644 --- a/k8s/1.31/api/admissionregistration/v1/validating_webhook.k +++ b/k8s/1.31/api/admissionregistration/v1/validating_webhook.k @@ -3,7 +3,7 @@ This is the validating_webhook module in k8s.api.admissionregistration.v1 packag This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingWebhook: @@ -37,7 +37,7 @@ schema ValidatingWebhook: Defaults to "Equivalent" name : str, default is Undefined, required The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook. For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1"; you will set the selector as follows: "namespaceSelector": { @@ -69,7 +69,7 @@ schema ValidatingWebhook: See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels for more examples of label selectors. Default to the empty LabelSelector, which matches everything. - objectSelector : v1.LabelSelector, default is Undefined, optional + objectSelector : metav1.LabelSelector, default is Undefined, optional ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything. rules : [RuleWithOperations], default is Undefined, optional Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects. @@ -92,9 +92,9 @@ schema ValidatingWebhook: name: str - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector - objectSelector?: v1.LabelSelector + objectSelector?: metav1.LabelSelector rules?: [RuleWithOperations] diff --git a/k8s/1.31/api/admissionregistration/v1/validating_webhook_configuration.k b/k8s/1.31/api/admissionregistration/v1/validating_webhook_configuration.k index ad7e2b08..a0f320da 100644 --- a/k8s/1.31/api/admissionregistration/v1/validating_webhook_configuration.k +++ b/k8s/1.31/api/admissionregistration/v1/validating_webhook_configuration.k @@ -3,7 +3,7 @@ This is the validating_webhook_configuration module in k8s.api.admissionregistra This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingWebhookConfiguration: @@ -16,7 +16,7 @@ schema ValidatingWebhookConfiguration: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ValidatingWebhookConfiguration", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. webhooks : [ValidatingWebhook], default is Undefined, optional Webhooks is a list of webhooks and the affected resources and operations. @@ -27,7 +27,7 @@ schema ValidatingWebhookConfiguration: kind: "ValidatingWebhookConfiguration" = "ValidatingWebhookConfiguration" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta webhooks?: [ValidatingWebhook] diff --git a/k8s/1.31/api/admissionregistration/v1/validating_webhook_configuration_list.k b/k8s/1.31/api/admissionregistration/v1/validating_webhook_configuration_list.k index 7abe180c..8f1decb5 100644 --- a/k8s/1.31/api/admissionregistration/v1/validating_webhook_configuration_list.k +++ b/k8s/1.31/api/admissionregistration/v1/validating_webhook_configuration_list.k @@ -3,7 +3,7 @@ This is the validating_webhook_configuration_list module in k8s.api.admissionreg This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingWebhookConfigurationList: @@ -18,7 +18,7 @@ schema ValidatingWebhookConfigurationList: List of ValidatingWebhookConfiguration. kind : str, default is "ValidatingWebhookConfigurationList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ValidatingWebhookConfigurationList: kind: "ValidatingWebhookConfigurationList" = "ValidatingWebhookConfigurationList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.31/api/admissionregistration/v1alpha1/match_resources.k b/k8s/1.31/api/admissionregistration/v1alpha1/match_resources.k index bf4f6899..517030e4 100644 --- a/k8s/1.31/api/admissionregistration/v1alpha1/match_resources.k +++ b/k8s/1.31/api/admissionregistration/v1alpha1/match_resources.k @@ -3,7 +3,7 @@ This is the match_resources module in k8s.api.admissionregistration.v1alpha1 pac This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MatchResources: @@ -22,7 +22,7 @@ schema MatchResources: - Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the ValidatingAdmissionPolicy. Defaults to "Equivalent" - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional NamespaceSelector decides whether to run the admission control policy on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the policy. For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1"; you will set the selector as follows: "namespaceSelector": { @@ -54,7 +54,7 @@ schema MatchResources: See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors. Default to the empty LabelSelector, which matches everything. - objectSelector : v1.LabelSelector, default is Undefined, optional + objectSelector : metav1.LabelSelector, default is Undefined, optional ObjectSelector decides whether to run the validation based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the cel validation, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything. resourceRules : [NamedRuleWithOperations], default is Undefined, optional ResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy matches. The policy cares about an operation if it matches _any_ Rule. @@ -65,9 +65,9 @@ schema MatchResources: matchPolicy?: str - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector - objectSelector?: v1.LabelSelector + objectSelector?: metav1.LabelSelector resourceRules?: [NamedRuleWithOperations] diff --git a/k8s/1.31/api/admissionregistration/v1alpha1/param_ref.k b/k8s/1.31/api/admissionregistration/v1alpha1/param_ref.k index 25916d56..1c8830c0 100644 --- a/k8s/1.31/api/admissionregistration/v1alpha1/param_ref.k +++ b/k8s/1.31/api/admissionregistration/v1alpha1/param_ref.k @@ -3,7 +3,7 @@ This is the param_ref module in k8s.api.admissionregistration.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ParamRef: @@ -28,7 +28,7 @@ schema ParamRef: `parameterNotFoundAction` controls the behavior of the binding when the resource exists, and name or selector is valid, but there are no parameters matched by the binding. If the value is set to `Allow`, then no matched parameters will be treated as successful validation by the binding. If set to `Deny`, then no matched parameters will be subject to the `failurePolicy` of the policy. Allowed values are `Allow` or `Deny` Default to `Deny` - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector can be used to match multiple param objects based on their labels. Supply selector: {} to match all resources of the ParamKind. If multiple params are found, they are all evaluated with the policy expressions and the results are ANDed together. @@ -43,6 +43,6 @@ schema ParamRef: parameterNotFoundAction?: str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector diff --git a/k8s/1.31/api/admissionregistration/v1alpha1/validating_admission_policy.k b/k8s/1.31/api/admissionregistration/v1alpha1/validating_admission_policy.k index bfd1b9a3..da034f41 100644 --- a/k8s/1.31/api/admissionregistration/v1alpha1/validating_admission_policy.k +++ b/k8s/1.31/api/admissionregistration/v1alpha1/validating_admission_policy.k @@ -3,7 +3,7 @@ This is the validating_admission_policy module in k8s.api.admissionregistration. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingAdmissionPolicy: @@ -16,7 +16,7 @@ schema ValidatingAdmissionPolicy: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ValidatingAdmissionPolicy", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. spec : ValidatingAdmissionPolicySpec, default is Undefined, optional Specification of the desired behavior of the ValidatingAdmissionPolicy. @@ -27,7 +27,7 @@ schema ValidatingAdmissionPolicy: kind: "ValidatingAdmissionPolicy" = "ValidatingAdmissionPolicy" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ValidatingAdmissionPolicySpec diff --git a/k8s/1.31/api/admissionregistration/v1alpha1/validating_admission_policy_binding.k b/k8s/1.31/api/admissionregistration/v1alpha1/validating_admission_policy_binding.k index b71b8129..e12e6929 100644 --- a/k8s/1.31/api/admissionregistration/v1alpha1/validating_admission_policy_binding.k +++ b/k8s/1.31/api/admissionregistration/v1alpha1/validating_admission_policy_binding.k @@ -3,7 +3,7 @@ This is the validating_admission_policy_binding module in k8s.api.admissionregis This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingAdmissionPolicyBinding: @@ -20,7 +20,7 @@ schema ValidatingAdmissionPolicyBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ValidatingAdmissionPolicyBinding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. spec : ValidatingAdmissionPolicyBindingSpec, default is Undefined, optional Specification of the desired behavior of the ValidatingAdmissionPolicyBinding. @@ -31,7 +31,7 @@ schema ValidatingAdmissionPolicyBinding: kind: "ValidatingAdmissionPolicyBinding" = "ValidatingAdmissionPolicyBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ValidatingAdmissionPolicyBindingSpec diff --git a/k8s/1.31/api/admissionregistration/v1alpha1/validating_admission_policy_binding_list.k b/k8s/1.31/api/admissionregistration/v1alpha1/validating_admission_policy_binding_list.k index 061a1bb3..5fa9a6e6 100644 --- a/k8s/1.31/api/admissionregistration/v1alpha1/validating_admission_policy_binding_list.k +++ b/k8s/1.31/api/admissionregistration/v1alpha1/validating_admission_policy_binding_list.k @@ -3,7 +3,7 @@ This is the validating_admission_policy_binding_list module in k8s.api.admission This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingAdmissionPolicyBindingList: @@ -18,7 +18,7 @@ schema ValidatingAdmissionPolicyBindingList: List of PolicyBinding. kind : str, default is "ValidatingAdmissionPolicyBindingList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ValidatingAdmissionPolicyBindingList: kind: "ValidatingAdmissionPolicyBindingList" = "ValidatingAdmissionPolicyBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.31/api/admissionregistration/v1alpha1/validating_admission_policy_list.k b/k8s/1.31/api/admissionregistration/v1alpha1/validating_admission_policy_list.k index 926e1db9..4ff8df28 100644 --- a/k8s/1.31/api/admissionregistration/v1alpha1/validating_admission_policy_list.k +++ b/k8s/1.31/api/admissionregistration/v1alpha1/validating_admission_policy_list.k @@ -3,7 +3,7 @@ This is the validating_admission_policy_list module in k8s.api.admissionregistra This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingAdmissionPolicyList: @@ -18,7 +18,7 @@ schema ValidatingAdmissionPolicyList: List of ValidatingAdmissionPolicy. kind : str, default is "ValidatingAdmissionPolicyList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ValidatingAdmissionPolicyList: kind: "ValidatingAdmissionPolicyList" = "ValidatingAdmissionPolicyList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.31/api/admissionregistration/v1alpha1/validating_admission_policy_status.k b/k8s/1.31/api/admissionregistration/v1alpha1/validating_admission_policy_status.k index 177d140f..4c117d46 100644 --- a/k8s/1.31/api/admissionregistration/v1alpha1/validating_admission_policy_status.k +++ b/k8s/1.31/api/admissionregistration/v1alpha1/validating_admission_policy_status.k @@ -3,7 +3,7 @@ This is the validating_admission_policy_status module in k8s.api.admissionregist This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingAdmissionPolicyStatus: @@ -12,7 +12,7 @@ schema ValidatingAdmissionPolicyStatus: Attributes ---------- - conditions : [v1.Condition], default is Undefined, optional + conditions : [metav1.Condition], default is Undefined, optional The conditions represent the latest available observations of a policy's current state. observedGeneration : int, default is Undefined, optional The generation observed by the controller. @@ -21,7 +21,7 @@ schema ValidatingAdmissionPolicyStatus: """ - conditions?: [v1.Condition] + conditions?: [metav1.Condition] observedGeneration?: int diff --git a/k8s/1.31/api/admissionregistration/v1beta1/match_resources.k b/k8s/1.31/api/admissionregistration/v1beta1/match_resources.k index 357c7605..cc2bfc7e 100644 --- a/k8s/1.31/api/admissionregistration/v1beta1/match_resources.k +++ b/k8s/1.31/api/admissionregistration/v1beta1/match_resources.k @@ -3,7 +3,7 @@ This is the match_resources module in k8s.api.admissionregistration.v1beta1 pack This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MatchResources: @@ -22,7 +22,7 @@ schema MatchResources: - Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the ValidatingAdmissionPolicy. Defaults to "Equivalent" - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional NamespaceSelector decides whether to run the admission control policy on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the policy. For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1"; you will set the selector as follows: "namespaceSelector": { @@ -54,7 +54,7 @@ schema MatchResources: See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors. Default to the empty LabelSelector, which matches everything. - objectSelector : v1.LabelSelector, default is Undefined, optional + objectSelector : metav1.LabelSelector, default is Undefined, optional ObjectSelector decides whether to run the validation based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the cel validation, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything. resourceRules : [NamedRuleWithOperations], default is Undefined, optional ResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy matches. The policy cares about an operation if it matches _any_ Rule. @@ -65,9 +65,9 @@ schema MatchResources: matchPolicy?: str - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector - objectSelector?: v1.LabelSelector + objectSelector?: metav1.LabelSelector resourceRules?: [NamedRuleWithOperations] diff --git a/k8s/1.31/api/admissionregistration/v1beta1/param_ref.k b/k8s/1.31/api/admissionregistration/v1beta1/param_ref.k index 27373750..52d41a8a 100644 --- a/k8s/1.31/api/admissionregistration/v1beta1/param_ref.k +++ b/k8s/1.31/api/admissionregistration/v1beta1/param_ref.k @@ -3,7 +3,7 @@ This is the param_ref module in k8s.api.admissionregistration.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ParamRef: @@ -32,7 +32,7 @@ schema ParamRef: Allowed values are `Allow` or `Deny` Required - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector can be used to match multiple param objects based on their labels. Supply selector: {} to match all resources of the ParamKind. If multiple params are found, they are all evaluated with the policy expressions and the results are ANDed together. @@ -47,6 +47,6 @@ schema ParamRef: parameterNotFoundAction?: str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector diff --git a/k8s/1.31/api/admissionregistration/v1beta1/validating_admission_policy.k b/k8s/1.31/api/admissionregistration/v1beta1/validating_admission_policy.k index c71fb04a..ae0fec7b 100644 --- a/k8s/1.31/api/admissionregistration/v1beta1/validating_admission_policy.k +++ b/k8s/1.31/api/admissionregistration/v1beta1/validating_admission_policy.k @@ -3,7 +3,7 @@ This is the validating_admission_policy module in k8s.api.admissionregistration. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingAdmissionPolicy: @@ -16,7 +16,7 @@ schema ValidatingAdmissionPolicy: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ValidatingAdmissionPolicy", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. spec : ValidatingAdmissionPolicySpec, default is Undefined, optional Specification of the desired behavior of the ValidatingAdmissionPolicy. @@ -27,7 +27,7 @@ schema ValidatingAdmissionPolicy: kind: "ValidatingAdmissionPolicy" = "ValidatingAdmissionPolicy" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ValidatingAdmissionPolicySpec diff --git a/k8s/1.31/api/admissionregistration/v1beta1/validating_admission_policy_binding.k b/k8s/1.31/api/admissionregistration/v1beta1/validating_admission_policy_binding.k index 9f73381c..94fcf497 100644 --- a/k8s/1.31/api/admissionregistration/v1beta1/validating_admission_policy_binding.k +++ b/k8s/1.31/api/admissionregistration/v1beta1/validating_admission_policy_binding.k @@ -3,7 +3,7 @@ This is the validating_admission_policy_binding module in k8s.api.admissionregis This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingAdmissionPolicyBinding: @@ -20,7 +20,7 @@ schema ValidatingAdmissionPolicyBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ValidatingAdmissionPolicyBinding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. spec : ValidatingAdmissionPolicyBindingSpec, default is Undefined, optional Specification of the desired behavior of the ValidatingAdmissionPolicyBinding. @@ -31,7 +31,7 @@ schema ValidatingAdmissionPolicyBinding: kind: "ValidatingAdmissionPolicyBinding" = "ValidatingAdmissionPolicyBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ValidatingAdmissionPolicyBindingSpec diff --git a/k8s/1.31/api/admissionregistration/v1beta1/validating_admission_policy_binding_list.k b/k8s/1.31/api/admissionregistration/v1beta1/validating_admission_policy_binding_list.k index bf96de65..3a843c7f 100644 --- a/k8s/1.31/api/admissionregistration/v1beta1/validating_admission_policy_binding_list.k +++ b/k8s/1.31/api/admissionregistration/v1beta1/validating_admission_policy_binding_list.k @@ -3,7 +3,7 @@ This is the validating_admission_policy_binding_list module in k8s.api.admission This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingAdmissionPolicyBindingList: @@ -18,7 +18,7 @@ schema ValidatingAdmissionPolicyBindingList: List of PolicyBinding. kind : str, default is "ValidatingAdmissionPolicyBindingList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ValidatingAdmissionPolicyBindingList: kind: "ValidatingAdmissionPolicyBindingList" = "ValidatingAdmissionPolicyBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.31/api/admissionregistration/v1beta1/validating_admission_policy_list.k b/k8s/1.31/api/admissionregistration/v1beta1/validating_admission_policy_list.k index 8f01d412..0f75e6b3 100644 --- a/k8s/1.31/api/admissionregistration/v1beta1/validating_admission_policy_list.k +++ b/k8s/1.31/api/admissionregistration/v1beta1/validating_admission_policy_list.k @@ -3,7 +3,7 @@ This is the validating_admission_policy_list module in k8s.api.admissionregistra This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingAdmissionPolicyList: @@ -18,7 +18,7 @@ schema ValidatingAdmissionPolicyList: List of ValidatingAdmissionPolicy. kind : str, default is "ValidatingAdmissionPolicyList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ValidatingAdmissionPolicyList: kind: "ValidatingAdmissionPolicyList" = "ValidatingAdmissionPolicyList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.31/api/admissionregistration/v1beta1/validating_admission_policy_status.k b/k8s/1.31/api/admissionregistration/v1beta1/validating_admission_policy_status.k index 3f544d35..856020ef 100644 --- a/k8s/1.31/api/admissionregistration/v1beta1/validating_admission_policy_status.k +++ b/k8s/1.31/api/admissionregistration/v1beta1/validating_admission_policy_status.k @@ -3,7 +3,7 @@ This is the validating_admission_policy_status module in k8s.api.admissionregist This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ValidatingAdmissionPolicyStatus: @@ -12,7 +12,7 @@ schema ValidatingAdmissionPolicyStatus: Attributes ---------- - conditions : [v1.Condition], default is Undefined, optional + conditions : [metav1.Condition], default is Undefined, optional The conditions represent the latest available observations of a policy's current state. observedGeneration : int, default is Undefined, optional The generation observed by the controller. @@ -21,7 +21,7 @@ schema ValidatingAdmissionPolicyStatus: """ - conditions?: [v1.Condition] + conditions?: [metav1.Condition] observedGeneration?: int diff --git a/k8s/1.31/api/apiserverinternal/v1alpha1/storage_version.k b/k8s/1.31/api/apiserverinternal/v1alpha1/storage_version.k index d344475f..3e1df9f6 100644 --- a/k8s/1.31/api/apiserverinternal/v1alpha1/storage_version.k +++ b/k8s/1.31/api/apiserverinternal/v1alpha1/storage_version.k @@ -3,7 +3,7 @@ This is the storage_version module in k8s.api.apiserverinternal.v1alpha1 package This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StorageVersion: @@ -16,7 +16,7 @@ schema StorageVersion: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "StorageVersion", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional The name is .. spec : any, default is Undefined, required Spec is an empty spec. It is here to comply with Kubernetes API style. @@ -27,7 +27,7 @@ schema StorageVersion: kind: "StorageVersion" = "StorageVersion" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: any diff --git a/k8s/1.31/api/apiserverinternal/v1alpha1/storage_version_list.k b/k8s/1.31/api/apiserverinternal/v1alpha1/storage_version_list.k index f36f1476..c541cd76 100644 --- a/k8s/1.31/api/apiserverinternal/v1alpha1/storage_version_list.k +++ b/k8s/1.31/api/apiserverinternal/v1alpha1/storage_version_list.k @@ -3,7 +3,7 @@ This is the storage_version_list module in k8s.api.apiserverinternal.v1alpha1 pa This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StorageVersionList: @@ -18,7 +18,7 @@ schema StorageVersionList: Items holds a list of StorageVersion kind : str, default is "StorageVersionList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema StorageVersionList: kind: "StorageVersionList" = "StorageVersionList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.31/api/apps/v1/controller_revision.k b/k8s/1.31/api/apps/v1/controller_revision.k index c575b469..a5b9dcbd 100644 --- a/k8s/1.31/api/apps/v1/controller_revision.k +++ b/k8s/1.31/api/apps/v1/controller_revision.k @@ -3,7 +3,7 @@ This is the controller_revision module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ControllerRevision: @@ -18,7 +18,7 @@ schema ControllerRevision: Data is the serialized representation of the state. kind : str, default is "ControllerRevision", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata revision : int, default is Undefined, required Revision indicates the revision of the state represented by Data. @@ -31,7 +31,7 @@ schema ControllerRevision: kind: "ControllerRevision" = "ControllerRevision" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta revision: int diff --git a/k8s/1.31/api/apps/v1/controller_revision_list.k b/k8s/1.31/api/apps/v1/controller_revision_list.k index bb6ff1b0..99d61c0c 100644 --- a/k8s/1.31/api/apps/v1/controller_revision_list.k +++ b/k8s/1.31/api/apps/v1/controller_revision_list.k @@ -3,7 +3,7 @@ This is the controller_revision_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ControllerRevisionList: @@ -18,7 +18,7 @@ schema ControllerRevisionList: Items is the list of ControllerRevisions kind : str, default is "ControllerRevisionList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema ControllerRevisionList: kind: "ControllerRevisionList" = "ControllerRevisionList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.31/api/apps/v1/daemon_set.k b/k8s/1.31/api/apps/v1/daemon_set.k index 5a5129fe..af853b70 100644 --- a/k8s/1.31/api/apps/v1/daemon_set.k +++ b/k8s/1.31/api/apps/v1/daemon_set.k @@ -3,7 +3,7 @@ This is the daemon_set module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DaemonSet: @@ -16,7 +16,7 @@ schema DaemonSet: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "DaemonSet", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : DaemonSetSpec, default is Undefined, optional The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema DaemonSet: kind: "DaemonSet" = "DaemonSet" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: DaemonSetSpec diff --git a/k8s/1.31/api/apps/v1/daemon_set_list.k b/k8s/1.31/api/apps/v1/daemon_set_list.k index f6c852f8..7cb95331 100644 --- a/k8s/1.31/api/apps/v1/daemon_set_list.k +++ b/k8s/1.31/api/apps/v1/daemon_set_list.k @@ -3,7 +3,7 @@ This is the daemon_set_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DaemonSetList: @@ -18,7 +18,7 @@ schema DaemonSetList: A list of daemon sets. kind : str, default is "DaemonSetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema DaemonSetList: kind: "DaemonSetList" = "DaemonSetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.31/api/apps/v1/daemon_set_spec.k b/k8s/1.31/api/apps/v1/daemon_set_spec.k index 07902427..8b600887 100644 --- a/k8s/1.31/api/apps/v1/daemon_set_spec.k +++ b/k8s/1.31/api/apps/v1/daemon_set_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DaemonSetSpec: @@ -17,7 +17,7 @@ schema DaemonSetSpec: The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready). revisionHistoryLimit : int, default is Undefined, optional The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required A label query over pods that are managed by the daemon set. Must match in order to be controlled. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors template : corev1.PodTemplateSpec, default is Undefined, required An object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). The only allowed template.spec.restartPolicy value is "Always". More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template @@ -30,7 +30,7 @@ schema DaemonSetSpec: revisionHistoryLimit?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector template: corev1.PodTemplateSpec diff --git a/k8s/1.31/api/apps/v1/deployment.k b/k8s/1.31/api/apps/v1/deployment.k index a48815ee..a7d17844 100644 --- a/k8s/1.31/api/apps/v1/deployment.k +++ b/k8s/1.31/api/apps/v1/deployment.k @@ -3,7 +3,7 @@ This is the deployment module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Deployment: @@ -16,7 +16,7 @@ schema Deployment: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Deployment", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : DeploymentSpec, default is Undefined, optional Specification of the desired behavior of the Deployment. @@ -27,7 +27,7 @@ schema Deployment: kind: "Deployment" = "Deployment" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: DeploymentSpec diff --git a/k8s/1.31/api/apps/v1/deployment_list.k b/k8s/1.31/api/apps/v1/deployment_list.k index 46a4b620..ff586fe3 100644 --- a/k8s/1.31/api/apps/v1/deployment_list.k +++ b/k8s/1.31/api/apps/v1/deployment_list.k @@ -3,7 +3,7 @@ This is the deployment_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DeploymentList: @@ -18,7 +18,7 @@ schema DeploymentList: Items is the list of Deployments. kind : str, default is "DeploymentList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema DeploymentList: kind: "DeploymentList" = "DeploymentList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.31/api/apps/v1/deployment_spec.k b/k8s/1.31/api/apps/v1/deployment_spec.k index 765d2139..8356eeca 100644 --- a/k8s/1.31/api/apps/v1/deployment_spec.k +++ b/k8s/1.31/api/apps/v1/deployment_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DeploymentSpec: @@ -23,7 +23,7 @@ schema DeploymentSpec: Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1. revisionHistoryLimit : int, default is Undefined, optional The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. It must match the pod template's labels. strategy : DeploymentStrategy, default is Undefined, optional The deployment strategy to use to replace existing pods with new ones. @@ -42,7 +42,7 @@ schema DeploymentSpec: revisionHistoryLimit?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector strategy?: DeploymentStrategy diff --git a/k8s/1.31/api/apps/v1/replica_set.k b/k8s/1.31/api/apps/v1/replica_set.k index 4d2f7265..97d92b64 100644 --- a/k8s/1.31/api/apps/v1/replica_set.k +++ b/k8s/1.31/api/apps/v1/replica_set.k @@ -3,7 +3,7 @@ This is the replica_set module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicaSet: @@ -16,7 +16,7 @@ schema ReplicaSet: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ReplicaSet", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : ReplicaSetSpec, default is Undefined, optional Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema ReplicaSet: kind: "ReplicaSet" = "ReplicaSet" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ReplicaSetSpec diff --git a/k8s/1.31/api/apps/v1/replica_set_list.k b/k8s/1.31/api/apps/v1/replica_set_list.k index cc093dde..ed268c8d 100644 --- a/k8s/1.31/api/apps/v1/replica_set_list.k +++ b/k8s/1.31/api/apps/v1/replica_set_list.k @@ -3,7 +3,7 @@ This is the replica_set_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicaSetList: @@ -18,7 +18,7 @@ schema ReplicaSetList: List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller kind : str, default is "ReplicaSetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ReplicaSetList: kind: "ReplicaSetList" = "ReplicaSetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.31/api/apps/v1/replica_set_spec.k b/k8s/1.31/api/apps/v1/replica_set_spec.k index 7d3f3d93..6eca6a80 100644 --- a/k8s/1.31/api/apps/v1/replica_set_spec.k +++ b/k8s/1.31/api/apps/v1/replica_set_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicaSetSpec: @@ -17,7 +17,7 @@ schema ReplicaSetSpec: Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) replicas : int, default is Undefined, optional Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required Selector is a label query over pods that should match the replica count. Label keys and values that must match in order to be controlled by this replica set. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors template : corev1.PodTemplateSpec, default is Undefined, optional Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template @@ -28,7 +28,7 @@ schema ReplicaSetSpec: replicas?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector template?: corev1.PodTemplateSpec diff --git a/k8s/1.31/api/apps/v1/stateful_set.k b/k8s/1.31/api/apps/v1/stateful_set.k index c584df38..ea572786 100644 --- a/k8s/1.31/api/apps/v1/stateful_set.k +++ b/k8s/1.31/api/apps/v1/stateful_set.k @@ -3,7 +3,7 @@ This is the stateful_set module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StatefulSet: @@ -20,7 +20,7 @@ schema StatefulSet: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "StatefulSet", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : StatefulSetSpec, default is Undefined, optional Spec defines the desired identities of pods in this set. @@ -31,7 +31,7 @@ schema StatefulSet: kind: "StatefulSet" = "StatefulSet" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: StatefulSetSpec diff --git a/k8s/1.31/api/apps/v1/stateful_set_list.k b/k8s/1.31/api/apps/v1/stateful_set_list.k index 8f76f9db..3277ae55 100644 --- a/k8s/1.31/api/apps/v1/stateful_set_list.k +++ b/k8s/1.31/api/apps/v1/stateful_set_list.k @@ -3,7 +3,7 @@ This is the stateful_set_list module in k8s.api.apps.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StatefulSetList: @@ -18,7 +18,7 @@ schema StatefulSetList: Items is the list of stateful sets. kind : str, default is "StatefulSetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema StatefulSetList: kind: "StatefulSetList" = "StatefulSetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.31/api/apps/v1/stateful_set_spec.k b/k8s/1.31/api/apps/v1/stateful_set_spec.k index a1f7cb8e..f6fec630 100644 --- a/k8s/1.31/api/apps/v1/stateful_set_spec.k +++ b/k8s/1.31/api/apps/v1/stateful_set_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StatefulSetSpec: @@ -25,7 +25,7 @@ schema StatefulSetSpec: replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1. revisionHistoryLimit : int, default is Undefined, optional revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10. - selector : v1.LabelSelector, default is Undefined, required + selector : metav1.LabelSelector, default is Undefined, required selector is a label query over pods that should match the replica count. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors serviceName : str, default is Undefined, required serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where "pod-specific-string" is managed by the StatefulSet controller. @@ -50,7 +50,7 @@ schema StatefulSetSpec: revisionHistoryLimit?: int - selector: v1.LabelSelector + selector: metav1.LabelSelector serviceName: str diff --git a/k8s/1.31/api/authentication/v1/self_subject_review.k b/k8s/1.31/api/authentication/v1/self_subject_review.k index 5cc9c400..1c39e2a1 100644 --- a/k8s/1.31/api/authentication/v1/self_subject_review.k +++ b/k8s/1.31/api/authentication/v1/self_subject_review.k @@ -3,7 +3,7 @@ This is the self_subject_review module in k8s.api.authentication.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SelfSubjectReview: @@ -16,7 +16,7 @@ schema SelfSubjectReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SelfSubjectReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -25,6 +25,6 @@ schema SelfSubjectReview: kind: "SelfSubjectReview" = "SelfSubjectReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta diff --git a/k8s/1.31/api/authentication/v1/token_request.k b/k8s/1.31/api/authentication/v1/token_request.k index d0c9c57f..7e92c919 100644 --- a/k8s/1.31/api/authentication/v1/token_request.k +++ b/k8s/1.31/api/authentication/v1/token_request.k @@ -3,7 +3,7 @@ This is the token_request module in k8s.api.authentication.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema TokenRequest: @@ -16,7 +16,7 @@ schema TokenRequest: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "TokenRequest", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : TokenRequestSpec, default is Undefined, required Spec holds information about the request being evaluated @@ -27,7 +27,7 @@ schema TokenRequest: kind: "TokenRequest" = "TokenRequest" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: TokenRequestSpec diff --git a/k8s/1.31/api/authentication/v1/token_review.k b/k8s/1.31/api/authentication/v1/token_review.k index f81e42eb..f9d7fe53 100644 --- a/k8s/1.31/api/authentication/v1/token_review.k +++ b/k8s/1.31/api/authentication/v1/token_review.k @@ -3,7 +3,7 @@ This is the token_review module in k8s.api.authentication.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema TokenReview: @@ -16,7 +16,7 @@ schema TokenReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "TokenReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : TokenReviewSpec, default is Undefined, required Spec holds information about the request being evaluated @@ -27,7 +27,7 @@ schema TokenReview: kind: "TokenReview" = "TokenReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: TokenReviewSpec diff --git a/k8s/1.31/api/authentication/v1alpha1/self_subject_review.k b/k8s/1.31/api/authentication/v1alpha1/self_subject_review.k index 44b7b314..ec237359 100644 --- a/k8s/1.31/api/authentication/v1alpha1/self_subject_review.k +++ b/k8s/1.31/api/authentication/v1alpha1/self_subject_review.k @@ -3,7 +3,7 @@ This is the self_subject_review module in k8s.api.authentication.v1alpha1 packag This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SelfSubjectReview: @@ -16,7 +16,7 @@ schema SelfSubjectReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SelfSubjectReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -25,6 +25,6 @@ schema SelfSubjectReview: kind: "SelfSubjectReview" = "SelfSubjectReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta diff --git a/k8s/1.31/api/authentication/v1beta1/self_subject_review.k b/k8s/1.31/api/authentication/v1beta1/self_subject_review.k index f6724367..36c94bc4 100644 --- a/k8s/1.31/api/authentication/v1beta1/self_subject_review.k +++ b/k8s/1.31/api/authentication/v1beta1/self_subject_review.k @@ -3,7 +3,7 @@ This is the self_subject_review module in k8s.api.authentication.v1beta1 package This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SelfSubjectReview: @@ -16,7 +16,7 @@ schema SelfSubjectReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SelfSubjectReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -25,6 +25,6 @@ schema SelfSubjectReview: kind: "SelfSubjectReview" = "SelfSubjectReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta diff --git a/k8s/1.31/api/authorization/v1/field_selector_attributes.k b/k8s/1.31/api/authorization/v1/field_selector_attributes.k index c005ae1b..ee06eb54 100644 --- a/k8s/1.31/api/authorization/v1/field_selector_attributes.k +++ b/k8s/1.31/api/authorization/v1/field_selector_attributes.k @@ -3,7 +3,7 @@ This is the field_selector_attributes module in k8s.api.authorization.v1 package This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema FieldSelectorAttributes: @@ -14,13 +14,13 @@ schema FieldSelectorAttributes: ---------- rawSelector : str, default is Undefined, optional 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. - requirements : [v1.FieldSelectorRequirement], default is Undefined, optional + requirements : [metav1.FieldSelectorRequirement], default is Undefined, optional 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. """ rawSelector?: str - requirements?: [v1.FieldSelectorRequirement] + requirements?: [metav1.FieldSelectorRequirement] diff --git a/k8s/1.31/api/authorization/v1/label_selector_attributes.k b/k8s/1.31/api/authorization/v1/label_selector_attributes.k index 21d97f26..73bc750d 100644 --- a/k8s/1.31/api/authorization/v1/label_selector_attributes.k +++ b/k8s/1.31/api/authorization/v1/label_selector_attributes.k @@ -3,7 +3,7 @@ This is the label_selector_attributes module in k8s.api.authorization.v1 package This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LabelSelectorAttributes: @@ -14,13 +14,13 @@ schema LabelSelectorAttributes: ---------- rawSelector : str, default is Undefined, optional 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. - requirements : [v1.LabelSelectorRequirement], default is Undefined, optional + requirements : [metav1.LabelSelectorRequirement], default is Undefined, optional 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. """ rawSelector?: str - requirements?: [v1.LabelSelectorRequirement] + requirements?: [metav1.LabelSelectorRequirement] diff --git a/k8s/1.31/api/authorization/v1/local_subject_access_review.k b/k8s/1.31/api/authorization/v1/local_subject_access_review.k index 0be134c4..767c35f3 100644 --- a/k8s/1.31/api/authorization/v1/local_subject_access_review.k +++ b/k8s/1.31/api/authorization/v1/local_subject_access_review.k @@ -3,7 +3,7 @@ This is the local_subject_access_review module in k8s.api.authorization.v1 packa This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LocalSubjectAccessReview: @@ -16,7 +16,7 @@ schema LocalSubjectAccessReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "LocalSubjectAccessReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : SubjectAccessReviewSpec, default is Undefined, required Spec holds information about the request being evaluated. spec.namespace must be equal to the namespace you made the request against. If empty, it is defaulted. @@ -27,7 +27,7 @@ schema LocalSubjectAccessReview: kind: "LocalSubjectAccessReview" = "LocalSubjectAccessReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SubjectAccessReviewSpec diff --git a/k8s/1.31/api/authorization/v1/self_subject_access_review.k b/k8s/1.31/api/authorization/v1/self_subject_access_review.k index 9e0661ba..6cb3453d 100644 --- a/k8s/1.31/api/authorization/v1/self_subject_access_review.k +++ b/k8s/1.31/api/authorization/v1/self_subject_access_review.k @@ -3,7 +3,7 @@ This is the self_subject_access_review module in k8s.api.authorization.v1 packag This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SelfSubjectAccessReview: @@ -16,7 +16,7 @@ schema SelfSubjectAccessReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SelfSubjectAccessReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : SelfSubjectAccessReviewSpec, default is Undefined, required Spec holds information about the request being evaluated. user and groups must be empty @@ -27,7 +27,7 @@ schema SelfSubjectAccessReview: kind: "SelfSubjectAccessReview" = "SelfSubjectAccessReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SelfSubjectAccessReviewSpec diff --git a/k8s/1.31/api/authorization/v1/self_subject_rules_review.k b/k8s/1.31/api/authorization/v1/self_subject_rules_review.k index 1a42cb18..da213dd0 100644 --- a/k8s/1.31/api/authorization/v1/self_subject_rules_review.k +++ b/k8s/1.31/api/authorization/v1/self_subject_rules_review.k @@ -3,7 +3,7 @@ This is the self_subject_rules_review module in k8s.api.authorization.v1 package This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SelfSubjectRulesReview: @@ -16,7 +16,7 @@ schema SelfSubjectRulesReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SelfSubjectRulesReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : SelfSubjectRulesReviewSpec, default is Undefined, required Spec holds information about the request being evaluated. @@ -27,7 +27,7 @@ schema SelfSubjectRulesReview: kind: "SelfSubjectRulesReview" = "SelfSubjectRulesReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SelfSubjectRulesReviewSpec diff --git a/k8s/1.31/api/authorization/v1/subject_access_review.k b/k8s/1.31/api/authorization/v1/subject_access_review.k index c4c64c3a..a0456e27 100644 --- a/k8s/1.31/api/authorization/v1/subject_access_review.k +++ b/k8s/1.31/api/authorization/v1/subject_access_review.k @@ -3,7 +3,7 @@ This is the subject_access_review module in k8s.api.authorization.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SubjectAccessReview: @@ -16,7 +16,7 @@ schema SubjectAccessReview: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "SubjectAccessReview", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : SubjectAccessReviewSpec, default is Undefined, required Spec holds information about the request being evaluated @@ -27,7 +27,7 @@ schema SubjectAccessReview: kind: "SubjectAccessReview" = "SubjectAccessReview" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: SubjectAccessReviewSpec diff --git a/k8s/1.31/api/autoscaling/v1/horizontal_pod_autoscaler.k b/k8s/1.31/api/autoscaling/v1/horizontal_pod_autoscaler.k index 970f77ca..5e261225 100644 --- a/k8s/1.31/api/autoscaling/v1/horizontal_pod_autoscaler.k +++ b/k8s/1.31/api/autoscaling/v1/horizontal_pod_autoscaler.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler module in k8s.api.autoscaling.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscaler: @@ -16,7 +16,7 @@ schema HorizontalPodAutoscaler: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "HorizontalPodAutoscaler", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : HorizontalPodAutoscalerSpec, default is Undefined, optional spec defines the behaviour of autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema HorizontalPodAutoscaler: kind: "HorizontalPodAutoscaler" = "HorizontalPodAutoscaler" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: HorizontalPodAutoscalerSpec diff --git a/k8s/1.31/api/autoscaling/v1/horizontal_pod_autoscaler_list.k b/k8s/1.31/api/autoscaling/v1/horizontal_pod_autoscaler_list.k index 6b97b647..75e21b1c 100644 --- a/k8s/1.31/api/autoscaling/v1/horizontal_pod_autoscaler_list.k +++ b/k8s/1.31/api/autoscaling/v1/horizontal_pod_autoscaler_list.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler_list module in k8s.api.autoscaling.v1 pack This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscalerList: @@ -18,7 +18,7 @@ schema HorizontalPodAutoscalerList: items is the list of horizontal pod autoscaler objects. kind : str, default is "HorizontalPodAutoscalerList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema HorizontalPodAutoscalerList: kind: "HorizontalPodAutoscalerList" = "HorizontalPodAutoscalerList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.31/api/autoscaling/v1/scale.k b/k8s/1.31/api/autoscaling/v1/scale.k index 616d6b45..425c7cca 100644 --- a/k8s/1.31/api/autoscaling/v1/scale.k +++ b/k8s/1.31/api/autoscaling/v1/scale.k @@ -3,7 +3,7 @@ This is the scale module in k8s.api.autoscaling.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Scale: @@ -16,7 +16,7 @@ schema Scale: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Scale", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. spec : ScaleSpec, default is Undefined, optional spec defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema Scale: kind: "Scale" = "Scale" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ScaleSpec diff --git a/k8s/1.31/api/autoscaling/v2/horizontal_pod_autoscaler.k b/k8s/1.31/api/autoscaling/v2/horizontal_pod_autoscaler.k index a051b13b..f348a873 100644 --- a/k8s/1.31/api/autoscaling/v2/horizontal_pod_autoscaler.k +++ b/k8s/1.31/api/autoscaling/v2/horizontal_pod_autoscaler.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler module in k8s.api.autoscaling.v2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscaler: @@ -16,7 +16,7 @@ schema HorizontalPodAutoscaler: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "HorizontalPodAutoscaler", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : HorizontalPodAutoscalerSpec, default is Undefined, optional spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. @@ -27,7 +27,7 @@ schema HorizontalPodAutoscaler: kind: "HorizontalPodAutoscaler" = "HorizontalPodAutoscaler" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: HorizontalPodAutoscalerSpec diff --git a/k8s/1.31/api/autoscaling/v2/horizontal_pod_autoscaler_list.k b/k8s/1.31/api/autoscaling/v2/horizontal_pod_autoscaler_list.k index f238faeb..4b85e619 100644 --- a/k8s/1.31/api/autoscaling/v2/horizontal_pod_autoscaler_list.k +++ b/k8s/1.31/api/autoscaling/v2/horizontal_pod_autoscaler_list.k @@ -3,7 +3,7 @@ This is the horizontal_pod_autoscaler_list module in k8s.api.autoscaling.v2 pack This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema HorizontalPodAutoscalerList: @@ -18,7 +18,7 @@ schema HorizontalPodAutoscalerList: items is the list of horizontal pod autoscaler objects. kind : str, default is "HorizontalPodAutoscalerList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata is the standard list metadata. """ @@ -29,6 +29,6 @@ schema HorizontalPodAutoscalerList: kind: "HorizontalPodAutoscalerList" = "HorizontalPodAutoscalerList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.31/api/autoscaling/v2/metric_identifier.k b/k8s/1.31/api/autoscaling/v2/metric_identifier.k index ac617457..6ee4f014 100644 --- a/k8s/1.31/api/autoscaling/v2/metric_identifier.k +++ b/k8s/1.31/api/autoscaling/v2/metric_identifier.k @@ -3,7 +3,7 @@ This is the metric_identifier module in k8s.api.autoscaling.v2 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema MetricIdentifier: @@ -14,13 +14,13 @@ schema MetricIdentifier: ---------- name : str, default is Undefined, required name is the name of the given metric - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics. """ name: str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector diff --git a/k8s/1.31/api/batch/v1/cron_job.k b/k8s/1.31/api/batch/v1/cron_job.k index 0b6d87de..c3924d2f 100644 --- a/k8s/1.31/api/batch/v1/cron_job.k +++ b/k8s/1.31/api/batch/v1/cron_job.k @@ -3,7 +3,7 @@ This is the cron_job module in k8s.api.batch.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CronJob: @@ -16,7 +16,7 @@ schema CronJob: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CronJob", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : CronJobSpec, default is Undefined, optional Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema CronJob: kind: "CronJob" = "CronJob" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: CronJobSpec diff --git a/k8s/1.31/api/batch/v1/cron_job_list.k b/k8s/1.31/api/batch/v1/cron_job_list.k index e3b10ca9..7ead9aa4 100644 --- a/k8s/1.31/api/batch/v1/cron_job_list.k +++ b/k8s/1.31/api/batch/v1/cron_job_list.k @@ -3,7 +3,7 @@ This is the cron_job_list module in k8s.api.batch.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CronJobList: @@ -18,7 +18,7 @@ schema CronJobList: items is the list of CronJobs. kind : str, default is "CronJobList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CronJobList: kind: "CronJobList" = "CronJobList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.31/api/batch/v1/job.k b/k8s/1.31/api/batch/v1/job.k index eefb2a8e..673e46f5 100644 --- a/k8s/1.31/api/batch/v1/job.k +++ b/k8s/1.31/api/batch/v1/job.k @@ -3,7 +3,7 @@ This is the job module in k8s.api.batch.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Job: @@ -16,7 +16,7 @@ schema Job: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Job", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : JobSpec, default is Undefined, optional Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Job: kind: "Job" = "Job" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: JobSpec diff --git a/k8s/1.31/api/batch/v1/job_list.k b/k8s/1.31/api/batch/v1/job_list.k index 86f6d66a..3ab91ea3 100644 --- a/k8s/1.31/api/batch/v1/job_list.k +++ b/k8s/1.31/api/batch/v1/job_list.k @@ -3,7 +3,7 @@ This is the job_list module in k8s.api.batch.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema JobList: @@ -18,7 +18,7 @@ schema JobList: items is the list of Jobs. kind : str, default is "JobList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema JobList: kind: "JobList" = "JobList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.31/api/batch/v1/job_spec.k b/k8s/1.31/api/batch/v1/job_spec.k index 9bdaff4e..5a70725d 100644 --- a/k8s/1.31/api/batch/v1/job_spec.k +++ b/k8s/1.31/api/batch/v1/job_spec.k @@ -4,7 +4,7 @@ This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ import api.core.v1 as corev1 -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema JobSpec: @@ -48,7 +48,7 @@ schema JobSpec: Failed or Succeeded) before creating a replacement Pod. When using podFailurePolicy, Failed is the the only allowed value. TerminatingOrFailed and Failed are allowed values when podFailurePolicy is not in use. This is an beta field. To use this, enable the JobPodReplacementPolicy feature toggle. This is on by default. - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional A label query over pods that should match the pod count. Normally, the system sets this field for you. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors successPolicy : SuccessPolicy, default is Undefined, optional successPolicy specifies the policy when the Job can be declared as succeeded. If empty, the default behavior applies - the Job is declared as succeeded only when the number of succeeded pods equals to the completions. When the field is specified, it must be immutable and works only for the Indexed Jobs. Once the Job meets the SuccessPolicy, the lingering pods are terminated. @@ -85,7 +85,7 @@ schema JobSpec: podReplacementPolicy?: str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector successPolicy?: SuccessPolicy diff --git a/k8s/1.31/api/batch/v1/job_template_spec.k b/k8s/1.31/api/batch/v1/job_template_spec.k index 07707a7e..3aa2fa2c 100644 --- a/k8s/1.31/api/batch/v1/job_template_spec.k +++ b/k8s/1.31/api/batch/v1/job_template_spec.k @@ -3,7 +3,7 @@ This is the job_template_spec module in k8s.api.batch.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema JobTemplateSpec: @@ -12,14 +12,14 @@ schema JobTemplateSpec: Attributes ---------- - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : JobSpec, default is Undefined, optional Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status """ - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: JobSpec diff --git a/k8s/1.31/api/certificates/v1/certificate_signing_request.k b/k8s/1.31/api/certificates/v1/certificate_signing_request.k index 1dc68c18..681ede8d 100644 --- a/k8s/1.31/api/certificates/v1/certificate_signing_request.k +++ b/k8s/1.31/api/certificates/v1/certificate_signing_request.k @@ -3,7 +3,7 @@ This is the certificate_signing_request module in k8s.api.certificates.v1 packag This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CertificateSigningRequest: @@ -22,7 +22,7 @@ schema CertificateSigningRequest: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CertificateSigningRequest", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata spec : CertificateSigningRequestSpec, default is Undefined, required spec contains the certificate request, and is immutable after creation. Only the request, signerName, expirationSeconds, and usages fields can be set on creation. Other fields are derived by Kubernetes and cannot be modified by users. @@ -33,7 +33,7 @@ schema CertificateSigningRequest: kind: "CertificateSigningRequest" = "CertificateSigningRequest" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CertificateSigningRequestSpec diff --git a/k8s/1.31/api/certificates/v1/certificate_signing_request_list.k b/k8s/1.31/api/certificates/v1/certificate_signing_request_list.k index d9514cff..5019999f 100644 --- a/k8s/1.31/api/certificates/v1/certificate_signing_request_list.k +++ b/k8s/1.31/api/certificates/v1/certificate_signing_request_list.k @@ -3,7 +3,7 @@ This is the certificate_signing_request_list module in k8s.api.certificates.v1 p This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CertificateSigningRequestList: @@ -18,7 +18,7 @@ schema CertificateSigningRequestList: items is a collection of CertificateSigningRequest objects kind : str, default is "CertificateSigningRequestList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata """ @@ -29,6 +29,6 @@ schema CertificateSigningRequestList: kind: "CertificateSigningRequestList" = "CertificateSigningRequestList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.31/api/certificates/v1alpha1/cluster_trust_bundle.k b/k8s/1.31/api/certificates/v1alpha1/cluster_trust_bundle.k index 3a90bcbd..33f817aa 100644 --- a/k8s/1.31/api/certificates/v1alpha1/cluster_trust_bundle.k +++ b/k8s/1.31/api/certificates/v1alpha1/cluster_trust_bundle.k @@ -3,7 +3,7 @@ This is the cluster_trust_bundle module in k8s.api.certificates.v1alpha1 package This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterTrustBundle: @@ -20,7 +20,7 @@ schema ClusterTrustBundle: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ClusterTrustBundle", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional metadata contains the object metadata. spec : ClusterTrustBundleSpec, default is Undefined, required spec contains the signer (if any) and trust anchors. @@ -31,7 +31,7 @@ schema ClusterTrustBundle: kind: "ClusterTrustBundle" = "ClusterTrustBundle" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: ClusterTrustBundleSpec diff --git a/k8s/1.31/api/certificates/v1alpha1/cluster_trust_bundle_list.k b/k8s/1.31/api/certificates/v1alpha1/cluster_trust_bundle_list.k index 8bfc88bc..78a2153b 100644 --- a/k8s/1.31/api/certificates/v1alpha1/cluster_trust_bundle_list.k +++ b/k8s/1.31/api/certificates/v1alpha1/cluster_trust_bundle_list.k @@ -3,7 +3,7 @@ This is the cluster_trust_bundle_list module in k8s.api.certificates.v1alpha1 pa This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterTrustBundleList: @@ -18,7 +18,7 @@ schema ClusterTrustBundleList: items is a collection of ClusterTrustBundle objects kind : str, default is "ClusterTrustBundleList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional metadata contains the list metadata. """ @@ -29,6 +29,6 @@ schema ClusterTrustBundleList: kind: "ClusterTrustBundleList" = "ClusterTrustBundleList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.31/api/coordination/v1/lease.k b/k8s/1.31/api/coordination/v1/lease.k index 57771cec..96785fde 100644 --- a/k8s/1.31/api/coordination/v1/lease.k +++ b/k8s/1.31/api/coordination/v1/lease.k @@ -3,7 +3,7 @@ This is the lease module in k8s.api.coordination.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Lease: @@ -16,7 +16,7 @@ schema Lease: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Lease", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : LeaseSpec, default is Undefined, optional spec contains the specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Lease: kind: "Lease" = "Lease" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: LeaseSpec diff --git a/k8s/1.31/api/coordination/v1/lease_list.k b/k8s/1.31/api/coordination/v1/lease_list.k index 44fd5cda..e14c61fa 100644 --- a/k8s/1.31/api/coordination/v1/lease_list.k +++ b/k8s/1.31/api/coordination/v1/lease_list.k @@ -3,7 +3,7 @@ This is the lease_list module in k8s.api.coordination.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LeaseList: @@ -18,7 +18,7 @@ schema LeaseList: items is a list of schema objects. kind : str, default is "LeaseList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema LeaseList: kind: "LeaseList" = "LeaseList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.31/api/coordination/v1alpha1/lease_candidate.k b/k8s/1.31/api/coordination/v1alpha1/lease_candidate.k index 8bfd73f4..5bb6f086 100644 --- a/k8s/1.31/api/coordination/v1alpha1/lease_candidate.k +++ b/k8s/1.31/api/coordination/v1alpha1/lease_candidate.k @@ -3,7 +3,7 @@ This is the lease_candidate module in k8s.api.coordination.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LeaseCandidate: @@ -16,7 +16,7 @@ schema LeaseCandidate: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "LeaseCandidate", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : LeaseCandidateSpec, default is Undefined, optional spec contains the specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema LeaseCandidate: kind: "LeaseCandidate" = "LeaseCandidate" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: LeaseCandidateSpec diff --git a/k8s/1.31/api/coordination/v1alpha1/lease_candidate_list.k b/k8s/1.31/api/coordination/v1alpha1/lease_candidate_list.k index 6c6594f6..a566a328 100644 --- a/k8s/1.31/api/coordination/v1alpha1/lease_candidate_list.k +++ b/k8s/1.31/api/coordination/v1alpha1/lease_candidate_list.k @@ -3,7 +3,7 @@ This is the lease_candidate_list module in k8s.api.coordination.v1alpha1 package This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LeaseCandidateList: @@ -18,7 +18,7 @@ schema LeaseCandidateList: items is a list of schema objects. kind : str, default is "LeaseCandidateList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema LeaseCandidateList: kind: "LeaseCandidateList" = "LeaseCandidateList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.31/api/core/v1/binding.k b/k8s/1.31/api/core/v1/binding.k index 4c701517..81d3d642 100644 --- a/k8s/1.31/api/core/v1/binding.k +++ b/k8s/1.31/api/core/v1/binding.k @@ -3,7 +3,7 @@ This is the binding module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Binding: @@ -16,7 +16,7 @@ schema Binding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Binding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata target : ObjectReference, default is Undefined, required The target object that you want to bind to the standard object. @@ -27,7 +27,7 @@ schema Binding: kind: "Binding" = "Binding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta target: ObjectReference diff --git a/k8s/1.31/api/core/v1/cluster_trust_bundle_projection.k b/k8s/1.31/api/core/v1/cluster_trust_bundle_projection.k index 170fe4cd..5838dc01 100644 --- a/k8s/1.31/api/core/v1/cluster_trust_bundle_projection.k +++ b/k8s/1.31/api/core/v1/cluster_trust_bundle_projection.k @@ -3,7 +3,7 @@ This is the cluster_trust_bundle_projection module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterTrustBundleProjection: @@ -12,7 +12,7 @@ schema ClusterTrustBundleProjection: Attributes ---------- - labelSelector : v1.LabelSelector, default is Undefined, optional + labelSelector : metav1.LabelSelector, default is Undefined, optional Select all ClusterTrustBundles that match this label selector. Only has effect if signerName is set. Mutually-exclusive with name. If unset, interpreted as "match nothing". If set but empty, interpreted as "match everything". name : str, default is Undefined, optional Select a single ClusterTrustBundle by object name. Mutually-exclusive with signerName and labelSelector. @@ -25,7 +25,7 @@ schema ClusterTrustBundleProjection: """ - labelSelector?: v1.LabelSelector + labelSelector?: metav1.LabelSelector name?: str diff --git a/k8s/1.31/api/core/v1/component_status.k b/k8s/1.31/api/core/v1/component_status.k index 82de7ef6..0e4f7bfe 100644 --- a/k8s/1.31/api/core/v1/component_status.k +++ b/k8s/1.31/api/core/v1/component_status.k @@ -3,7 +3,7 @@ This is the component_status module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ComponentStatus: @@ -18,7 +18,7 @@ schema ComponentStatus: List of component conditions observed kind : str, default is "ComponentStatus", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema ComponentStatus: kind: "ComponentStatus" = "ComponentStatus" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta diff --git a/k8s/1.31/api/core/v1/component_status_list.k b/k8s/1.31/api/core/v1/component_status_list.k index e33fb8f4..fc41ab97 100644 --- a/k8s/1.31/api/core/v1/component_status_list.k +++ b/k8s/1.31/api/core/v1/component_status_list.k @@ -3,7 +3,7 @@ This is the component_status_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ComponentStatusList: @@ -18,7 +18,7 @@ schema ComponentStatusList: List of ComponentStatus objects. kind : str, default is "ComponentStatusList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ComponentStatusList: kind: "ComponentStatusList" = "ComponentStatusList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.31/api/core/v1/config_map.k b/k8s/1.31/api/core/v1/config_map.k index e24892c1..65e160eb 100644 --- a/k8s/1.31/api/core/v1/config_map.k +++ b/k8s/1.31/api/core/v1/config_map.k @@ -3,7 +3,7 @@ This is the config_map module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ConfigMap: @@ -22,7 +22,7 @@ schema ConfigMap: Immutable, if set to true, ensures that data stored in the ConfigMap cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil. kind : str, default is "ConfigMap", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -37,6 +37,6 @@ schema ConfigMap: kind: "ConfigMap" = "ConfigMap" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta diff --git a/k8s/1.31/api/core/v1/config_map_list.k b/k8s/1.31/api/core/v1/config_map_list.k index 25ba10b7..c5d73b0c 100644 --- a/k8s/1.31/api/core/v1/config_map_list.k +++ b/k8s/1.31/api/core/v1/config_map_list.k @@ -3,7 +3,7 @@ This is the config_map_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ConfigMapList: @@ -18,7 +18,7 @@ schema ConfigMapList: Items is the list of ConfigMaps. kind : str, default is "ConfigMapList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema ConfigMapList: kind: "ConfigMapList" = "ConfigMapList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.31/api/core/v1/endpoints.k b/k8s/1.31/api/core/v1/endpoints.k index e22795ef..077f7b64 100644 --- a/k8s/1.31/api/core/v1/endpoints.k +++ b/k8s/1.31/api/core/v1/endpoints.k @@ -3,7 +3,7 @@ This is the endpoints module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Endpoints: @@ -28,7 +28,7 @@ schema Endpoints: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Endpoints", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata subsets : [EndpointSubset], default is Undefined, optional The set of all endpoints is the union of all subsets. Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service. @@ -39,7 +39,7 @@ schema Endpoints: kind: "Endpoints" = "Endpoints" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta subsets?: [EndpointSubset] diff --git a/k8s/1.31/api/core/v1/endpoints_list.k b/k8s/1.31/api/core/v1/endpoints_list.k index 335e5df5..ac582b40 100644 --- a/k8s/1.31/api/core/v1/endpoints_list.k +++ b/k8s/1.31/api/core/v1/endpoints_list.k @@ -3,7 +3,7 @@ This is the endpoints_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EndpointsList: @@ -18,7 +18,7 @@ schema EndpointsList: List of endpoints. kind : str, default is "EndpointsList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema EndpointsList: kind: "EndpointsList" = "EndpointsList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.31/api/core/v1/event.k b/k8s/1.31/api/core/v1/event.k index ea577be0..47437705 100644 --- a/k8s/1.31/api/core/v1/event.k +++ b/k8s/1.31/api/core/v1/event.k @@ -3,7 +3,7 @@ This is the event module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Event: @@ -30,7 +30,7 @@ schema Event: The time at which the most recent occurrence of this event was recorded. message : str, default is Undefined, optional A human-readable description of the status of this operation. - metadata : v1.ObjectMeta, default is Undefined, required + metadata : metav1.ObjectMeta, default is Undefined, required Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata reason : str, default is Undefined, optional This should be a short, machine understandable string that gives the reason for the transition into the object's current status. @@ -67,7 +67,7 @@ schema Event: message?: str - metadata: v1.ObjectMeta + metadata: metav1.ObjectMeta reason?: str diff --git a/k8s/1.31/api/core/v1/event_list.k b/k8s/1.31/api/core/v1/event_list.k index 6d35fbae..b2089d05 100644 --- a/k8s/1.31/api/core/v1/event_list.k +++ b/k8s/1.31/api/core/v1/event_list.k @@ -3,7 +3,7 @@ This is the event_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EventList: @@ -18,7 +18,7 @@ schema EventList: List of events kind : str, default is "EventList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema EventList: kind: "EventList" = "EventList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.31/api/core/v1/limit_range.k b/k8s/1.31/api/core/v1/limit_range.k index f9988761..5949361d 100644 --- a/k8s/1.31/api/core/v1/limit_range.k +++ b/k8s/1.31/api/core/v1/limit_range.k @@ -3,7 +3,7 @@ This is the limit_range module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LimitRange: @@ -16,7 +16,7 @@ schema LimitRange: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "LimitRange", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : LimitRangeSpec, default is Undefined, optional Spec defines the limits enforced. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema LimitRange: kind: "LimitRange" = "LimitRange" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: LimitRangeSpec diff --git a/k8s/1.31/api/core/v1/limit_range_list.k b/k8s/1.31/api/core/v1/limit_range_list.k index fd482d54..d09b642a 100644 --- a/k8s/1.31/api/core/v1/limit_range_list.k +++ b/k8s/1.31/api/core/v1/limit_range_list.k @@ -3,7 +3,7 @@ This is the limit_range_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema LimitRangeList: @@ -18,7 +18,7 @@ schema LimitRangeList: Items is a list of LimitRange objects. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ kind : str, default is "LimitRangeList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema LimitRangeList: kind: "LimitRangeList" = "LimitRangeList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.31/api/core/v1/namespace.k b/k8s/1.31/api/core/v1/namespace.k index 8b52c6b4..1ca2e4d6 100644 --- a/k8s/1.31/api/core/v1/namespace.k +++ b/k8s/1.31/api/core/v1/namespace.k @@ -3,7 +3,7 @@ This is the namespace module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Namespace: @@ -16,7 +16,7 @@ schema Namespace: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Namespace", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : NamespaceSpec, default is Undefined, optional Spec defines the behavior of the Namespace. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Namespace: kind: "Namespace" = "Namespace" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: NamespaceSpec diff --git a/k8s/1.31/api/core/v1/namespace_list.k b/k8s/1.31/api/core/v1/namespace_list.k index 0f780627..e918d37d 100644 --- a/k8s/1.31/api/core/v1/namespace_list.k +++ b/k8s/1.31/api/core/v1/namespace_list.k @@ -3,7 +3,7 @@ This is the namespace_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NamespaceList: @@ -18,7 +18,7 @@ schema NamespaceList: Items is the list of Namespace objects in the list. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ kind : str, default is "NamespaceList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema NamespaceList: kind: "NamespaceList" = "NamespaceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.31/api/core/v1/node.k b/k8s/1.31/api/core/v1/node.k index c4174b59..155f87bc 100644 --- a/k8s/1.31/api/core/v1/node.k +++ b/k8s/1.31/api/core/v1/node.k @@ -3,7 +3,7 @@ This is the node module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Node: @@ -16,7 +16,7 @@ schema Node: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Node", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : NodeSpec, default is Undefined, optional Spec defines the behavior of a node. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Node: kind: "Node" = "Node" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: NodeSpec diff --git a/k8s/1.31/api/core/v1/node_list.k b/k8s/1.31/api/core/v1/node_list.k index 16ded3b2..d48295fe 100644 --- a/k8s/1.31/api/core/v1/node_list.k +++ b/k8s/1.31/api/core/v1/node_list.k @@ -3,7 +3,7 @@ This is the node_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NodeList: @@ -18,7 +18,7 @@ schema NodeList: List of nodes kind : str, default is "NodeList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema NodeList: kind: "NodeList" = "NodeList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.31/api/core/v1/persistent_volume.k b/k8s/1.31/api/core/v1/persistent_volume.k index 314c3607..865bdb4f 100644 --- a/k8s/1.31/api/core/v1/persistent_volume.k +++ b/k8s/1.31/api/core/v1/persistent_volume.k @@ -3,7 +3,7 @@ This is the persistent_volume module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolume: @@ -16,7 +16,7 @@ schema PersistentVolume: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PersistentVolume", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PersistentVolumeSpec, default is Undefined, optional spec defines a specification of a persistent volume owned by the cluster. Provisioned by an administrator. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes @@ -27,7 +27,7 @@ schema PersistentVolume: kind: "PersistentVolume" = "PersistentVolume" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PersistentVolumeSpec diff --git a/k8s/1.31/api/core/v1/persistent_volume_claim.k b/k8s/1.31/api/core/v1/persistent_volume_claim.k index ecbabbb6..77f19b9a 100644 --- a/k8s/1.31/api/core/v1/persistent_volume_claim.k +++ b/k8s/1.31/api/core/v1/persistent_volume_claim.k @@ -3,7 +3,7 @@ This is the persistent_volume_claim module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeClaim: @@ -16,7 +16,7 @@ schema PersistentVolumeClaim: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PersistentVolumeClaim", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PersistentVolumeClaimSpec, default is Undefined, optional spec defines the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims @@ -27,7 +27,7 @@ schema PersistentVolumeClaim: kind: "PersistentVolumeClaim" = "PersistentVolumeClaim" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PersistentVolumeClaimSpec diff --git a/k8s/1.31/api/core/v1/persistent_volume_claim_list.k b/k8s/1.31/api/core/v1/persistent_volume_claim_list.k index 1f5e29d0..bd220c95 100644 --- a/k8s/1.31/api/core/v1/persistent_volume_claim_list.k +++ b/k8s/1.31/api/core/v1/persistent_volume_claim_list.k @@ -3,7 +3,7 @@ This is the persistent_volume_claim_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeClaimList: @@ -18,7 +18,7 @@ schema PersistentVolumeClaimList: items is a list of persistent volume claims. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims kind : str, default is "PersistentVolumeClaimList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema PersistentVolumeClaimList: kind: "PersistentVolumeClaimList" = "PersistentVolumeClaimList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.31/api/core/v1/persistent_volume_claim_spec.k b/k8s/1.31/api/core/v1/persistent_volume_claim_spec.k index e0e0c6b3..bf3dfbac 100644 --- a/k8s/1.31/api/core/v1/persistent_volume_claim_spec.k +++ b/k8s/1.31/api/core/v1/persistent_volume_claim_spec.k @@ -3,7 +3,7 @@ This is the persistent_volume_claim_spec module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeClaimSpec: @@ -27,7 +27,7 @@ schema PersistentVolumeClaimSpec: (Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled. (Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled. resources : VolumeResourceRequirements, default is Undefined, optional resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional selector is a label query over volumes to consider for binding. storageClassName : str, default is Undefined, optional storageClassName is the name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1 @@ -48,7 +48,7 @@ schema PersistentVolumeClaimSpec: resources?: VolumeResourceRequirements - selector?: v1.LabelSelector + selector?: metav1.LabelSelector storageClassName?: str diff --git a/k8s/1.31/api/core/v1/persistent_volume_claim_template.k b/k8s/1.31/api/core/v1/persistent_volume_claim_template.k index eeff3b32..6b7220c3 100644 --- a/k8s/1.31/api/core/v1/persistent_volume_claim_template.k +++ b/k8s/1.31/api/core/v1/persistent_volume_claim_template.k @@ -3,7 +3,7 @@ This is the persistent_volume_claim_template module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeClaimTemplate: @@ -12,14 +12,14 @@ schema PersistentVolumeClaimTemplate: Attributes ---------- - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. spec : PersistentVolumeClaimSpec, default is Undefined, required The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here. """ - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: PersistentVolumeClaimSpec diff --git a/k8s/1.31/api/core/v1/persistent_volume_list.k b/k8s/1.31/api/core/v1/persistent_volume_list.k index 752d0f3b..214425b0 100644 --- a/k8s/1.31/api/core/v1/persistent_volume_list.k +++ b/k8s/1.31/api/core/v1/persistent_volume_list.k @@ -3,7 +3,7 @@ This is the persistent_volume_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PersistentVolumeList: @@ -18,7 +18,7 @@ schema PersistentVolumeList: items is a list of persistent volumes. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes kind : str, default is "PersistentVolumeList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema PersistentVolumeList: kind: "PersistentVolumeList" = "PersistentVolumeList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.31/api/core/v1/pod.k b/k8s/1.31/api/core/v1/pod.k index 8b1bff50..911c8d9e 100644 --- a/k8s/1.31/api/core/v1/pod.k +++ b/k8s/1.31/api/core/v1/pod.k @@ -3,7 +3,7 @@ This is the pod module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Pod: @@ -16,7 +16,7 @@ schema Pod: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Pod", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PodSpec, default is Undefined, optional Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Pod: kind: "Pod" = "Pod" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PodSpec diff --git a/k8s/1.31/api/core/v1/pod_affinity_term.k b/k8s/1.31/api/core/v1/pod_affinity_term.k index 10c6adb3..3b3bc5c4 100644 --- a/k8s/1.31/api/core/v1/pod_affinity_term.k +++ b/k8s/1.31/api/core/v1/pod_affinity_term.k @@ -3,7 +3,7 @@ This is the pod_affinity_term module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodAffinityTerm: @@ -12,13 +12,13 @@ schema PodAffinityTerm: Attributes ---------- - labelSelector : v1.LabelSelector, default is Undefined, optional + labelSelector : metav1.LabelSelector, default is Undefined, optional A label query over a set of resources, in this case pods. If it's null, this PodAffinityTerm matches with no Pods. matchLabelKeys : [str], default is Undefined, optional MatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both matchLabelKeys and labelSelector. Also, matchLabelKeys cannot be set when labelSelector isn't set. This is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default). mismatchLabelKeys : [str], default is Undefined, optional MismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. Also, mismatchLabelKeys cannot be set when labelSelector isn't set. This is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default). - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces. namespaces : [str], default is Undefined, optional namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means "this pod's namespace". @@ -27,13 +27,13 @@ schema PodAffinityTerm: """ - labelSelector?: v1.LabelSelector + labelSelector?: metav1.LabelSelector matchLabelKeys?: [str] mismatchLabelKeys?: [str] - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector namespaces?: [str] diff --git a/k8s/1.31/api/core/v1/pod_list.k b/k8s/1.31/api/core/v1/pod_list.k index b01f75f6..1c7039c1 100644 --- a/k8s/1.31/api/core/v1/pod_list.k +++ b/k8s/1.31/api/core/v1/pod_list.k @@ -3,7 +3,7 @@ This is the pod_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodList: @@ -18,7 +18,7 @@ schema PodList: List of pods. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md kind : str, default is "PodList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema PodList: kind: "PodList" = "PodList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.31/api/core/v1/pod_template.k b/k8s/1.31/api/core/v1/pod_template.k index efbe29e4..b26bc67e 100644 --- a/k8s/1.31/api/core/v1/pod_template.k +++ b/k8s/1.31/api/core/v1/pod_template.k @@ -3,7 +3,7 @@ This is the pod_template module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodTemplate: @@ -16,7 +16,7 @@ schema PodTemplate: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PodTemplate", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata template : PodTemplateSpec, default is Undefined, optional Template defines the pods that will be created from this pod template. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema PodTemplate: kind: "PodTemplate" = "PodTemplate" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta template?: PodTemplateSpec diff --git a/k8s/1.31/api/core/v1/pod_template_list.k b/k8s/1.31/api/core/v1/pod_template_list.k index 5424a83a..e19b96fe 100644 --- a/k8s/1.31/api/core/v1/pod_template_list.k +++ b/k8s/1.31/api/core/v1/pod_template_list.k @@ -3,7 +3,7 @@ This is the pod_template_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodTemplateList: @@ -18,7 +18,7 @@ schema PodTemplateList: List of pod templates kind : str, default is "PodTemplateList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema PodTemplateList: kind: "PodTemplateList" = "PodTemplateList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.31/api/core/v1/pod_template_spec.k b/k8s/1.31/api/core/v1/pod_template_spec.k index 1be0f9ba..ff804965 100644 --- a/k8s/1.31/api/core/v1/pod_template_spec.k +++ b/k8s/1.31/api/core/v1/pod_template_spec.k @@ -3,7 +3,7 @@ This is the pod_template_spec module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodTemplateSpec: @@ -12,14 +12,14 @@ schema PodTemplateSpec: Attributes ---------- - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PodSpec, default is Undefined, optional Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status """ - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PodSpec diff --git a/k8s/1.31/api/core/v1/replication_controller.k b/k8s/1.31/api/core/v1/replication_controller.k index de1411dd..f2202070 100644 --- a/k8s/1.31/api/core/v1/replication_controller.k +++ b/k8s/1.31/api/core/v1/replication_controller.k @@ -3,7 +3,7 @@ This is the replication_controller module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicationController: @@ -16,7 +16,7 @@ schema ReplicationController: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ReplicationController", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional If the Labels of a ReplicationController are empty, they are defaulted to be the same as the Pod(s) that the replication controller manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : ReplicationControllerSpec, default is Undefined, optional Spec defines the specification of the desired behavior of the replication controller. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema ReplicationController: kind: "ReplicationController" = "ReplicationController" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ReplicationControllerSpec diff --git a/k8s/1.31/api/core/v1/replication_controller_list.k b/k8s/1.31/api/core/v1/replication_controller_list.k index 097a5733..61cf2b7e 100644 --- a/k8s/1.31/api/core/v1/replication_controller_list.k +++ b/k8s/1.31/api/core/v1/replication_controller_list.k @@ -3,7 +3,7 @@ This is the replication_controller_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ReplicationControllerList: @@ -18,7 +18,7 @@ schema ReplicationControllerList: List of replication controllers. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller kind : str, default is "ReplicationControllerList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ReplicationControllerList: kind: "ReplicationControllerList" = "ReplicationControllerList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.31/api/core/v1/resource_quota.k b/k8s/1.31/api/core/v1/resource_quota.k index 7705dc10..cda27ebb 100644 --- a/k8s/1.31/api/core/v1/resource_quota.k +++ b/k8s/1.31/api/core/v1/resource_quota.k @@ -3,7 +3,7 @@ This is the resource_quota module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceQuota: @@ -16,7 +16,7 @@ schema ResourceQuota: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ResourceQuota", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : ResourceQuotaSpec, default is Undefined, optional Spec defines the desired quota. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema ResourceQuota: kind: "ResourceQuota" = "ResourceQuota" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ResourceQuotaSpec diff --git a/k8s/1.31/api/core/v1/resource_quota_list.k b/k8s/1.31/api/core/v1/resource_quota_list.k index 21987422..ef36696b 100644 --- a/k8s/1.31/api/core/v1/resource_quota_list.k +++ b/k8s/1.31/api/core/v1/resource_quota_list.k @@ -3,7 +3,7 @@ This is the resource_quota_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceQuotaList: @@ -18,7 +18,7 @@ schema ResourceQuotaList: Items is a list of ResourceQuota objects. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/ kind : str, default is "ResourceQuotaList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ResourceQuotaList: kind: "ResourceQuotaList" = "ResourceQuotaList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.31/api/core/v1/secret.k b/k8s/1.31/api/core/v1/secret.k index cf4f2d55..5a7e0ca4 100644 --- a/k8s/1.31/api/core/v1/secret.k +++ b/k8s/1.31/api/core/v1/secret.k @@ -3,7 +3,7 @@ This is the secret module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Secret: @@ -20,7 +20,7 @@ schema Secret: Immutable, if set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil. kind : str, default is "Secret", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata stringData : {str:str}, default is Undefined, optional stringData allows specifying non-binary secret data in string form. It is provided as a write-only input field for convenience. All keys and values are merged into the data field on write, overwriting any existing values. The stringData field is never output when reading from the API. @@ -37,7 +37,7 @@ schema Secret: kind: "Secret" = "Secret" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta stringData?: {str:str} diff --git a/k8s/1.31/api/core/v1/secret_list.k b/k8s/1.31/api/core/v1/secret_list.k index 2b4c4c64..ce0e67b4 100644 --- a/k8s/1.31/api/core/v1/secret_list.k +++ b/k8s/1.31/api/core/v1/secret_list.k @@ -3,7 +3,7 @@ This is the secret_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema SecretList: @@ -18,7 +18,7 @@ schema SecretList: Items is a list of secret objects. More info: https://kubernetes.io/docs/concepts/configuration/secret kind : str, default is "SecretList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema SecretList: kind: "SecretList" = "SecretList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.31/api/core/v1/service.k b/k8s/1.31/api/core/v1/service.k index 9c7212e8..d49137e5 100644 --- a/k8s/1.31/api/core/v1/service.k +++ b/k8s/1.31/api/core/v1/service.k @@ -3,7 +3,7 @@ This is the service module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Service: @@ -16,7 +16,7 @@ schema Service: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Service", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : ServiceSpec, default is Undefined, optional Spec defines the behavior of a service. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Service: kind: "Service" = "Service" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ServiceSpec diff --git a/k8s/1.31/api/core/v1/service_account.k b/k8s/1.31/api/core/v1/service_account.k index 4745fc5a..f050bbff 100644 --- a/k8s/1.31/api/core/v1/service_account.k +++ b/k8s/1.31/api/core/v1/service_account.k @@ -3,7 +3,7 @@ This is the service_account module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ServiceAccount: @@ -20,7 +20,7 @@ schema ServiceAccount: ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod kind : str, default is "ServiceAccount", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata secrets : [ObjectReference], default is Undefined, optional Secrets is a list of the secrets in the same namespace that pods running using this ServiceAccount are allowed to use. Pods are only limited to this list if this service account has a "kubernetes.io/enforce-mountable-secrets" annotation set to "true". This field should not be used to find auto-generated service account token secrets for use outside of pods. Instead, tokens can be requested directly using the TokenRequest API, or service account token secrets can be manually created. More info: https://kubernetes.io/docs/concepts/configuration/secret @@ -35,7 +35,7 @@ schema ServiceAccount: kind: "ServiceAccount" = "ServiceAccount" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta secrets?: [ObjectReference] diff --git a/k8s/1.31/api/core/v1/service_account_list.k b/k8s/1.31/api/core/v1/service_account_list.k index 33989b27..14f7acf2 100644 --- a/k8s/1.31/api/core/v1/service_account_list.k +++ b/k8s/1.31/api/core/v1/service_account_list.k @@ -3,7 +3,7 @@ This is the service_account_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ServiceAccountList: @@ -18,7 +18,7 @@ schema ServiceAccountList: List of ServiceAccounts. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ kind : str, default is "ServiceAccountList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ServiceAccountList: kind: "ServiceAccountList" = "ServiceAccountList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.31/api/core/v1/service_list.k b/k8s/1.31/api/core/v1/service_list.k index bf8a3331..fe1be0de 100644 --- a/k8s/1.31/api/core/v1/service_list.k +++ b/k8s/1.31/api/core/v1/service_list.k @@ -3,7 +3,7 @@ This is the service_list module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ServiceList: @@ -18,7 +18,7 @@ schema ServiceList: List of services kind : str, default is "ServiceList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds """ @@ -29,6 +29,6 @@ schema ServiceList: kind: "ServiceList" = "ServiceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.31/api/core/v1/service_status.k b/k8s/1.31/api/core/v1/service_status.k index ec2bcc76..708353d9 100644 --- a/k8s/1.31/api/core/v1/service_status.k +++ b/k8s/1.31/api/core/v1/service_status.k @@ -3,7 +3,7 @@ This is the service_status module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ServiceStatus: @@ -12,14 +12,14 @@ schema ServiceStatus: Attributes ---------- - conditions : [v1.Condition], default is Undefined, optional + conditions : [metav1.Condition], default is Undefined, optional Current service state loadBalancer : LoadBalancerStatus, default is Undefined, optional LoadBalancer contains the current status of the load-balancer, if one is present. """ - conditions?: [v1.Condition] + conditions?: [metav1.Condition] loadBalancer?: LoadBalancerStatus diff --git a/k8s/1.31/api/core/v1/topology_spread_constraint.k b/k8s/1.31/api/core/v1/topology_spread_constraint.k index 5604fa46..acbf2ae5 100644 --- a/k8s/1.31/api/core/v1/topology_spread_constraint.k +++ b/k8s/1.31/api/core/v1/topology_spread_constraint.k @@ -3,7 +3,7 @@ This is the topology_spread_constraint module in k8s.api.core.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema TopologySpreadConstraint: @@ -12,7 +12,7 @@ schema TopologySpreadConstraint: Attributes ---------- - labelSelector : v1.LabelSelector, default is Undefined, optional + labelSelector : metav1.LabelSelector, default is Undefined, optional LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain. matchLabelKeys : [str], default is Undefined, optional MatchLabelKeys is a set of pod label keys to select the pods over which spreading will be calculated. The keys are used to lookup values from the incoming pod labels, those key-value labels are ANDed with labelSelector to select the group of existing pods over which spreading will be calculated for the incoming pod. The same key is forbidden to exist in both MatchLabelKeys and LabelSelector. MatchLabelKeys cannot be set when LabelSelector isn't set. Keys that don't exist in the incoming pod labels will be ignored. A null or empty list means only match against labelSelector. @@ -42,7 +42,7 @@ schema TopologySpreadConstraint: """ - labelSelector?: v1.LabelSelector + labelSelector?: metav1.LabelSelector matchLabelKeys?: [str] diff --git a/k8s/1.31/api/discovery/v1/endpoint_slice.k b/k8s/1.31/api/discovery/v1/endpoint_slice.k index 2876795b..4ce2333d 100644 --- a/k8s/1.31/api/discovery/v1/endpoint_slice.k +++ b/k8s/1.31/api/discovery/v1/endpoint_slice.k @@ -3,7 +3,7 @@ This is the endpoint_slice module in k8s.api.discovery.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EndpointSlice: @@ -20,7 +20,7 @@ schema EndpointSlice: endpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints. kind : str, default is "EndpointSlice", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. ports : [EndpointPort], default is Undefined, optional ports specifies the list of network ports exposed by each endpoint in this slice. Each port must have a unique name. When ports is empty, it indicates that there are no defined ports. When a port is defined with a nil port value, it indicates "all ports". Each slice may include a maximum of 100 ports. @@ -35,7 +35,7 @@ schema EndpointSlice: kind: "EndpointSlice" = "EndpointSlice" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta ports?: [EndpointPort] diff --git a/k8s/1.31/api/discovery/v1/endpoint_slice_list.k b/k8s/1.31/api/discovery/v1/endpoint_slice_list.k index e1aa88ce..01083bf1 100644 --- a/k8s/1.31/api/discovery/v1/endpoint_slice_list.k +++ b/k8s/1.31/api/discovery/v1/endpoint_slice_list.k @@ -3,7 +3,7 @@ This is the endpoint_slice_list module in k8s.api.discovery.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EndpointSliceList: @@ -18,7 +18,7 @@ schema EndpointSliceList: items is the list of endpoint slices kind : str, default is "EndpointSliceList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema EndpointSliceList: kind: "EndpointSliceList" = "EndpointSliceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.31/api/events/v1/event_list.k b/k8s/1.31/api/events/v1/event_list.k index 8ea757b7..46e65a2c 100644 --- a/k8s/1.31/api/events/v1/event_list.k +++ b/k8s/1.31/api/events/v1/event_list.k @@ -3,7 +3,7 @@ This is the event_list module in k8s.api.events.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema EventList: @@ -18,7 +18,7 @@ schema EventList: items is a list of schema objects. kind : str, default is "EventList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema EventList: kind: "EventList" = "EventList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.31/api/flowcontrol/v1/flow_schema.k b/k8s/1.31/api/flowcontrol/v1/flow_schema.k index 0f6f4c22..f5737b53 100644 --- a/k8s/1.31/api/flowcontrol/v1/flow_schema.k +++ b/k8s/1.31/api/flowcontrol/v1/flow_schema.k @@ -3,7 +3,7 @@ This is the flow_schema module in k8s.api.flowcontrol.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema FlowSchema: @@ -16,7 +16,7 @@ schema FlowSchema: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "FlowSchema", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : FlowSchemaSpec, default is Undefined, optional `spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema FlowSchema: kind: "FlowSchema" = "FlowSchema" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: FlowSchemaSpec diff --git a/k8s/1.31/api/flowcontrol/v1/flow_schema_list.k b/k8s/1.31/api/flowcontrol/v1/flow_schema_list.k index b710e3a9..74688756 100644 --- a/k8s/1.31/api/flowcontrol/v1/flow_schema_list.k +++ b/k8s/1.31/api/flowcontrol/v1/flow_schema_list.k @@ -3,7 +3,7 @@ This is the flow_schema_list module in k8s.api.flowcontrol.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema FlowSchemaList: @@ -18,7 +18,7 @@ schema FlowSchemaList: `items` is a list of FlowSchemas. kind : str, default is "FlowSchemaList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional `metadata` is the standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema FlowSchemaList: kind: "FlowSchemaList" = "FlowSchemaList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.31/api/flowcontrol/v1/priority_level_configuration.k b/k8s/1.31/api/flowcontrol/v1/priority_level_configuration.k index 5b1745a8..3ea4bb74 100644 --- a/k8s/1.31/api/flowcontrol/v1/priority_level_configuration.k +++ b/k8s/1.31/api/flowcontrol/v1/priority_level_configuration.k @@ -3,7 +3,7 @@ This is the priority_level_configuration module in k8s.api.flowcontrol.v1 packag This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityLevelConfiguration: @@ -16,7 +16,7 @@ schema PriorityLevelConfiguration: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PriorityLevelConfiguration", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PriorityLevelConfigurationSpec, default is Undefined, optional `spec` is the specification of the desired behavior of a "request-priority". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema PriorityLevelConfiguration: kind: "PriorityLevelConfiguration" = "PriorityLevelConfiguration" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PriorityLevelConfigurationSpec diff --git a/k8s/1.31/api/flowcontrol/v1/priority_level_configuration_list.k b/k8s/1.31/api/flowcontrol/v1/priority_level_configuration_list.k index 3a24e720..811ca0d4 100644 --- a/k8s/1.31/api/flowcontrol/v1/priority_level_configuration_list.k +++ b/k8s/1.31/api/flowcontrol/v1/priority_level_configuration_list.k @@ -3,7 +3,7 @@ This is the priority_level_configuration_list module in k8s.api.flowcontrol.v1 p This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityLevelConfigurationList: @@ -18,7 +18,7 @@ schema PriorityLevelConfigurationList: `items` is a list of request-priorities. kind : str, default is "PriorityLevelConfigurationList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PriorityLevelConfigurationList: kind: "PriorityLevelConfigurationList" = "PriorityLevelConfigurationList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.31/api/flowcontrol/v1beta3/flow_schema.k b/k8s/1.31/api/flowcontrol/v1beta3/flow_schema.k index 4efb542a..a6c9abf3 100644 --- a/k8s/1.31/api/flowcontrol/v1beta3/flow_schema.k +++ b/k8s/1.31/api/flowcontrol/v1beta3/flow_schema.k @@ -3,7 +3,7 @@ This is the flow_schema module in k8s.api.flowcontrol.v1beta3 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema FlowSchema: @@ -16,7 +16,7 @@ schema FlowSchema: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "FlowSchema", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : FlowSchemaSpec, default is Undefined, optional `spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema FlowSchema: kind: "FlowSchema" = "FlowSchema" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: FlowSchemaSpec diff --git a/k8s/1.31/api/flowcontrol/v1beta3/flow_schema_list.k b/k8s/1.31/api/flowcontrol/v1beta3/flow_schema_list.k index 4fdc2e84..18824338 100644 --- a/k8s/1.31/api/flowcontrol/v1beta3/flow_schema_list.k +++ b/k8s/1.31/api/flowcontrol/v1beta3/flow_schema_list.k @@ -3,7 +3,7 @@ This is the flow_schema_list module in k8s.api.flowcontrol.v1beta3 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema FlowSchemaList: @@ -18,7 +18,7 @@ schema FlowSchemaList: `items` is a list of FlowSchemas. kind : str, default is "FlowSchemaList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional `metadata` is the standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema FlowSchemaList: kind: "FlowSchemaList" = "FlowSchemaList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.31/api/flowcontrol/v1beta3/priority_level_configuration.k b/k8s/1.31/api/flowcontrol/v1beta3/priority_level_configuration.k index 716cb88f..a6c85fd3 100644 --- a/k8s/1.31/api/flowcontrol/v1beta3/priority_level_configuration.k +++ b/k8s/1.31/api/flowcontrol/v1beta3/priority_level_configuration.k @@ -3,7 +3,7 @@ This is the priority_level_configuration module in k8s.api.flowcontrol.v1beta3 p This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityLevelConfiguration: @@ -16,7 +16,7 @@ schema PriorityLevelConfiguration: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PriorityLevelConfiguration", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PriorityLevelConfigurationSpec, default is Undefined, optional `spec` is the specification of the desired behavior of a "request-priority". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema PriorityLevelConfiguration: kind: "PriorityLevelConfiguration" = "PriorityLevelConfiguration" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PriorityLevelConfigurationSpec diff --git a/k8s/1.31/api/flowcontrol/v1beta3/priority_level_configuration_list.k b/k8s/1.31/api/flowcontrol/v1beta3/priority_level_configuration_list.k index 5224df87..2afb3419 100644 --- a/k8s/1.31/api/flowcontrol/v1beta3/priority_level_configuration_list.k +++ b/k8s/1.31/api/flowcontrol/v1beta3/priority_level_configuration_list.k @@ -3,7 +3,7 @@ This is the priority_level_configuration_list module in k8s.api.flowcontrol.v1be This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityLevelConfigurationList: @@ -18,7 +18,7 @@ schema PriorityLevelConfigurationList: `items` is a list of request-priorities. kind : str, default is "PriorityLevelConfigurationList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional `metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PriorityLevelConfigurationList: kind: "PriorityLevelConfigurationList" = "PriorityLevelConfigurationList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.31/api/networking/v1/ingress.k b/k8s/1.31/api/networking/v1/ingress.k index 154db720..f0e3118e 100644 --- a/k8s/1.31/api/networking/v1/ingress.k +++ b/k8s/1.31/api/networking/v1/ingress.k @@ -3,7 +3,7 @@ This is the ingress module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Ingress: @@ -16,7 +16,7 @@ schema Ingress: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Ingress", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : IngressSpec, default is Undefined, optional spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema Ingress: kind: "Ingress" = "Ingress" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: IngressSpec diff --git a/k8s/1.31/api/networking/v1/ingress_class.k b/k8s/1.31/api/networking/v1/ingress_class.k index 3fa35c39..bb618736 100644 --- a/k8s/1.31/api/networking/v1/ingress_class.k +++ b/k8s/1.31/api/networking/v1/ingress_class.k @@ -3,7 +3,7 @@ This is the ingress_class module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema IngressClass: @@ -16,7 +16,7 @@ schema IngressClass: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "IngressClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : IngressClassSpec, default is Undefined, optional spec is the desired state of the IngressClass. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema IngressClass: kind: "IngressClass" = "IngressClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: IngressClassSpec diff --git a/k8s/1.31/api/networking/v1/ingress_class_list.k b/k8s/1.31/api/networking/v1/ingress_class_list.k index d904abb0..f09b7372 100644 --- a/k8s/1.31/api/networking/v1/ingress_class_list.k +++ b/k8s/1.31/api/networking/v1/ingress_class_list.k @@ -3,7 +3,7 @@ This is the ingress_class_list module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema IngressClassList: @@ -18,7 +18,7 @@ schema IngressClassList: items is the list of IngressClasses. kind : str, default is "IngressClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. """ @@ -29,6 +29,6 @@ schema IngressClassList: kind: "IngressClassList" = "IngressClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.31/api/networking/v1/ingress_list.k b/k8s/1.31/api/networking/v1/ingress_list.k index 47860c94..2bb10c5e 100644 --- a/k8s/1.31/api/networking/v1/ingress_list.k +++ b/k8s/1.31/api/networking/v1/ingress_list.k @@ -3,7 +3,7 @@ This is the ingress_list module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema IngressList: @@ -18,7 +18,7 @@ schema IngressList: items is the list of Ingress. kind : str, default is "IngressList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema IngressList: kind: "IngressList" = "IngressList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.31/api/networking/v1/network_policy.k b/k8s/1.31/api/networking/v1/network_policy.k index 68bb5b28..5ebd5fe2 100644 --- a/k8s/1.31/api/networking/v1/network_policy.k +++ b/k8s/1.31/api/networking/v1/network_policy.k @@ -3,7 +3,7 @@ This is the network_policy module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicy: @@ -16,7 +16,7 @@ schema NetworkPolicy: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "NetworkPolicy", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : NetworkPolicySpec, default is Undefined, optional spec represents the specification of the desired behavior for this NetworkPolicy. @@ -27,7 +27,7 @@ schema NetworkPolicy: kind: "NetworkPolicy" = "NetworkPolicy" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: NetworkPolicySpec diff --git a/k8s/1.31/api/networking/v1/network_policy_list.k b/k8s/1.31/api/networking/v1/network_policy_list.k index 1d1beb4f..2bfbf3f0 100644 --- a/k8s/1.31/api/networking/v1/network_policy_list.k +++ b/k8s/1.31/api/networking/v1/network_policy_list.k @@ -3,7 +3,7 @@ This is the network_policy_list module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicyList: @@ -18,7 +18,7 @@ schema NetworkPolicyList: items is a list of schema objects. kind : str, default is "NetworkPolicyList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema NetworkPolicyList: kind: "NetworkPolicyList" = "NetworkPolicyList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.31/api/networking/v1/network_policy_peer.k b/k8s/1.31/api/networking/v1/network_policy_peer.k index a83de1f7..5b244251 100644 --- a/k8s/1.31/api/networking/v1/network_policy_peer.k +++ b/k8s/1.31/api/networking/v1/network_policy_peer.k @@ -3,7 +3,7 @@ This is the network_policy_peer module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicyPeer: @@ -14,11 +14,11 @@ schema NetworkPolicyPeer: ---------- ipBlock : IPBlock, default is Undefined, optional ipBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be. - namespaceSelector : v1.LabelSelector, default is Undefined, optional + namespaceSelector : metav1.LabelSelector, default is Undefined, optional namespaceSelector selects namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces. If podSelector is also set, then the NetworkPolicyPeer as a whole selects the pods matching podSelector in the namespaces selected by namespaceSelector. Otherwise it selects all pods in the namespaces selected by namespaceSelector. - podSelector : v1.LabelSelector, default is Undefined, optional + podSelector : metav1.LabelSelector, default is Undefined, optional podSelector is a label selector which selects pods. This field follows standard label selector semantics; if present but empty, it selects all pods. If namespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the pods matching podSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the pods matching podSelector in the policy's own namespace. @@ -27,8 +27,8 @@ schema NetworkPolicyPeer: ipBlock?: IPBlock - namespaceSelector?: v1.LabelSelector + namespaceSelector?: metav1.LabelSelector - podSelector?: v1.LabelSelector + podSelector?: metav1.LabelSelector diff --git a/k8s/1.31/api/networking/v1/network_policy_spec.k b/k8s/1.31/api/networking/v1/network_policy_spec.k index 0d6233bc..74028c36 100644 --- a/k8s/1.31/api/networking/v1/network_policy_spec.k +++ b/k8s/1.31/api/networking/v1/network_policy_spec.k @@ -3,7 +3,7 @@ This is the network_policy_spec module in k8s.api.networking.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema NetworkPolicySpec: @@ -16,7 +16,7 @@ schema NetworkPolicySpec: egress is a list of egress rules to be applied to the selected pods. Outgoing traffic is allowed if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic matches at least one egress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy limits all outgoing traffic (and serves solely to ensure that the pods it selects are isolated by default). This field is beta-level in 1.8 ingress : [NetworkPolicyIngressRule], default is Undefined, optional ingress is a list of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not allow any traffic (and serves solely to ensure that the pods it selects are isolated by default) - podSelector : v1.LabelSelector, default is Undefined, required + podSelector : metav1.LabelSelector, default is Undefined, required podSelector selects the pods to which this NetworkPolicy object applies. The array of ingress rules is applied to any pods selected by this field. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is NOT optional and follows standard label selector semantics. An empty podSelector matches all pods in this namespace. policyTypes : [str], default is Undefined, optional policyTypes is a list of rule types that the NetworkPolicy relates to. Valid options are ["Ingress"], ["Egress"], or ["Ingress", "Egress"]. If this field is not specified, it will default based on the existence of ingress or egress rules; policies that contain an egress section are assumed to affect egress, and all policies (whether or not they contain an ingress section) are assumed to affect ingress. If you want to write an egress-only policy, you must explicitly specify policyTypes [ "Egress" ]. Likewise, if you want to write a policy that specifies that no egress is allowed, you must specify a policyTypes value that include "Egress" (since such a policy would not include an egress section and would otherwise default to just [ "Ingress" ]). This field is beta-level in 1.8 @@ -27,7 +27,7 @@ schema NetworkPolicySpec: ingress?: [NetworkPolicyIngressRule] - podSelector: v1.LabelSelector + podSelector: metav1.LabelSelector policyTypes?: [str] diff --git a/k8s/1.31/api/networking/v1beta1/ip_address.k b/k8s/1.31/api/networking/v1beta1/ip_address.k index 555c3966..3a6810c8 100644 --- a/k8s/1.31/api/networking/v1beta1/ip_address.k +++ b/k8s/1.31/api/networking/v1beta1/ip_address.k @@ -3,7 +3,7 @@ This is the ip_address module in k8s.api.networking.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema IPAddress: @@ -16,7 +16,7 @@ schema IPAddress: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "IPAddress", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : IPAddressSpec, default is Undefined, optional spec is the desired state of the IPAddress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema IPAddress: kind: "IPAddress" = "IPAddress" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: IPAddressSpec diff --git a/k8s/1.31/api/networking/v1beta1/ip_address_list.k b/k8s/1.31/api/networking/v1beta1/ip_address_list.k index fb1abc24..1e16f565 100644 --- a/k8s/1.31/api/networking/v1beta1/ip_address_list.k +++ b/k8s/1.31/api/networking/v1beta1/ip_address_list.k @@ -3,7 +3,7 @@ This is the ip_address_list module in k8s.api.networking.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema IPAddressList: @@ -18,7 +18,7 @@ schema IPAddressList: items is the list of IPAddresses. kind : str, default is "IPAddressList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema IPAddressList: kind: "IPAddressList" = "IPAddressList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.31/api/networking/v1beta1/service_cidr.k b/k8s/1.31/api/networking/v1beta1/service_cidr.k index 95eab0e1..aa0c158c 100644 --- a/k8s/1.31/api/networking/v1beta1/service_cidr.k +++ b/k8s/1.31/api/networking/v1beta1/service_cidr.k @@ -3,7 +3,7 @@ This is the service_cidr module in k8s.api.networking.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ServiceCIDR: @@ -16,7 +16,7 @@ schema ServiceCIDR: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ServiceCIDR", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : ServiceCIDRSpec, default is Undefined, optional spec is the desired state of the ServiceCIDR. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status @@ -27,7 +27,7 @@ schema ServiceCIDR: kind: "ServiceCIDR" = "ServiceCIDR" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: ServiceCIDRSpec diff --git a/k8s/1.31/api/networking/v1beta1/service_cidr_list.k b/k8s/1.31/api/networking/v1beta1/service_cidr_list.k index 2c2b3534..ed9fb214 100644 --- a/k8s/1.31/api/networking/v1beta1/service_cidr_list.k +++ b/k8s/1.31/api/networking/v1beta1/service_cidr_list.k @@ -3,7 +3,7 @@ This is the service_cidr_list module in k8s.api.networking.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ServiceCIDRList: @@ -18,7 +18,7 @@ schema ServiceCIDRList: items is the list of ServiceCIDRs. kind : str, default is "ServiceCIDRList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema ServiceCIDRList: kind: "ServiceCIDRList" = "ServiceCIDRList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.31/api/networking/v1beta1/service_cidr_status.k b/k8s/1.31/api/networking/v1beta1/service_cidr_status.k index d1d80fe6..f28f4619 100644 --- a/k8s/1.31/api/networking/v1beta1/service_cidr_status.k +++ b/k8s/1.31/api/networking/v1beta1/service_cidr_status.k @@ -3,7 +3,7 @@ This is the service_cidr_status module in k8s.api.networking.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ServiceCIDRStatus: @@ -12,11 +12,11 @@ schema ServiceCIDRStatus: Attributes ---------- - conditions : [v1.Condition], default is Undefined, optional + conditions : [metav1.Condition], default is Undefined, optional conditions holds an array of metav1.Condition that describe the state of the ServiceCIDR. Current service state """ - conditions?: [v1.Condition] + conditions?: [metav1.Condition] diff --git a/k8s/1.31/api/node/v1/runtime_class.k b/k8s/1.31/api/node/v1/runtime_class.k index d2e7ea84..b1f03bce 100644 --- a/k8s/1.31/api/node/v1/runtime_class.k +++ b/k8s/1.31/api/node/v1/runtime_class.k @@ -3,7 +3,7 @@ This is the runtime_class module in k8s.api.node.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RuntimeClass: @@ -18,7 +18,7 @@ schema RuntimeClass: handler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration. It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called "runc" might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The Handler must be lowercase, conform to the DNS Label (RFC 1123) requirements, and is immutable. kind : str, default is "RuntimeClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata overhead : Overhead, default is Undefined, optional overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see @@ -34,7 +34,7 @@ schema RuntimeClass: kind: "RuntimeClass" = "RuntimeClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta overhead?: Overhead diff --git a/k8s/1.31/api/node/v1/runtime_class_list.k b/k8s/1.31/api/node/v1/runtime_class_list.k index 919c3e5f..5547d438 100644 --- a/k8s/1.31/api/node/v1/runtime_class_list.k +++ b/k8s/1.31/api/node/v1/runtime_class_list.k @@ -3,7 +3,7 @@ This is the runtime_class_list module in k8s.api.node.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RuntimeClassList: @@ -18,7 +18,7 @@ schema RuntimeClassList: items is a list of schema objects. kind : str, default is "RuntimeClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema RuntimeClassList: kind: "RuntimeClassList" = "RuntimeClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.31/api/policy/v1/eviction.k b/k8s/1.31/api/policy/v1/eviction.k index c89b8e8b..6bafd368 100644 --- a/k8s/1.31/api/policy/v1/eviction.k +++ b/k8s/1.31/api/policy/v1/eviction.k @@ -3,7 +3,7 @@ This is the eviction module in k8s.api.policy.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Eviction: @@ -14,21 +14,21 @@ schema Eviction: ---------- apiVersion : str, default is "policy/v1", required APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources - deleteOptions : v1.DeleteOptions, default is Undefined, optional + deleteOptions : metav1.DeleteOptions, default is Undefined, optional DeleteOptions may be provided kind : str, default is "Eviction", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional ObjectMeta describes the pod that is being evicted. """ apiVersion: "policy/v1" = "policy/v1" - deleteOptions?: v1.DeleteOptions + deleteOptions?: metav1.DeleteOptions kind: "Eviction" = "Eviction" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta diff --git a/k8s/1.31/api/policy/v1/pod_disruption_budget.k b/k8s/1.31/api/policy/v1/pod_disruption_budget.k index 77171011..25df1982 100644 --- a/k8s/1.31/api/policy/v1/pod_disruption_budget.k +++ b/k8s/1.31/api/policy/v1/pod_disruption_budget.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget module in k8s.api.policy.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudget: @@ -16,7 +16,7 @@ schema PodDisruptionBudget: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PodDisruptionBudget", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : PodDisruptionBudgetSpec, default is Undefined, optional Specification of the desired behavior of the PodDisruptionBudget. @@ -27,7 +27,7 @@ schema PodDisruptionBudget: kind: "PodDisruptionBudget" = "PodDisruptionBudget" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: PodDisruptionBudgetSpec diff --git a/k8s/1.31/api/policy/v1/pod_disruption_budget_list.k b/k8s/1.31/api/policy/v1/pod_disruption_budget_list.k index 3bb3ab61..d86c65e5 100644 --- a/k8s/1.31/api/policy/v1/pod_disruption_budget_list.k +++ b/k8s/1.31/api/policy/v1/pod_disruption_budget_list.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget_list module in k8s.api.policy.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudgetList: @@ -18,7 +18,7 @@ schema PodDisruptionBudgetList: Items is a list of PodDisruptionBudgets kind : str, default is "PodDisruptionBudgetList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PodDisruptionBudgetList: kind: "PodDisruptionBudgetList" = "PodDisruptionBudgetList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.31/api/policy/v1/pod_disruption_budget_spec.k b/k8s/1.31/api/policy/v1/pod_disruption_budget_spec.k index d3dec7ad..588a6205 100644 --- a/k8s/1.31/api/policy/v1/pod_disruption_budget_spec.k +++ b/k8s/1.31/api/policy/v1/pod_disruption_budget_spec.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget_spec module in k8s.api.policy.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudgetSpec: @@ -16,7 +16,7 @@ schema PodDisruptionBudgetSpec: An eviction is allowed if at most "maxUnavailable" pods selected by "selector" are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with "minAvailable". minAvailable : int | str, default is Undefined, optional An eviction is allowed if at least "minAvailable" pods selected by "selector" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying "100%". - selector : v1.LabelSelector, default is Undefined, optional + selector : metav1.LabelSelector, default is Undefined, optional Label query over pods whose evictions are managed by the disruption budget. A null selector will match no pods, while an empty ({}) selector will select all pods within the namespace. unhealthyPodEvictionPolicy : str, default is Undefined, optional UnhealthyPodEvictionPolicy defines the criteria for when unhealthy pods should be considered for eviction. Current implementation considers healthy pods, as pods that have status.conditions item with type="Ready",status="True". @@ -37,7 +37,7 @@ schema PodDisruptionBudgetSpec: minAvailable?: int | str - selector?: v1.LabelSelector + selector?: metav1.LabelSelector unhealthyPodEvictionPolicy?: str diff --git a/k8s/1.31/api/policy/v1/pod_disruption_budget_status.k b/k8s/1.31/api/policy/v1/pod_disruption_budget_status.k index e4654737..a37c0c40 100644 --- a/k8s/1.31/api/policy/v1/pod_disruption_budget_status.k +++ b/k8s/1.31/api/policy/v1/pod_disruption_budget_status.k @@ -3,7 +3,7 @@ This is the pod_disruption_budget_status module in k8s.api.policy.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodDisruptionBudgetStatus: @@ -12,7 +12,7 @@ schema PodDisruptionBudgetStatus: Attributes ---------- - conditions : [v1.Condition], default is Undefined, optional + conditions : [metav1.Condition], default is Undefined, optional Conditions contain conditions for PDB. The disruption controller sets the DisruptionAllowed condition. The following are known values for the reason field (additional reasons could be added in the future): - SyncFailed: The controller encountered an error and wasn't able to compute the number of allowed disruptions. Therefore no disruptions are allowed and the status of the condition will be False. @@ -37,7 +37,7 @@ schema PodDisruptionBudgetStatus: """ - conditions?: [v1.Condition] + conditions?: [metav1.Condition] currentHealthy: int diff --git a/k8s/1.31/api/rbac/v1/aggregation_rule.k b/k8s/1.31/api/rbac/v1/aggregation_rule.k index 25ca29f8..41257cda 100644 --- a/k8s/1.31/api/rbac/v1/aggregation_rule.k +++ b/k8s/1.31/api/rbac/v1/aggregation_rule.k @@ -3,7 +3,7 @@ This is the aggregation_rule module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema AggregationRule: @@ -12,11 +12,11 @@ schema AggregationRule: Attributes ---------- - clusterRoleSelectors : [v1.LabelSelector], default is Undefined, optional + clusterRoleSelectors : [metav1.LabelSelector], default is Undefined, optional ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added """ - clusterRoleSelectors?: [v1.LabelSelector] + clusterRoleSelectors?: [metav1.LabelSelector] diff --git a/k8s/1.31/api/rbac/v1/cluster_role.k b/k8s/1.31/api/rbac/v1/cluster_role.k index 95b0243a..e04f1c0c 100644 --- a/k8s/1.31/api/rbac/v1/cluster_role.k +++ b/k8s/1.31/api/rbac/v1/cluster_role.k @@ -3,7 +3,7 @@ This is the cluster_role module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRole: @@ -18,7 +18,7 @@ schema ClusterRole: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ClusterRole", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. rules : [PolicyRule], default is Undefined, optional Rules holds all the PolicyRules for this ClusterRole @@ -31,7 +31,7 @@ schema ClusterRole: kind: "ClusterRole" = "ClusterRole" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta rules?: [PolicyRule] diff --git a/k8s/1.31/api/rbac/v1/cluster_role_binding.k b/k8s/1.31/api/rbac/v1/cluster_role_binding.k index 2ca29dc2..203e0d76 100644 --- a/k8s/1.31/api/rbac/v1/cluster_role_binding.k +++ b/k8s/1.31/api/rbac/v1/cluster_role_binding.k @@ -3,7 +3,7 @@ This is the cluster_role_binding module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleBinding: @@ -16,7 +16,7 @@ schema ClusterRoleBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ClusterRoleBinding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. roleRef : RoleRef, default is Undefined, required RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. This field is immutable. @@ -29,7 +29,7 @@ schema ClusterRoleBinding: kind: "ClusterRoleBinding" = "ClusterRoleBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta roleRef: RoleRef diff --git a/k8s/1.31/api/rbac/v1/cluster_role_binding_list.k b/k8s/1.31/api/rbac/v1/cluster_role_binding_list.k index e0de10c5..48d5c629 100644 --- a/k8s/1.31/api/rbac/v1/cluster_role_binding_list.k +++ b/k8s/1.31/api/rbac/v1/cluster_role_binding_list.k @@ -3,7 +3,7 @@ This is the cluster_role_binding_list module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleBindingList: @@ -18,7 +18,7 @@ schema ClusterRoleBindingList: Items is a list of ClusterRoleBindings kind : str, default is "ClusterRoleBindingList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema ClusterRoleBindingList: kind: "ClusterRoleBindingList" = "ClusterRoleBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.31/api/rbac/v1/cluster_role_list.k b/k8s/1.31/api/rbac/v1/cluster_role_list.k index e75f947c..f81dc850 100644 --- a/k8s/1.31/api/rbac/v1/cluster_role_list.k +++ b/k8s/1.31/api/rbac/v1/cluster_role_list.k @@ -3,7 +3,7 @@ This is the cluster_role_list module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ClusterRoleList: @@ -18,7 +18,7 @@ schema ClusterRoleList: Items is a list of ClusterRoles kind : str, default is "ClusterRoleList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema ClusterRoleList: kind: "ClusterRoleList" = "ClusterRoleList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.31/api/rbac/v1/role.k b/k8s/1.31/api/rbac/v1/role.k index 0df690b2..dc81a64b 100644 --- a/k8s/1.31/api/rbac/v1/role.k +++ b/k8s/1.31/api/rbac/v1/role.k @@ -3,7 +3,7 @@ This is the role module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema Role: @@ -16,7 +16,7 @@ schema Role: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "Role", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. rules : [PolicyRule], default is Undefined, optional Rules holds all the PolicyRules for this Role @@ -27,7 +27,7 @@ schema Role: kind: "Role" = "Role" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta rules?: [PolicyRule] diff --git a/k8s/1.31/api/rbac/v1/role_binding.k b/k8s/1.31/api/rbac/v1/role_binding.k index 01268372..a5644ec1 100644 --- a/k8s/1.31/api/rbac/v1/role_binding.k +++ b/k8s/1.31/api/rbac/v1/role_binding.k @@ -3,7 +3,7 @@ This is the role_binding module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleBinding: @@ -16,7 +16,7 @@ schema RoleBinding: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "RoleBinding", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. roleRef : RoleRef, default is Undefined, required RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. This field is immutable. @@ -29,7 +29,7 @@ schema RoleBinding: kind: "RoleBinding" = "RoleBinding" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta roleRef: RoleRef diff --git a/k8s/1.31/api/rbac/v1/role_binding_list.k b/k8s/1.31/api/rbac/v1/role_binding_list.k index df247038..2c5e2860 100644 --- a/k8s/1.31/api/rbac/v1/role_binding_list.k +++ b/k8s/1.31/api/rbac/v1/role_binding_list.k @@ -3,7 +3,7 @@ This is the role_binding_list module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleBindingList: @@ -18,7 +18,7 @@ schema RoleBindingList: Items is a list of RoleBindings kind : str, default is "RoleBindingList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema RoleBindingList: kind: "RoleBindingList" = "RoleBindingList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.31/api/rbac/v1/role_list.k b/k8s/1.31/api/rbac/v1/role_list.k index 569980bf..4b3e9e94 100644 --- a/k8s/1.31/api/rbac/v1/role_list.k +++ b/k8s/1.31/api/rbac/v1/role_list.k @@ -3,7 +3,7 @@ This is the role_list module in k8s.api.rbac.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema RoleList: @@ -18,7 +18,7 @@ schema RoleList: Items is a list of Roles kind : str, default is "RoleList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata. """ @@ -29,6 +29,6 @@ schema RoleList: kind: "RoleList" = "RoleList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.31/api/resource/v1alpha3/device_class.k b/k8s/1.31/api/resource/v1alpha3/device_class.k index 11b6bb1f..88f09c9f 100644 --- a/k8s/1.31/api/resource/v1alpha3/device_class.k +++ b/k8s/1.31/api/resource/v1alpha3/device_class.k @@ -3,7 +3,7 @@ This is the device_class module in k8s.api.resource.v1alpha3 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DeviceClass: @@ -18,7 +18,7 @@ schema DeviceClass: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "DeviceClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata spec : DeviceClassSpec, default is Undefined, required Spec defines what can be allocated and how to configure it. @@ -33,7 +33,7 @@ schema DeviceClass: kind: "DeviceClass" = "DeviceClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: DeviceClassSpec diff --git a/k8s/1.31/api/resource/v1alpha3/device_class_list.k b/k8s/1.31/api/resource/v1alpha3/device_class_list.k index 6b9d280d..8ad0329f 100644 --- a/k8s/1.31/api/resource/v1alpha3/device_class_list.k +++ b/k8s/1.31/api/resource/v1alpha3/device_class_list.k @@ -3,7 +3,7 @@ This is the device_class_list module in k8s.api.resource.v1alpha3 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema DeviceClassList: @@ -18,7 +18,7 @@ schema DeviceClassList: Items is the list of resource classes. kind : str, default is "DeviceClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata """ @@ -29,6 +29,6 @@ schema DeviceClassList: kind: "DeviceClassList" = "DeviceClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.31/api/resource/v1alpha3/pod_scheduling_context.k b/k8s/1.31/api/resource/v1alpha3/pod_scheduling_context.k index 875e7f75..0fa6bfbd 100644 --- a/k8s/1.31/api/resource/v1alpha3/pod_scheduling_context.k +++ b/k8s/1.31/api/resource/v1alpha3/pod_scheduling_context.k @@ -3,7 +3,7 @@ This is the pod_scheduling_context module in k8s.api.resource.v1alpha3 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodSchedulingContext: @@ -18,7 +18,7 @@ schema PodSchedulingContext: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "PodSchedulingContext", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata spec : PodSchedulingContextSpec, default is Undefined, required Spec describes where resources for the Pod are needed. @@ -29,7 +29,7 @@ schema PodSchedulingContext: kind: "PodSchedulingContext" = "PodSchedulingContext" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: PodSchedulingContextSpec diff --git a/k8s/1.31/api/resource/v1alpha3/pod_scheduling_context_list.k b/k8s/1.31/api/resource/v1alpha3/pod_scheduling_context_list.k index 2c84136e..83c466e1 100644 --- a/k8s/1.31/api/resource/v1alpha3/pod_scheduling_context_list.k +++ b/k8s/1.31/api/resource/v1alpha3/pod_scheduling_context_list.k @@ -3,7 +3,7 @@ This is the pod_scheduling_context_list module in k8s.api.resource.v1alpha3 pack This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PodSchedulingContextList: @@ -18,7 +18,7 @@ schema PodSchedulingContextList: Items is the list of PodSchedulingContext objects. kind : str, default is "PodSchedulingContextList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata """ @@ -29,6 +29,6 @@ schema PodSchedulingContextList: kind: "PodSchedulingContextList" = "PodSchedulingContextList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.31/api/resource/v1alpha3/resource_claim.k b/k8s/1.31/api/resource/v1alpha3/resource_claim.k index e4cd36a7..500151c8 100644 --- a/k8s/1.31/api/resource/v1alpha3/resource_claim.k +++ b/k8s/1.31/api/resource/v1alpha3/resource_claim.k @@ -3,7 +3,7 @@ This is the resource_claim module in k8s.api.resource.v1alpha3 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceClaim: @@ -18,7 +18,7 @@ schema ResourceClaim: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ResourceClaim", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata spec : ResourceClaimSpec, default is Undefined, required Spec describes what is being requested and how to configure it. The spec is immutable. @@ -29,7 +29,7 @@ schema ResourceClaim: kind: "ResourceClaim" = "ResourceClaim" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: ResourceClaimSpec diff --git a/k8s/1.31/api/resource/v1alpha3/resource_claim_list.k b/k8s/1.31/api/resource/v1alpha3/resource_claim_list.k index 64d3b79e..1e32e9be 100644 --- a/k8s/1.31/api/resource/v1alpha3/resource_claim_list.k +++ b/k8s/1.31/api/resource/v1alpha3/resource_claim_list.k @@ -3,7 +3,7 @@ This is the resource_claim_list module in k8s.api.resource.v1alpha3 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceClaimList: @@ -18,7 +18,7 @@ schema ResourceClaimList: Items is the list of resource claims. kind : str, default is "ResourceClaimList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata """ @@ -29,6 +29,6 @@ schema ResourceClaimList: kind: "ResourceClaimList" = "ResourceClaimList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.31/api/resource/v1alpha3/resource_claim_template.k b/k8s/1.31/api/resource/v1alpha3/resource_claim_template.k index 54046617..aa88761b 100644 --- a/k8s/1.31/api/resource/v1alpha3/resource_claim_template.k +++ b/k8s/1.31/api/resource/v1alpha3/resource_claim_template.k @@ -3,7 +3,7 @@ This is the resource_claim_template module in k8s.api.resource.v1alpha3 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceClaimTemplate: @@ -18,7 +18,7 @@ schema ResourceClaimTemplate: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ResourceClaimTemplate", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata spec : ResourceClaimTemplateSpec, default is Undefined, required Describes the ResourceClaim that is to be generated. @@ -31,7 +31,7 @@ schema ResourceClaimTemplate: kind: "ResourceClaimTemplate" = "ResourceClaimTemplate" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: ResourceClaimTemplateSpec diff --git a/k8s/1.31/api/resource/v1alpha3/resource_claim_template_list.k b/k8s/1.31/api/resource/v1alpha3/resource_claim_template_list.k index 6664cb74..4606f146 100644 --- a/k8s/1.31/api/resource/v1alpha3/resource_claim_template_list.k +++ b/k8s/1.31/api/resource/v1alpha3/resource_claim_template_list.k @@ -3,7 +3,7 @@ This is the resource_claim_template_list module in k8s.api.resource.v1alpha3 pac This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceClaimTemplateList: @@ -18,7 +18,7 @@ schema ResourceClaimTemplateList: Items is the list of resource claim templates. kind : str, default is "ResourceClaimTemplateList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata """ @@ -29,6 +29,6 @@ schema ResourceClaimTemplateList: kind: "ResourceClaimTemplateList" = "ResourceClaimTemplateList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.31/api/resource/v1alpha3/resource_claim_template_spec.k b/k8s/1.31/api/resource/v1alpha3/resource_claim_template_spec.k index 9f40fed1..1caed96a 100644 --- a/k8s/1.31/api/resource/v1alpha3/resource_claim_template_spec.k +++ b/k8s/1.31/api/resource/v1alpha3/resource_claim_template_spec.k @@ -3,7 +3,7 @@ This is the resource_claim_template_spec module in k8s.api.resource.v1alpha3 pac This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceClaimTemplateSpec: @@ -12,14 +12,14 @@ schema ResourceClaimTemplateSpec: Attributes ---------- - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional ObjectMeta may contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation. spec : ResourceClaimSpec, default is Undefined, required Spec for the ResourceClaim. The entire content is copied unchanged into the ResourceClaim that gets created from this template. The same fields as in a ResourceClaim are also valid here. """ - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: ResourceClaimSpec diff --git a/k8s/1.31/api/resource/v1alpha3/resource_slice.k b/k8s/1.31/api/resource/v1alpha3/resource_slice.k index 43935e18..f610f993 100644 --- a/k8s/1.31/api/resource/v1alpha3/resource_slice.k +++ b/k8s/1.31/api/resource/v1alpha3/resource_slice.k @@ -3,7 +3,7 @@ This is the resource_slice module in k8s.api.resource.v1alpha3 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceSlice: @@ -26,7 +26,7 @@ schema ResourceSlice: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "ResourceSlice", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata spec : ResourceSliceSpec, default is Undefined, required Contains the information published by the driver. @@ -39,7 +39,7 @@ schema ResourceSlice: kind: "ResourceSlice" = "ResourceSlice" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: ResourceSliceSpec diff --git a/k8s/1.31/api/resource/v1alpha3/resource_slice_list.k b/k8s/1.31/api/resource/v1alpha3/resource_slice_list.k index 8c3b58fb..142edd01 100644 --- a/k8s/1.31/api/resource/v1alpha3/resource_slice_list.k +++ b/k8s/1.31/api/resource/v1alpha3/resource_slice_list.k @@ -3,7 +3,7 @@ This is the resource_slice_list module in k8s.api.resource.v1alpha3 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema ResourceSliceList: @@ -18,7 +18,7 @@ schema ResourceSliceList: Items is the list of resource ResourceSlices. kind : str, default is "ResourceSliceList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata """ @@ -29,6 +29,6 @@ schema ResourceSliceList: kind: "ResourceSliceList" = "ResourceSliceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.31/api/scheduling/v1/priority_class.k b/k8s/1.31/api/scheduling/v1/priority_class.k index 86d72897..a8d4b97c 100644 --- a/k8s/1.31/api/scheduling/v1/priority_class.k +++ b/k8s/1.31/api/scheduling/v1/priority_class.k @@ -3,7 +3,7 @@ This is the priority_class module in k8s.api.scheduling.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityClass: @@ -20,7 +20,7 @@ schema PriorityClass: globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority. kind : str, default is "PriorityClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata preemptionPolicy : str, default is Undefined, optional preemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. @@ -37,7 +37,7 @@ schema PriorityClass: kind: "PriorityClass" = "PriorityClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta preemptionPolicy?: str diff --git a/k8s/1.31/api/scheduling/v1/priority_class_list.k b/k8s/1.31/api/scheduling/v1/priority_class_list.k index 3cbbd02b..84e9ff74 100644 --- a/k8s/1.31/api/scheduling/v1/priority_class_list.k +++ b/k8s/1.31/api/scheduling/v1/priority_class_list.k @@ -3,7 +3,7 @@ This is the priority_class_list module in k8s.api.scheduling.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema PriorityClassList: @@ -18,7 +18,7 @@ schema PriorityClassList: items is the list of PriorityClasses kind : str, default is "PriorityClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema PriorityClassList: kind: "PriorityClassList" = "PriorityClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.31/api/storage/v1/csi_driver.k b/k8s/1.31/api/storage/v1/csi_driver.k index b8b8eec9..881c3eaf 100644 --- a/k8s/1.31/api/storage/v1/csi_driver.k +++ b/k8s/1.31/api/storage/v1/csi_driver.k @@ -3,7 +3,7 @@ This is the csi_driver module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSIDriver: @@ -16,7 +16,7 @@ schema CSIDriver: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CSIDriver", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. metadata.Name indicates the name of the CSI driver that this object refers to; it MUST be the same name returned by the CSI GetPluginName() call for that driver. The driver name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and alphanumerics between. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : CSIDriverSpec, default is Undefined, required spec represents the specification of the CSI Driver. @@ -27,7 +27,7 @@ schema CSIDriver: kind: "CSIDriver" = "CSIDriver" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CSIDriverSpec diff --git a/k8s/1.31/api/storage/v1/csi_driver_list.k b/k8s/1.31/api/storage/v1/csi_driver_list.k index 79bed7a2..a62bf5b7 100644 --- a/k8s/1.31/api/storage/v1/csi_driver_list.k +++ b/k8s/1.31/api/storage/v1/csi_driver_list.k @@ -3,7 +3,7 @@ This is the csi_driver_list module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSIDriverList: @@ -18,7 +18,7 @@ schema CSIDriverList: items is the list of CSIDriver kind : str, default is "CSIDriverList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CSIDriverList: kind: "CSIDriverList" = "CSIDriverList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.31/api/storage/v1/csi_node.k b/k8s/1.31/api/storage/v1/csi_node.k index 37782506..e060c851 100644 --- a/k8s/1.31/api/storage/v1/csi_node.k +++ b/k8s/1.31/api/storage/v1/csi_node.k @@ -3,7 +3,7 @@ This is the csi_node module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSINode: @@ -16,7 +16,7 @@ schema CSINode: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CSINode", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. metadata.name must be the Kubernetes node name. spec : CSINodeSpec, default is Undefined, required spec is the specification of CSINode @@ -27,7 +27,7 @@ schema CSINode: kind: "CSINode" = "CSINode" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CSINodeSpec diff --git a/k8s/1.31/api/storage/v1/csi_node_list.k b/k8s/1.31/api/storage/v1/csi_node_list.k index eaa198e1..3e6af404 100644 --- a/k8s/1.31/api/storage/v1/csi_node_list.k +++ b/k8s/1.31/api/storage/v1/csi_node_list.k @@ -3,7 +3,7 @@ This is the csi_node_list module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSINodeList: @@ -18,7 +18,7 @@ schema CSINodeList: items is the list of CSINode kind : str, default is "CSINodeList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CSINodeList: kind: "CSINodeList" = "CSINodeList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.31/api/storage/v1/csi_storage_capacity.k b/k8s/1.31/api/storage/v1/csi_storage_capacity.k index e51a9d0c..2d8ff97b 100644 --- a/k8s/1.31/api/storage/v1/csi_storage_capacity.k +++ b/k8s/1.31/api/storage/v1/csi_storage_capacity.k @@ -3,7 +3,7 @@ This is the csi_storage_capacity module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSIStorageCapacity: @@ -32,13 +32,13 @@ schema CSIStorageCapacity: maximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields. This is defined since CSI spec 1.4.0 as the largest size that may be used in a CreateVolumeRequest.capacity_range.required_bytes field to create a volume with the same parameters as those in GetCapacityRequest. The corresponding value in the Kubernetes API is ResourceRequirements.Requests in a volume claim. - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. The name has no particular meaning. It must be a DNS subdomain (dots allowed, 253 characters). To ensure that there are no conflicts with other CSI drivers on the cluster, the recommendation is to use csisc-, a generated name, or a reverse-domain name which ends with the unique CSI driver name. Objects are namespaced. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - nodeTopology : v1.LabelSelector, default is Undefined, optional + nodeTopology : metav1.LabelSelector, default is Undefined, optional nodeTopology defines which nodes have access to the storage for which capacity was reported. If not set, the storage is not accessible from any node in the cluster. If empty, the storage is accessible from all nodes. This field is immutable. storageClassName : str, default is Undefined, required storageClassName represents the name of the StorageClass that the reported capacity applies to. It must meet the same requirements as the name of a StorageClass object (non-empty, DNS subdomain). If that object no longer exists, the CSIStorageCapacity object is obsolete and should be removed by its creator. This field is immutable. @@ -53,9 +53,9 @@ schema CSIStorageCapacity: maximumVolumeSize?: str - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta - nodeTopology?: v1.LabelSelector + nodeTopology?: metav1.LabelSelector storageClassName: str diff --git a/k8s/1.31/api/storage/v1/csi_storage_capacity_list.k b/k8s/1.31/api/storage/v1/csi_storage_capacity_list.k index 36bfacff..46fe8547 100644 --- a/k8s/1.31/api/storage/v1/csi_storage_capacity_list.k +++ b/k8s/1.31/api/storage/v1/csi_storage_capacity_list.k @@ -3,7 +3,7 @@ This is the csi_storage_capacity_list module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CSIStorageCapacityList: @@ -18,7 +18,7 @@ schema CSIStorageCapacityList: items is the list of CSIStorageCapacity objects. kind : str, default is "CSIStorageCapacityList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CSIStorageCapacityList: kind: "CSIStorageCapacityList" = "CSIStorageCapacityList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.31/api/storage/v1/storage_class_list.k b/k8s/1.31/api/storage/v1/storage_class_list.k index cb87c161..a8e36187 100644 --- a/k8s/1.31/api/storage/v1/storage_class_list.k +++ b/k8s/1.31/api/storage/v1/storage_class_list.k @@ -3,7 +3,7 @@ This is the storage_class_list module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StorageClassList: @@ -18,7 +18,7 @@ schema StorageClassList: items is the list of StorageClasses kind : str, default is "StorageClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema StorageClassList: kind: "StorageClassList" = "StorageClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.31/api/storage/v1/volume_attachment.k b/k8s/1.31/api/storage/v1/volume_attachment.k index 5109a613..e1e7cf37 100644 --- a/k8s/1.31/api/storage/v1/volume_attachment.k +++ b/k8s/1.31/api/storage/v1/volume_attachment.k @@ -3,7 +3,7 @@ This is the volume_attachment module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema VolumeAttachment: @@ -18,7 +18,7 @@ schema VolumeAttachment: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "VolumeAttachment", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : VolumeAttachmentSpec, default is Undefined, required spec represents specification of the desired attach/detach volume behavior. Populated by the Kubernetes system. @@ -29,7 +29,7 @@ schema VolumeAttachment: kind: "VolumeAttachment" = "VolumeAttachment" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: VolumeAttachmentSpec diff --git a/k8s/1.31/api/storage/v1/volume_attachment_list.k b/k8s/1.31/api/storage/v1/volume_attachment_list.k index d1294810..66021315 100644 --- a/k8s/1.31/api/storage/v1/volume_attachment_list.k +++ b/k8s/1.31/api/storage/v1/volume_attachment_list.k @@ -3,7 +3,7 @@ This is the volume_attachment_list module in k8s.api.storage.v1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema VolumeAttachmentList: @@ -18,7 +18,7 @@ schema VolumeAttachmentList: items is the list of VolumeAttachments kind : str, default is "VolumeAttachmentList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema VolumeAttachmentList: kind: "VolumeAttachmentList" = "VolumeAttachmentList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.31/api/storage/v1alpha1/volume_attributes_class.k b/k8s/1.31/api/storage/v1alpha1/volume_attributes_class.k index 7a7e869e..2e878bcf 100644 --- a/k8s/1.31/api/storage/v1alpha1/volume_attributes_class.k +++ b/k8s/1.31/api/storage/v1alpha1/volume_attributes_class.k @@ -3,7 +3,7 @@ This is the volume_attributes_class module in k8s.api.storage.v1alpha1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema VolumeAttributesClass: @@ -18,7 +18,7 @@ schema VolumeAttributesClass: Name of the CSI driver This field is immutable. kind : str, default is "VolumeAttributesClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata parameters : {str:str}, default is Undefined, optional parameters hold volume attributes defined by the CSI driver. These values are opaque to the Kubernetes and are passed directly to the CSI driver. The underlying storage provider supports changing these attributes on an existing volume, however the parameters field itself is immutable. To invoke a volume update, a new VolumeAttributesClass should be created with new parameters, and the PersistentVolumeClaim should be updated to reference the new VolumeAttributesClass. @@ -33,7 +33,7 @@ schema VolumeAttributesClass: kind: "VolumeAttributesClass" = "VolumeAttributesClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta parameters?: {str:str} diff --git a/k8s/1.31/api/storage/v1alpha1/volume_attributes_class_list.k b/k8s/1.31/api/storage/v1alpha1/volume_attributes_class_list.k index 2b5e34ff..feb8cdc7 100644 --- a/k8s/1.31/api/storage/v1alpha1/volume_attributes_class_list.k +++ b/k8s/1.31/api/storage/v1alpha1/volume_attributes_class_list.k @@ -3,7 +3,7 @@ This is the volume_attributes_class_list module in k8s.api.storage.v1alpha1 pack This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema VolumeAttributesClassList: @@ -18,7 +18,7 @@ schema VolumeAttributesClassList: items is the list of VolumeAttributesClass objects. kind : str, default is "VolumeAttributesClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema VolumeAttributesClassList: kind: "VolumeAttributesClassList" = "VolumeAttributesClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.31/api/storage/v1beta1/volume_attributes_class.k b/k8s/1.31/api/storage/v1beta1/volume_attributes_class.k index 0732ebee..c8df1c18 100644 --- a/k8s/1.31/api/storage/v1beta1/volume_attributes_class.k +++ b/k8s/1.31/api/storage/v1beta1/volume_attributes_class.k @@ -3,7 +3,7 @@ This is the volume_attributes_class module in k8s.api.storage.v1beta1 package. This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema VolumeAttributesClass: @@ -18,7 +18,7 @@ schema VolumeAttributesClass: Name of the CSI driver This field is immutable. kind : str, default is "VolumeAttributesClass", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata parameters : {str:str}, default is Undefined, optional parameters hold volume attributes defined by the CSI driver. These values are opaque to the Kubernetes and are passed directly to the CSI driver. The underlying storage provider supports changing these attributes on an existing volume, however the parameters field itself is immutable. To invoke a volume update, a new VolumeAttributesClass should be created with new parameters, and the PersistentVolumeClaim should be updated to reference the new VolumeAttributesClass. @@ -33,7 +33,7 @@ schema VolumeAttributesClass: kind: "VolumeAttributesClass" = "VolumeAttributesClass" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta parameters?: {str:str} diff --git a/k8s/1.31/api/storage/v1beta1/volume_attributes_class_list.k b/k8s/1.31/api/storage/v1beta1/volume_attributes_class_list.k index 0f7df75b..08dd0dc9 100644 --- a/k8s/1.31/api/storage/v1beta1/volume_attributes_class_list.k +++ b/k8s/1.31/api/storage/v1beta1/volume_attributes_class_list.k @@ -3,7 +3,7 @@ This is the volume_attributes_class_list module in k8s.api.storage.v1beta1 packa This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema VolumeAttributesClassList: @@ -18,7 +18,7 @@ schema VolumeAttributesClassList: items is the list of VolumeAttributesClass objects. kind : str, default is "VolumeAttributesClassList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema VolumeAttributesClassList: kind: "VolumeAttributesClassList" = "VolumeAttributesClassList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.31/api/storagemigration/v1alpha1/storage_version_migration.k b/k8s/1.31/api/storagemigration/v1alpha1/storage_version_migration.k index 6af67c83..aa2543aa 100644 --- a/k8s/1.31/api/storagemigration/v1alpha1/storage_version_migration.k +++ b/k8s/1.31/api/storagemigration/v1alpha1/storage_version_migration.k @@ -3,7 +3,7 @@ This is the storage_version_migration module in k8s.api.storagemigration.v1alpha This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StorageVersionMigration: @@ -16,7 +16,7 @@ schema StorageVersionMigration: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "StorageVersionMigration", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : StorageVersionMigrationSpec, default is Undefined, optional Specification of the migration. @@ -27,7 +27,7 @@ schema StorageVersionMigration: kind: "StorageVersionMigration" = "StorageVersionMigration" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: StorageVersionMigrationSpec diff --git a/k8s/1.31/api/storagemigration/v1alpha1/storage_version_migration_list.k b/k8s/1.31/api/storagemigration/v1alpha1/storage_version_migration_list.k index 7cd6ee09..26909ebf 100644 --- a/k8s/1.31/api/storagemigration/v1alpha1/storage_version_migration_list.k +++ b/k8s/1.31/api/storagemigration/v1alpha1/storage_version_migration_list.k @@ -3,7 +3,7 @@ This is the storage_version_migration_list module in k8s.api.storagemigration.v1 This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema StorageVersionMigrationList: @@ -18,7 +18,7 @@ schema StorageVersionMigrationList: Items is the list of StorageVersionMigration kind : str, default is "StorageVersionMigrationList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema StorageVersionMigrationList: kind: "StorageVersionMigrationList" = "StorageVersionMigrationList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.31/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition.k b/k8s/1.31/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition.k index 318b999b..969f1023 100644 --- a/k8s/1.31/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition.k +++ b/k8s/1.31/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition.k @@ -3,7 +3,7 @@ This is the custom_resource_definition module in k8s.apiextensions_apiserver.pkg This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CustomResourceDefinition: @@ -16,7 +16,7 @@ schema CustomResourceDefinition: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "CustomResourceDefinition", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : CustomResourceDefinitionSpec, default is Undefined, required spec describes how the user wants the resources to appear @@ -27,7 +27,7 @@ schema CustomResourceDefinition: kind: "CustomResourceDefinition" = "CustomResourceDefinition" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec: CustomResourceDefinitionSpec diff --git a/k8s/1.31/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition_list.k b/k8s/1.31/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition_list.k index 0846e072..a8247525 100644 --- a/k8s/1.31/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition_list.k +++ b/k8s/1.31/apiextensions_apiserver/pkg/apis/apiextensions/v1/custom_resource_definition_list.k @@ -3,7 +3,7 @@ This is the custom_resource_definition_list module in k8s.apiextensions_apiserve This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema CustomResourceDefinitionList: @@ -18,7 +18,7 @@ schema CustomResourceDefinitionList: items list individual CustomResourceDefinition objects kind : str, default is "CustomResourceDefinitionList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard object's metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema CustomResourceDefinitionList: kind: "CustomResourceDefinitionList" = "CustomResourceDefinitionList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/k8s/1.31/kcl.mod b/k8s/1.31/kcl.mod index 4ec4a5fc..be89ac46 100644 --- a/k8s/1.31/kcl.mod +++ b/k8s/1.31/kcl.mod @@ -1,6 +1,6 @@ [package] name = "k8s" edition = "*" -version = "1.31.2" +version = "1.31.3" description = "`k8s` is a KCL module contains all the built-in Kubernetes resource models (the CRDs are not included here)." diff --git a/k8s/1.31/kube_aggregator/pkg/apis/apiregistration/v1/api_service.k b/k8s/1.31/kube_aggregator/pkg/apis/apiregistration/v1/api_service.k index fcf7b572..b61750d9 100644 --- a/k8s/1.31/kube_aggregator/pkg/apis/apiregistration/v1/api_service.k +++ b/k8s/1.31/kube_aggregator/pkg/apis/apiregistration/v1/api_service.k @@ -3,7 +3,7 @@ This is the api_service module in k8s.kube_aggregator.pkg.apis.apiregistration.v This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema APIService: @@ -16,7 +16,7 @@ schema APIService: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources kind : str, default is "APIService", required 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 - metadata : v1.ObjectMeta, default is Undefined, optional + metadata : metav1.ObjectMeta, default is Undefined, optional Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata spec : APIServiceSpec, default is Undefined, optional Spec contains information for locating and communicating with a server @@ -27,7 +27,7 @@ schema APIService: kind: "APIService" = "APIService" - metadata?: v1.ObjectMeta + metadata?: metav1.ObjectMeta spec?: APIServiceSpec diff --git a/k8s/1.31/kube_aggregator/pkg/apis/apiregistration/v1/api_service_list.k b/k8s/1.31/kube_aggregator/pkg/apis/apiregistration/v1/api_service_list.k index f51f593b..3f7bf8ee 100644 --- a/k8s/1.31/kube_aggregator/pkg/apis/apiregistration/v1/api_service_list.k +++ b/k8s/1.31/kube_aggregator/pkg/apis/apiregistration/v1/api_service_list.k @@ -3,7 +3,7 @@ This is the api_service_list module in k8s.kube_aggregator.pkg.apis.apiregistrat This file was generated by the KCL auto-gen tool. DO NOT EDIT. Editing this file might prove futile when you re-run the KCL auto-gen generate command. """ -import apimachinery.pkg.apis.meta.v1 +import apimachinery.pkg.apis.meta.v1 as metav1 schema APIServiceList: @@ -18,7 +18,7 @@ schema APIServiceList: Items is the list of APIService kind : str, default is "APIServiceList", required 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 - metadata : v1.ListMeta, default is Undefined, optional + metadata : metav1.ListMeta, default is Undefined, optional Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata """ @@ -29,6 +29,6 @@ schema APIServiceList: kind: "APIServiceList" = "APIServiceList" - metadata?: v1.ListMeta + metadata?: metav1.ListMeta diff --git a/main_test.go b/main_test.go index daab7a7e..01496fdb 100644 --- a/main_test.go +++ b/main_test.go @@ -31,6 +31,12 @@ func TestK8sPackages(t *testing.T) { expectFilepath string expect string packagePath string + // requiredSchemaFiles, if non-empty, lists schema files (relative + // to the package root) that must exist for the test to run. Tests + // are skipped when a required schema is absent in the targeted + // k8s version (e.g. networking.k8s.io/v1 Ingress only exists from + // k8s 1.19, while the v1beta1 copy exists in earlier versions). + requiredSchemaFiles []string } var cases []testCase @@ -40,27 +46,65 @@ func TestK8sPackages(t *testing.T) { t.Fatal(err) } var versions []string + // Versions 1.14 - 1.31 had a bug where `apimachinery.pkg.apis.meta.v1` + // was imported without an alias, which broke schema lookups when the + // parent package was itself imported via `as `. The fix renames + // the bare import to `import ... as metav1` and rewrites all `v1.` + // references to `metav1.`. These tests guard against regressions. + versions = append(versions, "1.14") + versions = append(versions, "1.15") + versions = append(versions, "1.16") + versions = append(versions, "1.17") + versions = append(versions, "1.18") + versions = append(versions, "1.19") + versions = append(versions, "1.20") + versions = append(versions, "1.21") + versions = append(versions, "1.22") + versions = append(versions, "1.23") + versions = append(versions, "1.24") + versions = append(versions, "1.25") + versions = append(versions, "1.26") + versions = append(versions, "1.27") + versions = append(versions, "1.28") + versions = append(versions, "1.29") + versions = append(versions, "1.30") versions = append(versions, "1.31") versions = append(versions, "1.32") versions = append(versions, "1.33") + // Per-case required-schema gates. An empty entry means the test runs + // against every version (the schema exists in all 1.14+ versions). + requiredByCase := map[string][]string{ + "configmap": {"api/core/v1/config_map.k"}, + "deplyoment": {"api/apps/v1/deployment.k"}, + "ingress": {"api/networking/v1/ingress.k"}, + "networkpolicy": {"api/networking/v1/network_policy.k"}, + } + for _, v := range versions { packagePath := filepath.Join("k8s", v) for _, caseFile := range caseFiles { input := filepath.Join(casesPath, caseFile.Name(), "input.k") expectFilepath := filepath.Join(casesPath, caseFile.Name(), "expect.yaml") cases = append(cases, testCase{ - name: v + "_" + caseFile.Name(), - input: readFileString(t, input), - expectFilepath: expectFilepath, - expect: readFileString(t, expectFilepath), - packagePath: packagePath, + name: v + "_" + caseFile.Name(), + input: readFileString(t, input), + expectFilepath: expectFilepath, + expect: readFileString(t, expectFilepath), + packagePath: packagePath, + requiredSchemaFiles: requiredByCase[caseFile.Name()], }) } } for _, testcase := range cases { t.Run(testcase.name, func(t *testing.T) { + for _, rel := range testcase.requiredSchemaFiles { + abs := filepath.Join(testcase.packagePath, rel) + if _, err := os.Stat(abs); err != nil { + t.Skipf("schema %s not available in %s: %v", rel, testcase.packagePath, err) + } + } yaml := kcl.MustRun("main.k", kcl.WithCode(testcase.input), kcl.WithExternalPkgs("k8s="+testcase.packagePath)).GetRawYamlResult() if err != nil { t.Fatal(err) diff --git a/testdata/k8s/networkpolicy/expect.yaml b/testdata/k8s/networkpolicy/expect.yaml new file mode 100644 index 00000000..5dff7f0d --- /dev/null +++ b/testdata/k8s/networkpolicy/expect.yaml @@ -0,0 +1,13 @@ +apiVersion: networking.k8s.io/v1 +kind: NetworkPolicy +metadata: + labels: + app: test + name: test-policy +spec: + podSelector: + matchLabels: + app: test + policyTypes: + - Ingress + - Egress \ No newline at end of file diff --git a/testdata/k8s/networkpolicy/input.k b/testdata/k8s/networkpolicy/input.k new file mode 100644 index 00000000..fe9d9510 --- /dev/null +++ b/testdata/k8s/networkpolicy/input.k @@ -0,0 +1,7 @@ +import k8s.api.networking.v1 as networking +networking.NetworkPolicy { + metadata.name = "test-policy" + metadata.labels = {"app": "test"} + spec.podSelector.matchLabels = {"app": "test"} + spec.policyTypes = ["Ingress", "Egress"] +}