Enable pruning of removed cert-manager objects

This commit is contained in:
Ciprian Hacman 2022-12-20 13:29:50 +02:00
parent 7b2de90212
commit c20892c26b
1 changed files with 2 additions and 1 deletions

View File

@ -599,11 +599,12 @@ func (b *BootstrapChannelBuilder) buildAddons(c *fi.CloudupModelBuilderContext)
location := key + "/k8s-1.16.yaml"
id := "k8s-1.16"
addons.Add(&channelsapi.AddonSpec{
addon := addons.Add(&channelsapi.AddonSpec{
Name: fi.PtrTo(key),
Manifest: fi.PtrTo(location),
Id: id,
})
addon.BuildPrune = true
}
}