This commit is contained in:
2024-05-31 13:00:13 +02:00
parent 29318d6a9f
commit 60a829bdc3
5 changed files with 116 additions and 5 deletions

View File

@@ -51,7 +51,7 @@ resource "kubectl_manifest" "cm_env_front" {
ENABLE_JIRA_IMPORTER: "false"
ENABLE_TRELLO_IMPORTER: "false"
ENABLE_OIDC_AUTH: "false"
ENABLE_OPENID_AUTH: "true"
ENABLE_OPENID: "true"
OPENID_URL: "${module.oauth2.sso_authorize_url}"
OPENID_SCOPE: "openid email profile"
OPENID_NAME: "${var.domain_name}"
@@ -85,8 +85,6 @@ resource "kubectl_manifest" "cm_scripts" {
fi
if [ $(python manage.py dumpdata projects.projecttemplate|wc -c) -lt 1000 ];then
python manage.py loaddata initial_project_templates
else
echo "skipping loading initial templates : already here"
fi
EOF
}