-
Notifications
You must be signed in to change notification settings - Fork 345
Add description label to ArgoCDSyncAlert #704
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
Conversation
Signed-off-by: Rizwana777 <[email protected]>
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
Hi @Rizwana777. Thanks for your PR. I'm waiting for a redhat-developer member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
/ok-to-test |
|
/lgtm |
simonpasquier
left a comment
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.
The description should go into the annotations field and you want a summary entry too.
| Labels: map[string]string{ | ||
| "severity": "warning", | ||
| "severity": "warning", | ||
| "description": "ArgoCDSyncAlert is listed if Argo CD app is out of sync", |
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.
it could be interesting to include alert labels in the rendered string to help troubleshooting. For instance "Argo CD application XXX is out of sync. Check blah..."
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.
@simonpasquier addressed the changes, PTAL
|
New changes are detected. LGTM label has been removed. |
d96d017 to
0412149
Compare
| Annotations: map[string]string{ | ||
| "message": "ArgoCD application {{ $labels.name }} is out of sync", | ||
| "message": "ArgoCD application {{ $labels.name }} is out of sync", | ||
| "summary": "ArgoCDSyncAlert triggers when an Argo CD application is out of sync", |
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.
(suggestion) shortened version
| "summary": "ArgoCDSyncAlert triggers when an Argo CD application is out of sync", | |
| "summary": "Argo CD application is out of sync", |
| "message": "ArgoCD application {{ $labels.name }} is out of sync", | ||
| "message": "ArgoCD application {{ $labels.name }} is out of sync", | ||
| "summary": "ArgoCDSyncAlert triggers when an Argo CD application is out of sync", | ||
| "description": "Argo CD application {{ $labels.name }} is out of sync. Check ArgoCDSyncAlert status, this alert is designed to notify that an application managed by Argo CD is out of sync", |
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.
| "description": "Argo CD application {{ $labels.name }} is out of sync. Check ArgoCDSyncAlert status, this alert is designed to notify that an application managed by Argo CD is out of sync", | |
| "description": "Argo CD application {{ $labels.name }} is out of sync. Check ArgoCDSyncAlert status, this alert is designed to notify that an application managed by Argo CD is out of sync.", |
| Alert: "ArgoCDSyncAlert", | ||
| Annotations: map[string]string{ | ||
| "message": "ArgoCD application {{ $labels.name }} is out of sync", | ||
| "message": "ArgoCD application {{ $labels.name }} is out of sync", |
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.
The conventions prescribe "summary" and "description".
| "message": "ArgoCD application {{ $labels.name }} is out of sync", |
d460a53 to
7e78a7c
Compare
|
/test unit |
|
/test v4.12-kuttl-parallel |
simonpasquier
left a comment
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
|
@simonpasquier: changing LGTM is restricted to collaborators In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
/test unit |
|
@Rizwana777 it appears the unit tests need to be updated, primarily due to switching from |
Signed-off-by: Rizwana777 <[email protected]>
|
/test v4.14-kuttl-parallel |
|
/retest |
2 similar comments
|
/retest |
|
/retest |
jgwest
left a comment
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 too, thanks @Rizwana777!
* Add description label to ArgoCDSyncAlert Signed-off-by: Rizwana777 <[email protected]> * Move description to annotations and add summary Signed-off-by: Rizwana777 <[email protected]> --------- Signed-off-by: Rizwana777 <[email protected]>
What type of PR is this?
Added "description" label to ArgoCDSyncAlert
JIRA - https://issues.redhat.com/browse/GITOPS-2639