This commit is contained in:
2024-05-17 13:09:36 +02:00
parent e8fba2fc2f
commit 8d8541fb2d

View File

@@ -73,7 +73,7 @@ resource "kubectl_manifest" "secret" {
labels: ${jsonencode(local.secret_labels)}
namespace: ${var.namespace}
stringData:
WORDPRESS_SSO_CONFIG: "${jsonencode(local.sso_config)}"
WORDPRESS_SSO_CONFIG: "${replace(jsonencode(local.sso_config),"\"","\\\"")}"
WORDPRESS_AUTH_KEY: "${random_password.AUTH_KEY.result}"
WORDPRESS_SECURE_AUTH_KEY: "${random_password.SECURE_AUTH_KEY.result}"
WORDPRESS_LOGGED_IN_KEY: "${random_password.LOGGED_IN_KEY.result}"