Not sure where to put this but I think I
# 💻|contributing
i
Not sure where to put this, but I think I have a major issue with edge-bonsai. I cannot set the namespace in the environment using defaultNamespace, because it will be prefixed with the project name. However when referencing it in a variable, it will only be the value I set (or simply default) Can someone confirm this is the case?
which gets resolved to
default
c
I don't quite understand the issue tbh. I think you might be mixing up the kubernetes provider namespaces [1] and garden namespaces [2] 1. https://github.com/garden-io/garden/blob/main/docs/reference/providers/kubernetes.md#providersnamespacename 2. https://github.com/garden-io/garden/blob/main/docs/using-garden/projects.md#environments-and-namespaces
This is quite confusing as it stands right now and it's a shame we didn't have time to make changes for the better in Bonsai
i
yes I did, sorry 😊
b
Will we be able to improve this in a patch release? 🤔
i
ftr I missed to set the namespace in my provider like this:
Copy code
namespace: ${environment.namespace}
b
Ah ok. seems slightly confusing to me– @icy-furniture-17516 now that you've been through this, do you have thoughts on how we can make this easier to grasp and harder to fall on the toes?
c
I think we should probably just change our terms This is the current proposition: environment -> environment type namespace -> environment name
i
maybe I'm infected by kcp terminology, but workspace is a good alternative for garden namespaces I think
and I personally don't sympathize with "environment type" very much
2 Views