Skip to content

Commit

Permalink
fix: missing dev flags and wrong labels
Browse files Browse the repository at this point in the history
  • Loading branch information
jackdelahunt committed Nov 6, 2024
1 parent 684fb2e commit f7178e9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apis/components/v1/datasciencepipelines_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ type DataSciencePipelinesStatus struct {
}

func (c *DataSciencePipelines) GetDevFlags() *components.DevFlags {
return nil
return c.Spec.DevFlags
}

func (c *DataSciencePipelines) GetStatus() *components.Status {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,10 @@ func NewComponentReconciler(ctx context.Context, mgr ctrl.Manager) error {
)).
WithAction(deploy.NewAction(
deploy.WithFieldOwner(componentsv1.DataSciencePipelinesInstanceName),
deploy.WithLabel(labels.ComponentManagedBy, componentsv1.DataSciencePipelinesInstanceName),
deploy.WithLabel(labels.ComponentPartOf, componentsv1.DataSciencePipelinesInstanceName),
)).
WithAction(updatestatus.NewAction(
updatestatus.WithSelectorLabel(labels.ComponentManagedBy, componentsv1.DataSciencePipelinesInstanceName),
updatestatus.WithSelectorLabel(labels.ComponentPartOf, componentsv1.DataSciencePipelinesInstanceName),
)).
Build(ctx)

Expand Down

0 comments on commit f7178e9

Please sign in to comment.