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

feat(argo-cd): Add ability to set Notification Services #1220

Merged
merged 1 commit into from
Apr 12, 2022
Merged

feat(argo-cd): Add ability to set Notification Services #1220

merged 1 commit into from
Apr 12, 2022

Conversation

yu-croco
Copy link
Collaborator

@yu-croco yu-croco commented Apr 12, 2022

Signed-off-by: yu-croco yuki.kita22@gmail.com

According to official doc, we can set Notification Services on argocd-notifications-cm ConfigMap, but there was no configuration against them. So I added them. 🙋

apiVersion: v1
kind: ConfigMap
metadata:
  name: argocd-notifications-cm
data:
  service.slack: |
    token: $slack-token

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: yu-croco <yuki.kita22@gmail.com>
@yu-croco yu-croco changed the title [WIP]feat(argo-cd): Add ability to set Notification Services feat(argo-cd): Add ability to set Notification Services Apr 12, 2022
@yu-croco yu-croco marked this pull request as ready for review April 12, 2022 11:17
@mbevc1 mbevc1 added the argo-cd label Apr 12, 2022
@mbevc1 mbevc1 merged commit 7932e5a into argoproj:master Apr 12, 2022
@mkilchhofer
Copy link
Member

Oh I am too late :-D

This functionality was already there but has another name:
grafik

https://github.com/argoproj/argo-helm/blob/master/charts/argo-cd/values.yaml#L2191-L2196

@yu-croco
Copy link
Collaborator Author

oh, I'm so sorry for missing it... 😇

@yu-croco
Copy link
Collaborator Author

Shall I make revert PR ? 👀

@mbevc1
Copy link
Collaborator

mbevc1 commented Apr 12, 2022

ahh, missed it as well :D

@mkilchhofer
Copy link
Member

Shall I make revert PR ? 👀

That would be great. Maybe we can extend Line 2191 with something of your description?
Something like:

- # -- Configures notification services
+ # -- Configures notification services such as slack, email or custom webhook

@mbevc1
Copy link
Collaborator

mbevc1 commented Apr 12, 2022

Sounds good to me 👍

@yu-croco
Copy link
Collaborator Author

Sure, I will make PR soon. 🙋

@yu-croco
Copy link
Collaborator Author

I created PR. Please check 🙇
#1222

mbevc1 pushed a commit that referenced this pull request Apr 12, 2022
* Revert "feat(argo-cd): Add ability to set Notification Services (#1220)"

This reverts commit 7932e5a.
Signed-off-by: yu-croco <yuki.kita22@gmail.com>

* chore(argocd): update comment to clarify usecase

Signed-off-by: yu-croco <yuki.kita22@gmail.com>
terrych0u pushed a commit to terrych0u/argo-helm that referenced this pull request Aug 4, 2022
terrych0u pushed a commit to terrych0u/argo-helm that referenced this pull request Aug 4, 2022
* Revert "feat(argo-cd): Add ability to set Notification Services (argoproj#1220)"

This reverts commit 7932e5a.
Signed-off-by: yu-croco <yuki.kita22@gmail.com>

* chore(argocd): update comment to clarify usecase

Signed-off-by: yu-croco <yuki.kita22@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