Skip to content

Commit 7a1020d

Browse files
authored
feat(instance): enable --metadata-detailed-schema on ogmios v7 (#93)
1 parent a044efa commit 7a1020d

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

bootstrap/instance/ogmios.tf

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@ locals {
77
"--node-config", "/config/config.json",
88
"--host", "0.0.0.0"
99
]
10-
container_args = var.ogmios_version == "5" ? local.default_args : concat(local.default_args, ["--include-cbor"])
10+
container_args = var.ogmios_version == "5" ? local.default_args : concat(
11+
local.default_args,
12+
["--include-cbor"],
13+
var.ogmios_version == "7" ? ["--metadata-detailed-schema"] : []
14+
)
1115
}
1216

1317
resource "kubernetes_deployment_v1" "ogmios" {

0 commit comments

Comments
 (0)