Skip to content

Commit

Permalink
chore: disable host mounts for k3d with use_local_repo
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanFlurry authored and AngelOnFira committed Jun 26, 2024
1 parent 08a53e3 commit bd70e77
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions infra/tf/k8s_cluster_k3d/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,26 +15,6 @@ locals {
resource "k3d_cluster" "main" {
name = "rivet-${var.namespace}"

# Mount repository in to k3d so we can access the built binaries
volume {
source = var.cargo_target_dir
destination = "/target"
node_filters = ["server:0"]
}

# Mount the /nix/store and /local since the build binaries depend on dynamic libs from there
volume {
source = "/nix/store"
destination = "/nix/store"
node_filters = ["server:0"]
}

volume {
source = "/local"
destination = "/local"
node_filters = ["server:0"]
}

# HTTP
port {
host = "0.0.0.0"
Expand Down

0 comments on commit bd70e77

Please sign in to comment.