Replace apps/v1alpha1 with apps/v1beta1 and manually remove generated apps/v1alpha1 files
Manually remove generated apps/v1alpha1 types, protobuf, and api-reference doc files Manually remove apps/v1alpha1 folder from 1.5 generated client
This commit is contained in:
@@ -67,7 +67,7 @@ const (
|
||||
// GCE Api requirements: nodes and master need storage r/w permissions.
|
||||
var _ = framework.KubeDescribe("StatefulSet [Slow] [Feature:PetSet]", func() {
|
||||
options := framework.FrameworkOptions{
|
||||
GroupVersion: &unversioned.GroupVersion{Group: apps.GroupName, Version: "v1alpha1"},
|
||||
GroupVersion: &unversioned.GroupVersion{Group: apps.GroupName, Version: "v1beta1"},
|
||||
}
|
||||
f := framework.NewFramework("petset", options, nil)
|
||||
var ns string
|
||||
@@ -79,7 +79,7 @@ var _ = framework.KubeDescribe("StatefulSet [Slow] [Feature:PetSet]", func() {
|
||||
// In theory, tests that restart pets should pass on any platform with a
|
||||
// dynamic volume provisioner.
|
||||
if !framework.ProviderIs("gce") {
|
||||
framework.SkipIfMissingResource(f.ClientPool, unversioned.GroupVersionResource{Group: apps.GroupName, Version: "v1alpha1", Resource: "statefulsets"}, f.Namespace.Name)
|
||||
framework.SkipIfMissingResource(f.ClientPool, unversioned.GroupVersionResource{Group: apps.GroupName, Version: "v1beta1", Resource: "statefulsets"}, f.Namespace.Name)
|
||||
}
|
||||
|
||||
c = f.ClientSet
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
apiVersion: apps/v1alpha1
|
||||
apiVersion: apps/v1beta1
|
||||
kind: StatefulSet
|
||||
metadata:
|
||||
name: mysql
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
apiVersion: apps/v1alpha1
|
||||
apiVersion: apps/v1beta1
|
||||
kind: StatefulSet
|
||||
metadata:
|
||||
name: rd
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
apiVersion: apps/v1alpha1
|
||||
apiVersion: apps/v1beta1
|
||||
kind: StatefulSet
|
||||
metadata:
|
||||
name: zoo
|
||||
|
||||
Reference in New Issue
Block a user