Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KEP-2170: Implement validations for TrainJob #2209

Open
Tracked by #2170
andreyvelich opened this issue Aug 14, 2024 · 3 comments
Open
Tracked by #2170

KEP-2170: Implement validations for TrainJob #2209

andreyvelich opened this issue Aug 14, 2024 · 3 comments
Assignees

Comments

@andreyvelich
Copy link
Member

andreyvelich commented Aug 14, 2024

Related: #2170

We should create validations for the TrainJob using the following tools:

  • Mutating Webhooks
  • CEL validations
  • controller-tools/kubebuilder annotations

/area webhook

@tenzen-y tenzen-y changed the title KEP-2170: Create validation webhook for TrainJob KEP-2170: Create validations for TrainJob Aug 16, 2024
@tenzen-y
Copy link
Member

/retitle KEP-2170: Implement validations for TrainJob

@tenzen-y tenzen-y changed the title KEP-2170: Create validations for TrainJob KEP-2170: Implement validations for TrainJob Aug 16, 2024
@tenzen-y
Copy link
Member

Regarding to CEL validations. We can refer the following Kubernetes blog on how we can implement the CEL validations using kubebuilder markers.

https://kubernetes.io/blog/2022/09/29/enforce-immutability-using-cel/

@akshaychitneni
Copy link

/assign

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

3 participants