Skip to content

Commit 0b48f0b

Browse files
authored
chore: Update configuring-a-user-namespace.doc (#2970)
Signed-off-by: Anatolii Bazko <[email protected]>
1 parent ca2e017 commit 0b48f0b

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

modules/administration-guide/pages/configuring-a-user-namespace.adoc

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ stringData:
108108
----
109109
====
110110
+
111-
.Replicate a Secret into every user {orch-namespace} and automatically mount a `trusted-certificates.crt` file into every user container by path `/etc/pki/ca-trust/source/anchors`:
111+
.Replicate a Secret into every user {orch-namespace} and automatically mount a `secret.data` file into every user container by path `/home/user/secrets`:
112112
====
113113
[source,yaml,subs="+attributes,+quotes"]
114114
----
@@ -122,14 +122,11 @@ metadata:
122122
app.kubernetes.io/component: workspaces-config
123123
annotations:
124124
controller.devfile.io/mount-as: subpath
125-
controller.devfile.io/mount-path: /etc/pki/ca-trust/source/anchors
125+
controller.devfile.io/mount-path: /home/user/secrets
126126
stringData:
127-
trusted-certificates.crt: |
127+
secret.data: |
128128
...
129129
----
130-
NOTE: Run `update-ca-trust` command on workspace startup to import certificates.
131-
It can be achieved manually or by adding this command to a `postStart` event in a devfile.
132-
See the link:https://devfile.io/docs/{devfile-api-version}/adding-event-bindings#post-start-object[Adding event bindings in a devfile].
133130
====
134131
+
135132
.Replicate a Secret into every user {orch-namespace} and automatically mount as environment variables into every user container:

0 commit comments

Comments
 (0)