Skip to content

Commit de8f332

Browse files
authored
Merge pull request #56123 from danielclowers/CNV-18461-B
CNV-18461: Replace v1alpha1 API calls
2 parents 94b370e + 9552d23 commit de8f332

10 files changed

+19
-19
lines changed

modules/oadp-installing-dpa.adoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ ifdef::installing-oadp-aws[]
4343
+
4444
[source,yaml,subs="attributes+"]
4545
----
46-
apiVersion: oadp.openshift.io/v1alpha1
46+
apiVersion: oadp.openshift.io/v1beta1
4747
kind: DataProtectionApplication
4848
metadata:
4949
name: <dpa_sample>
@@ -93,7 +93,7 @@ ifdef::installing-oadp-azure[]
9393
+
9494
[source,yaml,subs="attributes+"]
9595
----
96-
apiVersion: oadp.openshift.io/v1alpha1
96+
apiVersion: oadp.openshift.io/v1beta1
9797
kind: DataProtectionApplication
9898
metadata:
9999
name: <dpa_sample>
@@ -147,7 +147,7 @@ ifdef::installing-oadp-gcp[]
147147
+
148148
[source,yaml,subs="attributes+"]
149149
----
150-
apiVersion: oadp.openshift.io/v1alpha1
150+
apiVersion: oadp.openshift.io/v1beta1
151151
kind: DataProtectionApplication
152152
metadata:
153153
name: <dpa_sample>
@@ -193,7 +193,7 @@ ifdef::installing-oadp-mcg[]
193193
+
194194
[source,yaml,subs="attributes+"]
195195
----
196-
apiVersion: oadp.openshift.io/v1alpha1
196+
apiVersion: oadp.openshift.io/v1beta1
197197
kind: DataProtectionApplication
198198
metadata:
199199
name: <dpa_sample>
@@ -237,7 +237,7 @@ ifdef::installing-oadp-ocs[]
237237
+
238238
[source,yaml,subs="attributes+"]
239239
----
240-
apiVersion: oadp.openshift.io/v1alpha1
240+
apiVersion: oadp.openshift.io/v1beta1
241241
kind: DataProtectionApplication
242242
metadata:
243243
name: <dpa_sample>
@@ -280,7 +280,7 @@ ifdef::virt-installing-configuring-oadp[]
280280
+
281281
[source,yaml,subs="attributes+"]
282282
----
283-
apiVersion: oadp.openshift.io/v1alpha1
283+
apiVersion: oadp.openshift.io/v1beta1
284284
kind: DataProtectionApplication
285285
metadata:
286286
name: <dpa_sample>

