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
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