fix undefined sso var in template
This commit is contained in:
@ -12,7 +12,9 @@ GITLAB_CONF_VERSION=v1
|
|||||||
GITLAB_ROOT_EMAIL="gitlab_admin@example.com"
|
GITLAB_ROOT_EMAIL="gitlab_admin@example.com"
|
||||||
SECRET_INITIAL_ROOT_PASSWORD_VERSION=v1
|
SECRET_INITIAL_ROOT_PASSWORD_VERSION=v1
|
||||||
|
|
||||||
|
SSO=false
|
||||||
## Authentik Configuration
|
## Authentik Configuration
|
||||||
|
# SSO=true
|
||||||
# SSO_PROVIDER_HOST="authentik.mydomain.com"
|
# SSO_PROVIDER_HOST="authentik.mydomain.com"
|
||||||
# ORG_NAME="My Organization"
|
# ORG_NAME="My Organization"
|
||||||
# SECRET_CLIENT_SSO_SECRET_VERSION=v1
|
# SECRET_CLIENT_SSO_SECRET_VERSION=v1
|
||||||
|
@ -550,7 +550,7 @@
|
|||||||
# gitlab_rails['smartcard_required_for_git_access'] = false
|
# gitlab_rails['smartcard_required_for_git_access'] = false
|
||||||
# gitlab_rails['smartcard_san_extensions'] = false
|
# gitlab_rails['smartcard_san_extensions'] = false
|
||||||
|
|
||||||
{{ if SSO_PROVIDER_HOST }}
|
{{ if eq SSO "true" }}
|
||||||
### OmniAuth Settings
|
### OmniAuth Settings
|
||||||
###! Docs: https://docs.gitlab.com/ee/integration/omniauth.html
|
###! Docs: https://docs.gitlab.com/ee/integration/omniauth.html
|
||||||
# gitlab_rails['omniauth_enabled'] = nil
|
# gitlab_rails['omniauth_enabled'] = nil
|
||||||
|
Reference in New Issue
Block a user