Skip to content

Commit f8cd7b1

Browse files
committed
docs: mention DWO_NAMESPACE env var in backup docs
Signed-off-by: dkwon17 <dakwon@redhat.com>
1 parent 85db9d5 commit f8cd7b1

3 files changed

Lines changed: 22 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
@@ -33,6 +33,8 @@ config:
3333
----
3434
<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].
3535

36+
include::partial$snip_defining-dwo-namespace-for-backups.adoc[]
37+
3638
The `authSecret` must be named `devworkspace-backup-registry-auth`. It must reference a {kubernetes} Secret of type `kubernetes.io/dockerconfigjson` that contains credentials to access the registry.
3739
The secret should be created in the installation {namespace} for the {devworkspace} operator.
3840

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
:_content-type: SNIPPET
2+
3+
**Note:** 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.
4+
5+
[source,yaml,subs="+attributes,+quotes"]
6+
----
7+
apiVersion: org.eclipse.che/v2
8+
kind: CheCluster
9+
spec:
10+
components:
11+
dashboard:
12+
deployment:
13+
containers:
14+
- env:
15+
- name: DWO_NAMESPACE
16+
value: $OPERATOR_INSTALL_NAMESPACE
17+
name: che-dashboard
18+
----

0 commit comments

Comments
 (0)