Create namespace when model is created


You can see here a kubernetes namespace is not created when the model is created.

I feel like creating the namespace at the same time the model is created would be useful because it would allow the operator to create peripheral resources inside the namespace but outside of the context of Juju, before the Juju workload is deployed.



This sounds reasonable to me, and I thought that Juju was creating a namespace. Perhaps it is only being created when the first thing is deployed.


Yeah, agreed we need to do that. It’s not done yet because it’s a non-trivial change to Juju’s current implementation to have add-model trigger an operation on the substrate, so just hasn’t risen to the top of the queue yet.