dhall-kubernetes/1.17/defaults/io.k8s.api.settings.v1alpha1.PodPresetSpec.dhall
Gabriel Gonzalez 381306bcc3
Go back to using --omitNull instead of --omitEmpty (#110)
Fixes https://github.com/dhall-lang/dhall-kubernetes/issues/86

The motivation of this is to more accurately model the Kubernetes
API semantics by not auto-omitting empty fields.  This is because
a field set to `Some ([] : List T)` is not necessarily the same
as `None (List T)`.

This makes the typical case a bit more verbose (more `Some`s), but
the difference to the `./examples` shows that it's not too bad.
2020-01-31 06:52:20 -08:00

8 lines
373 B
Plaintext

{ env = None (List ./../types/io.k8s.api.core.v1.EnvVar.dhall)
, envFrom = None (List ./../types/io.k8s.api.core.v1.EnvFromSource.dhall)
, selector =
None ./../types/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector.dhall
, volumeMounts = None (List ./../types/io.k8s.api.core.v1.VolumeMount.dhall)
, volumes = None (List ./../types/io.k8s.api.core.v1.Volume.dhall)
}