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

Create Kubernetes specific validation functions to use all over #56

Open
Cryptophobia opened this issue Mar 20, 2018 · 2 comments
Open

Comments

@Cryptophobia
Copy link
Member

From @helgi on September 15, 2016 21:13

Create validation functions for the various Kubernetes requirements

Such as validation what is used to validate the various length and char requirements. Basically DNS validation.

Labels are 63 chars, adhere to DNS specs, etc etc

This would allow a few models to have more unified validation functions, especially the tags validation could do with it.

Question is if this lives inside of the scheduler or not? Problem with it living there is at the end it needs to raise ValidationError for the serializers and friends, but worth investigating

Copied from original issue: deis/controller#1070

@Cryptophobia
Copy link
Member Author

From @bacongobbler on October 11, 2016 19:52

perhaps this is a good segway to create a kubernetes-py client lib that encapsulates all this behaviour for us.

@Cryptophobia
Copy link
Member Author

From @helgi on October 11, 2016 19:53

Yeah, initial thought was to add those to the util part of scheduler to have a kubernetes-py like functionality - Probably is enough.

duanhongyi added a commit to duanhongyi/controller that referenced this issue Nov 26, 2021
chore(oauth): modify passport api
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant