Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,5 @@ echo "https://$(oc get route default-route -n openshift-image-registry --templat

Once the backup job is finished, the backup archives will be available in the {devworkspace} {namespace} under a repository
with a matching {devworkspace} name.

include::partial$snip_defining-dwo-namespace-for-backups.adoc[]
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,5 @@ kubectl label secret devworkspace-backup-registry-auth controller.devfile.io/wat
====
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.
====

include::partial$snip_defining-dwo-namespace-for-backups.adoc[]
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
:_content-type: SNIPPET

[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.

[source,yaml,subs="+attributes,+quotes"]
----
apiVersion: org.eclipse.che/v2
kind: CheCluster
spec:
components:
dashboard:
deployment:
containers:
- env:
- name: DWO_NAMESPACE
value: $OPERATOR_INSTALL_NAMESPACE <1>
name: che-dashboard
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This value is the same for both upstream and downstream.

----
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor: The file should end with a final newline after ---- to comply with .editorconfig (insert_final_newline = true) and prevent AsciiDoc rendering issues when the snippet is included mid-file (as in the regular OCI registry page).

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

<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].
====
Loading