Skip to content

Commit 6ec9374

Browse files
authored
docs: mention DWO_NAMESPACE env var in backup docs (#3059)
Signed-off-by: dkwon17 <dakwon@redhat.com>
1 parent 85db9d5 commit 6ec9374

3 files changed

Lines changed: 26 additions & 0 deletions

File tree

modules/administration-guide/pages/devworkspace-backup-integrated-openshift-registry.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,5 @@ echo "https://$(oc get route default-route -n openshift-image-registry --templat
4545

4646
Once the backup job is finished, the backup archives will be available in the {devworkspace} {namespace} under a repository
4747
with a matching {devworkspace} name.
48+
49+
include::partial$snip_defining-dwo-namespace-for-backups.adoc[]

modules/administration-guide/pages/devworkspace-backup-regular-oci-registry.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,5 @@ kubectl label secret devworkspace-backup-registry-auth controller.devfile.io/wat
5454
====
5555
The {devworkspace} Operator copies the `devworkspace-backup-registry-auth` secret to each {devworkspace} {namespace} so that backups from user workspaces can be pushed to the registry. If you do not want that secret copied automatically, create a `devworkspace-backup-registry-auth` secret with user-specific credentials in each {devworkspace} {namespace} instead.
5656
====
57+
58+
include::partial$snip_defining-dwo-namespace-for-backups.adoc[]
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
:_content-type: SNIPPET
2+
3+
[NOTE]
4+
====
5+
If the installation {namespace} for the {devworkspace} operator is not `openshift-operators`, you must define it as an environment variable for the {prod} dashboard in the `CheCluster` Custom Resource.
6+
7+
[source,yaml,subs="+attributes,+quotes"]
8+
----
9+
apiVersion: org.eclipse.che/v2
10+
kind: CheCluster
11+
spec:
12+
components:
13+
dashboard:
14+
deployment:
15+
containers:
16+
- env:
17+
- name: DWO_NAMESPACE
18+
value: $OPERATOR_INSTALL_NAMESPACE <1>
19+
name: che-dashboard
20+
----
21+
<1> For Red Hat OpenShift, the default installation namespace for the {devworkspace} operator is `openshift-operators`. See the xref:devworkspace-operator.adoc[{devworkspace} operator overview].
22+
====

0 commit comments

Comments
 (0)