Skip to content

Commit

Permalink
Readd crds
Browse files Browse the repository at this point in the history
  • Loading branch information
gonzalezzfelipe committed Aug 10, 2024
1 parent 1a634fa commit 2a7792e
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions bootstrap/rpc/sts.tf
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ resource "kubernetes_stateful_set_v1" "rpc" {

env {
name = "RPC_CONFIG"
value = "/fabric/rpc.toml"
value = "/fabric/config/rpc.toml"
}

port {
Expand All @@ -66,7 +66,12 @@ resource "kubernetes_stateful_set_v1" "rpc" {

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

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

resources {
Expand All @@ -88,6 +93,13 @@ resource "kubernetes_stateful_set_v1" "rpc" {
}
}

volume {
name = "crds"
config_map {
name = local.crds_configmap_name
}
}

dynamic "toleration" {
for_each = var.tolerations

Expand Down

0 comments on commit 2a7792e

Please sign in to comment.