Change Observer loop not resolve secret in start of loop but rather resolve the secret in the create/update/delete funcs
to not leak the secrets data in the the k8s MR object.
Fixes #223
[x] Run make reviewable test to ensure this PR is ready for review.
How has this code been tested
manual test locally to see that the secret is not leaking in to the MR using this manifests.
provider for testing have been started with --sanitize-secrets
Description of your changes
Change Observer loop not resolve secret in start of loop but rather resolve the secret in the create/update/delete funcs to not leak the secrets data in the the k8s MR object. Fixes #223
Description of your changes
I have:
make reviewable test
to ensure this PR is ready for review.How has this code been tested
manual test locally to see that the secret is not leaking in to the MR using this manifests. provider for testing have been started with
--sanitize-secrets