Skip to content
Discussion options

You must be logged in to vote

You'll need to indent it once more so that the notify is under the service.

defaults.notify is where you can set defaults for your notifier types (e.g. defaults.notify.slack, or defailts.notify.gotify). To set the defaults for a service, you set defaults.service.notify.

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>

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by JosephKav
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants