https://garden.io logo
Not sure where to put this but I think I
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:
namespace: ${environment.namespace}