onedr0p / cluster-template

A template for deploying a Talos Kubernetes cluster including Flux for GitOps
MIT License
1.9k stars 270 forks source link

`task configure` not working on devcontainer setup #1630

Open Stasky745 opened 2 hours ago

Stasky745 commented 2 hours ago
⬢ [Docker] ❯ task configure
Any conflicting files in the kubernetes directory will be overwritten... continue? [y/N]: y
task: `test -d /workspaces/cluster/.venv` failed
task: Failed to run task "configure": task: precondition not met

There's no .venv directory in the devcontainer setup. Maybe the task workstation:venv command should be used prior too?

onedr0p commented 2 hours ago

This should have been run when the devcontainer started.

https://github.com/onedr0p/cluster-template/blob/main/.devcontainer%2FpostCreateCommand.sh