Skip to content

Commit

Permalink
adding extended schemas for 1.12.6 and 1.11.9
Browse files Browse the repository at this point in the history
  • Loading branch information
garethr committed Apr 5, 2019
1 parent 36b8d08 commit 2b37d88
Show file tree
Hide file tree
Showing 6,752 changed files with 1,813,649 additions and 7,960 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
820 changes: 656 additions & 164 deletions v1.11.9-local/_definitions.json

Large diffs are not rendered by default.

19 changes: 19 additions & 0 deletions v1.11.9-local/affinity-v1.json
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"
}
17 changes: 15 additions & 2 deletions v1.11.9-local/affinity.json
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"
}
17 changes: 17 additions & 0 deletions v1.11.9-local/aggregationrule-rbac-v1.json
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"
}
17 changes: 17 additions & 0 deletions v1.11.9-local/aggregationrule-rbac-v1alpha1.json
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"
}
17 changes: 17 additions & 0 deletions v1.11.9-local/aggregationrule-rbac-v1beta1.json
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"
}
17 changes: 17 additions & 0 deletions v1.11.9-local/allowedflexvolume-extensions-v1beta1.json
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"
}
17 changes: 17 additions & 0 deletions v1.11.9-local/allowedflexvolume-policy-v1beta1.json
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"
}
18 changes: 18 additions & 0 deletions v1.11.9-local/allowedhostpath-extensions-v1beta1.json
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"
}
18 changes: 18 additions & 0 deletions v1.11.9-local/allowedhostpath-policy-v1beta1.json
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"
}
69 changes: 69 additions & 0 deletions v1.11.9-local/apigroup-meta-v1.json
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"
}
3 changes: 3 additions & 0 deletions v1.11.9-local/apigroup.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
"type": [
"string",
"null"
],
"enum": [
"APIGroup"
]
},
"name": {
Expand Down
47 changes: 47 additions & 0 deletions v1.11.9-local/apigrouplist-meta-v1.json
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"
}
3 changes: 3 additions & 0 deletions v1.11.9-local/apigrouplist.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
"type": [
"string",
"null"
],
"enum": [
"APIGroupList"
]
}
},
Expand Down
Loading

0 comments on commit 2b37d88

Please sign in to comment.