by from-nibly · 2y ago · 0 comments
You can have wider types being overridden by more closed types. e.g. string => "this literal". But you cant have two disagreeing values.
I use this to create kubernetes manifests at work, at a reasonably large scale. The inability to join multiple files without fear of collision is specifically one of the best features.
Edit: I'm struggling to see where it fits in the whole k8s ecosystem.
Then I have a tool file that loops through that and renders it into fall files. Then argocd picks that up in chunks with application files.
Its awesome cause it lets me set project wide defaults and restrictions. It also lets me do stuff like. "If there is at least one manifest called x create an argocd application for it automatically" or " loop through these repos and create an app for each one with the following properties"