How to create a namespace in a project? (not via the UI.)


I have raised this as a bug, located here:

in short we have some yaml files which we want to rancher kubectl apply -f ., on these files:

however when we run the namespace one, it does not add the namespace to the current scoped project

apiVersion: v1
kind: Namespace
  name: data

how are we programmatically meant to create a namespace in a project?

Hi @dbones ,

Have any luck on this? Another thing that could make my life easier is to set a default project for every new namespace created.