I’m still trying to figure this out myself.
I’m definitely not in the camp of yaml trickery (references and includes).
In the k8s world, kustomize is one solution to this problem, but I’m also not convinced it is the “right” one.
There are two things at play:
- Having everything about an app included in its configuration
- Elegant way of identifying what needs to change across environments
If there is a solution for 1), finding a solution for 2) is less of an immediate concern.
I’m happy with a bunch of hacks for 2) but 1) is something that would have to be solved by you guys (or terraform)