Skip to content

Commit

Permalink
Add v1.30 schema files
Browse files Browse the repository at this point in the history
  • Loading branch information
willthames committed Jun 17, 2024
1 parent 16b5eb5 commit d0bc386
Show file tree
Hide file tree
Showing 1,256 changed files with 113,063 additions and 0 deletions.

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 d0bc386

Please sign in to comment.