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

refactor(argo-cd)!: Remove Argo CD notification default notifier #1201

Merged

Conversation

yanyixing
Copy link
Contributor

@yanyixing yanyixing commented Mar 29, 2022

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:

  • I have bumped the chart version according to versioning
  • I have updated the documentation according to documentation
  • I have updated the chart changelog with all the changes that come with this pull request according to changelog.
  • Any new values are backwards compatible and/or have sensible default.
  • I have signed off all my commits as required by DCO.
  • My build is green (troubleshooting builds).

Changes are automatically published when merged to master. They are not published on branches.

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}] "
Copy link
Member

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>
@@ -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.
Copy link
Member

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

updated

@mkilchhofer mkilchhofer changed the title fix(argo-cd): Fix argocd notification notifiers chore!(argo-cd): Remove Argo CD notification default notifier Mar 29, 2022
@mkilchhofer mkilchhofer changed the title chore!(argo-cd): Remove Argo CD notification default notifier chore(argo-cd)!: Remove Argo CD notification default notifier Mar 29, 2022
@mkilchhofer mkilchhofer changed the title chore(argo-cd)!: Remove Argo CD notification default notifier refactor(argo-cd)!: Remove Argo CD notification default notifier Mar 29, 2022
Signed-off-by: Yixing Yan <yixingyan@gmail.com>
Copy link
Member

@mkilchhofer mkilchhofer left a comment

Choose a reason for hiding this comment

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

👍

@mkilchhofer mkilchhofer merged commit 82f0a66 into argoproj:master Mar 29, 2022
terrych0u pushed a commit to terrych0u/argo-helm that referenced this pull request Aug 4, 2022
…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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants