Skip to content

Commit

Permalink
allow helm controller set owner reference
Browse files Browse the repository at this point in the history
Signed-off-by: huangzy <huangzynn@outlook.com>
  • Loading branch information
huangzynn authored and brandond committed May 24, 2024
1 parent 6886c09 commit 6fcaad5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,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)
Expand Down

0 comments on commit 6fcaad5

Please sign in to comment.