@@ -56,7 +56,7 @@ $ oc get vmexport <export_name> -o yaml
56
56
57
57
[source,yaml]
58
58
----
59
- apiVersion: export.kubevirt.io/v1alpha1
59
+ apiVersion: export.kubevirt.io/v1beta1
60
60
kind: VirtualMachineExport
61
61
metadata:
62
62
name: example-export
@@ -73,9 +73,9 @@ status:
73
73
#...
74
74
manifests:
75
75
- type: all
76
- url: https://vmexport-proxy.test.net/api/export.kubevirt.io/v1alpha1 /namespaces/example/virtualmachineexports/example-export/external/manifests/all <1>
76
+ url: https://vmexport-proxy.test.net/api/export.kubevirt.io/v1beta1 /namespaces/example/virtualmachineexports/example-export/external/manifests/all <1>
77
77
- type: auth-header-secret
78
- url: https://vmexport-proxy.test.net/api/export.kubevirt.io/v1alpha1 /namespaces/example/virtualmachineexports/example-export/external/manifests/secret <2>
78
+ url: https://vmexport-proxy.test.net/api/export.kubevirt.io/v1beta1 /namespaces/example/virtualmachineexports/example-export/external/manifests/secret <2>
79
79
internal:
80
80
#...
81
81
manifests:
@@ -107,7 +107,7 @@ For example:
107
107
+
108
108
[source,terminal]
109
109
----
110
- $ curl -- cacert cacert.crt https://vmexport-proxy.test.net/api/export.kubevirt.io/v1alpha1 /namespaces/example/virtualmachineexports/example-export/external/manifests/secret -H "x-kubevirt-export-token:token_decode" -H "Accept:application/yaml"
110
+ $ curl -- cacert cacert.crt https://vmexport-proxy.test.net/api/export.kubevirt.io/v1beta1 /namespaces/example/virtualmachineexports/example-export/external/manifests/secret -H "x-kubevirt-export-token:token_decode" -H "Accept:application/yaml"
111
111
----
112
112
113
113
. Get the manifests of `type: all` , such as the `ConfigMap` and `VirtualMachine` manifests, by running the following command:
@@ -125,7 +125,7 @@ For example:
125
125
+
126
126
[source,terminal]
127
127
----
128
- $ curl -- cacert cacert.crt https://vmexport-proxy.test.net/api/export.kubevirt.io/v1alpha1 /namespaces/example/virtualmachineexports/example-export/external/manifests/all -H "x-kubevirt-export-token:token_decode" -H "Accept:application/yaml"
128
+ $ curl -- cacert cacert.crt https://vmexport-proxy.test.net/api/export.kubevirt.io/v1beta1 /namespaces/example/virtualmachineexports/example-export/external/manifests/all -H "x-kubevirt-export-token:token_decode" -H "Accept:application/yaml"
129
129
----
130
130
131
131
.Next steps
0 commit comments