mirror of https://github.com/kubernetes/kops.git
Enable pruning of removed cert-manager objects
This commit is contained in:
parent
7b2de90212
commit
c20892c26b
|
|
@ -599,11 +599,12 @@ func (b *BootstrapChannelBuilder) buildAddons(c *fi.CloudupModelBuilderContext)
|
||||||
location := key + "/k8s-1.16.yaml"
|
location := key + "/k8s-1.16.yaml"
|
||||||
id := "k8s-1.16"
|
id := "k8s-1.16"
|
||||||
|
|
||||||
addons.Add(&channelsapi.AddonSpec{
|
addon := addons.Add(&channelsapi.AddonSpec{
|
||||||
Name: fi.PtrTo(key),
|
Name: fi.PtrTo(key),
|
||||||
Manifest: fi.PtrTo(location),
|
Manifest: fi.PtrTo(location),
|
||||||
Id: id,
|
Id: id,
|
||||||
})
|
})
|
||||||
|
addon.BuildPrune = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue