mirror of https://github.com/kubernetes/kops.git
GCE: needs to use v1 network resources, not beta
This commit is contained in:
parent
fd512ca165
commit
444ad7b4fd
|
|
@ -76,7 +76,7 @@ func (e *Network) Find(c *fi.Context) (*Network, error) {
|
|||
|
||||
func (e *Network) URL(project string) string {
|
||||
u := gce.GoogleCloudURL{
|
||||
Version: "beta",
|
||||
Version: "v1",
|
||||
Project: project,
|
||||
Name: *e.Name,
|
||||
Type: "networks",
|
||||
|
|
|
|||
|
|
@ -193,7 +193,7 @@ func (_ *Subnet) RenderGCE(t *gce.GCEAPITarget, a, e, changes *Subnet) error {
|
|||
|
||||
func (e *Subnet) URL(project string, region string) string {
|
||||
u := gce.GoogleCloudURL{
|
||||
Version: "beta",
|
||||
Version: "v1",
|
||||
Project: project,
|
||||
Name: *e.GCEName,
|
||||
Type: "subnetworks",
|
||||
|
|
|
|||
Loading…
Reference in New Issue