Skip to content

Commit dc500aa

Browse files
committed
feat: Update READMES
feat: Update READMes feat: Update READMES feat: Update READMes feat: Update READMES feat: Update READMes feat: Update READMES feat: Update READMes feat: Update READMES feat: Update READMes feat: Update READMES feat: Update READMes
1 parent 7e756c8 commit dc500aa

File tree

2 files changed

+14
-15
lines changed

2 files changed

+14
-15
lines changed

main.tf

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ resource "random_password" "mariadb_password" {
1111
}
1212

1313
resource "random_password" "keycloak_client_secret" {
14-
length = 32
15-
special = false
16-
upper = true
17-
lower = true
18-
numeric = true
14+
length = 32
15+
special = false
16+
upper = true
17+
lower = true
18+
numeric = true
1919
}
2020

2121
resource "azurerm_virtual_network" "minio_vnet" {
@@ -580,12 +580,12 @@ resource "azurerm_container_group" "minio_aci_container_group" {
580580

581581
secret = {
582582
"minio-realm-config.json" = base64encode(templatefile("${path.module}/minio-realm-config.json.tpl", {
583-
fqdn = azurerm_public_ip.agw_pip.fqdn
584-
minio_client_secret = random_password.keycloak_client_secret.result
585-
test_user_username = var.keycloak_test_user_username
586-
test_user_email = var.keycloak_test_user_email
587-
test_user_password = var.keycloak_test_user_password
588-
opkssh_redirect_uris = jsonencode(var.opkssh_redirect_uris)
583+
fqdn = azurerm_public_ip.agw_pip.fqdn
584+
minio_client_secret = random_password.keycloak_client_secret.result
585+
test_user_username = var.keycloak_test_user_username
586+
test_user_email = var.keycloak_test_user_email
587+
test_user_password = var.keycloak_test_user_password
588+
opkssh_redirect_uris = jsonencode(var.opkssh_redirect_uris)
589589
}))
590590
}
591591
}
@@ -632,7 +632,7 @@ resource "azurerm_container_group" "minio_aci_container_group" {
632632
MINIO_ROOT_USER = var.minio_root_user
633633
MINIO_ROOT_PASSWORD = var.minio_root_password
634634
MINIO_BROWSER_REDIRECT_URL = "https://${azurerm_public_ip.agw_pip.fqdn}"
635-
MINIO_IDENTITY_OPENID_CONFIG_URL = "http://localhost:8083/realms/minio_realm/.well-known/openid-configuration"
635+
MINIO_IDENTITY_OPENID_CONFIG_URL = "https://${azurerm_public_ip.agw_pip.fqdn}:8444/realms/minio_realm/.well-known/openid-configuration"
636636
MINIO_IDENTITY_OPENID_CLIENT_ID = "minio-client"
637637
MINIO_IDENTITY_OPENID_CLIENT_SECRET = random_password.keycloak_client_secret.result
638638
MINIO_IDENTITY_OPENID_CLAIM_NAME = "policy"

variables.tf

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ variable "storage_account_name" {
5151
}
5252
}
5353

54-
5554
variable "public_url_domain_name" {
5655
type = string
5756
description = "Domain name for the public URL (e.g., 'miniotest' creates 'miniotest.westeurope.azurecontainer.io')"
@@ -136,8 +135,8 @@ variable "keycloak_test_user_password" {
136135
}
137136

138137
variable "opkssh_redirect_uris" {
139-
type = list(string)
140-
default = [
138+
type = list(string)
139+
default = [
141140
"http://localhost:3000/login-callback",
142141
"http://localhost:10001/login-callback",
143142
"http://localhost:11110/login-callback"

0 commit comments

Comments
 (0)