Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add dim/dvm configuration #111

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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
1 change: 1 addition & 0 deletions config/mig_controller.yml.example
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ mig_controller_aws_secret_key: <Base64 encoded AWS secret key>
mig_controller_aws_bucket_name: velero-903889c1a2xxxxxxxx
mig_controller_aws_bucket_region: us-east-1
mig_controller_sa_token: <Base64 encoded SA token for remote cluster>
mig_controller_remote_cluster_registry_url: https://docker-registry-default.apps...com
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ spec:
namespace: {{ migration_namespace }}

url: {{ mig_controller_remote_cluster_url }}
exposedRegistryPath: {{ mig_controller_remote_cluster_registry_url }}
2 changes: 2 additions & 0 deletions roles/migration_run/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@
mig_velero_timeout: 10
# If true, we will wait for a warning to be displayed before running the migration plan.
wait_for_warnings: false
use_indirect_image_migration: false
use_indirect_volume_migration: false
3 changes: 2 additions & 1 deletion roles/migration_run/templates/mig-migration-stage.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ spec:
migPlanRef:
name: {{ migration_plan_name }}
namespace: {{ migration_namespace }}

indirectVolumeMigration: {{ use_indirect_volume_migration }}
indirectImageMigration: {{ use_indirect_image_migration }}
3 changes: 2 additions & 1 deletion roles/migration_run/templates/mig-migration.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ spec:
migPlanRef:
name: {{ migration_plan_name }}
namespace: {{ migration_namespace }}

indirectVolumeMigration: {{ use_indirect_volume_migration }}
indirectImageMigration: {{ use_indirect_image_migration }}