Skip to content
Snippets Groups Projects
Commit 95e82056 authored by Stephanie Freitag's avatar Stephanie Freitag
Browse files

HOLI-5073: set env var for jitsi jwt secret during deployment

parent b2370836
No related branches found
No related tags found
No related merge requests found
......@@ -108,6 +108,15 @@ resource "google_cloud_run_service" "unified_api" {
name = "AUTHENTICATORS_BEARER_TOKEN_CONFIG_CHECK_SESSION_URL"
value = local.environment == "production" ? "https://auth.holi.social/sessions/whoami" : "https://dev-auth.holi.social/sessions/whoami"
}
env {
name = "JITSI_JWT_SECRET"
value_from {
secret_key_ref {
key = "latest"
name = local.environment_name == "production" ? "JITSI_JWT_SECRET_PRODUCTION" : "JITSI_JWT_SECRET_DEVELOPMENT"
}
}
}
volume_mounts {
mount_path = "/opt/oathkeeper/secrets/"
name = "JWKS"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment