Skip to content

Commit

Permalink
Update src/main/pages/che-7/installation-guide/proc_configuring-names…
Browse files Browse the repository at this point in the history
…pace-strategies.adoc

Co-Authored-By: Robert Krátký <rkratky@redhat.com>
  • Loading branch information
sparkoo and Robert Krátký authored Sep 26, 2019
1 parent e3008d5 commit 34cfb18
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,12 @@ The strategy isolates each user in their own namespace.
To use the strategy, set the `CHE_INFRA_KUBERNETES_NAMESPACE` variable on Kubernetes or the `CHE_INFRA_OPENSHIFT_PROJECT` variable on OpenShift. The value must contain one or more user identifiers. Currently supported identifiers are `_<username>_` and `_<userid>_`.

.Example
To have namespaces named like `che-ws-user1`, `che-ws-user2`, `…` set `CHE_INFRA_KUBERNETES_NAMESPACE=che-ws-<username>`.
To assign namespace names composed of a `che-ws` prefix and individual usernames (`che-ws-user1`, `che-ws-user2`), set:

[subs="+quotes"]
----
CHE_INFRA_KUBERNETES_NAMESPACE=che-ws-__<username>__
----

[IMPORTANT]
====
Expand Down

0 comments on commit 34cfb18

Please sign in to comment.