Skip to content

Commit

Permalink
fix: minor improvements to the pages about secrets and configmaps (ec…
Browse files Browse the repository at this point in the history
…lipse-che#2314)

* minor fixes

* fix: improve the step wording

Co-authored-by: Fabrice Flore-Thébault <[email protected]>
  • Loading branch information
max-cx and themr0c authored Sep 26, 2022
1 parent a0691ad commit 059d9a5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
6 changes: 2 additions & 4 deletions modules/end-user-guide/pages/mounting-configmaps.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,11 @@ Mount {kubernetes} ConfigMaps to the `{devworkspace}` containers in the {orch-na

* An active `{orch-cli}` session with administrative permissions to the destination {orch-name} cluster. See {orch-cli-link}.

* You have created a new ConfigMap or determined an existing one in your user {orch-namespace} to mount to all `{devworkspace}` containers.
* In your user {orch-namespace}, you created a new ConfigMap or determined an existing ConfigMap to mount to all `{devworkspace}` containers.

.Procedure

. Determine an existing ConfigMap in your user {orch-namespace} to mount to all workspace containers.

. Set the required labels for mounting.
. Add the labels, which are required for mounting the ConfigMap, to the ConfigMap.
+
[subs="+quotes,+attributes,+macros"]
----
Expand Down
6 changes: 2 additions & 4 deletions modules/end-user-guide/pages/mounting-secrets.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,11 @@ Mount {kubernetes} Secrets to the `{devworkspace}` containers in the {orch-name}

* An active `{orch-cli}` session with administrative permissions to the destination {orch-name} cluster. See {orch-cli-link}.

* You have created a new Secret or determined an existing one in your user {orch-namespace} to mount to all `{devworkspace}` containers.
* In your user {orch-namespace}, you created a new Secret or determined an existing Secret to mount to all `{devworkspace}` containers.

.Procedure

. Determine an existing ConfigMap or Secret in your user {orch-namespace} to mount to all workspace containers.

. Set the required labels for mounting.
. Add the labels, which are required for mounting the Secret, to the Secret.
+
[subs="+quotes,+attributes,+macros"]
----
Expand Down

0 comments on commit 059d9a5

Please sign in to comment.