github.com/argoproj-labs/argocd-operator@v0.10.0/tests/k8s/1-022_validate_notifications/03-create-app.yaml (about)

     1  apiVersion: kuttl.dev/v1beta1
     2  kind: TestStep
     3  commands:
     4  - script: |
     5      set -e
     6  
     7      cat << EOF | kubectl apply -f -
     8      apiVersion: argoproj.io/v1alpha1
     9      kind: Application
    10      metadata:
    11        name: my-app-3
    12        namespace: $NAMESPACE
    13        annotations:
    14          "notifications.argoproj.io/subscribe.on-created.gmail": "jdfake@email.com"
    15      spec:
    16        destination:
    17          namespace: $NAMESPACE
    18          server: https://kubernetes.default.svc
    19        project: default
    20        source:
    21          repoURL: https://github.com/redhat-developer/gitops-operator
    22          path: test/examples/nginx
    23          targetRevision: HEAD
    24      EOF
    25  - script: sleep 5