Remove references to apps/v1beta1 API group (#1673)

* Remove references to apps/v1beta1 API group

In Kubernetes v1.16, the apps/v1 API group will be the default served
for relevant resources.

Update any references to apps/v1beta1 for fowards compatibility.

Fixes #1672

Signed-off-by: Nolan Brubaker <brubakern@vmware.com>

* Update API group on plugin commands

Signed-off-by: Nolan Brubaker <brubakern@vmware.com>
This commit is contained in:
Nolan Brubaker
2019-07-17 17:03:48 -04:00
committed by Steve Kriss
parent 1d54996fce
commit 3124570c7f
8 changed files with 18 additions and 17 deletions

View File

@@ -19,7 +19,7 @@ metadata:
name: velero
---
apiVersion: apps/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
namespace: velero

View File

@@ -21,7 +21,7 @@ metadata:
app: nginx
---
apiVersion: apps/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
name: nginx-deployment

View File

@@ -37,7 +37,7 @@ spec:
storage: 50Mi
---
apiVersion: apps/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
name: nginx-deployment