Commit 4fa79916 authored by huangzy's avatar huangzy Committed by Brad Davidson

allow helm controller set owner reference

Signed-off-by: 's avatarhuangzy <huangzynn@outlook.com> (cherry picked from commit 6fcaad55) Signed-off-by: 's avatarBrad Davidson <brad.davidson@rancher.com>
parent edad9c68
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment