Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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.
Expand All @@ -27,7 +27,7 @@ schema MutatingWebhookConfiguration:

kind: "MutatingWebhookConfiguration" = "MutatingWebhookConfiguration"

metadata?: v1.ObjectMeta
metadata?: metav1.ObjectMeta

webhooks?: [Webhook]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
"""

Expand All @@ -29,6 +29,6 @@ schema MutatingWebhookConfigurationList:

kind: "MutatingWebhookConfigurationList" = "MutatingWebhookConfigurationList"

metadata?: v1.ListMeta
metadata?: metav1.ListMeta


Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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.
Expand All @@ -27,7 +27,7 @@ schema ValidatingWebhookConfiguration:

kind: "ValidatingWebhookConfiguration" = "ValidatingWebhookConfiguration"

metadata?: v1.ObjectMeta
metadata?: metav1.ObjectMeta

webhooks?: [Webhook]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
"""

Expand All @@ -29,6 +29,6 @@ schema ValidatingWebhookConfigurationList:

kind: "ValidatingWebhookConfigurationList" = "ValidatingWebhookConfigurationList"

metadata?: v1.ListMeta
metadata?: metav1.ListMeta


6 changes: 3 additions & 3 deletions k8s/1.14/api/admissionregistration/v1beta1/webhook.k
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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": {
Expand Down Expand Up @@ -69,7 +69,7 @@ schema Webhook:

name: str

namespaceSelector?: v1.LabelSelector
namespaceSelector?: metav1.LabelSelector

rules?: [RuleWithOperations]

Expand Down
6 changes: 3 additions & 3 deletions k8s/1.14/api/apps/v1/controller_revision.k
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand All @@ -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.
Expand All @@ -32,7 +32,7 @@ schema ControllerRevision:

kind: "ControllerRevision" = "ControllerRevision"

metadata?: v1.ObjectMeta
metadata?: metav1.ObjectMeta

revision: int

Expand Down
6 changes: 3 additions & 3 deletions k8s/1.14/api/apps/v1/controller_revision_list.k
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
"""

Expand All @@ -29,6 +29,6 @@ schema ControllerRevisionList:

kind: "ControllerRevisionList" = "ControllerRevisionList"

metadata?: v1.ListMeta
metadata?: metav1.ListMeta


6 changes: 3 additions & 3 deletions k8s/1.14/api/apps/v1/daemon_set.k
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand All @@ -27,7 +27,7 @@ schema DaemonSet:

kind: "DaemonSet" = "DaemonSet"

metadata?: v1.ObjectMeta
metadata?: metav1.ObjectMeta

spec?: DaemonSetSpec

Expand Down
6 changes: 3 additions & 3 deletions k8s/1.14/api/apps/v1/daemon_set_list.k
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
"""

Expand All @@ -29,6 +29,6 @@ schema DaemonSetList:

kind: "DaemonSetList" = "DaemonSetList"

metadata?: v1.ListMeta
metadata?: metav1.ListMeta


6 changes: 3 additions & 3 deletions k8s/1.14/api/apps/v1/daemon_set_spec.k
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand All @@ -30,7 +30,7 @@ schema DaemonSetSpec:

revisionHistoryLimit?: int

selector: v1.LabelSelector
selector: metav1.LabelSelector

template: corev1.PodTemplateSpec

Expand Down
6 changes: 3 additions & 3 deletions k8s/1.14/api/apps/v1/deployment.k
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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.
Expand All @@ -27,7 +27,7 @@ schema Deployment:

kind: "Deployment" = "Deployment"

metadata?: v1.ObjectMeta
metadata?: metav1.ObjectMeta

spec?: DeploymentSpec

Expand Down
6 changes: 3 additions & 3 deletions k8s/1.14/api/apps/v1/deployment_list.k
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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.
"""

Expand All @@ -29,6 +29,6 @@ schema DeploymentList:

kind: "DeploymentList" = "DeploymentList"

metadata?: v1.ListMeta
metadata?: metav1.ListMeta


6 changes: 3 additions & 3 deletions k8s/1.14/api/apps/v1/deployment_spec.k
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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.
Expand All @@ -42,7 +42,7 @@ schema DeploymentSpec:

revisionHistoryLimit?: int

selector: v1.LabelSelector
selector: metav1.LabelSelector

strategy?: DeploymentStrategy

Expand Down
Loading
Loading