Skip to content

Commit

Permalink
Add v1.31 schemas
Browse files Browse the repository at this point in the history
  • Loading branch information
willthames committed Aug 19, 2024
1 parent 6c1145e commit 83e3724
Show file tree
Hide file tree
Showing 1,276 changed files with 120,745 additions and 1 deletion.
6,097 changes: 6,097 additions & 0 deletions src/kubernetes_validate/crds/crd-alertmanagers.yaml

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"description": "Affinity is a group of affinity scheduling rules.",
"properties": {
"nodeAffinity": {
"$ref": "/api/_definitions.json#/$defs/io.k8s.api.core.v1.NodeAffinity",
"description": "Describes node affinity scheduling rules for the pod."
},
"podAffinity": {
"$ref": "/api/_definitions.json#/$defs/io.k8s.api.core.v1.PodAffinity",
"description": "Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s))."
},
"podAntiAffinity": {
"$ref": "/api/_definitions.json#/$defs/io.k8s.api.core.v1.PodAntiAffinity",
"description": "Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s))."
}
},
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"$id": "https://kubernetes.io/api/affinity/v1"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"description": "AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole",
"properties": {
"clusterRoleSelectors": {
"description": "ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added",
"items": {
"$ref": "/api/_definitions.json#/$defs/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"
},
"type": [
"array",
"null"
],
"x-kubernetes-list-type": "atomic"
}
},
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"$id": "https://kubernetes.io/api/aggregationrule/rbac/v1"
}
Loading

0 comments on commit 83e3724

Please sign in to comment.