forked from yannh/kubernetes-json-schema
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2f2502b
commit 7d0aef4
Showing
4,780 changed files
with
1,947,471 additions
and
0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"description": "Affinity is a group of affinity scheduling rules.", | ||
"properties": { | ||
"nodeAffinity": { | ||
"$ref": "_definitions.json#/definitions/io.k8s.api.core.v1.NodeAffinity", | ||
"description": "Describes node affinity scheduling rules for the pod." | ||
}, | ||
"podAffinity": { | ||
"$ref": "_definitions.json#/definitions/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": "_definitions.json#/definitions/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": "http://json-schema.org/schema#" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"description": "Affinity is a group of affinity scheduling rules.", | ||
"properties": { | ||
"nodeAffinity": { | ||
"$ref": "_definitions.json#/definitions/io.k8s.api.core.v1.NodeAffinity", | ||
"description": "Describes node affinity scheduling rules for the pod." | ||
}, | ||
"podAffinity": { | ||
"$ref": "_definitions.json#/definitions/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": "_definitions.json#/definitions/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": "http://json-schema.org/schema#" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"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": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector" | ||
}, | ||
"type": [ | ||
"array", | ||
"null" | ||
], | ||
"x-kubernetes-list-type": "atomic" | ||
} | ||
}, | ||
"type": "object", | ||
"$schema": "http://json-schema.org/schema#" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"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": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector" | ||
}, | ||
"type": [ | ||
"array", | ||
"null" | ||
], | ||
"x-kubernetes-list-type": "atomic" | ||
} | ||
}, | ||
"type": "object", | ||
"$schema": "http://json-schema.org/schema#" | ||
} |
Oops, something went wrong.