From b438fe8df197ed468efdeb5c41e30f3bcf04c933 Mon Sep 17 00:00:00 2001 From: Joel Speed Date: Thu, 18 Jan 2018 10:20:50 +0000 Subject: [PATCH] Add env option --- options.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/options.go b/options.go index 9015c42..504055e 100644 --- a/options.go +++ b/options.go @@ -32,7 +32,7 @@ type Options struct { AuthenticatedEmailsFile string `flag:"authenticated-emails-file" cfg:"authenticated_emails_file"` AzureTenant string `flag:"azure-tenant" cfg:"azure_tenant"` EmailDomains []string `flag:"email-domain" cfg:"email_domains"` - WhitelistDomains []string `flag:"whitelist-domains" cfg:"whitelist_domains"` + WhitelistDomains []string `flag:"whitelist-domain" cfg:"whitelist_domains" env:"OAUTH2_PROXY_WHITELIST_DOMAINS"` GitHubOrg string `flag:"github-org" cfg:"github_org"` GitHubTeam string `flag:"github-team" cfg:"github_team"` GoogleGroups []string `flag:"google-group" cfg:"google_group"`