move experimental/v1 to experimental/v1alpha1;

use "group/version" in many places where used to expect "version" only.
This commit is contained in:
Chao Xu
2015-09-16 22:15:05 -07:00
parent a518a27354
commit ae1293418b
53 changed files with 750 additions and 450 deletions

View File

@@ -38,8 +38,8 @@ func TestKubectlValidation(t *testing.T) {
// The following test the experimental api.
// TOOD: Replace with something more robust. These may move.
{`{"apiVersion": "v1", "kind": "DaemonSet"}`, false},
{`{"apiVersion": "v1", "kind": "Job"}`, false},
{`{"apiVersion": "experimental/v1alpha1", "kind": "DaemonSet"}`, false},
{`{"apiVersion": "experimental/v1alpha1", "kind": "Job"}`, false},
{`{"apiVersion": "vNotAVersion", "kind": "Job"}`, true},
}
components := framework.NewMasterComponents(&framework.Config{})