forked from garethr/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.
removed core from file names of core API resources
- Loading branch information
Showing
716 changed files
with
170,883 additions
and
0 deletions.
There are no files selected for viewing
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#" | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,45 @@ | ||
{ | ||
"description": "Binding ties one object to another; for example, a pod is bound to a node by a scheduler. Deprecated in 1.7, please use the bindings subresource of pods instead.", | ||
"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": [ | ||
"Binding" | ||
] | ||
}, | ||
"metadata": { | ||
"$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", | ||
"description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata" | ||
}, | ||
"target": { | ||
"$ref": "_definitions.json#/definitions/io.k8s.api.core.v1.ObjectReference", | ||
"description": "The target object that you want to bind to the standard object." | ||
} | ||
}, | ||
"required": [ | ||
"target" | ||
], | ||
"type": "object", | ||
"x-kubernetes-group-version-kind": [ | ||
{ | ||
"group": "", | ||
"kind": "Binding", | ||
"version": "v1" | ||
} | ||
], | ||
"$schema": "http://json-schema.org/schema#" | ||
} |
File renamed without changes.
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,52 @@ | ||
{ | ||
"description": "Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.", | ||
"properties": { | ||
"monitors": { | ||
"description": "Required: Monitors is a collection of Ceph monitors More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", | ||
"items": { | ||
"type": [ | ||
"string", | ||
"null" | ||
] | ||
}, | ||
"type": [ | ||
"array", | ||
"null" | ||
] | ||
}, | ||
"path": { | ||
"description": "Optional: Used as the mounted root, rather than the full Ceph tree, default is /", | ||
"type": [ | ||
"string", | ||
"null" | ||
] | ||
}, | ||
"readOnly": { | ||
"description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", | ||
"type": "boolean" | ||
}, | ||
"secretFile": { | ||
"description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", | ||
"type": [ | ||
"string", | ||
"null" | ||
] | ||
}, | ||
"secretRef": { | ||
"$ref": "_definitions.json#/definitions/io.k8s.api.core.v1.SecretReference", | ||
"description": "Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it" | ||
}, | ||
"user": { | ||
"description": "Optional: User is the rados user name, default is admin More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", | ||
"type": [ | ||
"string", | ||
"null" | ||
] | ||
} | ||
}, | ||
"required": [ | ||
"monitors" | ||
], | ||
"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,52 @@ | ||
{ | ||
"description": "Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.", | ||
"properties": { | ||
"monitors": { | ||
"description": "Required: Monitors is a collection of Ceph monitors More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", | ||
"items": { | ||
"type": [ | ||
"string", | ||
"null" | ||
] | ||
}, | ||
"type": [ | ||
"array", | ||
"null" | ||
] | ||
}, | ||
"path": { | ||
"description": "Optional: Used as the mounted root, rather than the full Ceph tree, default is /", | ||
"type": [ | ||
"string", | ||
"null" | ||
] | ||
}, | ||
"readOnly": { | ||
"description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", | ||
"type": "boolean" | ||
}, | ||
"secretFile": { | ||
"description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", | ||
"type": [ | ||
"string", | ||
"null" | ||
] | ||
}, | ||
"secretRef": { | ||
"$ref": "_definitions.json#/definitions/io.k8s.api.core.v1.LocalObjectReference", | ||
"description": "Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it" | ||
}, | ||
"user": { | ||
"description": "Optional: User is the rados user name, default is admin More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", | ||
"type": [ | ||
"string", | ||
"null" | ||
] | ||
} | ||
}, | ||
"required": [ | ||
"monitors" | ||
], | ||
"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,32 @@ | ||
{ | ||
"description": "Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling.", | ||
"properties": { | ||
"fsType": { | ||
"description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", | ||
"type": [ | ||
"string", | ||
"null" | ||
] | ||
}, | ||
"readOnly": { | ||
"description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", | ||
"type": "boolean" | ||
}, | ||
"secretRef": { | ||
"$ref": "_definitions.json#/definitions/io.k8s.api.core.v1.SecretReference", | ||
"description": "Optional: points to a secret object containing parameters used to connect to OpenStack." | ||
}, | ||
"volumeID": { | ||
"description": "volume id used to identify the volume in cinder More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", | ||
"type": [ | ||
"string", | ||
"null" | ||
] | ||
} | ||
}, | ||
"required": [ | ||
"volumeID" | ||
], | ||
"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,32 @@ | ||
{ | ||
"description": "Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling.", | ||
"properties": { | ||
"fsType": { | ||
"description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", | ||
"type": [ | ||
"string", | ||
"null" | ||
] | ||
}, | ||
"readOnly": { | ||
"description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", | ||
"type": "boolean" | ||
}, | ||
"secretRef": { | ||
"$ref": "_definitions.json#/definitions/io.k8s.api.core.v1.LocalObjectReference", | ||
"description": "Optional: points to a secret object containing parameters used to connect to OpenStack." | ||
}, | ||
"volumeID": { | ||
"description": "volume id used to identify the volume in cinder More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", | ||
"type": [ | ||
"string", | ||
"null" | ||
] | ||
} | ||
}, | ||
"required": [ | ||
"volumeID" | ||
], | ||
"type": "object", | ||
"$schema": "http://json-schema.org/schema#" | ||
} |
File renamed without changes.
File renamed without changes.
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,50 @@ | ||
{ | ||
"description": "ComponentStatus (and ComponentStatusList) holds the cluster validation info.", | ||
"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" | ||
] | ||
}, | ||
"conditions": { | ||
"description": "List of component conditions observed", | ||
"items": { | ||
"$ref": "_definitions.json#/definitions/io.k8s.api.core.v1.ComponentCondition" | ||
}, | ||
"type": [ | ||
"array", | ||
"null" | ||
], | ||
"x-kubernetes-patch-merge-key": "type", | ||
"x-kubernetes-patch-strategy": "merge" | ||
}, | ||
"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": [ | ||
"ComponentStatus" | ||
] | ||
}, | ||
"metadata": { | ||
"$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", | ||
"description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata" | ||
} | ||
}, | ||
"type": "object", | ||
"x-kubernetes-group-version-kind": [ | ||
{ | ||
"group": "", | ||
"kind": "ComponentStatus", | ||
"version": "v1" | ||
} | ||
], | ||
"$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,51 @@ | ||
{ | ||
"description": "Status of all the conditions for the component as a list of ComponentStatus objects.", | ||
"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" | ||
] | ||
}, | ||
"items": { | ||
"description": "List of ComponentStatus objects.", | ||
"items": { | ||
"$ref": "_definitions.json#/definitions/io.k8s.api.core.v1.ComponentStatus" | ||
}, | ||
"type": [ | ||
"array", | ||
"null" | ||
] | ||
}, | ||
"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": [ | ||
"ComponentStatusList" | ||
] | ||
}, | ||
"metadata": { | ||
"$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", | ||
"description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds" | ||
} | ||
}, | ||
"required": [ | ||
"items" | ||
], | ||
"type": "object", | ||
"x-kubernetes-group-version-kind": [ | ||
{ | ||
"group": "", | ||
"kind": "ComponentStatusList", | ||
"version": "v1" | ||
} | ||
], | ||
"$schema": "http://json-schema.org/schema#" | ||
} |
Oops, something went wrong.