Skip to content

Commit

Permalink
Enable deployment cache on the TrustyAI component
Browse files Browse the repository at this point in the history
  • Loading branch information
lburgazzoli committed Nov 11, 2024
1 parent 1209501 commit 3a50836
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions controllers/components/trustyai/trustyai_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ func NewComponentReconciler(ctx context.Context, mgr ctrl.Manager) error {
kustomize.WithLabel(labels.K8SCommon.PartOf, ComponentName),
)).
WithAction(deploy.NewAction(
deploy.WithCache(),
deploy.WithFieldOwner(componentsv1.TrustyAIInstanceName),
deploy.WithLabel(labels.ComponentPartOf, componentsv1.TrustyAIInstanceName),
)).
Expand Down

0 comments on commit 3a50836

Please sign in to comment.