Notification slack

slack 설정

https://argocd-notifications.readthedocs.io/en/stable/services/slack/arrow-up-right

slack에서 add apps ==> app directory ==> build ==> create custom app

app directory
build
create custom app

create an app from scratch

create an app from scratch
create app

oauth & permission

bot token scope ==> add an oauth scope ==>

add an oauth scope

chat:write추가

chat:write:customize는 메세지를 커스터 마이즈하려면 추가

Install App to Workspace

allow

토큰이 생성이 되면 복사해둔다.

argocd 채널에 application추가

채널에서 Add apps >> channel detail >> integration >> argocd-notifications

Add apps
Add apps
Add apps

argocd에 설치하기

argocd에서 앱을 추가하자.

subscribe trigger

Application

Application에 annotations 을 추가해주면된다.

이러면 알림을 받을수 있다.

Project

Project 단위에 다 보내려면 프로젝트설정에 annotations 을 추가해주면 된다.

command line으로

Last updated

Was this helpful?