Skip to content

Overview

The notification services represent integration with services such as slack, email or custom webhook. Services are configured in argo-rollouts-notification-configmap ConfigMap using service.<type>.(<custom-name>) keys and might reference sensitive data from argo-rollouts-notification-secret Secret. Following example demonstrates slack service configuration:

  service.slack: |
    token: $slack-token

The slack indicates that service sends slack notification; name is missing and defaults to slack.

Sensitive Data

Sensitive data like authentication tokens should be stored in <secret-name> Secret and can be referenced in service configuration using $<secret-key> format. For example $slack-token referencing value of key slack-token in <secret-name> Secret.

Custom Names

Service custom names allow configuring two instances of the same service type.

  service.slack.workspace1: |
    token: $slack-token-workspace1
  service.slack.workspace2: |
    token: $slack-token-workspace2
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
  annotations:
    notifications.argoproj.io/subscribe.on-sync-succeeded.workspace1: my-channel
    notifications.argoproj.io/subscribe.on-sync-succeeded.workspace2: my-channel

Service Types