fix undefined sso var in template

This commit is contained in:
2024-10-02 12:47:47 -04:00
parent d1d3ee6b64
commit 3579256610
2 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -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