Teams
- Open
Teams
and goto Apps
- Find
Incoming Webhook
microsoft app and click on it
- Press
Add to a team
-> select team and channel -> press Set up a connector
- Enter webhook name and upload image (optional)
- Press
Create
then copy webhook url and store it in argocd_notifications-secret
- in
argocd-notifications-cm
ConfigMap:
apiVersion: v1
kind: ConfigMap
metadata:
name: argocd-notifications-cm
data:
service.teams: |
recipientUrls:
channelName: $channel-teams-url
- Create subscription for your Teams integration:
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
annotations:
notifications.argoproj.io/subscribe.on-sync-succeeded.teams: channelName