Skip to content

Commit be619cb

Browse files
committed
feat(infra): support origin tag white list configuration for aggregator
1 parent f8769b2 commit be619cb

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

mithril-infra/assets/docker/docker-compose-aggregator-base.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ services:
8080
- CARDANO_TRANSACTIONS_DATABASE_CONNECTION_POOL_SIZE=${CARDANO_TRANSACTIONS_DATABASE_CONNECTION_POOL_SIZE}
8181
- CARDANO_TRANSACTIONS_SIGNING_CONFIG__SECURITY_PARAMETER=${CARDANO_TRANSACTIONS_SIGNING_CONFIG__SECURITY_PARAMETER}
8282
- CARDANO_TRANSACTIONS_SIGNING_CONFIG__STEP=${CARDANO_TRANSACTIONS_SIGNING_CONFIG__STEP}
83+
- CUSTOM_ORIGIN_TAG_WHITE_LIST=${CUSTOM_ORIGIN_TAG_WHITE_LIST}
8384
- PUBLIC_SERVER_URL=${PUBLIC_SERVER_URL}
8485
- ENABLE_METRICS_SERVER=${ENABLE_METRICS_SERVER}
8586
- METRICS_SERVER_IP=${METRICS_SERVER_IP}

mithril-infra/mithril.aggregator.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ EOT
113113
"export CARDANO_TRANSACTIONS_DATABASE_CONNECTION_POOL_SIZE=${var.mithril_aggregator_cardano_transactions_database_connection_pool_size}",
114114
"export CARDANO_TRANSACTIONS_SIGNING_CONFIG__SECURITY_PARAMETER=${var.mithril_aggregator_cardano_transactions_signing_config_security_parameter}",
115115
"export CARDANO_TRANSACTIONS_SIGNING_CONFIG__STEP=${var.mithril_aggregator_cardano_transactions_signing_config_step}",
116+
"export CUSTOM_ORIGIN_TAG_WHITE_LIST='${var.mithril_aggregator_custom_origin_tag_white_list}'",
116117
"export PUBLIC_SERVER_URL=${local.mithril_aggregator_endpoint_url}",
117118
"export AUTH_USER_PASSWORD=$(htpasswd -nb ${var.mithril_aggregator_auth_username} ${var.mithril_aggregator_auth_password})",
118119
"export LEADER_AGGREGATOR_ENDPOINT='${var.mithril_aggregator_leader_aggregator_endpoint}'",

mithril-infra/variables.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,12 @@ variable "mithril_aggregator_ancillary_signer_gcp_kms_credentials" {
332332
default = ""
333333
}
334334

335+
variable "mithril_aggregator_custom_origin_tag_white_list" {
336+
type = string
337+
description = "The custom origin tags white list used by the mithril aggregator (comma separated list of tags)"
338+
default = ""
339+
}
340+
335341
variable "prometheus_auth_username" {
336342
type = string
337343
description = "The username for authentication on local prometheus endpoint"

0 commit comments

Comments
 (0)