Skip to content
This repository has been archived by the owner on Feb 7, 2024. It is now read-only.

Slack template for app-created and app-deleted #279

Answered by ashwin316
ashwin316 asked this question in Q&A
Discussion options

You must be logged in to vote

I found the issue and solved it. I had missed the send key in the triggers section. Works with the following:

trigger.on-created: |
  - description: Application is created.
    oncePer: app.metadata.name
    send:
    - app-created
    when: true
trigger.on-deleted: |
  - description: Application is deleted.
    oncePer: app.metadata.name
    send:
    - app-deleted
    when: app.metadata.deletionTimestamp != nil

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ryota-sakamoto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant