Open emayssat opened 3 years ago
I would like something like example3 on the jsonnet page https://jsonnet.org/
Some conversation was had here: https://kubernetes.slack.com/archives/CH8KCCKA5/p1598566276208800
This is not entirely unlike:
I notice that the Slack conversation, above, kinda fizzled out. Seeing if I can't poke for how this worked out for @emayssat ...
I would like 1 command line to generate several yaml files to make sure they are consistent.
Use case: I am using envoy with a master ytt configuration (in a docker compose environment also under ytt control but different file). Now I want my envoy ytt config to generate a static config. Easy, that's a one to one mapping. But if I want a dynamic configuration (aka xDS) that's a different story. With envoy, you can do xDS with yaml files (basically the envoy process reads its configuration file and sees that it should monitor other yaml files at a given path). So I would like in one command and from one master ytt config, to spit out (1) master envoy configuration (2) cds.yaml, lds.yaml, sds,yaml, rds.yaml (or xDS files) which could in theory each be in a different directories.