Skip to content
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

fix: skip ArgoCD Application plugin if not set #365

Merged
merged 2 commits into from
Dec 27, 2024
Merged

Conversation

Zebradil
Copy link
Member

By default argocd.app.source.plugin is set to null.
This value is rendered literally in the ArgoCD Applicaion CR,
which causes the ArgoCD to fail to sync the application,
as ArgoCD expects an object here.

This PR changes the Application template to omit the field if it's empty.

@Zebradil Zebradil marked this pull request as ready for review December 27, 2024 15:09
@Zebradil Zebradil merged commit 302667e into main Dec 27, 2024
5 checks passed
@Zebradil Zebradil deleted the fix-null-plugin branch December 27, 2024 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant