-
Notifications
You must be signed in to change notification settings - Fork 157
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add configuration to pipeline stanza of DSC to enable InstructLab pip…
…eline (#1484) * Add configuration to pipeline stanza of DSC to enable InstructLab pipeline * Linter * e2e tests * Fix findings
- Loading branch information
1 parent
a1ae5a8
commit fe3c571
Showing
16 changed files
with
345 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// +kubebuilder:object:generate=true | ||
|
||
// Package datasciencepipelines provides a set of types used for DataSciencePipelines component | ||
package datasciencepipelines | ||
|
||
import operatorv1 "github.com/openshift/api/operator/v1" | ||
|
||
type ManagedPipelinesSpec struct { | ||
// Configures whether to automatically import the InstructLab pipeline. | ||
// You must enable the trainingoperator component to run the InstructLab pipeline. | ||
InstructLab ManagedPipelineOptions `json:"instructLab,omitempty"` | ||
} | ||
|
||
type ManagedPipelineOptions struct { | ||
// Set to one of the following values: | ||
// | ||
// - "Managed" : This pipeline is automatically imported. | ||
// - "Removed" : This pipeline is not automatically imported when a new pipeline server or DSPA is created. If previously set to "Managed", setting to "Removed" does not remove existing preloaded pipelines but does prevent future updates from being imported. | ||
// | ||
// +kubebuilder:validation:Enum=Managed;Removed | ||
// +kubebuilder:default=Removed | ||
State operatorv1.ManagementState `json:"state,omitempty"` | ||
} |
54 changes: 54 additions & 0 deletions
54
apis/components/v1alpha1/datasciencepipelines/zz_generated.deepcopy.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.