stefanprodan / timoni

Timoni is a package manager for Kubernetes, powered by CUE and inspired by Helm.
https://timoni.sh
Apache License 2.0
1.51k stars 67 forks source link

Introduce starter module blueprint #262

Closed stefanprodan closed 8 months ago

stefanprodan commented 9 months ago

This PR introduces a blueprint for a minimal Timoni module with the goal of helping people gets started writing modules. Compared to the current module generated by timoni mod init, the starter blueprint contains just a Kubernetes Deployment and a Service. The cue.mod contains only the corev1 and appsv1 Kubernetes schemas. The #Config definition documentation tries to explain the magic behind Timoni autogenerated fields.

Ref: https://github.com/stefanprodan/timoni/issues/251