Files
trainer/api/python_api
90a70f9434 feat: storageuri targetjob validation fix (#3510)
* Applied the required changes

Signed-off-by: Pulkit Agrawal <[email protected]>

* feat: add StorageUri and replicated job name validation

- Add CEL-based validation for StorageUri fields
- Relax URI regex to support minimal valid URIs
- Use DNS-1123 Pattern validation for replicated job names
- Add integration tests for validation
- Regenerate CRDs and update schema
- Align ModelInitializer documentation with validation rules

Signed-off-by: Pulkit Agrawal <[email protected]>

* fix: use CEL validation for StorageUri and align fields

Signed-off-by: Pulkit Agrawal <[email protected]>

* Potential fix for pull request finding

Valid

Signed-off-by: Pulkit Agrawal <[email protected]>

* XValidation rule changes

Signed-off-by: Pulkit Agrawal <[email protected]>

* fix: address review feedback for storageUri validation

Signed-off-by: Pulkit Agrawal <[email protected]>

* Update pkg/apis/trainer/v1alpha1/trainjob_types.go

Co-authored-by: Andrey Velichkevich <[email protected]>
Signed-off-by: Pulkit Agrawal <[email protected]>

* fix: integration tests

Signed-off-by: Pulkit Agrawal <[email protected]>

---------

Signed-off-by: Pulkit Agrawal <[email protected]>

Co-authored-by: Andrey Velichkevich <[email protected]>

Co-authored-by: Hanzo Dev <[email protected]>
2026-05-12 21:25:16 +00:00
..

Kubeflow Trainer API

Python package containing Kubeflow Trainer API models.