Commit b23a69e
Add kubevirt-datamover plugin support to DPA (#2074)
Adds support for the kubevirt-datamover plugin as a new default plugin
option in the DataProtectionApplication CRD. This plugin enables data
movement capabilities for KubeVirt virtual machines during backup and
restore operations.
Changes include:
- Add DefaultPluginKubeVirtDataMover constant to DefaultPlugin enum
- Add KubeVirtDatamoverImageKey to unsupportedOverrides configuration
- Add plugin image constant and name mapping in pkg/common
- Add credentials and image retrieval logic in pkg/credentials
- Update CRD validation to accept 'kubevirt-datamover' plugin value
- Update bundle manifests with new plugin enum value
Users can now specify 'kubevirt-datamover' in the DPA spec:
spec:
configuration:
velero:
defaultPlugins:
- kubevirt-datamover
Signed-off-by: Joseph <jvaikath@redhat.com>
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent 71dffdb commit b23a69e
5 files changed
Lines changed: 36 additions & 10 deletions
File tree
- api/v1alpha1
- bundle/manifests
- config/crd/bases
- pkg
- common
- credentials
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| 68 | + | |
68 | 69 | | |
69 | 70 | | |
70 | 71 | | |
| |||
89 | 90 | | |
90 | 91 | | |
91 | 92 | | |
| 93 | + | |
92 | 94 | | |
93 | 95 | | |
94 | 96 | | |
| |||
879 | 881 | | |
880 | 882 | | |
881 | 883 | | |
| 884 | + | |
882 | 885 | | |
883 | 886 | | |
884 | 887 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1146 | 1146 | | |
1147 | 1147 | | |
1148 | 1148 | | |
| 1149 | + | |
1149 | 1150 | | |
1150 | 1151 | | |
1151 | 1152 | | |
| |||
2690 | 2691 | | |
2691 | 2692 | | |
2692 | 2693 | | |
| 2694 | + | |
2693 | 2695 | | |
2694 | 2696 | | |
2695 | 2697 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1146 | 1146 | | |
1147 | 1147 | | |
1148 | 1148 | | |
| 1149 | + | |
1149 | 1150 | | |
1150 | 1151 | | |
1151 | 1152 | | |
| |||
2690 | 2691 | | |
2691 | 2692 | | |
2692 | 2693 | | |
| 2694 | + | |
2693 | 2695 | | |
2694 | 2696 | | |
2695 | 2697 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
78 | 79 | | |
79 | 80 | | |
80 | 81 | | |
| |||
85 | 86 | | |
86 | 87 | | |
87 | 88 | | |
| 89 | + | |
88 | 90 | | |
89 | 91 | | |
90 | 92 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
81 | 85 | | |
82 | 86 | | |
83 | 87 | | |
| |||
163 | 167 | | |
164 | 168 | | |
165 | 169 | | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
166 | 180 | | |
167 | 181 | | |
168 | 182 | | |
| |||
194 | 208 | | |
195 | 209 | | |
196 | 210 | | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
197 | 214 | | |
198 | 215 | | |
199 | 216 | | |
| |||
0 commit comments