mirror of https://github.com/kubernetes/kops.git
nodeup: Add some dependencies for Service
We handle service dependencies on BindMount and Archive tasks; this avoids some false-positive warning messages.
This commit is contained in:
parent
5ecf8d9aeb
commit
b6d41f3272
|
@ -71,7 +71,7 @@ func (p *Service) GetDependencies(tasks map[string]fi.Task) []fi.Task {
|
||||||
// launching a custom Kubernetes build), they all depend on
|
// launching a custom Kubernetes build), they all depend on
|
||||||
// the "docker.service" Service task.
|
// the "docker.service" Service task.
|
||||||
switch v.(type) {
|
switch v.(type) {
|
||||||
case *File, *Package, *UpdatePackages, *UserTask, *GroupTask, *MountDiskTask, *Chattr:
|
case *File, *Package, *UpdatePackages, *UserTask, *GroupTask, *MountDiskTask, *Chattr, *BindMount, *Archive:
|
||||||
deps = append(deps, v)
|
deps = append(deps, v)
|
||||||
case *Service, *LoadImageTask:
|
case *Service, *LoadImageTask:
|
||||||
// ignore
|
// ignore
|
||||||
|
|
Loading…
Reference in New Issue