Open dacofr opened 5 days ago
I wonder what's happening is that since the config.json
file is empty, that it's erroring the whole thing out.
I agree, in this specific use case, I'd expect it to work (even with an empty config.json
file).
Does it still not work if you add dummy data?
like in the config.json
you put...
{
"argo": "iscool"
}
...and see if it still errors out?
Yes, even with dummy values in config.json, we still have errors.
Checklist:
argocd version
.Describe the bug
I think that since #18545 we are not able to use templating in
project
attribute of application we are generating. Git generator raise thiserror getting project : AppProject.argoproj.io \"{{ path.basename }}\" not found
and applications are not generated (path.basename
is coming from my test suite).cf. GenerateParams
Even if we have a variable
project
we do not use it when we request k8s API.To Reproduce
Expected behavior
No error, applications are generated, and we can use a template in project field.
Version
Running locally based on this commit : b96be4c5e4b44d684182444bc403936ff8505470
Logs