Gabriella Gonzalez
299351e9df
Upgrade dhall-haskell
reference ( #182 )
...
… to pick up the `NatOrString` changes from:
71a8374c2a
2022-03-09 07:42:32 -08:00
arobertn
bc7719ecdb
Pass natural/integer preference args to openapi-to-dhall ( #178 )
2022-01-13 17:10:10 -08:00
Gabriella Gonzalez
49d1d68d2c
Fix handling of additional properties ( #180 )
...
… by pulling in the fix from https://github.com/dhall-lang/dhall-haskell/pull/2343
2021-12-03 09:19:20 -08:00
Will Sewell
2b6210de20
Update dhall-openapi and regenerate ( #162 )
...
Includes changes from https://github.com/dhall-lang/dhall-haskell/pull/2126
and https://github.com/dhall-lang/dhall-haskell/pull/2137 .
2021-01-17 12:21:24 +00:00
Will Sewell
079178f537
Update dhall-openapi ( #158 )
...
* Fetch latest versions of kubernetes
* Update dhall-openapi and regenerate
2021-01-15 09:10:08 -08:00
Gabriel Gonzalez
a4126b7f8f
Fix apiVersion
/kind
defaults for PersistentVolumeClaim
( #155 )
2020-10-31 19:51:58 -07:00
Gabriel Gonzalez
ad3369f9f9
Fix PersistentVolumeClaim ( #144 )
...
Fixes https://github.com/dhall-lang/dhall-kubernetes/issues/136
2020-09-07 21:30:28 -07:00
Gabriel Gonzalez
f4bf4b9ddf
Only build README
and examples for the preferred version ( #132 )
...
Also generate version 1.18 along the way
Fixes https://github.com/dhall-lang/dhall-kubernetes/issues/131
2020-07-23 19:19:21 -07:00
Tristan de Cacqueray
49fabcc9a1
Update to latest dhall to escape reserved keywords ( #127 )
...
This change updates the dhall-kubernetes-generator to use the latest dhall
version so that attribute named after reserved keywords are properly escape.
See: https://github.com/dhall-lang/dhall-haskell/issues/1896
2020-06-30 13:02:32 -07:00
Gabriel Gonzalez
fc275e649b
Make ObjectMeta
's name
field optional ( #115 )
...
Supersedes https://github.com/dhall-lang/dhall-kubernetes/pull/85
2020-04-24 12:46:00 -07:00
Gabriel Gonzalez
506d633e38
Prefer autoscaler/v2beta2
( #113 )
...
Fixes https://github.com/dhall-lang/dhall-kubernetes/issues/112
2020-02-28 09:02:14 -08:00
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
Gabriel Gonzalez
3e160f4a27
Upgrade to dhall-1.29.0
( #109 )
...
The main motivation for the upgrade is to take advantage of the
improved formatting for example code
2020-01-30 07:23:13 -08:00
Gabriel Gonzalez
90c1eb8851
Minimize unnecessary rebuilds ( #105 )
...
This improves the granularity of the Nix build graph in order to minimize
unnecessary rebuilds.
This also fixed several bugs in the package generation along the way, so
this change includes those fixes.
2020-01-14 07:35:36 -08:00
Gabriel Gonzalez
a8ffffc4cb
Generate Dhall schemas for multiple Kubernetes versions ( #104 )
...
Fixes https://github.com/dhall-lang/dhall-kubernetes/issues/75
This also changes the default version to the latest version to 1.17 since now
users can access older versions
2020-01-12 15:00:56 -08:00