Skip to content

Commit

Permalink
fix: Add prometheus url env var (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
gonzalezzfelipe authored Jun 11, 2024
1 parent 029da01 commit d2f662d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion bootstrap/feature/configs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ resource "kubernetes_config_map" "pgbouncer_certs" {

data = {
"server.crt" = var.pgbouncer_server_crt
"server.key" = var.pgbouncer_server_key
"server.key" = var.pgbouncer_server_key
}
}
5 changes: 5 additions & 0 deletions bootstrap/feature/operator.tf
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,11 @@ resource "kubernetes_deployment_v1" "operator" {
value = "mainnet=dbsync-mainnet,preprod=dbsync-preprod,preview=dbsync-preview,vector-testnet=dbsync-vector-testnet"
}

env {
name = "PROMETHEUS_URL"
value = "http://prometheus-operated.demeter-system.svc.cluster.local:9090/api/v1"
}

env {
name = "RUST_BACKTRACE"
value = "1"
Expand Down

0 comments on commit d2f662d

Please sign in to comment.