forked from instrumenta/kubernetes-json-schema
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding extended schemas for 1.12.5 and 1.12.4
- Loading branch information
Showing
6,856 changed files
with
1,838,108 additions
and
8,012 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": { | ||
"description": "Describes node affinity scheduling rules for the pod.", | ||
"$ref": "_definitions.json#/definitions/io.k8s.api.core.v1.NodeAffinity" | ||
}, | ||
"podAffinity": { | ||
"description": "Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)).", | ||
"$ref": "_definitions.json#/definitions/io.k8s.api.core.v1.PodAffinity" | ||
}, | ||
"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)).", | ||
"$ref": "_definitions.json#/definitions/io.k8s.api.core.v1.PodAntiAffinity" | ||
} | ||
}, | ||
"$schema": "http://json-schema.org/schema#", | ||
"type": "object" | ||
} |
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 |
---|---|---|
@@ -1,6 +1,19 @@ | ||
{ | ||
"description": "Deprecated. Please use io.k8s.api.core.v1.Affinity instead.", | ||
"$ref": "_definitions.json#/definitions/io.k8s.api.core.v1.Affinity", | ||
"description": "Affinity is a group of affinity scheduling rules.", | ||
"properties": { | ||
"nodeAffinity": { | ||
"description": "Describes node affinity scheduling rules for the pod.", | ||
"$ref": "_definitions.json#/definitions/io.k8s.api.core.v1.NodeAffinity" | ||
}, | ||
"podAffinity": { | ||
"description": "Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)).", | ||
"$ref": "_definitions.json#/definitions/io.k8s.api.core.v1.PodAffinity" | ||
}, | ||
"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)).", | ||
"$ref": "_definitions.json#/definitions/io.k8s.api.core.v1.PodAntiAffinity" | ||
} | ||
}, | ||
"$schema": "http://json-schema.org/schema#", | ||
"type": "object" | ||
} |
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,17 @@ | ||
{ | ||
"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", | ||
"type": [ | ||
"array", | ||
"null" | ||
], | ||
"items": { | ||
"$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector" | ||
} | ||
} | ||
}, | ||
"$schema": "http://json-schema.org/schema#", | ||
"type": "object" | ||
} |
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,17 @@ | ||
{ | ||
"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", | ||
"type": [ | ||
"array", | ||
"null" | ||
], | ||
"items": { | ||
"$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector" | ||
} | ||
} | ||
}, | ||
"$schema": "http://json-schema.org/schema#", | ||
"type": "object" | ||
} |
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,17 @@ | ||
{ | ||
"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", | ||
"type": [ | ||
"array", | ||
"null" | ||
], | ||
"items": { | ||
"$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector" | ||
} | ||
} | ||
}, | ||
"$schema": "http://json-schema.org/schema#", | ||
"type": "object" | ||
} |
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,17 @@ | ||
{ | ||
"description": "AllowedFlexVolume represents a single Flexvolume that is allowed to be used. Deprecated: use AllowedFlexVolume from policy API Group instead.", | ||
"required": [ | ||
"driver" | ||
], | ||
"properties": { | ||
"driver": { | ||
"description": "driver is the name of the Flexvolume driver.", | ||
"type": [ | ||
"string", | ||
"null" | ||
] | ||
} | ||
}, | ||
"$schema": "http://json-schema.org/schema#", | ||
"type": "object" | ||
} |
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,17 @@ | ||
{ | ||
"description": "AllowedFlexVolume represents a single Flexvolume that is allowed to be used.", | ||
"required": [ | ||
"driver" | ||
], | ||
"properties": { | ||
"driver": { | ||
"description": "driver is the name of the Flexvolume driver.", | ||
"type": [ | ||
"string", | ||
"null" | ||
] | ||
} | ||
}, | ||
"$schema": "http://json-schema.org/schema#", | ||
"type": "object" | ||
} |
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": "AllowedHostPath defines the host volume conditions that will be enabled by a policy for pods to use. It requires the path prefix to be defined. Deprecated: use AllowedHostPath from policy API Group instead.", | ||
"properties": { | ||
"pathPrefix": { | ||
"description": "pathPrefix is the path prefix that the host volume must match. It does not support `*`. Trailing slashes are trimmed when validating the path prefix with a host path.\n\nExamples: `/foo` would allow `/foo`, `/foo/` and `/foo/bar` `/foo` would not allow `/food` or `/etc/foo`", | ||
"type": [ | ||
"string", | ||
"null" | ||
] | ||
}, | ||
"readOnly": { | ||
"description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.", | ||
"type": "boolean" | ||
} | ||
}, | ||
"$schema": "http://json-schema.org/schema#", | ||
"type": "object" | ||
} |
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": "AllowedHostPath defines the host volume conditions that will be enabled by a policy for pods to use. It requires the path prefix to be defined.", | ||
"properties": { | ||
"pathPrefix": { | ||
"description": "pathPrefix is the path prefix that the host volume must match. It does not support `*`. Trailing slashes are trimmed when validating the path prefix with a host path.\n\nExamples: `/foo` would allow `/foo`, `/foo/` and `/foo/bar` `/foo` would not allow `/food` or `/etc/foo`", | ||
"type": [ | ||
"string", | ||
"null" | ||
] | ||
}, | ||
"readOnly": { | ||
"description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.", | ||
"type": "boolean" | ||
} | ||
}, | ||
"$schema": "http://json-schema.org/schema#", | ||
"type": "object" | ||
} |
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,69 @@ | ||
{ | ||
"description": "APIGroup contains the name, the supported versions, and the preferred version of a group.", | ||
"required": [ | ||
"name", | ||
"versions" | ||
], | ||
"properties": { | ||
"apiVersion": { | ||
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", | ||
"type": [ | ||
"string", | ||
"null" | ||
], | ||
"enum": [ | ||
"v1" | ||
] | ||
}, | ||
"kind": { | ||
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", | ||
"type": [ | ||
"string", | ||
"null" | ||
], | ||
"enum": [ | ||
"APIGroup" | ||
] | ||
}, | ||
"name": { | ||
"description": "name is the name of the group.", | ||
"type": [ | ||
"string", | ||
"null" | ||
] | ||
}, | ||
"preferredVersion": { | ||
"description": "preferredVersion is the version preferred by the API server, which probably is the storage version.", | ||
"$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery" | ||
}, | ||
"serverAddressByClientCIDRs": { | ||
"description": "a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.", | ||
"type": [ | ||
"array", | ||
"null" | ||
], | ||
"items": { | ||
"$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR" | ||
} | ||
}, | ||
"versions": { | ||
"description": "versions are the versions supported in this group.", | ||
"type": [ | ||
"array", | ||
"null" | ||
], | ||
"items": { | ||
"$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery" | ||
} | ||
} | ||
}, | ||
"x-kubernetes-group-version-kind": [ | ||
{ | ||
"group": "", | ||
"kind": "APIGroup", | ||
"version": "v1" | ||
} | ||
], | ||
"$schema": "http://json-schema.org/schema#", | ||
"type": "object" | ||
} |
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 |
---|---|---|
|
@@ -17,6 +17,9 @@ | |
"type": [ | ||
"string", | ||
"null" | ||
], | ||
"enum": [ | ||
"APIGroup" | ||
] | ||
}, | ||
"name": { | ||
|
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,47 @@ | ||
{ | ||
"description": "APIGroupList is a list of APIGroup, to allow clients to discover the API at /apis.", | ||
"required": [ | ||
"groups" | ||
], | ||
"properties": { | ||
"apiVersion": { | ||
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", | ||
"type": [ | ||
"string", | ||
"null" | ||
], | ||
"enum": [ | ||
"v1" | ||
] | ||
}, | ||
"groups": { | ||
"description": "groups is a list of APIGroup.", | ||
"type": [ | ||
"array", | ||
"null" | ||
], | ||
"items": { | ||
"$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" | ||
} | ||
}, | ||
"kind": { | ||
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", | ||
"type": [ | ||
"string", | ||
"null" | ||
], | ||
"enum": [ | ||
"APIGroupList" | ||
] | ||
} | ||
}, | ||
"x-kubernetes-group-version-kind": [ | ||
{ | ||
"group": "", | ||
"kind": "APIGroupList", | ||
"version": "v1" | ||
} | ||
], | ||
"$schema": "http://json-schema.org/schema#", | ||
"type": "object" | ||
} |
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 |
---|---|---|
|
@@ -26,6 +26,9 @@ | |
"type": [ | ||
"string", | ||
"null" | ||
], | ||
"enum": [ | ||
"APIGroupList" | ||
] | ||
} | ||
}, | ||
|
Oops, something went wrong.