-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multi-source application breaks CLI usage, even with single source #274
Comments
Hi @headyj, I'm a little confused by this one. You seem to be mixing references to both the
This is not true. There is no
Not sure what this has to do with the provider. Finally, under the expected behaviour, you provide YAML config rather than HCL, so once again, I'm a bit confused about whether you are referring to the CLI or the Terraform provider. |
@onematchfox that's because the problem occurs when you use the CLI, once you applied your changes using the terraform provider, so indeed it still works. I know there is no sources field in the provider, but in the Application CRD, there is both You can reproduce the full problem the following way:
Now:
So until ArgoCD issue is fixed, the provider should still fill the I hope it's a bit more clear now |
OK. I see the issue. I'm inclined to say the issue needs to be addressed in the ArgoCD CLI, but if someone wants to open a PR to change the provider to work around this issue then I won't oppose it. |
Indeed, I agree the problem is mostly on the ArgoCD CLI side, but I don't feel like it's going to be fixed in a near future unfortunately. On our side we strongly depends on both this provider and the CLI in our CI/CD process, so I cannot update the provider currently |
Chiming in on this one: we have recently updated our terraform provider and the |
I have just opened a PR whereby the provider will revert to setting |
Terraform Version, ArgoCD Provider Version and ArgoCD Version
Affected Resource(s)
Steps to Reproduce
source
field is nowsources
, even if you have a single source in your applicationtime="2023-05-11T07:39:19Z" level=fatal msg="argocd cli does not work on multi-source app"
Expected Behavior
A single source application should still be added in the
source
field, not insources
Before 5.3:
Now:
Link to ArgoCD cli issue: argoproj/argo-cd#12318
The text was updated successfully, but these errors were encountered: