Updating scripts to use v1 instead of v1beta3

This commit is contained in:
nikhiljindal
2015-06-30 23:36:39 -07:00
parent 09df440b79
commit 2e9e46dd08
26 changed files with 53 additions and 79 deletions

View File

@@ -97,7 +97,7 @@ func NewMasterComponents(c *Config) *MasterComponents {
if c.DeleteEtcdKeys {
DeleteAllEtcdKeys()
}
restClient := client.NewOrDie(&client.Config{Host: s.URL, Version: "v1beta3", QPS: c.QPS, Burst: c.Burst})
restClient := client.NewOrDie(&client.Config{Host: s.URL, Version: testapi.Version(), QPS: c.QPS, Burst: c.Burst})
rcStopCh := make(chan struct{})
controllerManager := controller.NewReplicationManager(restClient, c.Burst)