Skip to content

Commit

Permalink
fix(controllers): add missing DATASTORE_HOSTNAME env var on run pods
Browse files Browse the repository at this point in the history
This environment variable was dropped in #320, preventing the run pods to reach the datastore
  • Loading branch information
LucasMrqes authored Sep 6, 2024
1 parent a3ed9b4 commit bd05d5d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions internal/controllers/terraformrun/pod.go
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,10 @@ func defaultPodSpec(config *config.Config, layer *configv1alpha1.TerraformLayer,
Name: "SSH_KNOWN_HOSTS",
Value: "/home/burrito/.ssh/known_hosts",
},
{
Name: "BURRITO_DATASTORE_HOSTNAME",
Value: config.Datastore.Hostname,
},
},
},
},
Expand Down

0 comments on commit bd05d5d

Please sign in to comment.