-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
Sync wave #1634
Sync wave #1634
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added few comments. Looking good so far!
@@ -313,7 +317,7 @@ func (m *appStateManager) CompareAppState(app *v1alpha1.Application, revision st | |||
} | |||
|
|||
diffResult := diffResults.Diffs[i] | |||
if resState.Hook { | |||
if resState.Hook || resource.Ignore(obj) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please make the same change in https://github.com/alexec/argo-cd/blob/5596bd1dae964e8718bac33fca47d64f78cba44b/cmd/argocd/commands/app.go#L647
} else { | ||
fmt.Fprintf(w, "GROUP\tKIND\tNAMESPACE\tNAME\tSTATUS\tHEALTH\n") | ||
} | ||
func printAppResources(w io.Writer, app *argoappv1.Application) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like CLI won't print sync message any more. Can we restore this functionality?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let me check
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was a tough one. A resource can be a hook, and a hook may have two messages (in edge cases, they can be part of two phases).
Options:
- No message.
- Only messages for non-hook resources.
- Combine multiple messages into a summary message.
Thoughts?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we need to combine messages into a summary message.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
No description provided.