krisnova / naml

Convert Kubernetes YAML to Golang
Apache License 2.0
1.26k stars 38 forks source link

Need more complex example #33

Closed kokizzu closed 3 years ago

kokizzu commented 3 years ago

eg. setup redis, postgresql/mysql, and one dummy golang app that connect both

krisnova commented 3 years ago

would having an example of nivenly.com with naml help you out?

kokizzu commented 3 years ago

yup sure

krisnova commented 3 years ago

okay ill push a change and update this issue as soon as i can

derrickburns commented 3 years ago

The "full" example link is broken.

krisnova commented 3 years ago

Please see the latest feature naml codify in release 0.2.2

This should let you pass an entire namespace to naml codify to generate whatever application you want

kubectl get all -n mynamespace -oyaml | naml codify > main.go

If there are any applications anyone wants to see - we can certainly add them to naml-examples