modules/oadp-self-signed-certificate.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ You must enable a self-signed CA certificate for object storage by editing the `
1818
+
1919
[source,yaml]
2020
----
21-
apiVersion: oadp.openshift.io/v1alpha1
21+
apiVersion: oadp.openshift.io/v1beta1
2222
kind: DataProtectionApplication
2323
metadata:
2424
name: <dpa_sample>

modules/oadp-setting-resource-limits-and-requests.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ You set the CPU and memory resource allocations for the `Velero` pod by editing
1919
+
2020
[source,yaml]
2121
----
22-
apiVersion: oadp.openshift.io/v1alpha1
22+
apiVersion: oadp.openshift.io/v1beta1
2323
kind: DataProtectionApplication
2424
metadata:
2525
name: <dpa_sample>

modules/virt-about-node-placement-virtualization-components.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ To specify the nodes where OLM deploys the {VirtProductName} Operators, edit the
3939

4040
[source,yaml,subs="attributes+"]
4141
----
42-
apiVersion: operators.coreos.com/v1alpha1
42+
apiVersion: operators.coreos.com/v1beta1
4343
kind: Subscription
4444
metadata:
4545
name: hco-operatorhub

modules/virt-configuring-a-live-migration-policy.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ If multiple live migration policies apply to a VMI, the policy with the highest
2828
+
2929
[source,yaml]
3030
----
31-
apiVersion: migrations.kubevirt.io/v1alpha1
31+
apiVersion: migrations.kubevirt.io/v1beta1
3232
kind: MigrationPolicy
3333
metadata:
3434
name: my-awesome-policy

modules/virt-creating-vm-snapshot-cli.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ For example:
2929
+
3030
[source,yaml]
3131
----
32-
apiVersion: snapshot.kubevirt.io/v1alpha1
32+
apiVersion: snapshot.kubevirt.io/v1beta1
3333
kind: VirtualMachineSnapshot
3434
metadata:
3535
name: my-vmsnapshot <1>
@@ -86,7 +86,7 @@ $ oc describe vmsnapshot <my-vmsnapshot>
8686

8787
[source,yaml]
8888
----
89-
apiVersion: snapshot.kubevirt.io/v1alpha1
89+
apiVersion: snapshot.kubevirt.io/v1beta1
9090
kind: VirtualMachineSnapshot
9191
metadata:
9292
creationTimestamp: "2020-09-30T14:41:51Z"
@@ -96,7 +96,7 @@ metadata:
9696
name: mysnap
9797
namespace: default
9898
resourceVersion: "3897"
99-
selfLink: /apis/snapshot.kubevirt.io/v1alpha1/namespaces/default/virtualmachinesnapshots/my-vmsnapshot
99+
selfLink: /apis/snapshot.kubevirt.io/v1beta1/namespaces/default/virtualmachinesnapshots/my-vmsnapshot
100100
uid: 28eedf08-5d6a-42c1-969c-2eda58e2a78d
101101
spec:
102102
source:

modules/virt-example-node-placement-node-selector-olm-subscription.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ In this example, `nodeSelector` is configured so that OLM places the {VirtProduc
99

1010
[source,yaml,subs="attributes+"]
1111
----
12-
apiVersion: operators.coreos.com/v1alpha1
12+
apiVersion: operators.coreos.com/v1beta1
1313
kind: Subscription
1414
metadata:
1515
name: hco-operatorhub

modules/virt-example-node-placement-tolerations-olm-subscription.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ In this example, nodes that are reserved for OLM to deploy {VirtProductName} Ope
99

1010
[source,yaml,subs="attributes+"]
1111
----
12-
apiVersion: operators.coreos.com/v1alpha1
12+
apiVersion: operators.coreos.com/v1beta1
1313
kind: Subscription
1414
metadata:
1515
name: hco-operatorhub

modules/virt-restoring-vm-from-snapshot-cli.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ For example:
2121
+
2222
[source,yaml]
2323
----
24-
apiVersion: snapshot.kubevirt.io/v1alpha1
24+
apiVersion: snapshot.kubevirt.io/v1beta1
2525
kind: VirtualMachineRestore
2626
metadata:
2727
name: my-vmrestore <1>
@@ -56,7 +56,7 @@ $ oc get vmrestore <my-vmrestore>
5656
+
5757
[source, yaml]
5858
----
59-
apiVersion: snapshot.kubevirt.io/v1alpha1
59+
apiVersion: snapshot.kubevirt.io/v1beta1
6060
kind: VirtualMachineRestore
6161
metadata:
6262
creationTimestamp: "2020-09-30T14:46:27Z"
@@ -71,7 +71,7 @@ ownerReferences:
7171
name: my-vm
7272
uid: 355897f3-73a0-4ec4-83d3-3c2df9486f4f
7373
resourceVersion: "5512"
74-
selfLink: /apis/snapshot.kubevirt.io/v1alpha1/namespaces/default/virtualmachinerestores/my-vmrestore
74+
selfLink: /apis/snapshot.kubevirt.io/v1beta1/namespaces/default/virtualmachinerestores/my-vmrestore
7575
uid: 71c679a8-136e-46b0-b9b5-f57175a6a041
7676
spec:
7777
target:

modules/virt-subscribing-cli.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ spec:
3030
targetNamespaces:
3131
- openshift-cnv
3232
---
33-
apiVersion: operators.coreos.com/v1alpha1
33+
apiVersion: operators.coreos.com/v1beta1
3434
kind: Subscription
3535
metadata:
3636
name: hco-operatorhub

0 commit comments

Comments
 (0)