https://garden.io logo
#💻|dev
Not sure where to put this but I think I
# 💻|dev
i

icy-furniture-17516

05/22/2023, 3:17 PM
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

calm-family-29323

05/22/2023, 3:31 PM
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

icy-furniture-17516

05/22/2023, 3:46 PM
yes I did, sorry 😊
b

big-spring-14945

05/22/2023, 5:05 PM
Will we be able to improve this in a patch release? 🤔
i

icy-furniture-17516

05/22/2023, 5:22 PM
ftr I missed to set the namespace in my provider like this:
Copy code
namespace: ${environment.namespace}
b

big-spring-14945

06/06/2023, 11:52 AM
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

calm-family-29323

06/06/2023, 12:12 PM
I think we should probably just change our terms This is the current proposition: environment -> environment type namespace -> environment name
i

icy-furniture-17516

06/07/2023, 5:21 AM
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