This commit is contained in:
2024-05-27 13:45:22 +02:00
parent b0ae1a723a
commit 8026666e32
2 changed files with 3 additions and 2 deletions

View File

@@ -27,6 +27,7 @@ resource "kubectl_manifest" "cm_env_back" {
ENABLE_TRELLO_IMPORTER: "False"
OPENID_CONNECT_SCOPES: "openid email profile"
GITLAB_URL: "${module.oauth2.sso_configuration_url}"
REQUESTS_CA_BUNDLE: /etc/ssl/certs/ca-certificates.crt
EOF
}

View File

@@ -54,8 +54,8 @@ module "oauth2" {
namespace = var.namespace
domain = var.domain
labels = local.common_labels
dns_name = "${local.dns_name}/"
redirect_path = ""
dns_name = local.dns_name
redirect_path = "login"
providers = {
kubernetes = kubernetes
kubectl = kubectl