mirror of https://github.com/kubernetes/kops.git
Move net mode log after it is known in create
Signed-off-by: Maciej Kwiek <maciej@covalent.io>
This commit is contained in:
parent
478ea444cf
commit
47590720ce
|
|
@ -419,8 +419,6 @@ func RunCreateCluster(f *util.Factory, out io.Writer, c *CreateClusterOptions) e
|
|||
}
|
||||
cluster.Spec.ConfigBase = configBase.Path()
|
||||
|
||||
glog.V(4).Infof("networking mode=%s => %s", c.Networking, fi.DebugAsJsonString(cluster.Spec.Networking))
|
||||
|
||||
// In future we could change the default if the flag is not specified, e.g. in 1.7 maybe the default is RBAC?
|
||||
cluster.Spec.Authorization = &api.AuthorizationSpec{}
|
||||
if strings.EqualFold(c.Authorization, AuthorizationFlagAlwaysAllow) {
|
||||
|
|
@ -854,6 +852,8 @@ func RunCreateCluster(f *util.Factory, out io.Writer, c *CreateClusterOptions) e
|
|||
return fmt.Errorf("unknown networking mode %q", c.Networking)
|
||||
}
|
||||
|
||||
glog.V(4).Infof("networking mode=%s => %s", c.Networking, fi.DebugAsJsonString(cluster.Spec.Networking))
|
||||
|
||||
if c.NetworkCIDR != "" {
|
||||
cluster.Spec.NetworkCIDR = c.NetworkCIDR
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue