Use apps/v1 API group whenever possible (#8055)

The use of extensions/v1beta1, apps/v1beta1 and apps/v1beta2 API
groups should be discouraged.

Closes: #8049
This commit is contained in:
Qiming
2018-04-12 06:43:55 +08:00
committed by zacharysarah
parent bf2dfe9797
commit 6a17f5ed2d
11 changed files with 36 additions and 37 deletions
@@ -52,7 +52,7 @@ kind: Pod
metadata:
...
ownerReferences:
- apiVersion: extensions/v1beta1
- apiVersion: apps/v1
controller: true
blockOwnerDeletion: true
kind: ReplicaSet
@@ -1,4 +1,4 @@
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: ReplicaSet
metadata:
name: my-repset