Add validation when getting the secret to not fail if more than two secrets with the same name and same data are provided in the config yaml.
Fixes #238
Test output:
VENDIR_GITHUB_API_TOKEN=ghp_*** ./hack/build.sh && ./hack/test-all.sh
vendir version 0.0.0+develop
+ ./vendir version
vendir version 0.0.0+develop
Succeeded
+ go test --exec=echo ./...
+ echo Success
Success
...
+ echo UNIT SUCCESS
UNIT SUCCESS
...
+ echo E2E SUCCESS
E2E SUCCESS
+ echo ALL SUCCESS
ALL SUCCESS
Add validation when getting the secret to not fail if more than two secrets with the same
name
and samedata
are provided in the config yaml.Fixes #238
Test output:
Local Test:
vendir.yml
Output
Tree
Additional Notes
vendir.yml
config, not intendet to be different for this example.GetSecret
function to check impact