mirror of
https://github.com/vmware-tanzu/velero.git
synced 2025-12-23 06:15:21 +00:00
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:
committed by
Steve Kriss
parent
1d54996fce
commit
3124570c7f
@@ -19,7 +19,7 @@ metadata:
|
||||
name: velero
|
||||
|
||||
---
|
||||
apiVersion: apps/v1beta1
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
namespace: velero
|
||||
|
||||
@@ -21,7 +21,7 @@ metadata:
|
||||
app: nginx
|
||||
|
||||
---
|
||||
apiVersion: apps/v1beta1
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: nginx-deployment
|
||||
|
||||
@@ -37,7 +37,7 @@ spec:
|
||||
storage: 50Mi
|
||||
|
||||
---
|
||||
apiVersion: apps/v1beta1
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: nginx-deployment
|
||||
|
||||
Reference in New Issue
Block a user