allow helm controller set owner reference

Signed-off-by: huangzy <huangzynn@outlook.com>
(cherry picked from commit 6fcaad553d)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
pull/10288/head
huangzy 7 months ago committed by Brad Davidson
parent 8a7b0b75fe
commit d40fc0878f

@ -220,7 +220,7 @@ func coreControllers(ctx context.Context, sc *Context, config *Config) error {
return err
}
apply := apply.New(k8s, apply.NewClientFactory(restConfig)).WithDynamicLookup()
apply := apply.New(k8s, apply.NewClientFactory(restConfig)).WithDynamicLookup().WithSetOwnerReference(false, false)
helm := sc.Helm.WithAgent(restConfig.UserAgent)
batch := sc.Batch.WithAgent(restConfig.UserAgent)
auth := sc.Auth.WithAgent(restConfig.UserAgent)

Loading…
Cancel
Save