-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
refactor(argo-cd)!: Remove Argo CD notification default notifier #1201
refactor(argo-cd)!: Remove Argo CD notification default notifier #1201
Conversation
Signed-off-by: Yixing Yan <yixingyan@gmail.com>
Signed-off-by: Yixing Yan <yixingyan@gmail.com>
@@ -2425,7 +2425,33 @@ notifications: | |||
# {{if eq .serviceType "slack"}}:white_check_mark:{{end}} Application {{.app.metadata.name}} has been successfully synced at {{.app.status.operationState.finishedAt}}. | |||
# Sync operation details are available at: {{.context.argocdUrl}}/applications/{{.app.metadata.name}}?operation=true . | |||
# slack: | |||
# attachments: "[{\n \"title\": \"{{ .app.metadata.name}}\",\n \"title_link\":\"{{.context.argocdUrl}}/applications/{{.app.metadata.name}}\",\n \"color\": \"#18be52\",\n \"fields\": [\n {\n \"title\": \"Sync Status\",\n \"value\": \"{{.app.status.sync.status}}\",\n \"short\": true\n },\n {\n \"title\": \"Repository\",\n \"value\": \"{{.app.spec.source.repoURL}}\",\n \"short\": true\n }\n {{range $index, $c := .app.status.conditions}}\n {{if not $index}},{{end}}\n {{if $index}},{{end}}\n {\n \"title\": \"{{$c.type}}\",\n \"value\": \"{{$c.message}}\",\n \"short\": true\n }\n {{end}}\n ]\n}] " |
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.
Cool, i like the reformatting!
Signed-off-by: Yixing Yan <yixingyan@gmail.com>
Signed-off-by: Yixing Yan <yixingyan@gmail.com>
charts/argo-cd/README.md
Outdated
@@ -82,6 +82,9 @@ Changes in the `CustomResourceDefinition` resources shall be fixed easily by cop | |||
|
|||
## Upgrading | |||
|
|||
### 4.3.* | |||
|
|||
With this minor version, the notification notifier's `service.slack` is no longer configured by default. |
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 add a newline between your text and the next heading to fulfill markdown lint. Also please add it to README.md.gotmpl
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.
updated
Signed-off-by: Yixing Yan <yixingyan@gmail.com>
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.
👍
…oproj#1201) * remove argocd notification default notifier Signed-off-by: Yixing Yan <yixingyan@gmail.com> * format notification template comment Signed-off-by: Yixing Yan <yixingyan@gmail.com> * Update the argo-cd chart to version 4.3.0 Signed-off-by: Yixing Yan <yixingyan@gmail.com> * update changelog Signed-off-by: Yixing Yan <yixingyan@gmail.com> * update readme Signed-off-by: Yixing Yan <yixingyan@gmail.com>
Note on DCO:
If the DCO action in the integration test fails, one or more of your commits are not signed off. Please click on the Details link next to the DCO action for instructions on how to resolve this.
Checklist:
Changes are automatically published when merged to
master
. They are not published on branches.