Skip to content

Commit

Permalink
Add visualization for Reconcile func (opendatahub-io#954)
Browse files Browse the repository at this point in the history
  • Loading branch information
VaishnaviHire authored Apr 4, 2024
1 parent 25bfed3 commit d3b7a59
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Binary file added components/Component Reconcile Workflow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 4 additions & 1 deletion components/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,16 @@ can be found [here](https://github.com/opendatahub-io/opendatahub-operator/tree/
ConfigComponentLogger(logger logr.Logger, component string, dscispec *dsciv1.DSCInitializationSpec) logr.Logger
}
```

### Add reconcile and Events

- Once you set up the new component module, add the component to [Reconcile](https://github.com/opendatahub-io/opendatahub-operator/blob/acaaf31f43e371456363f3fd272aec91ba413482/controllers/datasciencecluster/datasciencecluster_controller.go#L135)
function in order to deploy manifests.
- This will also enable/add status updates of the component in the operator.

### Reconcile Workflow
![Component Reconcile Workflow.png](Component%20Reconcile%20Workflow.png)

### Add Unit and e2e tests

- Components should add `unit` tests for any component specific functions added to the codebase
Expand Down

0 comments on commit d3b7a59

Please sign in to comment.