-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Update CRD to add Volume and ConfigTemplate (#356)
**Reason for Change**: This change removes hostPath field in DataSource and DataDestination struct. Instead, a standard K8s VolumeSource API is used to specify the volumes used by the tuning Job. This will provide the highest flexibility for users to load/store the data. HostPath field is hard to use in practice. This change also renames the Config to ConfigTemplate because the final configmap used by the tuning job will be generated by the controller based on the template. The new name is clearer. **Notes for Reviewers**: We will revisit how to do validation check for the Volume field because it is a fairly complicated API.
- Loading branch information
Showing
6 changed files
with
95 additions
and
125 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
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.
Oops, something went wrong.