https://garden.io logo
garden validate creates namespaces
a

ancient-diamond-80011

03/30/2023, 11:31 AM
i just noticed that on a fresh
0.13
, running
gdev13 validate
seems to create a namespace for the deployment. is this expected / desired?
the namespace seems to have zero pods running, which is probably good
c

calm-family-29323

03/30/2023, 11:35 AM
the kubernetes provider initialization creates the namespace if it doesn't exist currently. Fixing this would require a bit of a structural refactor so we've never gotten to it https://github.com/garden-io/garden/issues/3327
m

mammoth-flag-56137

03/30/2023, 11:43 AM
this predates 0.13
a

ancient-diamond-80011

03/30/2023, 11:45 AM
right, for some reason i misremembered that it would have only created the
garden-system
namespace if missing, but not the namespace for the project itself - but i was mistaken
a

alert-helicopter-61082

03/30/2023, 12:09 PM
Yeah, unrelated to 0.13, but still something we should look into