We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb0812b commit 4ed7205Copy full SHA for 4ed7205
bootstrap/instance/submitapi.tf
@@ -52,7 +52,17 @@ resource "kubernetes_deployment_v1" "submitapi" {
52
name = "main"
53
image = var.image
54
image_pull_policy = "IfNotPresent"
55
- args = [
+ args = var.network == "vector-testnet" ? [
56
+ "--mainnet",
57
+ "--config",
58
+ "/config/submit-api-config.json",
59
+ "--socket-path",
60
+ "/ipc/node.socket",
61
+ "--port",
62
+ local.container_port,
63
+ "--listen-address",
64
+ "0.0.0.0",
65
+ ] : [
66
"--testnet-magic",
67
var.testnet_magic,
68
"--config",
0 commit comments