kubegen icon indicating copy to clipboard operation
kubegen copied to clipboard

invalid macros shouldn't be tolerated

Open errordeveloper opened this issue 7 years ago • 2 comments

As we cannot intrude into what user may wish to do (e.g. in a ConfigMap or a CRD), we can only bail on unknown macros with kubegen. prefix (e.g. kubegen.Lookup.String is easy to mistake with kubegen.String.Lookup).

errordeveloper avatar Jan 26 '18 08:01 errordeveloper

It seems like we somehow manage to convert maps to strings, which shouldn't happen and we should have a proper typecheck.

errordeveloper avatar Jan 26 '18 17:01 errordeveloper

Conversions of maps into strings should not occur as of #37. We still need to fix the issue with undefined macros look-alikes, ones that start with kubegen. but don't mean anything.

errordeveloper avatar Jan 30 '18 16:01 errordeveloper