This commit is contained in:
2023-10-23 19:55:03 +02:00
parent 2849b6fa1a
commit d795e4c0de
2 changed files with 100 additions and 100 deletions

View File

@@ -1,8 +1,8 @@
locals {
deploy-envs = concat([{
deploy-envs = [{
"name" = "CONNECTIONS"
"value" = local.connections
}],var.use-oauth?[{
},{
"name" = "OAUTH_CLIENT_ID"
"valueFrom" = {
"secretKeyRef" = {
@@ -18,7 +18,7 @@ locals {
"key" = "client-secret"
}
}
}]:[])
}]
}
resource "kubectl_manifest" "deploy" {