redhat-cop / namespace-configuration-operator

The namespace-configuration-operator helps keeping configurations related to Users, Groups and Namespaces aligned with one of more policies specified as a CRs
Apache License 2.0
204 stars 55 forks source link

Advanced Templating #70

Closed cnuland closed 4 years ago

cnuland commented 4 years ago

Tested using the following template

templates:

I then switched out the lower function to upper, shuffle, etc for testing I switched out the toYaml function with toJson, toToml, etc Then there are specific tests in the above example for required and lookup, both custom functions defined in operator-utils.

raffaelespazzoli commented 4 years ago

fixes #67 fixes #56