Skip to content

Commit

Permalink
chore: updated iac daemon bootstrap config
Browse files Browse the repository at this point in the history
  • Loading branch information
paulobressan committed Oct 10, 2024
1 parent 8fa7099 commit 368f193
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions bootstrap/daemon/config.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ resource "kubernetes_config_map_v1" "fabric_daemon_config" {
"daemon.toml" = "${templatefile(
"${path.module}/daemon.toml.tftpl",
{
db_path = "/var/cache/${var.consumer_cache_name}.db",
broker_urls = var.broker_urls
consumer_cache_name = var.consumer_cache_name
consumer_monitor_name = var.consumer_monitor_name
Expand Down
3 changes: 1 addition & 2 deletions bootstrap/daemon/daemon.toml.tftpl
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
db_path="${db_path}"
topic = "${topic}"

cluster_id = "${cluster_id}"
delay_sec = ${prometheus_delay_sec}

mode = "${mode}"

[prometheus]
Expand Down
2 changes: 1 addition & 1 deletion bootstrap/daemon/sts.tf
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ resource "kubernetes_stateful_set_v1" "daemon" {

volume_mount {
name = "config"
mount_path = "/fabric/config"
mount_path = "/fabric"
}

resources {
Expand Down

0 comments on commit 368f193

Please sign in to comment.