manifest envsubst
What this PR does / why we need it:
This PR replaces variable references in manifests with environment variables. It also adds the generated pet name to the environment so that it can be templated as well.
Fixes # https://github.com/kudobuilder/kuttl/issues/203
Thanks for the contribution... We need a sign-off on the DCO to move forward
thanks @so-jelly for this contrib! It would very much helm me with asserting cluster-wide resources dynamically instanciated by a kuttl and referencing the associated $NAMESPACE.
Any chance for you to proceed with the DCO signature so that this feature can be merged,, such as running git rebase --signoff HEAD~2 ?
@so-jelly can you rebase and add DCO - happy to see this change comes in ;)
I refactored to remove that licensed code. Some edge cases i considered is variables in GVK and keys. I have thought through this a bit and I think it is sound. I can add some test cases as well.
I created test cases for some additional field entries. I am not sure what is up with Github review requests. tagging @kensipe in case the review request isn't sufficient.
@jaypipes I can provide details elsewhere... I'm just seeing this. looks urgent and apologies for being out of pocket... for way too long. I will review today/night and respond and/or merge