I work with four teams that are using exactly the same environments that are set up in kubernetes namespaces. I have created helm charts to install those environments. Everything works fine but I have to create ingresses by hand because of the following format in hostname:
<namespace>.<app>.<k8sdomain>
The thing is I would like to just change context with kubectl and then run those charts instead of editing every single values.yaml to change namespace variable.
Is it possible to use some predefined or dynamic variable that would add the correct namespace to the host in ingress?
Or is there any other solution that would help me to solve this problem?
Thanks.