Add ObjectTemplate
artasparks opened this issue · 2 comments
artasparks commented
Right now the raw text template types assuming that you're using go templates and that you've stored the information as a config map.
That's ok, but that's not totally ideal. There's no parameter validation / defaulting. Also, it's hard to add more functionality (like more template types).
So, here's the idea: Let's create an ObjectTemplate
type. It would look essentially the same as the PatchTemplate
, except that it would specify a TemplateType
Additionally, you could have an ObjectTemplateBuilder, although it's super crucial.
artasparks commented
@mikedanese, fyi
artasparks commented
This is now done.