Uploaded image for project: 'Docs for Red Hat Developers'
  1. Docs for Red Hat Developers
  2. RHDEVDOCS-6368

Change the Subscription YAML code block for NotificationsConfiguration CR feature

XMLWordPrintable

      This task captures the efforts involved in modifying the YAML code block for the Subscriptions feature in the NotificationsConfiguration CR section. Replace the existing YAML code snippet with the following code snippet:

      From 

      apiVersion: argoproj.io/v1alpha1
      kind: NotificationsConfiguration
      metadata:
       name: default-notifications-configuration 
      spec:
       Subscriptions: |
        subscriptions: | 
          # subscription for on-sync-status-unknown trigger notifications
          - recipients:
          - slack:test2
          - email:test@gmail.com
          triggers:
          - on-sync-status-unknown
          # subscription restricted to applications with matching labels only
          - recipients:
          - slack:test3
          selector: test=true
          triggers:
          - on-sync-status-unknown
      icon: <override-icon> # optional icon for the message (supports both emoji and url notation)

      To

      apiVersion: argoproj.io/v1alpha1
      kind: NotificationsConfiguration
      metadata:
       name: default-notifications-configuration 
      spec:
       subscriptions:
        subscriptions: |
      #subscription for on - sync - status - unknown trigger notifications
          - recipients:
            - slack:test2
            - email:test@gmail.com
          triggers:
            - on-sync-status-unknown
      #subscription restricted to applications with matching labels only
          - recipients:
            - slack:test3
          selector: test=true
          triggers:
            - on-sync-status-unknown
          icon: <override-icon> # optional icon for the message (supports both emoji and url notation)

              dsoni@redhat.com Dhruv Soni
              dsoni@redhat.com Dhruv Soni
              Anand Singh
              Dhruv Soni Dhruv Soni
              Anand Singh
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: