mirror of https://github.com/k3s-io/k3s
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/10290/head
parent
edad9c6873
commit
4fa7991664
|
@ -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…
Reference in New Issue