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

Configure ArgoCD to use Replace=true to apply CRDs #58

Merged
merged 1 commit into from
Oct 12, 2022

Conversation

simu
Copy link
Member

@simu simu commented Oct 11, 2022

Fixes #57

Checklist

  • PR contains a single logical change (to build a better changelog).
  • Categorize the PR by setting a good title and adding one of the labels:
    bug, enhancement, documentation, change, breaking, dependency
    as they show up in the changelog.
  • Link this PR to related issues or PRs.

@simu simu added the bug Something isn't working label Oct 11, 2022
@simu simu requested a review from bastjan October 11, 2022 12:40
@simu simu force-pushed the fix/argocd-replace-crds branch 2 times, most recently from f555306 to f059b18 Compare October 11, 2022 13:09
@simu simu force-pushed the fix/argocd-replace-crds branch from f059b18 to 6a40dfc Compare October 11, 2022 13:12
@bastjan
Copy link
Contributor

bastjan commented Oct 11, 2022

I guess this is fine because we re-apply the CRDs anyway from ArgoCD? Might be fine argoproj/argo-cd#5704 (comment)

@simu
Copy link
Member Author

simu commented Oct 11, 2022

I guess this is fine because we re-apply the CRDs anyway from ArgoCD? Might be fine argoproj/argo-cd#5704 (comment)

Reading through the linked issues, ArgoCD won't actually replace the CRD resources unless you choose "Force" for a manual sync, see argoproj/gitops-engine#252. We should probably migrate this to use server-side apply once we've upgraded to ArgoCD v2.5 (cf. argoproj/argo-cd#820 (comment))

@simu simu merged commit d0bae2f into master Oct 12, 2022
@simu simu deleted the fix/argocd-replace-crds branch October 12, 2022 09:22
gutmensch added a commit to gutmensch/argocd that referenced this pull request Oct 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants