Argo CD Notifications Gmail

context

argocdUrl: "<https://192.168.194.213:8000>"

service.email.gmail

username: xxxxxxx@gmail.com
password: xxxxxxxxx
host: smtp.gmail.com
port: 465
from: xxxxxxx@gmail.com
template.app-sync-succeeded

email:
  subject: App Synced New version of an application {{.app.metadata.name}} is up and running.
message: |
  Application {{.app.metadata.name}} is now running new version of deployments manifests.
trigger.on-sync-succeeded

- description: Test
  oncePer: app.status.operationState.syncResult.revision
  send:
  - app-sync-succeeded
  when: app.status.operationState.phase in ['Succeeded'] and app.status.health.status == 'Healthy'

apiVersion: v1
data:
  context: 'argocdUrl: "https://192.168.194.213:8000"'
  service.email.gmail: |-
    username: xxxxxxx@gmail.com
    password: xxxxxxx
    host: smtp.gmail.com
    port: 465
    from: xxxxxxx@gmail.com
  template.app-sync-succeeded: |-
    email:
      subject: App Synced New version of an application {{.app.metadata.name}} is up and running.
    message: |
      Application {{.app.metadata.name}} is now running new version of deployments manifests.
  trigger.on-sync-succeeded: |-
    - description: Test
      oncePer: app.status.operationState.syncResult.revision
      send:
      - app-sync-succeeded
      when: app.status.operationState.phase in ['Succeeded'] and app.status.health.status == 'Healthy'
kind: ConfigMap
metadata:
  annotations:
    meta.helm.sh/release-namespace: argocd
  labels:
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/name: argocd-notifications
    app.kubernetes.io/version: 1.1.1
    helm.sh/chart: argocd-notifications-1.4.1
  name: argocd-notifications-cm
  namespace: argocd
  
Send a Message