-
Notifications
You must be signed in to change notification settings - Fork 46
/
Copy pathmain.yml
143 lines (143 loc) · 7.17 KB
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
---
azure_resource_group: ""
configmap_secret: ""
controller_state: absent
disable_image_migration: false
disable_image_copy: false
disable_pv_migration: false
excluded_resources:
- imagetags
- templateinstances
- clusterserviceversions
- packagemanifests
- subscriptions
- servicebrokers
- servicebindings
- serviceclasses
- serviceinstances
- serviceplans
- operatorgroups
- events
- events.events.k8s.io
- rolebindings.authorization.openshift.io
proxy_secret_name: "migration-proxy"
http_proxy: "{{ lookup( 'env', 'HTTP_PROXY') }}"
https_proxy: "{{ lookup( 'env', 'HTTPS_PROXY') }}"
no_proxy: "{{ lookup( 'env', 'NO_PROXY') }}"
stunnel_tcp_proxy: ""
stunnel_verify_ca: true
stunnel_verify_ca_level: "2"
image_pull_policy: Always
cluster_subdomain: ""
rsync_transfer_image: "{{ registry }}/{{ project }}/{{ rsync_transfer_repo }}"
rsync_transfer_repo: "{{ lookup( 'env', 'RSYNC_TRANSFER_REPO') }}"
rsync_transfer_version: "{{ snapshot_tag | default(lookup( 'env', 'RSYNC_TRANSFER_TAG')) }}"
rsync_transfer_image_fqin: "{{ rsync_transfer_image }}:{{ rsync_transfer_version }}"
source_rsync_pod_cpu_limits: "1"
source_rsync_pod_memory_limits: "1Gi"
source_rsync_pod_cpu_requests: "100m"
source_rsync_pod_memory_requests: "1Gi"
stunnel_pod_cpu_limits: '1'
stunnel_pod_cpu_requests: '100m'
stunnel_pod_memory_limits: '1Gi'
stunnel_pod_memory_requests: '1Gi'
target_rsync_pod_cpu_limits: '1'
target_rsync_pod_cpu_requests: '100m'
target_rsync_pod_memory_limits: '1Gi'
target_rsync_pod_memory_requests: '1Gi'
enable_dvm_pv_resizing: false
hook_runner_image: "{{ registry }}/{{ project }}/{{ hook_runner_repo }}"
hook_runner_repo: "{{ lookup( 'env', 'HOOK_RUNNER_REPO') }}"
hook_runner_version: "{{ snapshot_tag | default(lookup( 'env', 'HOOK_RUNNER_TAG')) }}"
hook_runner_image_fqin: "{{ hook_runner_image }}:{{ hook_runner_version }}"
internal_cluster_api_url: "https://kubernetes.default.svc.cluster.local"
internal_discovery_svc_url: "http://discovery.{{ mig_namespace }}.svc.cluster.local"
jaeger_enabled: "false"
mig_controller_image: "{{ registry }}/{{ project }}/{{ mig_controller_repo }}"
mig_controller_limits_cpu: "1"
mig_controller_limits_memory: "10Gi"
mig_controller_repo: "{{ lookup( 'env', 'MIG_CONTROLLER_REPO') }}"
mig_controller_requests_cpu: "100m"
mig_controller_requests_memory: "350Mi"
mig_controller_version: "{{ snapshot_tag | default(lookup( 'env', 'MIG_CONTROLLER_TAG')) }}"
mig_controller_image_fqin: "{{ mig_controller_image }}:{{ mig_controller_version }}"
mig_controller_enable_cache: false
discovery_collect_events: true
discovery_volume_path: "/var/cache/discovery"
mig_operator_version: "latest"
mig_pv_move_storageclasses: []
mig_pv_limit: "100"
mig_pod_limit: "100"
mig_namespace_limit: "10"
mig_namespace: "{{ lookup( 'env', 'WATCH_NAMESPACE') | default('openshift-migration') }}"
mig_ui_cluster_api_endpoint: ""
mig_ui_configmap_data: ""
mig_ui_configmap_name: mig-ui-config
mig_ui_config_namespace: openshift-migration
mig_ui_image: "{{ registry }}/{{ project }}/{{ mig_ui_repo }}"
mig_ui_oauth_user_scope: "user:full"
mig_ui_oauth_redirect_url: ""
mig_ui_oauth_secret: ""
mig_ui_repo: "{{ lookup( 'env', 'MIG_UI_REPO') }}"
mig_ui_version: "{{ snapshot_tag | default(lookup( 'env', 'MIG_UI_TAG')) }}"
mig_ui_image_fqin: "{{ mig_ui_image }}:{{ mig_ui_version }}"
log_reader_state: absent
mig_log_reader_repo: "{{ lookup( 'env', 'MIG_LOG_READER_REPO') }}"
mig_log_reader_image: "{{ registry }}/{{ project }}/{{ mig_log_reader_repo }}"
mig_log_reader_version: "{{ snapshot_tag | default(lookup( 'env', 'MIG_LOG_READER_TAG')) }}"
mig_log_reader_image_fqin: "{{ mig_log_reader_image }}:{{ mig_log_reader_version }}"
migration_log_reader: true
migration_registry_image: "{{ registry }}/{{ project }}/{{ migration_registry_repo }}"
migration_registry_repo: "{{ lookup( 'env', 'MIGRATION_REGISTRY_REPO') }}"
migration_registry_version: "{{ lookup( 'env', 'MIGRATION_REGISTRY_TAG') }}"
migration_registry_image_fqin: "{{ migration_registry_image }}:{{ migration_registry_version }}"
migration_stage_image: "{{ registry }}/{{ project }}/{{ migration_stage_repo }}"
migration_stage_repo: "{{ lookup( 'env', 'RSYNC_TRANSFER_REPO') }}"
migration_stage_version: "{{ snapshot_tag | default(lookup( 'env', 'RSYNC_TRANSFER_TAG')) }}"
migration_stage_image_fqin: "{{ migration_stage_image }}:{{ migration_stage_version }}"
migration_rsync_privileged: false
migration_rsync_super_privileged: false
enable_intelligent_pv_resize: true
registry: "{{ lookup( 'env', 'REGISTRY') }}"
project: "{{ lookup( 'env', 'PROJECT') }}"
restic_pv_host_path: /var/lib/kubelet/pods
restic_requests_cpu: "100m"
restic_timeout: 1h
restic_supplemental_groups: []
ui_state: absent
velero_aws_secret_name: cloud-credentials
velero_gcp_secret_name: cloud-credentials-gcp
velero_azure_secret_name: cloud-credentials-azure
velero_debug: false
velero_image: "{{ registry }}/{{ project }}/{{ velero_repo }}"
velero_repo: "{{ lookup( 'env', 'VELERO_REPO') }}"
velero_version: "{{ snapshot_tag | default(lookup( 'env', 'VELERO_TAG')) }}"
velero_image_fqin: "{{ velero_image }}:{{ velero_version }}"
velero_plugin_image: "{{ registry }}/{{ project }}/{{ velero_plugin_repo }}"
velero_plugin_repo: "{{ lookup( 'env', 'VELERO_PLUGIN_REPO') }}"
velero_plugin_version: "{{ snapshot_tag | default(lookup( 'env', 'VELERO_PLUGIN_TAG')) }}"
velero_plugin_fqin: "{{ velero_plugin_image }}:{{ velero_plugin_version }}"
velero_restic_restore_helper_image: "{{ registry }}/{{ project }}/{{ velero_restic_restore_helper_repo }}"
velero_restic_restore_helper_repo: "{{ lookup( 'env', 'VELERO_RESTIC_RESTORE_HELPER_REPO') }}"
velero_restic_restore_helper_version: "{{ snapshot_tag | default(lookup( 'env', 'VELERO_RESTIC_RESTORE_HELPER_TAG')) }}"
velero_restic_restore_helper_fqin: "{{ velero_restic_restore_helper_image }}:{{ velero_restic_restore_helper_version }}"
velero_aws_plugin_image: "{{ registry }}/{{ project }}/{{ velero_aws_plugin_repo }}"
velero_aws_plugin_repo: "{{ lookup( 'env', 'VELERO_AWS_PLUGIN_REPO') }}"
velero_aws_plugin_version: "{{ snapshot_tag | default(lookup( 'env', 'VELERO_AWS_PLUGIN_TAG')) }}"
velero_aws_plugin_fqin: "{{ velero_aws_plugin_image }}:{{ velero_aws_plugin_version }}"
velero_gcp_plugin_image: "{{ registry }}/{{ project }}/{{ velero_gcp_plugin_repo }}"
velero_gcp_plugin_repo: "{{ lookup( 'env', 'VELERO_GCP_PLUGIN_REPO') }}"
velero_gcp_plugin_version: "{{ snapshot_tag | default(lookup( 'env', 'VELERO_GCP_PLUGIN_TAG')) }}"
velero_gcp_plugin_fqin: "{{ velero_gcp_plugin_image }}:{{ velero_gcp_plugin_version }}"
velero_azure_plugin_image: "{{ registry }}/{{ project }}/{{ velero_azure_plugin_repo }}"
velero_azure_plugin_repo: "{{ lookup( 'env', 'VELERO_AZURE_PLUGIN_REPO') }}"
velero_azure_plugin_version: "{{ snapshot_tag | default(lookup( 'env', 'VELERO_AZURE_PLUGIN_TAG')) }}"
velero_azure_plugin_fqin: "{{ velero_azure_plugin_image }}:{{ velero_azure_plugin_version }}"
mtc_velero_plugin_repo: "{{ lookup( 'env', 'VELERO_MTC_PLUGIN_REPO') }}"
mtc_velero_plugin_image: "{{ registry }}/{{ project }}/{{ mtc_velero_plugin_repo }}"
mtc_velero_plugin_version: "{{ snapshot_tag | default(lookup( 'env', 'VELERO_MTC_PLUGIN_TAG')) }}"
mtc_velero_plugin_fqin: "{{ mtc_velero_plugin_image }}:{{ mtc_velero_plugin_version }}"
velero_requests_cpu: "100m"
velero_state: absent
velero_qps: 100
velero_burst: 1000