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

quick doc on schemas #37

Merged
merged 2 commits into from
Jul 24, 2023
Merged

quick doc on schemas #37

merged 2 commits into from
Jul 24, 2023

Conversation

clux
Copy link
Member

@clux clux commented Jul 24, 2023

wanted a bit of a quick overview page here for the guide. mostly lazy write-up. just links to sources and examples.

rendered

clux added 2 commits July 24, 2023 11:17
Signed-off-by: clux <[email protected]>

i# ------------------------ >8 ------------------------
diff --git a/docs/controllers/schemas.md b/docs/controllers/schemas.md
index 35c61c0..79748b7 100644
--- a/docs/controllers/schemas.md
+++ b/docs/controllers/schemas.md
@@ -35,6 +35,8 @@ See [CustomResource#versioning](https://docs.rs/kube/latest/kube/derive.CustomRe
 ## Validation
 Kubernetes >1.25 supports including [validation rules in the openapi schema](https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/#validation-rules), and there are a couple of ways to include these.

+See the [Openapi V3 blogpost for more context](https://kubernetes.io/blog/2023/04/24/openapi-v3-field-validation-ga/).
+
 ### Manual Writing
 This can be done by following upstream docs, and doing manual [[#overriding]].
@clux clux merged commit d31364b into main Jul 24, 2023
@clux clux deleted the schema-doc branch July 24, 2023 17:03
@clux clux mentioned this pull request Jul 24, 2023
19 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant