You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry, this issue fell through the cracks. Are you saying that even the environments defined in qbec.yaml should not exist?
qbec does need an env name to set the labels correctly for GC etc.
we already support a --force:k8s-context environment variable - we could conceivably add a new special value called __none__ and use everything from explicit env vars.
But it seems to be that it would be just as easy in terraform to create a kubeconfig with a single context containing the things of interest and force that to be the qbec context. (and explicitly set the --k8s:kubeconfig option to point to the file data file created in the terraform).
Right now, qbec relies on
~/.kube/config
andqbec.yaml
files when it tries to find cluster credentials.I think it would be rather nice if qbec will have the ability to provide all the parameters to connect to the cluster via command line.
In my specific case, I want the ability to run qbec from Terraform.
For instance, Terraform providers have configuration like this:
And I imagine I want to run qbec from terraform with options like this:
And/or with environment variables like this:
Options names are discussable ofc.
The text was updated successfully, but these errors were encountered: