mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
31 lines
839 B
Plaintext
31 lines
839 B
Plaintext
// Module included in the following assemblies:
|
|
//
|
|
// * migration_toolkit_for_containers/installing-mtc.adoc
|
|
// * migration_toolkit_for_containers/installing-mtc-restricted.adoc
|
|
|
|
:_mod-docs-content-type: PROCEDURE
|
|
[id="migration-rsync-migration-controller-root-non-root_{context}"]
|
|
== Configuring the MigrationController CR as root or non-root for all migrations
|
|
|
|
By default, Rsync runs as non-root.
|
|
|
|
On the destination cluster, you can configure the `MigrationController` CR to run Rsync as root.
|
|
|
|
.Procedure
|
|
|
|
* Configure the `MigrationController` CR as follows:
|
|
+
|
|
[source,yaml]
|
|
----
|
|
apiVersion: migration.openshift.io/v1alpha1
|
|
kind: MigrationController
|
|
metadata:
|
|
name: migration-controller
|
|
namespace: openshift-migration
|
|
spec:
|
|
[...]
|
|
migration_rsync_privileged: true
|
|
----
|
|
+
|
|
This configuration will apply to all future migrations.
|