-
|
Dear, Thank you for this very nice project. Not sure how to use SLACK_NOTIFY by default for all my services. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
You'll need to indent it once more so that the notify is under the service.
defaults:
service:
options:
interval: 10m
latest_version:
access_token: <secret>
deployed_version:
allow_invalid_certs: true
notify:
SLACK_NOTIFY:
type: slack
url_fields:
channel: release-argus
token: <secret> |
Beta Was this translation helpful? Give feedback.
-
|
This is what is working for me now : notify:
SLACK_NOTIFY:
type: slack
url_fields:
channel: release-argus
token: <secret>
defaults:
service:
options:
interval: 10m
latest_version:
access_token: <secret>
deployed_version:
allow_invalid_certs: true
notify:
SLACK_NOTIFY: {} |
Beta Was this translation helpful? Give feedback.
You'll need to indent it once more so that the notify is under the service.
defaults.notifyis where you can set defaults for your notifier types (e.g.defaults.notify.slack, ordefailts.notify.gotify). To set the defaults for a service, you setdefaults.service.notify.