|
@ -11,6 +11,9 @@ spec: |
|
|
containers: |
|
|
containers: |
|
|
- name: slack-notification |
|
|
- name: slack-notification |
|
|
image: curlimages/curl |
|
|
image: curlimages/curl |
|
|
|
|
|
envFrom: |
|
|
|
|
|
- secretRef: |
|
|
|
|
|
name: slack |
|
|
command: |
|
|
command: |
|
|
- "curl" |
|
|
- "curl" |
|
|
- "-X" |
|
|
- "-X" |
|
@ -18,7 +21,7 @@ spec: |
|
|
- "-H" |
|
|
- "-H" |
|
|
- "Content-type: application/json" |
|
|
- "Content-type: application/json" |
|
|
- "--data" |
|
|
- "--data" |
|
|
- "{\"text\": \"nemjuhuuu\"}" |
|
|
- "{\"text\": \"juhuu\"}" |
|
|
- "https://hooks.slack.com/services/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" |
|
|
- "$(HOOK_URL)" |
|
|
restartPolicy: Never |
|
|
restartPolicy: Never |
|
|
backoffLimit: 2 |
|
|
backoffLimit: 2 |
|
|