-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcentos-migration.yml
More file actions
52 lines (51 loc) · 1.63 KB
/
centos-migration.yml
File metadata and controls
52 lines (51 loc) · 1.63 KB
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
---
- name: Apply Forklift Migration Plan to OpenShift
hosts: localhost
gather_facts: no
vars:
kubeconfig_path: "/root/ocp4/auth/kubeconfig"
tasks:
- name: Apply Forklift Plan
k8s:
kubeconfig: "{{ kubeconfig_path }}"
state: present
definition: |
apiVersion: forklift.konveyor.io/v1beta1
kind: Plan
metadata:
name: centos-migration-plan
namespace: openshift-mtv
annotations:
populatorLabels: 'True'
spec:
pvcNameTemplateUseGenerateName: true
warm: false
migrateSharedDisks: true
targetNamespace: uat-infra-tools
useCompatibilityMode: true
skipGuestConversion: false
provider:
destination:
apiVersion: forklift.konveyor.io/v1beta1
kind: Provider
name: host
namespace: openshift-mtv
source:
apiVersion: forklift.konveyor.io/v1beta1
kind: Provider
name: vmware-2025
namespace: openshift-mtv
vms:
- id: '10'
name: centos-stream9-template
map:
network:
apiVersion: forklift.konveyor.io/v1beta1
kind: NetworkMap
name: redhat-migration-plan
namespace: openshift-mtv
storage:
apiVersion: forklift.konveyor.io/v1beta1
kind: StorageMap
name: redhat-workshop-migration
namespace: openshift-mtv