diff --git a/convert.py b/convert.py index b86ecbaf..0ba5ca0b 100755 --- a/convert.py +++ b/convert.py @@ -3,7 +3,7 @@ import requests import re -kubernetes_tag = 'v1.11.0' +kubernetes_tag = 'v1.13.4' url = \ 'https://raw.githubusercontent.com/kubernetes/kubernetes/{tag}/api/openapi-spec/swagger.json' \ .format(tag=kubernetes_tag) diff --git a/default/io.k8s.api.admissionregistration.v1beta1.Webhook.dhall b/default/io.k8s.api.admissionregistration.v1beta1.Webhook.dhall index e7789ee8..1b78a1a3 100644 --- a/default/io.k8s.api.admissionregistration.v1beta1.Webhook.dhall +++ b/default/io.k8s.api.admissionregistration.v1beta1.Webhook.dhall @@ -4,4 +4,5 @@ , name = _params.name , namespaceSelector = ([] : Optional (../types/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector.dhall)) , rules = ([] : Optional (List ../types/io.k8s.api.admissionregistration.v1beta1.RuleWithOperations.dhall)) +, sideEffects = ([] : Optional (Text)) } : ../types/io.k8s.api.admissionregistration.v1beta1.Webhook.dhall diff --git a/default/io.k8s.api.admissionregistration.v1beta1.WebhookClientConfig.dhall b/default/io.k8s.api.admissionregistration.v1beta1.WebhookClientConfig.dhall index 0bbe4d0a..d7889d24 100644 --- a/default/io.k8s.api.admissionregistration.v1beta1.WebhookClientConfig.dhall +++ b/default/io.k8s.api.admissionregistration.v1beta1.WebhookClientConfig.dhall @@ -1,5 +1,4 @@ -\(_params : {caBundle : (Text)}) -> -{ caBundle = _params.caBundle +{ caBundle = ([] : Optional (Text)) , service = ([] : Optional (../types/io.k8s.api.admissionregistration.v1beta1.ServiceReference.dhall)) , url = ([] : Optional (Text)) } : ../types/io.k8s.api.admissionregistration.v1beta1.WebhookClientConfig.dhall diff --git a/default/io.k8s.api.auditregistration.v1alpha1.AuditSink.dhall b/default/io.k8s.api.auditregistration.v1alpha1.AuditSink.dhall new file mode 100644 index 00000000..402248f7 --- /dev/null +++ b/default/io.k8s.api.auditregistration.v1alpha1.AuditSink.dhall @@ -0,0 +1,6 @@ +\(_params : {metadata : (../types/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta.dhall)}) -> +{ apiVersion = ("auditregistration.k8s.io/v1alpha1" : Text) +, kind = ("AuditSink" : Text) +, metadata = _params.metadata +, spec = ([] : Optional (../types/io.k8s.api.auditregistration.v1alpha1.AuditSinkSpec.dhall)) +} : ../types/io.k8s.api.auditregistration.v1alpha1.AuditSink.dhall diff --git a/default/io.k8s.api.auditregistration.v1alpha1.AuditSinkList.dhall b/default/io.k8s.api.auditregistration.v1alpha1.AuditSinkList.dhall new file mode 100644 index 00000000..4d0764f8 --- /dev/null +++ b/default/io.k8s.api.auditregistration.v1alpha1.AuditSinkList.dhall @@ -0,0 +1,6 @@ +\(_params : {items : (List ../types/io.k8s.api.auditregistration.v1alpha1.AuditSink.dhall), metadata : (../types/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta.dhall)}) -> +{ apiVersion = ("auditregistration.k8s.io/v1alpha1" : Text) +, items = _params.items +, kind = ("AuditSinkList" : Text) +, metadata = _params.metadata +} : ../types/io.k8s.api.auditregistration.v1alpha1.AuditSinkList.dhall diff --git a/default/io.k8s.api.auditregistration.v1alpha1.AuditSinkSpec.dhall b/default/io.k8s.api.auditregistration.v1alpha1.AuditSinkSpec.dhall new file mode 100644 index 00000000..44b139b6 --- /dev/null +++ b/default/io.k8s.api.auditregistration.v1alpha1.AuditSinkSpec.dhall @@ -0,0 +1,4 @@ +\(_params : {policy : (../types/io.k8s.api.auditregistration.v1alpha1.Policy.dhall), webhook : (../types/io.k8s.api.auditregistration.v1alpha1.Webhook.dhall)}) -> +{ policy = _params.policy +, webhook = _params.webhook +} : ../types/io.k8s.api.auditregistration.v1alpha1.AuditSinkSpec.dhall diff --git a/default/io.k8s.api.auditregistration.v1alpha1.Policy.dhall b/default/io.k8s.api.auditregistration.v1alpha1.Policy.dhall new file mode 100644 index 00000000..a68b0143 --- /dev/null +++ b/default/io.k8s.api.auditregistration.v1alpha1.Policy.dhall @@ -0,0 +1,4 @@ +\(_params : {level : (Text)}) -> +{ level = _params.level +, stages = ([] : Optional (List Text)) +} : ../types/io.k8s.api.auditregistration.v1alpha1.Policy.dhall diff --git a/default/io.k8s.api.auditregistration.v1alpha1.ServiceReference.dhall b/default/io.k8s.api.auditregistration.v1alpha1.ServiceReference.dhall new file mode 100644 index 00000000..e865e72c --- /dev/null +++ b/default/io.k8s.api.auditregistration.v1alpha1.ServiceReference.dhall @@ -0,0 +1,5 @@ +\(_params : {name : (Text), namespace : (Text)}) -> +{ name = _params.name +, namespace = _params.namespace +, path = ([] : Optional (Text)) +} : ../types/io.k8s.api.auditregistration.v1alpha1.ServiceReference.dhall diff --git a/default/io.k8s.api.auditregistration.v1alpha1.Webhook.dhall b/default/io.k8s.api.auditregistration.v1alpha1.Webhook.dhall new file mode 100644 index 00000000..70d800d1 --- /dev/null +++ b/default/io.k8s.api.auditregistration.v1alpha1.Webhook.dhall @@ -0,0 +1,4 @@ +\(_params : {clientConfig : (../types/io.k8s.api.auditregistration.v1alpha1.WebhookClientConfig.dhall)}) -> +{ clientConfig = _params.clientConfig +, throttle = ([] : Optional (../types/io.k8s.api.auditregistration.v1alpha1.WebhookThrottleConfig.dhall)) +} : ../types/io.k8s.api.auditregistration.v1alpha1.Webhook.dhall diff --git a/default/io.k8s.api.auditregistration.v1alpha1.WebhookClientConfig.dhall b/default/io.k8s.api.auditregistration.v1alpha1.WebhookClientConfig.dhall new file mode 100644 index 00000000..30d8e7f2 --- /dev/null +++ b/default/io.k8s.api.auditregistration.v1alpha1.WebhookClientConfig.dhall @@ -0,0 +1,4 @@ +{ caBundle = ([] : Optional (Text)) +, service = ([] : Optional (../types/io.k8s.api.auditregistration.v1alpha1.ServiceReference.dhall)) +, url = ([] : Optional (Text)) +} : ../types/io.k8s.api.auditregistration.v1alpha1.WebhookClientConfig.dhall diff --git a/default/io.k8s.api.auditregistration.v1alpha1.WebhookThrottleConfig.dhall b/default/io.k8s.api.auditregistration.v1alpha1.WebhookThrottleConfig.dhall new file mode 100644 index 00000000..b9c82065 --- /dev/null +++ b/default/io.k8s.api.auditregistration.v1alpha1.WebhookThrottleConfig.dhall @@ -0,0 +1,3 @@ +{ burst = ([] : Optional (Natural)) +, qps = ([] : Optional (Natural)) +} : ../types/io.k8s.api.auditregistration.v1alpha1.WebhookThrottleConfig.dhall diff --git a/default/io.k8s.api.authentication.v1.TokenReviewSpec.dhall b/default/io.k8s.api.authentication.v1.TokenReviewSpec.dhall index 31d16374..43f537b2 100644 --- a/default/io.k8s.api.authentication.v1.TokenReviewSpec.dhall +++ b/default/io.k8s.api.authentication.v1.TokenReviewSpec.dhall @@ -1,2 +1,3 @@ -{ token = ([] : Optional (Text)) +{ audiences = ([] : Optional (List Text)) +, token = ([] : Optional (Text)) } : ../types/io.k8s.api.authentication.v1.TokenReviewSpec.dhall diff --git a/default/io.k8s.api.authentication.v1.TokenReviewStatus.dhall b/default/io.k8s.api.authentication.v1.TokenReviewStatus.dhall index 8edf41ac..ba30d7be 100644 --- a/default/io.k8s.api.authentication.v1.TokenReviewStatus.dhall +++ b/default/io.k8s.api.authentication.v1.TokenReviewStatus.dhall @@ -1,4 +1,5 @@ -{ authenticated = ([] : Optional (Bool)) +{ audiences = ([] : Optional (List Text)) +, authenticated = ([] : Optional (Bool)) , error = ([] : Optional (Text)) , user = ([] : Optional (../types/io.k8s.api.authentication.v1.UserInfo.dhall)) } : ../types/io.k8s.api.authentication.v1.TokenReviewStatus.dhall diff --git a/default/io.k8s.api.authentication.v1beta1.TokenReviewSpec.dhall b/default/io.k8s.api.authentication.v1beta1.TokenReviewSpec.dhall index 5bdf74b3..2ea1e682 100644 --- a/default/io.k8s.api.authentication.v1beta1.TokenReviewSpec.dhall +++ b/default/io.k8s.api.authentication.v1beta1.TokenReviewSpec.dhall @@ -1,2 +1,3 @@ -{ token = ([] : Optional (Text)) +{ audiences = ([] : Optional (List Text)) +, token = ([] : Optional (Text)) } : ../types/io.k8s.api.authentication.v1beta1.TokenReviewSpec.dhall diff --git a/default/io.k8s.api.authentication.v1beta1.TokenReviewStatus.dhall b/default/io.k8s.api.authentication.v1beta1.TokenReviewStatus.dhall index 68ed1f1b..0013ea03 100644 --- a/default/io.k8s.api.authentication.v1beta1.TokenReviewStatus.dhall +++ b/default/io.k8s.api.authentication.v1beta1.TokenReviewStatus.dhall @@ -1,4 +1,5 @@ -{ authenticated = ([] : Optional (Bool)) +{ audiences = ([] : Optional (List Text)) +, authenticated = ([] : Optional (Bool)) , error = ([] : Optional (Text)) , user = ([] : Optional (../types/io.k8s.api.authentication.v1beta1.UserInfo.dhall)) } : ../types/io.k8s.api.authentication.v1beta1.TokenReviewStatus.dhall diff --git a/default/io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerStatus.dhall b/default/io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerStatus.dhall index 1162c480..ffbcda86 100644 --- a/default/io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerStatus.dhall +++ b/default/io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerStatus.dhall @@ -1,6 +1,6 @@ -\(_params : {conditions : (List ../types/io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerCondition.dhall), currentMetrics : (List ../types/io.k8s.api.autoscaling.v2beta1.MetricStatus.dhall), currentReplicas : (Natural), desiredReplicas : (Natural)}) -> +\(_params : {conditions : (List ../types/io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerCondition.dhall), currentReplicas : (Natural), desiredReplicas : (Natural)}) -> { conditions = _params.conditions -, currentMetrics = _params.currentMetrics +, currentMetrics = ([] : Optional (List ../types/io.k8s.api.autoscaling.v2beta1.MetricStatus.dhall)) , currentReplicas = _params.currentReplicas , desiredReplicas = _params.desiredReplicas , lastScaleTime = ([] : Optional (../types/io.k8s.apimachinery.pkg.apis.meta.v1.Time.dhall)) diff --git a/default/io.k8s.api.autoscaling.v2beta1.ObjectMetricSource.dhall b/default/io.k8s.api.autoscaling.v2beta1.ObjectMetricSource.dhall index f4023687..42fbd577 100644 --- a/default/io.k8s.api.autoscaling.v2beta1.ObjectMetricSource.dhall +++ b/default/io.k8s.api.autoscaling.v2beta1.ObjectMetricSource.dhall @@ -1,5 +1,7 @@ \(_params : {metricName : (Text), target : (../types/io.k8s.api.autoscaling.v2beta1.CrossVersionObjectReference.dhall), targetValue : (../types/io.k8s.apimachinery.pkg.api.resource.Quantity.dhall)}) -> -{ metricName = _params.metricName +{ averageValue = ([] : Optional (../types/io.k8s.apimachinery.pkg.api.resource.Quantity.dhall)) +, metricName = _params.metricName +, selector = ([] : Optional (../types/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector.dhall)) , target = _params.target , targetValue = _params.targetValue } : ../types/io.k8s.api.autoscaling.v2beta1.ObjectMetricSource.dhall diff --git a/default/io.k8s.api.autoscaling.v2beta1.ObjectMetricStatus.dhall b/default/io.k8s.api.autoscaling.v2beta1.ObjectMetricStatus.dhall index 3f1da1bd..0d729ca9 100644 --- a/default/io.k8s.api.autoscaling.v2beta1.ObjectMetricStatus.dhall +++ b/default/io.k8s.api.autoscaling.v2beta1.ObjectMetricStatus.dhall @@ -1,5 +1,7 @@ \(_params : {currentValue : (../types/io.k8s.apimachinery.pkg.api.resource.Quantity.dhall), metricName : (Text), target : (../types/io.k8s.api.autoscaling.v2beta1.CrossVersionObjectReference.dhall)}) -> -{ currentValue = _params.currentValue +{ averageValue = ([] : Optional (../types/io.k8s.apimachinery.pkg.api.resource.Quantity.dhall)) +, currentValue = _params.currentValue , metricName = _params.metricName +, selector = ([] : Optional (../types/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector.dhall)) , target = _params.target } : ../types/io.k8s.api.autoscaling.v2beta1.ObjectMetricStatus.dhall diff --git a/default/io.k8s.api.autoscaling.v2beta1.PodsMetricSource.dhall b/default/io.k8s.api.autoscaling.v2beta1.PodsMetricSource.dhall index 7b813a17..5da90f4a 100644 --- a/default/io.k8s.api.autoscaling.v2beta1.PodsMetricSource.dhall +++ b/default/io.k8s.api.autoscaling.v2beta1.PodsMetricSource.dhall @@ -1,4 +1,5 @@ \(_params : {metricName : (Text), targetAverageValue : (../types/io.k8s.apimachinery.pkg.api.resource.Quantity.dhall)}) -> { metricName = _params.metricName +, selector = ([] : Optional (../types/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector.dhall)) , targetAverageValue = _params.targetAverageValue } : ../types/io.k8s.api.autoscaling.v2beta1.PodsMetricSource.dhall diff --git a/default/io.k8s.api.autoscaling.v2beta1.PodsMetricStatus.dhall b/default/io.k8s.api.autoscaling.v2beta1.PodsMetricStatus.dhall index 7d2f1a65..c150c228 100644 --- a/default/io.k8s.api.autoscaling.v2beta1.PodsMetricStatus.dhall +++ b/default/io.k8s.api.autoscaling.v2beta1.PodsMetricStatus.dhall @@ -1,4 +1,5 @@ \(_params : {currentAverageValue : (../types/io.k8s.apimachinery.pkg.api.resource.Quantity.dhall), metricName : (Text)}) -> { currentAverageValue = _params.currentAverageValue , metricName = _params.metricName +, selector = ([] : Optional (../types/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector.dhall)) } : ../types/io.k8s.api.autoscaling.v2beta1.PodsMetricStatus.dhall diff --git a/default/io.k8s.api.autoscaling.v2beta2.CrossVersionObjectReference.dhall b/default/io.k8s.api.autoscaling.v2beta2.CrossVersionObjectReference.dhall new file mode 100644 index 00000000..7bea62b7 --- /dev/null +++ b/default/io.k8s.api.autoscaling.v2beta2.CrossVersionObjectReference.dhall @@ -0,0 +1,5 @@ +\(_params : {apiVersion : (Text), kind : (Text), name : (Text)}) -> +{ apiVersion = _params.apiVersion +, kind = _params.kind +, name = _params.name +} : ../types/io.k8s.api.autoscaling.v2beta2.CrossVersionObjectReference.dhall diff --git a/default/io.k8s.api.autoscaling.v2beta2.ExternalMetricSource.dhall b/default/io.k8s.api.autoscaling.v2beta2.ExternalMetricSource.dhall new file mode 100644 index 00000000..c973bf23 --- /dev/null +++ b/default/io.k8s.api.autoscaling.v2beta2.ExternalMetricSource.dhall @@ -0,0 +1,4 @@ +\(_params : {metric : (../types/io.k8s.api.autoscaling.v2beta2.MetricIdentifier.dhall), target : (../types/io.k8s.api.autoscaling.v2beta2.MetricTarget.dhall)}) -> +{ metric = _params.metric +, target = _params.target +} : ../types/io.k8s.api.autoscaling.v2beta2.ExternalMetricSource.dhall diff --git a/default/io.k8s.api.autoscaling.v2beta2.ExternalMetricStatus.dhall b/default/io.k8s.api.autoscaling.v2beta2.ExternalMetricStatus.dhall new file mode 100644 index 00000000..75ca35cb --- /dev/null +++ b/default/io.k8s.api.autoscaling.v2beta2.ExternalMetricStatus.dhall @@ -0,0 +1,4 @@ +\(_params : {current : (../types/io.k8s.api.autoscaling.v2beta2.MetricValueStatus.dhall), metric : (../types/io.k8s.api.autoscaling.v2beta2.MetricIdentifier.dhall)}) -> +{ current = _params.current +, metric = _params.metric +} : ../types/io.k8s.api.autoscaling.v2beta2.ExternalMetricStatus.dhall diff --git a/default/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler.dhall b/default/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler.dhall new file mode 100644 index 00000000..e45efa89 --- /dev/null +++ b/default/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler.dhall @@ -0,0 +1,7 @@ +\(_params : {metadata : (../types/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta.dhall)}) -> +{ apiVersion = ("autoscaling/v2beta2" : Text) +, kind = ("HorizontalPodAutoscaler" : Text) +, metadata = _params.metadata +, spec = ([] : Optional (../types/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerSpec.dhall)) +, status = ([] : Optional (../types/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerStatus.dhall)) +} : ../types/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler.dhall diff --git a/default/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerCondition.dhall b/default/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerCondition.dhall new file mode 100644 index 00000000..10960cd1 --- /dev/null +++ b/default/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerCondition.dhall @@ -0,0 +1,7 @@ +\(_params : {status : (Text), type : (Text)}) -> +{ lastTransitionTime = ([] : Optional (../types/io.k8s.apimachinery.pkg.apis.meta.v1.Time.dhall)) +, message = ([] : Optional (Text)) +, reason = ([] : Optional (Text)) +, status = _params.status +, type = _params.type +} : ../types/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerCondition.dhall diff --git a/default/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerList.dhall b/default/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerList.dhall new file mode 100644 index 00000000..c2640496 --- /dev/null +++ b/default/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerList.dhall @@ -0,0 +1,6 @@ +\(_params : {items : (List ../types/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler.dhall), metadata : (../types/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta.dhall)}) -> +{ apiVersion = ("autoscaling/v2beta2" : Text) +, items = _params.items +, kind = ("HorizontalPodAutoscalerList" : Text) +, metadata = _params.metadata +} : ../types/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerList.dhall diff --git a/default/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerSpec.dhall b/default/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerSpec.dhall new file mode 100644 index 00000000..63ba99e2 --- /dev/null +++ b/default/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerSpec.dhall @@ -0,0 +1,6 @@ +\(_params : {maxReplicas : (Natural), scaleTargetRef : (../types/io.k8s.api.autoscaling.v2beta2.CrossVersionObjectReference.dhall)}) -> +{ maxReplicas = _params.maxReplicas +, metrics = ([] : Optional (List ../types/io.k8s.api.autoscaling.v2beta2.MetricSpec.dhall)) +, minReplicas = ([] : Optional (Natural)) +, scaleTargetRef = _params.scaleTargetRef +} : ../types/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerSpec.dhall diff --git a/default/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerStatus.dhall b/default/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerStatus.dhall new file mode 100644 index 00000000..b0035c89 --- /dev/null +++ b/default/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerStatus.dhall @@ -0,0 +1,8 @@ +\(_params : {conditions : (List ../types/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerCondition.dhall), currentReplicas : (Natural), desiredReplicas : (Natural)}) -> +{ conditions = _params.conditions +, currentMetrics = ([] : Optional (List ../types/io.k8s.api.autoscaling.v2beta2.MetricStatus.dhall)) +, currentReplicas = _params.currentReplicas +, desiredReplicas = _params.desiredReplicas +, lastScaleTime = ([] : Optional (../types/io.k8s.apimachinery.pkg.apis.meta.v1.Time.dhall)) +, observedGeneration = ([] : Optional (Natural)) +} : ../types/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerStatus.dhall diff --git a/default/io.k8s.api.autoscaling.v2beta2.MetricIdentifier.dhall b/default/io.k8s.api.autoscaling.v2beta2.MetricIdentifier.dhall new file mode 100644 index 00000000..2ebd6599 --- /dev/null +++ b/default/io.k8s.api.autoscaling.v2beta2.MetricIdentifier.dhall @@ -0,0 +1,4 @@ +\(_params : {name : (Text)}) -> +{ name = _params.name +, selector = ([] : Optional (../types/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector.dhall)) +} : ../types/io.k8s.api.autoscaling.v2beta2.MetricIdentifier.dhall diff --git a/default/io.k8s.api.autoscaling.v2beta2.MetricSpec.dhall b/default/io.k8s.api.autoscaling.v2beta2.MetricSpec.dhall new file mode 100644 index 00000000..a5b7b2ed --- /dev/null +++ b/default/io.k8s.api.autoscaling.v2beta2.MetricSpec.dhall @@ -0,0 +1,7 @@ +\(_params : {type : (Text)}) -> +{ external = ([] : Optional (../types/io.k8s.api.autoscaling.v2beta2.ExternalMetricSource.dhall)) +, object = ([] : Optional (../types/io.k8s.api.autoscaling.v2beta2.ObjectMetricSource.dhall)) +, pods = ([] : Optional (../types/io.k8s.api.autoscaling.v2beta2.PodsMetricSource.dhall)) +, resource = ([] : Optional (../types/io.k8s.api.autoscaling.v2beta2.ResourceMetricSource.dhall)) +, type = _params.type +} : ../types/io.k8s.api.autoscaling.v2beta2.MetricSpec.dhall diff --git a/default/io.k8s.api.autoscaling.v2beta2.MetricStatus.dhall b/default/io.k8s.api.autoscaling.v2beta2.MetricStatus.dhall new file mode 100644 index 00000000..29a707f5 --- /dev/null +++ b/default/io.k8s.api.autoscaling.v2beta2.MetricStatus.dhall @@ -0,0 +1,7 @@ +\(_params : {type : (Text)}) -> +{ external = ([] : Optional (../types/io.k8s.api.autoscaling.v2beta2.ExternalMetricStatus.dhall)) +, object = ([] : Optional (../types/io.k8s.api.autoscaling.v2beta2.ObjectMetricStatus.dhall)) +, pods = ([] : Optional (../types/io.k8s.api.autoscaling.v2beta2.PodsMetricStatus.dhall)) +, resource = ([] : Optional (../types/io.k8s.api.autoscaling.v2beta2.ResourceMetricStatus.dhall)) +, type = _params.type +} : ../types/io.k8s.api.autoscaling.v2beta2.MetricStatus.dhall diff --git a/default/io.k8s.api.autoscaling.v2beta2.MetricTarget.dhall b/default/io.k8s.api.autoscaling.v2beta2.MetricTarget.dhall new file mode 100644 index 00000000..10de7279 --- /dev/null +++ b/default/io.k8s.api.autoscaling.v2beta2.MetricTarget.dhall @@ -0,0 +1,6 @@ +\(_params : {type : (Text)}) -> +{ averageUtilization = ([] : Optional (Natural)) +, averageValue = ([] : Optional (../types/io.k8s.apimachinery.pkg.api.resource.Quantity.dhall)) +, type = _params.type +, value = ([] : Optional (../types/io.k8s.apimachinery.pkg.api.resource.Quantity.dhall)) +} : ../types/io.k8s.api.autoscaling.v2beta2.MetricTarget.dhall diff --git a/default/io.k8s.api.autoscaling.v2beta2.MetricValueStatus.dhall b/default/io.k8s.api.autoscaling.v2beta2.MetricValueStatus.dhall new file mode 100644 index 00000000..78053980 --- /dev/null +++ b/default/io.k8s.api.autoscaling.v2beta2.MetricValueStatus.dhall @@ -0,0 +1,4 @@ +{ averageUtilization = ([] : Optional (Natural)) +, averageValue = ([] : Optional (../types/io.k8s.apimachinery.pkg.api.resource.Quantity.dhall)) +, value = ([] : Optional (../types/io.k8s.apimachinery.pkg.api.resource.Quantity.dhall)) +} : ../types/io.k8s.api.autoscaling.v2beta2.MetricValueStatus.dhall diff --git a/default/io.k8s.api.autoscaling.v2beta2.ObjectMetricSource.dhall b/default/io.k8s.api.autoscaling.v2beta2.ObjectMetricSource.dhall new file mode 100644 index 00000000..b953f2cf --- /dev/null +++ b/default/io.k8s.api.autoscaling.v2beta2.ObjectMetricSource.dhall @@ -0,0 +1,5 @@ +\(_params : {describedObject : (../types/io.k8s.api.autoscaling.v2beta2.CrossVersionObjectReference.dhall), metric : (../types/io.k8s.api.autoscaling.v2beta2.MetricIdentifier.dhall), target : (../types/io.k8s.api.autoscaling.v2beta2.MetricTarget.dhall)}) -> +{ describedObject = _params.describedObject +, metric = _params.metric +, target = _params.target +} : ../types/io.k8s.api.autoscaling.v2beta2.ObjectMetricSource.dhall diff --git a/default/io.k8s.api.autoscaling.v2beta2.ObjectMetricStatus.dhall b/default/io.k8s.api.autoscaling.v2beta2.ObjectMetricStatus.dhall new file mode 100644 index 00000000..474c2ea5 --- /dev/null +++ b/default/io.k8s.api.autoscaling.v2beta2.ObjectMetricStatus.dhall @@ -0,0 +1,5 @@ +\(_params : {current : (../types/io.k8s.api.autoscaling.v2beta2.MetricValueStatus.dhall), describedObject : (../types/io.k8s.api.autoscaling.v2beta2.CrossVersionObjectReference.dhall), metric : (../types/io.k8s.api.autoscaling.v2beta2.MetricIdentifier.dhall)}) -> +{ current = _params.current +, describedObject = _params.describedObject +, metric = _params.metric +} : ../types/io.k8s.api.autoscaling.v2beta2.ObjectMetricStatus.dhall diff --git a/default/io.k8s.api.autoscaling.v2beta2.PodsMetricSource.dhall b/default/io.k8s.api.autoscaling.v2beta2.PodsMetricSource.dhall new file mode 100644 index 00000000..7e307818 --- /dev/null +++ b/default/io.k8s.api.autoscaling.v2beta2.PodsMetricSource.dhall @@ -0,0 +1,4 @@ +\(_params : {metric : (../types/io.k8s.api.autoscaling.v2beta2.MetricIdentifier.dhall), target : (../types/io.k8s.api.autoscaling.v2beta2.MetricTarget.dhall)}) -> +{ metric = _params.metric +, target = _params.target +} : ../types/io.k8s.api.autoscaling.v2beta2.PodsMetricSource.dhall diff --git a/default/io.k8s.api.autoscaling.v2beta2.PodsMetricStatus.dhall b/default/io.k8s.api.autoscaling.v2beta2.PodsMetricStatus.dhall new file mode 100644 index 00000000..c4e70478 --- /dev/null +++ b/default/io.k8s.api.autoscaling.v2beta2.PodsMetricStatus.dhall @@ -0,0 +1,4 @@ +\(_params : {current : (../types/io.k8s.api.autoscaling.v2beta2.MetricValueStatus.dhall), metric : (../types/io.k8s.api.autoscaling.v2beta2.MetricIdentifier.dhall)}) -> +{ current = _params.current +, metric = _params.metric +} : ../types/io.k8s.api.autoscaling.v2beta2.PodsMetricStatus.dhall diff --git a/default/io.k8s.api.autoscaling.v2beta2.ResourceMetricSource.dhall b/default/io.k8s.api.autoscaling.v2beta2.ResourceMetricSource.dhall new file mode 100644 index 00000000..2f54a0b3 --- /dev/null +++ b/default/io.k8s.api.autoscaling.v2beta2.ResourceMetricSource.dhall @@ -0,0 +1,4 @@ +\(_params : {name : (Text), target : (../types/io.k8s.api.autoscaling.v2beta2.MetricTarget.dhall)}) -> +{ name = _params.name +, target = _params.target +} : ../types/io.k8s.api.autoscaling.v2beta2.ResourceMetricSource.dhall diff --git a/default/io.k8s.api.autoscaling.v2beta2.ResourceMetricStatus.dhall b/default/io.k8s.api.autoscaling.v2beta2.ResourceMetricStatus.dhall new file mode 100644 index 00000000..93fbd99c --- /dev/null +++ b/default/io.k8s.api.autoscaling.v2beta2.ResourceMetricStatus.dhall @@ -0,0 +1,4 @@ +\(_params : {current : (../types/io.k8s.api.autoscaling.v2beta2.MetricValueStatus.dhall), name : (Text)}) -> +{ current = _params.current +, name = _params.name +} : ../types/io.k8s.api.autoscaling.v2beta2.ResourceMetricStatus.dhall diff --git a/default/io.k8s.api.batch.v1.JobSpec.dhall b/default/io.k8s.api.batch.v1.JobSpec.dhall index 02ebf986..2c5ec827 100644 --- a/default/io.k8s.api.batch.v1.JobSpec.dhall +++ b/default/io.k8s.api.batch.v1.JobSpec.dhall @@ -6,4 +6,5 @@ , parallelism = ([] : Optional (Natural)) , selector = ([] : Optional (../types/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector.dhall)) , template = _params.template +, ttlSecondsAfterFinished = ([] : Optional (Natural)) } : ../types/io.k8s.api.batch.v1.JobSpec.dhall diff --git a/default/io.k8s.api.core.v1.GlusterfsPersistentVolumeSource.dhall b/default/io.k8s.api.core.v1.GlusterfsPersistentVolumeSource.dhall new file mode 100644 index 00000000..19ef511e --- /dev/null +++ b/default/io.k8s.api.core.v1.GlusterfsPersistentVolumeSource.dhall @@ -0,0 +1,6 @@ +\(_params : {endpoints : (Text), path : (Text)}) -> +{ endpoints = _params.endpoints +, endpointsNamespace = ([] : Optional (Text)) +, path = _params.path +, readOnly = ([] : Optional (Bool)) +} : ../types/io.k8s.api.core.v1.GlusterfsPersistentVolumeSource.dhall diff --git a/default/io.k8s.api.core.v1.LocalVolumeSource.dhall b/default/io.k8s.api.core.v1.LocalVolumeSource.dhall index 2ab2b392..8af66705 100644 --- a/default/io.k8s.api.core.v1.LocalVolumeSource.dhall +++ b/default/io.k8s.api.core.v1.LocalVolumeSource.dhall @@ -1,3 +1,4 @@ \(_params : {path : (Text)}) -> -{ path = _params.path +{ fsType = ([] : Optional (Text)) +, path = _params.path } : ../types/io.k8s.api.core.v1.LocalVolumeSource.dhall diff --git a/default/io.k8s.api.core.v1.PersistentVolumeClaimSpec.dhall b/default/io.k8s.api.core.v1.PersistentVolumeClaimSpec.dhall index 32f4eca8..2ac4a1f6 100644 --- a/default/io.k8s.api.core.v1.PersistentVolumeClaimSpec.dhall +++ b/default/io.k8s.api.core.v1.PersistentVolumeClaimSpec.dhall @@ -1,4 +1,5 @@ { accessModes = ([] : Optional (List Text)) +, dataSource = ([] : Optional (../types/io.k8s.api.core.v1.TypedLocalObjectReference.dhall)) , resources = ([] : Optional (../types/io.k8s.api.core.v1.ResourceRequirements.dhall)) , selector = ([] : Optional (../types/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector.dhall)) , storageClassName = ([] : Optional (Text)) diff --git a/default/io.k8s.api.core.v1.PersistentVolumeSpec.dhall b/default/io.k8s.api.core.v1.PersistentVolumeSpec.dhall index cb8db147..5d633968 100644 --- a/default/io.k8s.api.core.v1.PersistentVolumeSpec.dhall +++ b/default/io.k8s.api.core.v1.PersistentVolumeSpec.dhall @@ -11,7 +11,7 @@ , flexVolume = ([] : Optional (../types/io.k8s.api.core.v1.FlexPersistentVolumeSource.dhall)) , flocker = ([] : Optional (../types/io.k8s.api.core.v1.FlockerVolumeSource.dhall)) , gcePersistentDisk = ([] : Optional (../types/io.k8s.api.core.v1.GCEPersistentDiskVolumeSource.dhall)) -, glusterfs = ([] : Optional (../types/io.k8s.api.core.v1.GlusterfsVolumeSource.dhall)) +, glusterfs = ([] : Optional (../types/io.k8s.api.core.v1.GlusterfsPersistentVolumeSource.dhall)) , hostPath = ([] : Optional (../types/io.k8s.api.core.v1.HostPathVolumeSource.dhall)) , iscsi = ([] : Optional (../types/io.k8s.api.core.v1.ISCSIPersistentVolumeSource.dhall)) , local = ([] : Optional (../types/io.k8s.api.core.v1.LocalVolumeSource.dhall)) diff --git a/default/io.k8s.api.core.v1.PodSpec.dhall b/default/io.k8s.api.core.v1.PodSpec.dhall index 90c9705f..b4e660de 100644 --- a/default/io.k8s.api.core.v1.PodSpec.dhall +++ b/default/io.k8s.api.core.v1.PodSpec.dhall @@ -5,6 +5,7 @@ , containers = _params.containers , dnsConfig = ([] : Optional (../types/io.k8s.api.core.v1.PodDNSConfig.dhall)) , dnsPolicy = ([] : Optional (Text)) +, enableServiceLinks = ([] : Optional (Bool)) , hostAliases = ([] : Optional (List ../types/io.k8s.api.core.v1.HostAlias.dhall)) , hostIPC = ([] : Optional (Bool)) , hostNetwork = ([] : Optional (Bool)) @@ -18,6 +19,7 @@ , priorityClassName = ([] : Optional (Text)) , readinessGates = ([] : Optional (List ../types/io.k8s.api.core.v1.PodReadinessGate.dhall)) , restartPolicy = ([] : Optional (Text)) +, runtimeClassName = ([] : Optional (Text)) , schedulerName = ([] : Optional (Text)) , securityContext = ([] : Optional (../types/io.k8s.api.core.v1.PodSecurityContext.dhall)) , serviceAccount = ([] : Optional (Text)) diff --git a/default/io.k8s.api.core.v1.SecurityContext.dhall b/default/io.k8s.api.core.v1.SecurityContext.dhall index 212ed976..a36acb92 100644 --- a/default/io.k8s.api.core.v1.SecurityContext.dhall +++ b/default/io.k8s.api.core.v1.SecurityContext.dhall @@ -1,6 +1,7 @@ { allowPrivilegeEscalation = ([] : Optional (Bool)) , capabilities = ([] : Optional (../types/io.k8s.api.core.v1.Capabilities.dhall)) , privileged = ([] : Optional (Bool)) +, procMount = ([] : Optional (Text)) , readOnlyRootFilesystem = ([] : Optional (Bool)) , runAsGroup = ([] : Optional (Natural)) , runAsNonRoot = ([] : Optional (Bool)) diff --git a/default/io.k8s.api.core.v1.TypedLocalObjectReference.dhall b/default/io.k8s.api.core.v1.TypedLocalObjectReference.dhall new file mode 100644 index 00000000..4ffb3a94 --- /dev/null +++ b/default/io.k8s.api.core.v1.TypedLocalObjectReference.dhall @@ -0,0 +1,5 @@ +\(_params : {kind : (Text), name : (Text)}) -> +{ apiGroup = ([] : Optional (Text)) +, kind = _params.kind +, name = _params.name +} : ../types/io.k8s.api.core.v1.TypedLocalObjectReference.dhall diff --git a/default/io.k8s.api.extensions.v1beta1.PodSecurityPolicySpec.dhall b/default/io.k8s.api.extensions.v1beta1.PodSecurityPolicySpec.dhall index 804315bf..0115a615 100644 --- a/default/io.k8s.api.extensions.v1beta1.PodSecurityPolicySpec.dhall +++ b/default/io.k8s.api.extensions.v1beta1.PodSecurityPolicySpec.dhall @@ -3,6 +3,7 @@ , allowedCapabilities = ([] : Optional (List Text)) , allowedFlexVolumes = ([] : Optional (List ../types/io.k8s.api.extensions.v1beta1.AllowedFlexVolume.dhall)) , allowedHostPaths = ([] : Optional (List ../types/io.k8s.api.extensions.v1beta1.AllowedHostPath.dhall)) +, allowedProcMountTypes = ([] : Optional (List Text)) , allowedUnsafeSysctls = ([] : Optional (List Text)) , defaultAddCapabilities = ([] : Optional (List Text)) , defaultAllowPrivilegeEscalation = ([] : Optional (Bool)) @@ -15,6 +16,7 @@ , privileged = ([] : Optional (Bool)) , readOnlyRootFilesystem = ([] : Optional (Bool)) , requiredDropCapabilities = ([] : Optional (List Text)) +, runAsGroup = ([] : Optional (../types/io.k8s.api.extensions.v1beta1.RunAsGroupStrategyOptions.dhall)) , runAsUser = _params.runAsUser , seLinux = _params.seLinux , supplementalGroups = _params.supplementalGroups diff --git a/default/io.k8s.api.extensions.v1beta1.RunAsGroupStrategyOptions.dhall b/default/io.k8s.api.extensions.v1beta1.RunAsGroupStrategyOptions.dhall new file mode 100644 index 00000000..4663f24c --- /dev/null +++ b/default/io.k8s.api.extensions.v1beta1.RunAsGroupStrategyOptions.dhall @@ -0,0 +1,4 @@ +\(_params : {rule : (Text)}) -> +{ ranges = ([] : Optional (List ../types/io.k8s.api.extensions.v1beta1.IDRange.dhall)) +, rule = _params.rule +} : ../types/io.k8s.api.extensions.v1beta1.RunAsGroupStrategyOptions.dhall diff --git a/default/io.k8s.api.policy.v1beta1.PodDisruptionBudgetStatus.dhall b/default/io.k8s.api.policy.v1beta1.PodDisruptionBudgetStatus.dhall index cd86e14e..732e2a5d 100644 --- a/default/io.k8s.api.policy.v1beta1.PodDisruptionBudgetStatus.dhall +++ b/default/io.k8s.api.policy.v1beta1.PodDisruptionBudgetStatus.dhall @@ -1,7 +1,7 @@ -\(_params : {currentHealthy : (Natural), desiredHealthy : (Natural), disruptedPods : ((List {mapKey : Text, mapValue : Text})), disruptionsAllowed : (Natural), expectedPods : (Natural)}) -> +\(_params : {currentHealthy : (Natural), desiredHealthy : (Natural), disruptionsAllowed : (Natural), expectedPods : (Natural)}) -> { currentHealthy = _params.currentHealthy , desiredHealthy = _params.desiredHealthy -, disruptedPods = _params.disruptedPods +, disruptedPods = ([] : Optional ((List {mapKey : Text, mapValue : Text}))) , disruptionsAllowed = _params.disruptionsAllowed , expectedPods = _params.expectedPods , observedGeneration = ([] : Optional (Natural)) diff --git a/default/io.k8s.api.policy.v1beta1.PodSecurityPolicySpec.dhall b/default/io.k8s.api.policy.v1beta1.PodSecurityPolicySpec.dhall index ae6e1791..619c8aa0 100644 --- a/default/io.k8s.api.policy.v1beta1.PodSecurityPolicySpec.dhall +++ b/default/io.k8s.api.policy.v1beta1.PodSecurityPolicySpec.dhall @@ -3,6 +3,7 @@ , allowedCapabilities = ([] : Optional (List Text)) , allowedFlexVolumes = ([] : Optional (List ../types/io.k8s.api.policy.v1beta1.AllowedFlexVolume.dhall)) , allowedHostPaths = ([] : Optional (List ../types/io.k8s.api.policy.v1beta1.AllowedHostPath.dhall)) +, allowedProcMountTypes = ([] : Optional (List Text)) , allowedUnsafeSysctls = ([] : Optional (List Text)) , defaultAddCapabilities = ([] : Optional (List Text)) , defaultAllowPrivilegeEscalation = ([] : Optional (Bool)) @@ -15,6 +16,7 @@ , privileged = ([] : Optional (Bool)) , readOnlyRootFilesystem = ([] : Optional (Bool)) , requiredDropCapabilities = ([] : Optional (List Text)) +, runAsGroup = ([] : Optional (../types/io.k8s.api.policy.v1beta1.RunAsGroupStrategyOptions.dhall)) , runAsUser = _params.runAsUser , seLinux = _params.seLinux , supplementalGroups = _params.supplementalGroups diff --git a/default/io.k8s.api.policy.v1beta1.RunAsGroupStrategyOptions.dhall b/default/io.k8s.api.policy.v1beta1.RunAsGroupStrategyOptions.dhall new file mode 100644 index 00000000..b9246137 --- /dev/null +++ b/default/io.k8s.api.policy.v1beta1.RunAsGroupStrategyOptions.dhall @@ -0,0 +1,4 @@ +\(_params : {rule : (Text)}) -> +{ ranges = ([] : Optional (List ../types/io.k8s.api.policy.v1beta1.IDRange.dhall)) +, rule = _params.rule +} : ../types/io.k8s.api.policy.v1beta1.RunAsGroupStrategyOptions.dhall diff --git a/default/io.k8s.api.storage.v1.VolumeAttachment.dhall b/default/io.k8s.api.storage.v1.VolumeAttachment.dhall new file mode 100644 index 00000000..093bd410 --- /dev/null +++ b/default/io.k8s.api.storage.v1.VolumeAttachment.dhall @@ -0,0 +1,7 @@ +\(_params : {metadata : (../types/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta.dhall), spec : (../types/io.k8s.api.storage.v1.VolumeAttachmentSpec.dhall)}) -> +{ apiVersion = ("storage.k8s.io/v1" : Text) +, kind = ("VolumeAttachment" : Text) +, metadata = _params.metadata +, spec = _params.spec +, status = ([] : Optional (../types/io.k8s.api.storage.v1.VolumeAttachmentStatus.dhall)) +} : ../types/io.k8s.api.storage.v1.VolumeAttachment.dhall diff --git a/default/io.k8s.api.storage.v1.VolumeAttachmentList.dhall b/default/io.k8s.api.storage.v1.VolumeAttachmentList.dhall new file mode 100644 index 00000000..cf2c6f2d --- /dev/null +++ b/default/io.k8s.api.storage.v1.VolumeAttachmentList.dhall @@ -0,0 +1,6 @@ +\(_params : {items : (List ../types/io.k8s.api.storage.v1.VolumeAttachment.dhall), metadata : (../types/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta.dhall)}) -> +{ apiVersion = ("storage.k8s.io/v1" : Text) +, items = _params.items +, kind = ("VolumeAttachmentList" : Text) +, metadata = _params.metadata +} : ../types/io.k8s.api.storage.v1.VolumeAttachmentList.dhall diff --git a/default/io.k8s.api.storage.v1.VolumeAttachmentSource.dhall b/default/io.k8s.api.storage.v1.VolumeAttachmentSource.dhall new file mode 100644 index 00000000..cdfdf64c --- /dev/null +++ b/default/io.k8s.api.storage.v1.VolumeAttachmentSource.dhall @@ -0,0 +1,2 @@ +{ persistentVolumeName = ([] : Optional (Text)) +} : ../types/io.k8s.api.storage.v1.VolumeAttachmentSource.dhall diff --git a/default/io.k8s.api.storage.v1.VolumeAttachmentSpec.dhall b/default/io.k8s.api.storage.v1.VolumeAttachmentSpec.dhall new file mode 100644 index 00000000..28800d80 --- /dev/null +++ b/default/io.k8s.api.storage.v1.VolumeAttachmentSpec.dhall @@ -0,0 +1,5 @@ +\(_params : {attacher : (Text), nodeName : (Text), source : (../types/io.k8s.api.storage.v1.VolumeAttachmentSource.dhall)}) -> +{ attacher = _params.attacher +, nodeName = _params.nodeName +, source = _params.source +} : ../types/io.k8s.api.storage.v1.VolumeAttachmentSpec.dhall diff --git a/default/io.k8s.api.storage.v1.VolumeAttachmentStatus.dhall b/default/io.k8s.api.storage.v1.VolumeAttachmentStatus.dhall new file mode 100644 index 00000000..145b2c9e --- /dev/null +++ b/default/io.k8s.api.storage.v1.VolumeAttachmentStatus.dhall @@ -0,0 +1,6 @@ +\(_params : {attached : (Bool)}) -> +{ attachError = ([] : Optional (../types/io.k8s.api.storage.v1.VolumeError.dhall)) +, attached = _params.attached +, attachmentMetadata = ([] : Optional ((List {mapKey : Text, mapValue : Text}))) +, detachError = ([] : Optional (../types/io.k8s.api.storage.v1.VolumeError.dhall)) +} : ../types/io.k8s.api.storage.v1.VolumeAttachmentStatus.dhall diff --git a/default/io.k8s.api.storage.v1.VolumeError.dhall b/default/io.k8s.api.storage.v1.VolumeError.dhall new file mode 100644 index 00000000..969ce04b --- /dev/null +++ b/default/io.k8s.api.storage.v1.VolumeError.dhall @@ -0,0 +1,3 @@ +{ message = ([] : Optional (Text)) +, time = ([] : Optional (../types/io.k8s.apimachinery.pkg.apis.meta.v1.Time.dhall)) +} : ../types/io.k8s.api.storage.v1.VolumeError.dhall diff --git a/default/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceConversion.dhall b/default/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceConversion.dhall new file mode 100644 index 00000000..8bb9caba --- /dev/null +++ b/default/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceConversion.dhall @@ -0,0 +1,4 @@ +\(_params : {strategy : (Text)}) -> +{ strategy = _params.strategy +, webhookClientConfig = ([] : Optional (../types/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.WebhookClientConfig.dhall)) +} : ../types/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceConversion.dhall diff --git a/default/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition.dhall b/default/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition.dhall index dc4ea637..6206ff47 100644 --- a/default/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition.dhall +++ b/default/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition.dhall @@ -1,7 +1,7 @@ -\(_params : {metadata : (../types/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta.dhall)}) -> +\(_params : {metadata : (../types/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta.dhall), spec : (../types/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionSpec.dhall)}) -> { apiVersion = ("apiextensions.k8s.io/v1beta1" : Text) , kind = ("CustomResourceDefinition" : Text) , metadata = _params.metadata -, spec = ([] : Optional (../types/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionSpec.dhall)) +, spec = _params.spec , status = ([] : Optional (../types/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionStatus.dhall)) } : ../types/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition.dhall diff --git a/default/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionSpec.dhall b/default/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionSpec.dhall index 1e681983..365aa26e 100644 --- a/default/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionSpec.dhall +++ b/default/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionSpec.dhall @@ -1,5 +1,6 @@ \(_params : {group : (Text), names : (../types/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionNames.dhall), scope : (Text)}) -> { additionalPrinterColumns = ([] : Optional (List ../types/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceColumnDefinition.dhall)) +, conversion = ([] : Optional (../types/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceConversion.dhall)) , group = _params.group , names = _params.names , scope = _params.scope diff --git a/default/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionVersion.dhall b/default/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionVersion.dhall index 2fbd174a..62e56bca 100644 --- a/default/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionVersion.dhall +++ b/default/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionVersion.dhall @@ -1,5 +1,8 @@ \(_params : {name : (Text), served : (Bool), storage : (Bool)}) -> -{ name = _params.name +{ additionalPrinterColumns = ([] : Optional (List ../types/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceColumnDefinition.dhall)) +, name = _params.name +, schema = ([] : Optional (../types/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceValidation.dhall)) , served = _params.served , storage = _params.storage +, subresources = ([] : Optional (../types/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresources.dhall)) } : ../types/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionVersion.dhall diff --git a/default/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.ServiceReference.dhall b/default/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.ServiceReference.dhall new file mode 100644 index 00000000..0dea0420 --- /dev/null +++ b/default/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.ServiceReference.dhall @@ -0,0 +1,5 @@ +\(_params : {name : (Text), namespace : (Text)}) -> +{ name = _params.name +, namespace = _params.namespace +, path = ([] : Optional (Text)) +} : ../types/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.ServiceReference.dhall diff --git a/default/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.WebhookClientConfig.dhall b/default/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.WebhookClientConfig.dhall new file mode 100644 index 00000000..46c50bed --- /dev/null +++ b/default/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.WebhookClientConfig.dhall @@ -0,0 +1,4 @@ +{ caBundle = ([] : Optional (Text)) +, service = ([] : Optional (../types/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.ServiceReference.dhall)) +, url = ([] : Optional (Text)) +} : ../types/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.WebhookClientConfig.dhall diff --git a/default/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions.dhall b/default/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions.dhall index 97a280dc..856caecf 100644 --- a/default/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions.dhall +++ b/default/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions.dhall @@ -1,5 +1,6 @@ \(_params : {apiVersion : (Text), kind : (Text)}) -> { apiVersion = _params.apiVersion +, dryRun = ([] : Optional (List Text)) , gracePeriodSeconds = ([] : Optional (Natural)) , kind = _params.kind , orphanDependents = ([] : Optional (Bool)) diff --git a/scripts/check-source.py b/scripts/check-source.py index 1981bfdf..0134e5da 100755 --- a/scripts/check-source.py +++ b/scripts/check-source.py @@ -17,7 +17,8 @@ ignored_failures = { './default/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceValidation.dhall', './default/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps.dhall', './default/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition.dhall', - './default/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionList.dhall' + './default/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionList.dhall', + './default/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionVersion.dhall' } default_files = glob('./default/*.dhall') diff --git a/types/io.k8s.api.admissionregistration.v1beta1.Webhook.dhall b/types/io.k8s.api.admissionregistration.v1beta1.Webhook.dhall index 1965c2b7..bc0957a9 100644 --- a/types/io.k8s.api.admissionregistration.v1beta1.Webhook.dhall +++ b/types/io.k8s.api.admissionregistration.v1beta1.Webhook.dhall @@ -3,4 +3,5 @@ , name : (Text) , namespaceSelector : (Optional (./io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector.dhall)) , rules : (Optional (List ./io.k8s.api.admissionregistration.v1beta1.RuleWithOperations.dhall)) +, sideEffects : (Optional (Text)) } diff --git a/types/io.k8s.api.admissionregistration.v1beta1.WebhookClientConfig.dhall b/types/io.k8s.api.admissionregistration.v1beta1.WebhookClientConfig.dhall index 073ce4cb..ae44fea1 100644 --- a/types/io.k8s.api.admissionregistration.v1beta1.WebhookClientConfig.dhall +++ b/types/io.k8s.api.admissionregistration.v1beta1.WebhookClientConfig.dhall @@ -1,4 +1,4 @@ -{ caBundle : (Text) +{ caBundle : (Optional (Text)) , service : (Optional (./io.k8s.api.admissionregistration.v1beta1.ServiceReference.dhall)) , url : (Optional (Text)) } diff --git a/types/io.k8s.api.auditregistration.v1alpha1.AuditSink.dhall b/types/io.k8s.api.auditregistration.v1alpha1.AuditSink.dhall new file mode 100644 index 00000000..7130e534 --- /dev/null +++ b/types/io.k8s.api.auditregistration.v1alpha1.AuditSink.dhall @@ -0,0 +1,5 @@ +{ apiVersion : (Text) +, kind : (Text) +, metadata : (./io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta.dhall) +, spec : (Optional (./io.k8s.api.auditregistration.v1alpha1.AuditSinkSpec.dhall)) +} diff --git a/types/io.k8s.api.auditregistration.v1alpha1.AuditSinkList.dhall b/types/io.k8s.api.auditregistration.v1alpha1.AuditSinkList.dhall new file mode 100644 index 00000000..eba33feb --- /dev/null +++ b/types/io.k8s.api.auditregistration.v1alpha1.AuditSinkList.dhall @@ -0,0 +1,5 @@ +{ apiVersion : (Text) +, items : (List ./io.k8s.api.auditregistration.v1alpha1.AuditSink.dhall) +, kind : (Text) +, metadata : (./io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta.dhall) +} diff --git a/types/io.k8s.api.auditregistration.v1alpha1.AuditSinkSpec.dhall b/types/io.k8s.api.auditregistration.v1alpha1.AuditSinkSpec.dhall new file mode 100644 index 00000000..26ae3b6f --- /dev/null +++ b/types/io.k8s.api.auditregistration.v1alpha1.AuditSinkSpec.dhall @@ -0,0 +1,3 @@ +{ policy : (./io.k8s.api.auditregistration.v1alpha1.Policy.dhall) +, webhook : (./io.k8s.api.auditregistration.v1alpha1.Webhook.dhall) +} diff --git a/types/io.k8s.api.auditregistration.v1alpha1.Policy.dhall b/types/io.k8s.api.auditregistration.v1alpha1.Policy.dhall new file mode 100644 index 00000000..5b077465 --- /dev/null +++ b/types/io.k8s.api.auditregistration.v1alpha1.Policy.dhall @@ -0,0 +1,3 @@ +{ level : (Text) +, stages : (Optional (List Text)) +} diff --git a/types/io.k8s.api.auditregistration.v1alpha1.ServiceReference.dhall b/types/io.k8s.api.auditregistration.v1alpha1.ServiceReference.dhall new file mode 100644 index 00000000..e31eb6f6 --- /dev/null +++ b/types/io.k8s.api.auditregistration.v1alpha1.ServiceReference.dhall @@ -0,0 +1,4 @@ +{ name : (Text) +, namespace : (Text) +, path : (Optional (Text)) +} diff --git a/types/io.k8s.api.auditregistration.v1alpha1.Webhook.dhall b/types/io.k8s.api.auditregistration.v1alpha1.Webhook.dhall new file mode 100644 index 00000000..49a14324 --- /dev/null +++ b/types/io.k8s.api.auditregistration.v1alpha1.Webhook.dhall @@ -0,0 +1,3 @@ +{ clientConfig : (./io.k8s.api.auditregistration.v1alpha1.WebhookClientConfig.dhall) +, throttle : (Optional (./io.k8s.api.auditregistration.v1alpha1.WebhookThrottleConfig.dhall)) +} diff --git a/types/io.k8s.api.auditregistration.v1alpha1.WebhookClientConfig.dhall b/types/io.k8s.api.auditregistration.v1alpha1.WebhookClientConfig.dhall new file mode 100644 index 00000000..a7fb43a7 --- /dev/null +++ b/types/io.k8s.api.auditregistration.v1alpha1.WebhookClientConfig.dhall @@ -0,0 +1,4 @@ +{ caBundle : (Optional (Text)) +, service : (Optional (./io.k8s.api.auditregistration.v1alpha1.ServiceReference.dhall)) +, url : (Optional (Text)) +} diff --git a/types/io.k8s.api.auditregistration.v1alpha1.WebhookThrottleConfig.dhall b/types/io.k8s.api.auditregistration.v1alpha1.WebhookThrottleConfig.dhall new file mode 100644 index 00000000..351b04e7 --- /dev/null +++ b/types/io.k8s.api.auditregistration.v1alpha1.WebhookThrottleConfig.dhall @@ -0,0 +1,3 @@ +{ burst : (Optional (Natural)) +, qps : (Optional (Natural)) +} diff --git a/types/io.k8s.api.authentication.v1.TokenReviewSpec.dhall b/types/io.k8s.api.authentication.v1.TokenReviewSpec.dhall index a0862149..cba0ae1a 100644 --- a/types/io.k8s.api.authentication.v1.TokenReviewSpec.dhall +++ b/types/io.k8s.api.authentication.v1.TokenReviewSpec.dhall @@ -1,2 +1,3 @@ -{ token : (Optional (Text)) +{ audiences : (Optional (List Text)) +, token : (Optional (Text)) } diff --git a/types/io.k8s.api.authentication.v1.TokenReviewStatus.dhall b/types/io.k8s.api.authentication.v1.TokenReviewStatus.dhall index 436958c3..ce25ff21 100644 --- a/types/io.k8s.api.authentication.v1.TokenReviewStatus.dhall +++ b/types/io.k8s.api.authentication.v1.TokenReviewStatus.dhall @@ -1,4 +1,5 @@ -{ authenticated : (Optional (Bool)) +{ audiences : (Optional (List Text)) +, authenticated : (Optional (Bool)) , error : (Optional (Text)) , user : (Optional (./io.k8s.api.authentication.v1.UserInfo.dhall)) } diff --git a/types/io.k8s.api.authentication.v1beta1.TokenReviewSpec.dhall b/types/io.k8s.api.authentication.v1beta1.TokenReviewSpec.dhall index a0862149..cba0ae1a 100644 --- a/types/io.k8s.api.authentication.v1beta1.TokenReviewSpec.dhall +++ b/types/io.k8s.api.authentication.v1beta1.TokenReviewSpec.dhall @@ -1,2 +1,3 @@ -{ token : (Optional (Text)) +{ audiences : (Optional (List Text)) +, token : (Optional (Text)) } diff --git a/types/io.k8s.api.authentication.v1beta1.TokenReviewStatus.dhall b/types/io.k8s.api.authentication.v1beta1.TokenReviewStatus.dhall index c01e48d5..8c282cd9 100644 --- a/types/io.k8s.api.authentication.v1beta1.TokenReviewStatus.dhall +++ b/types/io.k8s.api.authentication.v1beta1.TokenReviewStatus.dhall @@ -1,4 +1,5 @@ -{ authenticated : (Optional (Bool)) +{ audiences : (Optional (List Text)) +, authenticated : (Optional (Bool)) , error : (Optional (Text)) , user : (Optional (./io.k8s.api.authentication.v1beta1.UserInfo.dhall)) } diff --git a/types/io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerStatus.dhall b/types/io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerStatus.dhall index 58f309e9..1dd7f56f 100644 --- a/types/io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerStatus.dhall +++ b/types/io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerStatus.dhall @@ -1,5 +1,5 @@ { conditions : (List ./io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscalerCondition.dhall) -, currentMetrics : (List ./io.k8s.api.autoscaling.v2beta1.MetricStatus.dhall) +, currentMetrics : (Optional (List ./io.k8s.api.autoscaling.v2beta1.MetricStatus.dhall)) , currentReplicas : (Natural) , desiredReplicas : (Natural) , lastScaleTime : (Optional (./io.k8s.apimachinery.pkg.apis.meta.v1.Time.dhall)) diff --git a/types/io.k8s.api.autoscaling.v2beta1.ObjectMetricSource.dhall b/types/io.k8s.api.autoscaling.v2beta1.ObjectMetricSource.dhall index 3d77b73b..99497a37 100644 --- a/types/io.k8s.api.autoscaling.v2beta1.ObjectMetricSource.dhall +++ b/types/io.k8s.api.autoscaling.v2beta1.ObjectMetricSource.dhall @@ -1,4 +1,6 @@ -{ metricName : (Text) +{ averageValue : (Optional (./io.k8s.apimachinery.pkg.api.resource.Quantity.dhall)) +, metricName : (Text) +, selector : (Optional (./io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector.dhall)) , target : (./io.k8s.api.autoscaling.v2beta1.CrossVersionObjectReference.dhall) , targetValue : (./io.k8s.apimachinery.pkg.api.resource.Quantity.dhall) } diff --git a/types/io.k8s.api.autoscaling.v2beta1.ObjectMetricStatus.dhall b/types/io.k8s.api.autoscaling.v2beta1.ObjectMetricStatus.dhall index d7e913b8..8efd4c3b 100644 --- a/types/io.k8s.api.autoscaling.v2beta1.ObjectMetricStatus.dhall +++ b/types/io.k8s.api.autoscaling.v2beta1.ObjectMetricStatus.dhall @@ -1,4 +1,6 @@ -{ currentValue : (./io.k8s.apimachinery.pkg.api.resource.Quantity.dhall) +{ averageValue : (Optional (./io.k8s.apimachinery.pkg.api.resource.Quantity.dhall)) +, currentValue : (./io.k8s.apimachinery.pkg.api.resource.Quantity.dhall) , metricName : (Text) +, selector : (Optional (./io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector.dhall)) , target : (./io.k8s.api.autoscaling.v2beta1.CrossVersionObjectReference.dhall) } diff --git a/types/io.k8s.api.autoscaling.v2beta1.PodsMetricSource.dhall b/types/io.k8s.api.autoscaling.v2beta1.PodsMetricSource.dhall index 8aeebacc..78b58b61 100644 --- a/types/io.k8s.api.autoscaling.v2beta1.PodsMetricSource.dhall +++ b/types/io.k8s.api.autoscaling.v2beta1.PodsMetricSource.dhall @@ -1,3 +1,4 @@ { metricName : (Text) +, selector : (Optional (./io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector.dhall)) , targetAverageValue : (./io.k8s.apimachinery.pkg.api.resource.Quantity.dhall) } diff --git a/types/io.k8s.api.autoscaling.v2beta1.PodsMetricStatus.dhall b/types/io.k8s.api.autoscaling.v2beta1.PodsMetricStatus.dhall index ca63a9e0..dba296fc 100644 --- a/types/io.k8s.api.autoscaling.v2beta1.PodsMetricStatus.dhall +++ b/types/io.k8s.api.autoscaling.v2beta1.PodsMetricStatus.dhall @@ -1,3 +1,4 @@ { currentAverageValue : (./io.k8s.apimachinery.pkg.api.resource.Quantity.dhall) , metricName : (Text) +, selector : (Optional (./io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector.dhall)) } diff --git a/types/io.k8s.api.autoscaling.v2beta2.CrossVersionObjectReference.dhall b/types/io.k8s.api.autoscaling.v2beta2.CrossVersionObjectReference.dhall new file mode 100644 index 00000000..1f0b94d5 --- /dev/null +++ b/types/io.k8s.api.autoscaling.v2beta2.CrossVersionObjectReference.dhall @@ -0,0 +1,4 @@ +{ apiVersion : (Text) +, kind : (Text) +, name : (Text) +} diff --git a/types/io.k8s.api.autoscaling.v2beta2.ExternalMetricSource.dhall b/types/io.k8s.api.autoscaling.v2beta2.ExternalMetricSource.dhall new file mode 100644 index 00000000..b5bdca7c --- /dev/null +++ b/types/io.k8s.api.autoscaling.v2beta2.ExternalMetricSource.dhall @@ -0,0 +1,3 @@ +{ metric : (./io.k8s.api.autoscaling.v2beta2.MetricIdentifier.dhall) +, target : (./io.k8s.api.autoscaling.v2beta2.MetricTarget.dhall) +} diff --git a/types/io.k8s.api.autoscaling.v2beta2.ExternalMetricStatus.dhall b/types/io.k8s.api.autoscaling.v2beta2.ExternalMetricStatus.dhall new file mode 100644 index 00000000..c89e1d6d --- /dev/null +++ b/types/io.k8s.api.autoscaling.v2beta2.ExternalMetricStatus.dhall @@ -0,0 +1,3 @@ +{ current : (./io.k8s.api.autoscaling.v2beta2.MetricValueStatus.dhall) +, metric : (./io.k8s.api.autoscaling.v2beta2.MetricIdentifier.dhall) +} diff --git a/types/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler.dhall b/types/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler.dhall new file mode 100644 index 00000000..f1c1d477 --- /dev/null +++ b/types/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler.dhall @@ -0,0 +1,6 @@ +{ apiVersion : (Text) +, kind : (Text) +, metadata : (./io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta.dhall) +, spec : (Optional (./io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerSpec.dhall)) +, status : (Optional (./io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerStatus.dhall)) +} diff --git a/types/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerCondition.dhall b/types/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerCondition.dhall new file mode 100644 index 00000000..e1019fbd --- /dev/null +++ b/types/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerCondition.dhall @@ -0,0 +1,6 @@ +{ lastTransitionTime : (Optional (./io.k8s.apimachinery.pkg.apis.meta.v1.Time.dhall)) +, message : (Optional (Text)) +, reason : (Optional (Text)) +, status : (Text) +, type : (Text) +} diff --git a/types/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerList.dhall b/types/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerList.dhall new file mode 100644 index 00000000..1fb42fc7 --- /dev/null +++ b/types/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerList.dhall @@ -0,0 +1,5 @@ +{ apiVersion : (Text) +, items : (List ./io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler.dhall) +, kind : (Text) +, metadata : (./io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta.dhall) +} diff --git a/types/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerSpec.dhall b/types/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerSpec.dhall new file mode 100644 index 00000000..a187be6a --- /dev/null +++ b/types/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerSpec.dhall @@ -0,0 +1,5 @@ +{ maxReplicas : (Natural) +, metrics : (Optional (List ./io.k8s.api.autoscaling.v2beta2.MetricSpec.dhall)) +, minReplicas : (Optional (Natural)) +, scaleTargetRef : (./io.k8s.api.autoscaling.v2beta2.CrossVersionObjectReference.dhall) +} diff --git a/types/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerStatus.dhall b/types/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerStatus.dhall new file mode 100644 index 00000000..f3b10534 --- /dev/null +++ b/types/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerStatus.dhall @@ -0,0 +1,7 @@ +{ conditions : (List ./io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscalerCondition.dhall) +, currentMetrics : (Optional (List ./io.k8s.api.autoscaling.v2beta2.MetricStatus.dhall)) +, currentReplicas : (Natural) +, desiredReplicas : (Natural) +, lastScaleTime : (Optional (./io.k8s.apimachinery.pkg.apis.meta.v1.Time.dhall)) +, observedGeneration : (Optional (Natural)) +} diff --git a/types/io.k8s.api.autoscaling.v2beta2.MetricIdentifier.dhall b/types/io.k8s.api.autoscaling.v2beta2.MetricIdentifier.dhall new file mode 100644 index 00000000..b3d4a6e0 --- /dev/null +++ b/types/io.k8s.api.autoscaling.v2beta2.MetricIdentifier.dhall @@ -0,0 +1,3 @@ +{ name : (Text) +, selector : (Optional (./io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector.dhall)) +} diff --git a/types/io.k8s.api.autoscaling.v2beta2.MetricSpec.dhall b/types/io.k8s.api.autoscaling.v2beta2.MetricSpec.dhall new file mode 100644 index 00000000..aaf4e41e --- /dev/null +++ b/types/io.k8s.api.autoscaling.v2beta2.MetricSpec.dhall @@ -0,0 +1,6 @@ +{ external : (Optional (./io.k8s.api.autoscaling.v2beta2.ExternalMetricSource.dhall)) +, object : (Optional (./io.k8s.api.autoscaling.v2beta2.ObjectMetricSource.dhall)) +, pods : (Optional (./io.k8s.api.autoscaling.v2beta2.PodsMetricSource.dhall)) +, resource : (Optional (./io.k8s.api.autoscaling.v2beta2.ResourceMetricSource.dhall)) +, type : (Text) +} diff --git a/types/io.k8s.api.autoscaling.v2beta2.MetricStatus.dhall b/types/io.k8s.api.autoscaling.v2beta2.MetricStatus.dhall new file mode 100644 index 00000000..a2d45259 --- /dev/null +++ b/types/io.k8s.api.autoscaling.v2beta2.MetricStatus.dhall @@ -0,0 +1,6 @@ +{ external : (Optional (./io.k8s.api.autoscaling.v2beta2.ExternalMetricStatus.dhall)) +, object : (Optional (./io.k8s.api.autoscaling.v2beta2.ObjectMetricStatus.dhall)) +, pods : (Optional (./io.k8s.api.autoscaling.v2beta2.PodsMetricStatus.dhall)) +, resource : (Optional (./io.k8s.api.autoscaling.v2beta2.ResourceMetricStatus.dhall)) +, type : (Text) +} diff --git a/types/io.k8s.api.autoscaling.v2beta2.MetricTarget.dhall b/types/io.k8s.api.autoscaling.v2beta2.MetricTarget.dhall new file mode 100644 index 00000000..65768252 --- /dev/null +++ b/types/io.k8s.api.autoscaling.v2beta2.MetricTarget.dhall @@ -0,0 +1,5 @@ +{ averageUtilization : (Optional (Natural)) +, averageValue : (Optional (./io.k8s.apimachinery.pkg.api.resource.Quantity.dhall)) +, type : (Text) +, value : (Optional (./io.k8s.apimachinery.pkg.api.resource.Quantity.dhall)) +} diff --git a/types/io.k8s.api.autoscaling.v2beta2.MetricValueStatus.dhall b/types/io.k8s.api.autoscaling.v2beta2.MetricValueStatus.dhall new file mode 100644 index 00000000..b45a8342 --- /dev/null +++ b/types/io.k8s.api.autoscaling.v2beta2.MetricValueStatus.dhall @@ -0,0 +1,4 @@ +{ averageUtilization : (Optional (Natural)) +, averageValue : (Optional (./io.k8s.apimachinery.pkg.api.resource.Quantity.dhall)) +, value : (Optional (./io.k8s.apimachinery.pkg.api.resource.Quantity.dhall)) +} diff --git a/types/io.k8s.api.autoscaling.v2beta2.ObjectMetricSource.dhall b/types/io.k8s.api.autoscaling.v2beta2.ObjectMetricSource.dhall new file mode 100644 index 00000000..95220b4a --- /dev/null +++ b/types/io.k8s.api.autoscaling.v2beta2.ObjectMetricSource.dhall @@ -0,0 +1,4 @@ +{ describedObject : (./io.k8s.api.autoscaling.v2beta2.CrossVersionObjectReference.dhall) +, metric : (./io.k8s.api.autoscaling.v2beta2.MetricIdentifier.dhall) +, target : (./io.k8s.api.autoscaling.v2beta2.MetricTarget.dhall) +} diff --git a/types/io.k8s.api.autoscaling.v2beta2.ObjectMetricStatus.dhall b/types/io.k8s.api.autoscaling.v2beta2.ObjectMetricStatus.dhall new file mode 100644 index 00000000..13985249 --- /dev/null +++ b/types/io.k8s.api.autoscaling.v2beta2.ObjectMetricStatus.dhall @@ -0,0 +1,4 @@ +{ current : (./io.k8s.api.autoscaling.v2beta2.MetricValueStatus.dhall) +, describedObject : (./io.k8s.api.autoscaling.v2beta2.CrossVersionObjectReference.dhall) +, metric : (./io.k8s.api.autoscaling.v2beta2.MetricIdentifier.dhall) +} diff --git a/types/io.k8s.api.autoscaling.v2beta2.PodsMetricSource.dhall b/types/io.k8s.api.autoscaling.v2beta2.PodsMetricSource.dhall new file mode 100644 index 00000000..b5bdca7c --- /dev/null +++ b/types/io.k8s.api.autoscaling.v2beta2.PodsMetricSource.dhall @@ -0,0 +1,3 @@ +{ metric : (./io.k8s.api.autoscaling.v2beta2.MetricIdentifier.dhall) +, target : (./io.k8s.api.autoscaling.v2beta2.MetricTarget.dhall) +} diff --git a/types/io.k8s.api.autoscaling.v2beta2.PodsMetricStatus.dhall b/types/io.k8s.api.autoscaling.v2beta2.PodsMetricStatus.dhall new file mode 100644 index 00000000..c89e1d6d --- /dev/null +++ b/types/io.k8s.api.autoscaling.v2beta2.PodsMetricStatus.dhall @@ -0,0 +1,3 @@ +{ current : (./io.k8s.api.autoscaling.v2beta2.MetricValueStatus.dhall) +, metric : (./io.k8s.api.autoscaling.v2beta2.MetricIdentifier.dhall) +} diff --git a/types/io.k8s.api.autoscaling.v2beta2.ResourceMetricSource.dhall b/types/io.k8s.api.autoscaling.v2beta2.ResourceMetricSource.dhall new file mode 100644 index 00000000..912942ea --- /dev/null +++ b/types/io.k8s.api.autoscaling.v2beta2.ResourceMetricSource.dhall @@ -0,0 +1,3 @@ +{ name : (Text) +, target : (./io.k8s.api.autoscaling.v2beta2.MetricTarget.dhall) +} diff --git a/types/io.k8s.api.autoscaling.v2beta2.ResourceMetricStatus.dhall b/types/io.k8s.api.autoscaling.v2beta2.ResourceMetricStatus.dhall new file mode 100644 index 00000000..af95fc1f --- /dev/null +++ b/types/io.k8s.api.autoscaling.v2beta2.ResourceMetricStatus.dhall @@ -0,0 +1,3 @@ +{ current : (./io.k8s.api.autoscaling.v2beta2.MetricValueStatus.dhall) +, name : (Text) +} diff --git a/types/io.k8s.api.batch.v1.JobSpec.dhall b/types/io.k8s.api.batch.v1.JobSpec.dhall index 2387aabc..35ce974e 100644 --- a/types/io.k8s.api.batch.v1.JobSpec.dhall +++ b/types/io.k8s.api.batch.v1.JobSpec.dhall @@ -5,4 +5,5 @@ , parallelism : (Optional (Natural)) , selector : (Optional (./io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector.dhall)) , template : (./io.k8s.api.core.v1.PodTemplateSpec.dhall) +, ttlSecondsAfterFinished : (Optional (Natural)) } diff --git a/types/io.k8s.api.core.v1.GlusterfsPersistentVolumeSource.dhall b/types/io.k8s.api.core.v1.GlusterfsPersistentVolumeSource.dhall new file mode 100644 index 00000000..517f3304 --- /dev/null +++ b/types/io.k8s.api.core.v1.GlusterfsPersistentVolumeSource.dhall @@ -0,0 +1,5 @@ +{ endpoints : (Text) +, endpointsNamespace : (Optional (Text)) +, path : (Text) +, readOnly : (Optional (Bool)) +} diff --git a/types/io.k8s.api.core.v1.LocalVolumeSource.dhall b/types/io.k8s.api.core.v1.LocalVolumeSource.dhall index 670e5bed..a81b67e9 100644 --- a/types/io.k8s.api.core.v1.LocalVolumeSource.dhall +++ b/types/io.k8s.api.core.v1.LocalVolumeSource.dhall @@ -1,2 +1,3 @@ -{ path : (Text) +{ fsType : (Optional (Text)) +, path : (Text) } diff --git a/types/io.k8s.api.core.v1.PersistentVolumeClaimSpec.dhall b/types/io.k8s.api.core.v1.PersistentVolumeClaimSpec.dhall index afb73a9f..d37cec30 100644 --- a/types/io.k8s.api.core.v1.PersistentVolumeClaimSpec.dhall +++ b/types/io.k8s.api.core.v1.PersistentVolumeClaimSpec.dhall @@ -1,4 +1,5 @@ { accessModes : (Optional (List Text)) +, dataSource : (Optional (./io.k8s.api.core.v1.TypedLocalObjectReference.dhall)) , resources : (Optional (./io.k8s.api.core.v1.ResourceRequirements.dhall)) , selector : (Optional (./io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector.dhall)) , storageClassName : (Optional (Text)) diff --git a/types/io.k8s.api.core.v1.PersistentVolumeSpec.dhall b/types/io.k8s.api.core.v1.PersistentVolumeSpec.dhall index 67560673..e297b3e1 100644 --- a/types/io.k8s.api.core.v1.PersistentVolumeSpec.dhall +++ b/types/io.k8s.api.core.v1.PersistentVolumeSpec.dhall @@ -11,7 +11,7 @@ , flexVolume : (Optional (./io.k8s.api.core.v1.FlexPersistentVolumeSource.dhall)) , flocker : (Optional (./io.k8s.api.core.v1.FlockerVolumeSource.dhall)) , gcePersistentDisk : (Optional (./io.k8s.api.core.v1.GCEPersistentDiskVolumeSource.dhall)) -, glusterfs : (Optional (./io.k8s.api.core.v1.GlusterfsVolumeSource.dhall)) +, glusterfs : (Optional (./io.k8s.api.core.v1.GlusterfsPersistentVolumeSource.dhall)) , hostPath : (Optional (./io.k8s.api.core.v1.HostPathVolumeSource.dhall)) , iscsi : (Optional (./io.k8s.api.core.v1.ISCSIPersistentVolumeSource.dhall)) , local : (Optional (./io.k8s.api.core.v1.LocalVolumeSource.dhall)) diff --git a/types/io.k8s.api.core.v1.PodSpec.dhall b/types/io.k8s.api.core.v1.PodSpec.dhall index d0e00c0e..f50e2005 100644 --- a/types/io.k8s.api.core.v1.PodSpec.dhall +++ b/types/io.k8s.api.core.v1.PodSpec.dhall @@ -4,6 +4,7 @@ , containers : (List ./io.k8s.api.core.v1.Container.dhall) , dnsConfig : (Optional (./io.k8s.api.core.v1.PodDNSConfig.dhall)) , dnsPolicy : (Optional (Text)) +, enableServiceLinks : (Optional (Bool)) , hostAliases : (Optional (List ./io.k8s.api.core.v1.HostAlias.dhall)) , hostIPC : (Optional (Bool)) , hostNetwork : (Optional (Bool)) @@ -17,6 +18,7 @@ , priorityClassName : (Optional (Text)) , readinessGates : (Optional (List ./io.k8s.api.core.v1.PodReadinessGate.dhall)) , restartPolicy : (Optional (Text)) +, runtimeClassName : (Optional (Text)) , schedulerName : (Optional (Text)) , securityContext : (Optional (./io.k8s.api.core.v1.PodSecurityContext.dhall)) , serviceAccount : (Optional (Text)) diff --git a/types/io.k8s.api.core.v1.SecurityContext.dhall b/types/io.k8s.api.core.v1.SecurityContext.dhall index 36477df3..9095dbe3 100644 --- a/types/io.k8s.api.core.v1.SecurityContext.dhall +++ b/types/io.k8s.api.core.v1.SecurityContext.dhall @@ -1,6 +1,7 @@ { allowPrivilegeEscalation : (Optional (Bool)) , capabilities : (Optional (./io.k8s.api.core.v1.Capabilities.dhall)) , privileged : (Optional (Bool)) +, procMount : (Optional (Text)) , readOnlyRootFilesystem : (Optional (Bool)) , runAsGroup : (Optional (Natural)) , runAsNonRoot : (Optional (Bool)) diff --git a/types/io.k8s.api.core.v1.TypedLocalObjectReference.dhall b/types/io.k8s.api.core.v1.TypedLocalObjectReference.dhall new file mode 100644 index 00000000..c6f5f7bc --- /dev/null +++ b/types/io.k8s.api.core.v1.TypedLocalObjectReference.dhall @@ -0,0 +1,4 @@ +{ apiGroup : (Optional (Text)) +, kind : (Text) +, name : (Text) +} diff --git a/types/io.k8s.api.extensions.v1beta1.PodSecurityPolicySpec.dhall b/types/io.k8s.api.extensions.v1beta1.PodSecurityPolicySpec.dhall index f033121d..3f9cafab 100644 --- a/types/io.k8s.api.extensions.v1beta1.PodSecurityPolicySpec.dhall +++ b/types/io.k8s.api.extensions.v1beta1.PodSecurityPolicySpec.dhall @@ -2,6 +2,7 @@ , allowedCapabilities : (Optional (List Text)) , allowedFlexVolumes : (Optional (List ./io.k8s.api.extensions.v1beta1.AllowedFlexVolume.dhall)) , allowedHostPaths : (Optional (List ./io.k8s.api.extensions.v1beta1.AllowedHostPath.dhall)) +, allowedProcMountTypes : (Optional (List Text)) , allowedUnsafeSysctls : (Optional (List Text)) , defaultAddCapabilities : (Optional (List Text)) , defaultAllowPrivilegeEscalation : (Optional (Bool)) @@ -14,6 +15,7 @@ , privileged : (Optional (Bool)) , readOnlyRootFilesystem : (Optional (Bool)) , requiredDropCapabilities : (Optional (List Text)) +, runAsGroup : (Optional (./io.k8s.api.extensions.v1beta1.RunAsGroupStrategyOptions.dhall)) , runAsUser : (./io.k8s.api.extensions.v1beta1.RunAsUserStrategyOptions.dhall) , seLinux : (./io.k8s.api.extensions.v1beta1.SELinuxStrategyOptions.dhall) , supplementalGroups : (./io.k8s.api.extensions.v1beta1.SupplementalGroupsStrategyOptions.dhall) diff --git a/types/io.k8s.api.extensions.v1beta1.RunAsGroupStrategyOptions.dhall b/types/io.k8s.api.extensions.v1beta1.RunAsGroupStrategyOptions.dhall new file mode 100644 index 00000000..2f895760 --- /dev/null +++ b/types/io.k8s.api.extensions.v1beta1.RunAsGroupStrategyOptions.dhall @@ -0,0 +1,3 @@ +{ ranges : (Optional (List ./io.k8s.api.extensions.v1beta1.IDRange.dhall)) +, rule : (Text) +} diff --git a/types/io.k8s.api.policy.v1beta1.PodDisruptionBudgetStatus.dhall b/types/io.k8s.api.policy.v1beta1.PodDisruptionBudgetStatus.dhall index 8872929b..f2073547 100644 --- a/types/io.k8s.api.policy.v1beta1.PodDisruptionBudgetStatus.dhall +++ b/types/io.k8s.api.policy.v1beta1.PodDisruptionBudgetStatus.dhall @@ -1,6 +1,6 @@ { currentHealthy : (Natural) , desiredHealthy : (Natural) -, disruptedPods : ((List {mapKey : Text, mapValue : Text})) +, disruptedPods : (Optional ((List {mapKey : Text, mapValue : Text}))) , disruptionsAllowed : (Natural) , expectedPods : (Natural) , observedGeneration : (Optional (Natural)) diff --git a/types/io.k8s.api.policy.v1beta1.PodSecurityPolicySpec.dhall b/types/io.k8s.api.policy.v1beta1.PodSecurityPolicySpec.dhall index 330a79b8..c45aab6c 100644 --- a/types/io.k8s.api.policy.v1beta1.PodSecurityPolicySpec.dhall +++ b/types/io.k8s.api.policy.v1beta1.PodSecurityPolicySpec.dhall @@ -2,6 +2,7 @@ , allowedCapabilities : (Optional (List Text)) , allowedFlexVolumes : (Optional (List ./io.k8s.api.policy.v1beta1.AllowedFlexVolume.dhall)) , allowedHostPaths : (Optional (List ./io.k8s.api.policy.v1beta1.AllowedHostPath.dhall)) +, allowedProcMountTypes : (Optional (List Text)) , allowedUnsafeSysctls : (Optional (List Text)) , defaultAddCapabilities : (Optional (List Text)) , defaultAllowPrivilegeEscalation : (Optional (Bool)) @@ -14,6 +15,7 @@ , privileged : (Optional (Bool)) , readOnlyRootFilesystem : (Optional (Bool)) , requiredDropCapabilities : (Optional (List Text)) +, runAsGroup : (Optional (./io.k8s.api.policy.v1beta1.RunAsGroupStrategyOptions.dhall)) , runAsUser : (./io.k8s.api.policy.v1beta1.RunAsUserStrategyOptions.dhall) , seLinux : (./io.k8s.api.policy.v1beta1.SELinuxStrategyOptions.dhall) , supplementalGroups : (./io.k8s.api.policy.v1beta1.SupplementalGroupsStrategyOptions.dhall) diff --git a/types/io.k8s.api.policy.v1beta1.RunAsGroupStrategyOptions.dhall b/types/io.k8s.api.policy.v1beta1.RunAsGroupStrategyOptions.dhall new file mode 100644 index 00000000..6314199f --- /dev/null +++ b/types/io.k8s.api.policy.v1beta1.RunAsGroupStrategyOptions.dhall @@ -0,0 +1,3 @@ +{ ranges : (Optional (List ./io.k8s.api.policy.v1beta1.IDRange.dhall)) +, rule : (Text) +} diff --git a/types/io.k8s.api.storage.v1.VolumeAttachment.dhall b/types/io.k8s.api.storage.v1.VolumeAttachment.dhall new file mode 100644 index 00000000..57f1fd2c --- /dev/null +++ b/types/io.k8s.api.storage.v1.VolumeAttachment.dhall @@ -0,0 +1,6 @@ +{ apiVersion : (Text) +, kind : (Text) +, metadata : (./io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta.dhall) +, spec : (./io.k8s.api.storage.v1.VolumeAttachmentSpec.dhall) +, status : (Optional (./io.k8s.api.storage.v1.VolumeAttachmentStatus.dhall)) +} diff --git a/types/io.k8s.api.storage.v1.VolumeAttachmentList.dhall b/types/io.k8s.api.storage.v1.VolumeAttachmentList.dhall new file mode 100644 index 00000000..ffef57de --- /dev/null +++ b/types/io.k8s.api.storage.v1.VolumeAttachmentList.dhall @@ -0,0 +1,5 @@ +{ apiVersion : (Text) +, items : (List ./io.k8s.api.storage.v1.VolumeAttachment.dhall) +, kind : (Text) +, metadata : (./io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta.dhall) +} diff --git a/types/io.k8s.api.storage.v1.VolumeAttachmentSource.dhall b/types/io.k8s.api.storage.v1.VolumeAttachmentSource.dhall new file mode 100644 index 00000000..b75943de --- /dev/null +++ b/types/io.k8s.api.storage.v1.VolumeAttachmentSource.dhall @@ -0,0 +1,2 @@ +{ persistentVolumeName : (Optional (Text)) +} diff --git a/types/io.k8s.api.storage.v1.VolumeAttachmentSpec.dhall b/types/io.k8s.api.storage.v1.VolumeAttachmentSpec.dhall new file mode 100644 index 00000000..408f699c --- /dev/null +++ b/types/io.k8s.api.storage.v1.VolumeAttachmentSpec.dhall @@ -0,0 +1,4 @@ +{ attacher : (Text) +, nodeName : (Text) +, source : (./io.k8s.api.storage.v1.VolumeAttachmentSource.dhall) +} diff --git a/types/io.k8s.api.storage.v1.VolumeAttachmentStatus.dhall b/types/io.k8s.api.storage.v1.VolumeAttachmentStatus.dhall new file mode 100644 index 00000000..26fee817 --- /dev/null +++ b/types/io.k8s.api.storage.v1.VolumeAttachmentStatus.dhall @@ -0,0 +1,5 @@ +{ attachError : (Optional (./io.k8s.api.storage.v1.VolumeError.dhall)) +, attached : (Bool) +, attachmentMetadata : (Optional ((List {mapKey : Text, mapValue : Text}))) +, detachError : (Optional (./io.k8s.api.storage.v1.VolumeError.dhall)) +} diff --git a/types/io.k8s.api.storage.v1.VolumeError.dhall b/types/io.k8s.api.storage.v1.VolumeError.dhall new file mode 100644 index 00000000..7e5e85fa --- /dev/null +++ b/types/io.k8s.api.storage.v1.VolumeError.dhall @@ -0,0 +1,3 @@ +{ message : (Optional (Text)) +, time : (Optional (./io.k8s.apimachinery.pkg.apis.meta.v1.Time.dhall)) +} diff --git a/types/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceConversion.dhall b/types/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceConversion.dhall new file mode 100644 index 00000000..66275020 --- /dev/null +++ b/types/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceConversion.dhall @@ -0,0 +1,3 @@ +{ strategy : (Text) +, webhookClientConfig : (Optional (./io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.WebhookClientConfig.dhall)) +} diff --git a/types/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition.dhall b/types/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition.dhall index a1ae5343..c6fbc3fc 100644 --- a/types/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition.dhall +++ b/types/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition.dhall @@ -1,6 +1,6 @@ { apiVersion : (Text) , kind : (Text) , metadata : (./io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta.dhall) -, spec : (Optional (./io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionSpec.dhall)) +, spec : (./io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionSpec.dhall) , status : (Optional (./io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionStatus.dhall)) } diff --git a/types/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionSpec.dhall b/types/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionSpec.dhall index 0aa9bced..3b1e4616 100644 --- a/types/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionSpec.dhall +++ b/types/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionSpec.dhall @@ -1,4 +1,5 @@ { additionalPrinterColumns : (Optional (List ./io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceColumnDefinition.dhall)) +, conversion : (Optional (./io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceConversion.dhall)) , group : (Text) , names : (./io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionNames.dhall) , scope : (Text) diff --git a/types/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionVersion.dhall b/types/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionVersion.dhall index 825b8495..7dfeda78 100644 --- a/types/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionVersion.dhall +++ b/types/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionVersion.dhall @@ -1,4 +1,7 @@ -{ name : (Text) +{ additionalPrinterColumns : (Optional (List ./io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceColumnDefinition.dhall)) +, name : (Text) +, schema : (Optional (./io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceValidation.dhall)) , served : (Bool) , storage : (Bool) +, subresources : (Optional (./io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresources.dhall)) } diff --git a/types/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.ServiceReference.dhall b/types/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.ServiceReference.dhall new file mode 100644 index 00000000..e31eb6f6 --- /dev/null +++ b/types/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.ServiceReference.dhall @@ -0,0 +1,4 @@ +{ name : (Text) +, namespace : (Text) +, path : (Optional (Text)) +} diff --git a/types/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.WebhookClientConfig.dhall b/types/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.WebhookClientConfig.dhall new file mode 100644 index 00000000..52194bd4 --- /dev/null +++ b/types/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.WebhookClientConfig.dhall @@ -0,0 +1,4 @@ +{ caBundle : (Optional (Text)) +, service : (Optional (./io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.ServiceReference.dhall)) +, url : (Optional (Text)) +} diff --git a/types/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions.dhall b/types/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions.dhall index 876f1355..4aa92c33 100644 --- a/types/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions.dhall +++ b/types/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions.dhall @@ -1,4 +1,5 @@ { apiVersion : (Text) +, dryRun : (Optional (List Text)) , gracePeriodSeconds : (Optional (Natural)) , kind : (Text) , orphanDependents : (Optional (Bool))