github.com/crossplane/upjet@v1.3.0/pkg/migration/testdata/plan/generated/migration_plan.yaml (about) 1 # SPDX-FileCopyrightText: 2023 The Crossplane Authors <https://crossplane.io> 2 # 3 # SPDX-License-Identifier: Apache-2.0 4 5 spec: 6 steps: 7 - patch: 8 type: merge 9 files: 10 - pause-managed/sample-vpc.vpcs.fakesourceapi.yaml 11 name: pause-managed 12 manualExecution: 13 - "kubectl patch --type='merge' -f pause-managed/sample-vpc.vpcs.fakesourceapi.yaml --patch-file pause-managed/sample-vpc.vpcs.fakesourceapi.yaml" 14 type: Patch 15 16 - patch: 17 type: merge 18 files: 19 - pause-composites/my-resource-dwjgh.xmyresources.test.com.yaml 20 name: pause-composites 21 manualExecution: 22 - "kubectl patch --type='merge' -f pause-composites/my-resource-dwjgh.xmyresources.test.com.yaml --patch-file pause-composites/my-resource-dwjgh.xmyresources.test.com.yaml" 23 type: Patch 24 25 - apply: 26 files: 27 - create-new-managed/sample-vpc.vpcs.faketargetapi.yaml 28 name: create-new-managed 29 manualExecution: 30 - "kubectl apply -f create-new-managed/sample-vpc.vpcs.faketargetapi.yaml" 31 type: Apply 32 33 - apply: 34 files: 35 - new-compositions/example-migrated.compositions.apiextensions.crossplane.io.yaml 36 name: new-compositions 37 manualExecution: 38 - "kubectl apply -f new-compositions/example-migrated.compositions.apiextensions.crossplane.io.yaml" 39 type: Apply 40 41 - patch: 42 type: merge 43 files: 44 - edit-composites/my-resource-dwjgh.xmyresources.test.com.yaml 45 name: edit-composites 46 manualExecution: 47 - "kubectl patch --type='merge' -f edit-composites/my-resource-dwjgh.xmyresources.test.com.yaml --patch-file edit-composites/my-resource-dwjgh.xmyresources.test.com.yaml" 48 type: Patch 49 50 - patch: 51 type: merge 52 files: 53 - edit-claims/my-resource.myresources.test.com.yaml 54 name: edit-claims 55 manualExecution: 56 - "kubectl patch --type='merge' -f edit-claims/my-resource.myresources.test.com.yaml --patch-file edit-claims/my-resource.myresources.test.com.yaml" 57 type: Patch 58 59 - patch: 60 type: merge 61 files: 62 - deletion-policy-orphan/sample-vpc.vpcs.fakesourceapi.yaml 63 name: deletion-policy-orphan 64 manualExecution: 65 - "kubectl patch --type='merge' -f deletion-policy-orphan/sample-vpc.vpcs.fakesourceapi.yaml --patch-file deletion-policy-orphan/sample-vpc.vpcs.fakesourceapi.yaml" 66 type: Patch 67 68 - patch: 69 type: merge 70 files: 71 - remove-finalizers/sample-vpc.vpcs.fakesourceapi.yaml 72 name: remove-finalizers 73 manualExecution: 74 - "kubectl patch --type='merge' -f remove-finalizers/sample-vpc.vpcs.fakesourceapi.yaml --patch-file remove-finalizers/sample-vpc.vpcs.fakesourceapi.yaml" 75 type: Patch 76 77 - delete: 78 options: 79 finalizerPolicy: Remove 80 resources: 81 - group: fakesourceapi 82 kind: VPC 83 name: sample-vpc 84 version: v1alpha1 85 name: delete-old-managed 86 manualExecution: 87 - "kubectl delete VPC.fakesourceapi sample-vpc" 88 type: Delete 89 90 - patch: 91 type: merge 92 files: 93 - start-managed/sample-vpc.vpcs.faketargetapi.yaml 94 name: start-managed 95 manualExecution: 96 - "kubectl patch --type='merge' -f start-managed/sample-vpc.vpcs.faketargetapi.yaml --patch-file start-managed/sample-vpc.vpcs.faketargetapi.yaml" 97 type: Patch 98 99 - patch: 100 type: merge 101 files: 102 - start-composites/my-resource-dwjgh.xmyresources.test.com.yaml 103 name: start-composites 104 manualExecution: 105 - "kubectl patch --type='merge' -f start-composites/my-resource-dwjgh.xmyresources.test.com.yaml --patch-file start-composites/my-resource-dwjgh.xmyresources.test.com.yaml" 106 type: Patch 107 108 version: 0.1.0