CHE_WORKSPACE_NAMESPACE value set in workspace does not match the CHE_INFRA_KUBERNETES_NAMESPACE_DEFAULT pattern
See original GitHub issueIf CHE_INFRA_KUBERNETES_NAMESPACE_DEFAULT=foo-<username>
then the runtime value for CHE_WORKSPACE_NAMESPACE on has the <username>
part.
The namespace itself is correct; just the env variable value is wrong.
Issue Analytics
- State:
- Created 4 years ago
- Comments:14 (7 by maintainers)
Top Results From Across the Web
Angular workspace configuration
Angular CLI configuration optionslink. The following configuration properties are a set of options that customize the Angular CLI. Property, Details, Value type ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
What is the reason you don’t expose the name of the Kubernetes namespace?
I workaround this issue using the Downwards API like this https://github.com/mingfang/terraform-provider-k8s/blob/master/devfile.yaml#L33
We don’t expose the name of the Kubernetes namespace (or OpenShift project) the workspace runs in. The
CHE_WORKSPACE_NAMESPACE
environment variable contains what can basically be described as the name of the owner of the workspace. I’ve created a PR to the Che documentation to clarify the meaning of that environment variable.