add support for specifying GitHub teams
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
9d507ef5c8
commit
a5f116ec1a
|
@ -30,6 +30,7 @@ alertmanager_oauth_id: ~
|
|||
alertmanager_oauth_secret: ~
|
||||
alertmanager_oauth_cookie_secret: ~
|
||||
alertmanager_oauth_gh_org: ~
|
||||
alertmanager_oauth_gh_teams: []
|
||||
alertmanager_oauth_cont_port: 8092
|
||||
alertmanager_oauth_cont_tag: 'v5.0.0'
|
||||
alertmanager_oauth_cont_image: 'quay.io/pusher/oauth2_proxy:{{ alertmanager_oauth_cont_tag }}'
|
||||
|
|
|
@ -37,6 +37,9 @@ services:
|
|||
--email-domain='*'
|
||||
--provider='github'
|
||||
--github-org='{{ alertmanager_oauth_gh_org | mandatory }}'
|
||||
{% if alertmanager_oauth_gh_teams %}
|
||||
--github-team='{{ alertmanager_oauth_gh_teams | join(",") }}'
|
||||
{% endif %}
|
||||
--cookie-domain='{{ alertmanager_domain | mandatory }}'
|
||||
--cookie-secret='{{ alertmanager_oauth_cookie_secret | mandatory }}'
|
||||
--client-id='{{ alertmanager_oauth_id | mandatory }}'
|
||||
|
|
Loading…
Reference in New Issue