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

docs: kubectl to synchronize argocd apps (cherry-pick #14881) #15086

Merged
merged 1 commit into from
Aug 18, 2023

Conversation

gcp-cherry-pick-bot[bot]
Copy link

Cherry-picked docs: kubectl to synchronize argocd apps (#14881)

We can use kubectl to synchronize argocd applications the same way we can use
the argocd cli or ui, however there's no documentation.

This PR adds documentation for kubectl.

Signed-off-by: Jordi Grant Esteve jgrant.esteve@gmail.com

We can use kubectl to synchronize argocd applications the same way we can use
the argocd cli or ui, however there's no documentation.

This PR adds documentation for kubectl.

Signed-off-by: Jordi Grant Esteve <jgrant.esteve@gmail.com>
@codecov
Copy link

codecov bot commented Aug 16, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (af202bc) 48.94% compared to head (4116adb) 48.94%.

Additional details and impacted files
@@             Coverage Diff              @@
##           release-2.7   #15086   +/-   ##
============================================
  Coverage        48.94%   48.94%           
============================================
  Files              247      247           
  Lines            42873    42873           
============================================
  Hits             20983    20983           
  Misses           19770    19770           
  Partials          2120     2120           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@todaywasawesome todaywasawesome left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small fixes and then can approve

$ kubectl patch -n <namespace> app <app-name> --patch-file <patch-file> --type merge
```

Be aware that patches, specially with merge strategies, may not work the way you expect especially if you change sync strategies or options.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Be aware that patches, specially with merge strategies, may not work the way you expect especially if you change sync strategies or options.
Be aware that patches, especially with merge strategies, may not work the way you expect especially if you change sync strategies or options.


# List of resources

There's always the possibility to pass a list of resources. This list can be all resources the application manages or only a subset, for example resources that remained out of sync for some reason.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
There's always the possibility to pass a list of resources. This list can be all resources the application manages or only a subset, for example resources that remained out of sync for some reason.
There's always the possibility to pass a list of resources. This list can be all resources the application manages or only a subset, for example, resources that remained out of sync for some reason.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll go ahead and merge this, since it's a cherry-pick. These fixes can be in a follow-up PR

@crenshaw-dev crenshaw-dev merged commit 2ff6e51 into release-2.7 Aug 18, 2023
19 of 23 checks passed
@crenshaw-dev crenshaw-dev deleted the cherry-pick-e71fa3-release-2.7 branch August 18, 2023 15:19
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.

None yet

3 participants