mirror of https://github.com/kubernetes/kops.git
Note new field's impact on OS package installation
This commit is contained in:
parent
70e95fccf5
commit
2fc68564be
|
@ -198,6 +198,9 @@ func (e *Package) findDpkg(c *fi.Context) (*Package, error) {
|
|||
}
|
||||
}
|
||||
|
||||
// TODO: Take InstanceGroup-level overriding of the Cluster-level update policy into account
|
||||
// here. Doing so requires that we make the current InstanceGroup available within Package's
|
||||
// methods.
|
||||
if fi.StringValue(c.Cluster.Spec.UpdatePolicy) != kops.UpdatePolicyExternal || !installed {
|
||||
return nil, nil
|
||||
}
|
||||
|
@ -246,6 +249,9 @@ func (e *Package) findYum(c *fi.Context) (*Package, error) {
|
|||
healthy = fi.Bool(true)
|
||||
}
|
||||
|
||||
// TODO: Take InstanceGroup-level overriding of the Cluster-level update policy into account
|
||||
// here. Doing so requires that we make the current InstanceGroup available within Package's
|
||||
// methods.
|
||||
if fi.StringValue(c.Cluster.Spec.UpdatePolicy) != kops.UpdatePolicyExternal || !installed {
|
||||
return nil, nil
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue