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:
Janet Kuo
2016-10-27 14:20:52 -07:00
parent d28f7031a1
commit c15b9470f5
45 changed files with 41 additions and 10906 deletions

View File

@@ -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

View File

@@ -1,4 +1,4 @@
apiVersion: apps/v1alpha1
apiVersion: apps/v1beta1
kind: StatefulSet
metadata:
name: mysql

View File

@@ -1,4 +1,4 @@
apiVersion: apps/v1alpha1
apiVersion: apps/v1beta1
kind: StatefulSet
metadata:
name: rd

View File

@@ -1,4 +1,4 @@
apiVersion: apps/v1alpha1
apiVersion: apps/v1beta1
kind: StatefulSet
metadata:
name: zoo