mirror of
https://github.com/dhall-lang/dhall-kubernetes.git
synced 2024-11-03 21:05:47 +03:00
6acb5b3e18
Switch Integer to Natural
11 lines
681 B
Plaintext
11 lines
681 B
Plaintext
\(_params : {selector : (../types/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector.dhall), serviceName : (Text), template : (../types/io.k8s.api.core.v1.PodTemplateSpec.dhall)}) ->
|
|
{ podManagementPolicy = ([] : Optional (Text))
|
|
, replicas = ([] : Optional (Natural))
|
|
, revisionHistoryLimit = ([] : Optional (Natural))
|
|
, selector = _params.selector
|
|
, serviceName = _params.serviceName
|
|
, template = _params.template
|
|
, updateStrategy = ([] : Optional (../types/io.k8s.api.apps.v1beta2.StatefulSetUpdateStrategy.dhall))
|
|
, volumeClaimTemplates = ([] : Optional (List ../types/io.k8s.api.core.v1.PersistentVolumeClaim.dhall))
|
|
} : ../types/io.k8s.api.apps.v1beta2.StatefulSetSpec.dhall
|