From a99ce3241ab3e76d8a8d6548262799cd7e2a9976 Mon Sep 17 00:00:00 2001 From: John Gardiner Myers Date: Sun, 30 May 2021 11:55:46 -0700 Subject: [PATCH] Set Lifecycle in PKIModelBuilder --- pkg/model/pki.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/model/pki.go b/pkg/model/pki.go index a1d1eddfd3..5941687351 100644 --- a/pkg/model/pki.go +++ b/pkg/model/pki.go @@ -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)