Set Lifecycle in PKIModelBuilder

This commit is contained in:
John Gardiner Myers 2021-05-30 11:55:46 -07:00
parent 3fd0b6c104
commit a99ce3241a
1 changed files with 2 additions and 0 deletions

View File

@ -205,6 +205,7 @@ func (b *PKIModelBuilder) Build(c *fi.ModelBuilderContext) error {
t := &fitasks.MirrorSecrets{
Name: fi.String("mirror-secrets"),
Lifecycle: b.Lifecycle,
MirrorPath: mirrorPath,
}
c.AddTask(t)
@ -219,6 +220,7 @@ func (b *PKIModelBuilder) Build(c *fi.ModelBuilderContext) error {
// Keypair used by the kubelet
t := &fitasks.MirrorKeystore{
Name: fi.String("mirror-keystore"),
Lifecycle: b.Lifecycle,
MirrorPath: mirrorPath,
}
c.AddTask(t)