Re:Tanka: Our way of deploying to Kubernetes
by csunbird on Friday January 10, 2020 @10:13AM
(#22011477)
This is an interesting project! But I wonder how it handles custom kubernetes extensions.
[ Parent
| on HN ]
Re:Tanka: Our way of deploying to Kubernetes
by shorez on Friday January 10, 2020 @12:08PM
(#22012483)
Exactly like YAML does.
With Tanka you would usually use the functions provided by `k.libsonnet` to generate your manifests.
For CRD's, there are no helpers available, so you either just write the plain manifest as a Jsonnet object (JSON syntax), as YAML and `import` it (gives you an object as well) or even better write some helper functions yourself, publish them as a library on GitHub and make future users happy :D