mirror of https://github.com/kubernetes/kops.git
Set lifecycle in GCE APILoadBalancerBuilder
This commit is contained in:
parent
7d4a8f6fa7
commit
43d8d97e7c
|
|
@ -55,12 +55,14 @@ func (b *APILoadBalancerBuilder) Build(c *fi.ModelBuilderContext) error {
|
|||
}
|
||||
|
||||
targetPool := &gcetasks.TargetPool{
|
||||
Name: s(b.NameForTargetPool("api")),
|
||||
Name: s(b.NameForTargetPool("api")),
|
||||
Lifecycle: b.Lifecycle,
|
||||
}
|
||||
c.AddTask(targetPool)
|
||||
|
||||
ipAddress := &gcetasks.Address{
|
||||
Name: s(b.NameForIPAddress("api")),
|
||||
Name: s(b.NameForIPAddress("api")),
|
||||
Lifecycle: b.Lifecycle,
|
||||
}
|
||||
c.AddTask(ipAddress)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue