Cannot change namespace value for Devcontainer in K8s
I'm facing issue when creating devcontainer workspace. Really need help.
I also mounted kubeconfig file to
/home/coder/.kube by and I'm sure content in it is correct.Then I created a template by choosing
Devcontainers (Kubernetes) stater template.Problems cause when I create workspace from that template. I have two question:
1. why I can't override value of
var.use_kubeconfig and var.namespace? All params that I can override is describe as image bellow.2. Even I edited
main.tf, set var.namespace.default to "coder" and var.use_kubeconfig.default to true so it can use kubeconfig in ~/.kube/config, I still facing with error, describe in image bellow.For more details, here's yaml file showing how I deployed coder-v2 helm chart.
Please help me. Thanks


