Skip to content

Commit

Permalink
Updated master schemas to latest
Browse files Browse the repository at this point in the history
  • Loading branch information
garethr committed Apr 10, 2020
1 parent 74551ef commit ffc610b
Show file tree
Hide file tree
Showing 658 changed files with 14,253 additions and 4,564 deletions.
321 changes: 266 additions & 55 deletions master-local/_definitions.json

Large diffs are not rendered by default.

18 changes: 18 additions & 0 deletions master-local/all.json
Original file line number Diff line number Diff line change
Expand Up @@ -1197,6 +1197,15 @@
{
"$ref": "_definitions.json#/definitions/io.k8s.api.networking.v1beta1.IngressBackend"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.networking.v1beta1.IngressClass"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.networking.v1beta1.IngressClassList"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.networking.v1beta1.IngressClassSpec"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.networking.v1beta1.IngressList"
},
Expand Down Expand Up @@ -1431,6 +1440,15 @@
{
"$ref": "_definitions.json#/definitions/io.k8s.api.settings.v1alpha1.PodPresetSpec"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.storage.v1.CSIDriver"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.storage.v1.CSIDriverList"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.storage.v1.CSIDriverSpec"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.storage.v1.CSINode"
},
Expand Down
2 changes: 1 addition & 1 deletion master-local/apiservicespec-apiregistration-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
},
"service": {
"$ref": "_definitions.json#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.ServiceReference",
"description": "Service is a reference to the service for this API server. It must communicate on port 443 If the Service is nil, that means the handling for the API groupversion is handled locally on this server. The call will simply delegate to the normal handler chain to be fulfilled."
"description": "Service is a reference to the service for this API server. It must communicate on port 443. If the Service is nil, that means the handling for the API groupversion is handled locally on this server. The call will simply delegate to the normal handler chain to be fulfilled."
},
"version": {
"description": "Version is the API version this server hosts. For example, \"v1\"",
Expand Down
2 changes: 1 addition & 1 deletion master-local/apiservicespec-apiregistration-v1beta1.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
},
"service": {
"$ref": "_definitions.json#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.ServiceReference",
"description": "Service is a reference to the service for this API server. It must communicate on port 443 If the Service is nil, that means the handling for the API groupversion is handled locally on this server. The call will simply delegate to the normal handler chain to be fulfilled."
"description": "Service is a reference to the service for this API server. It must communicate on port 443. If the Service is nil, that means the handling for the API groupversion is handled locally on this server. The call will simply delegate to the normal handler chain to be fulfilled."
},
"version": {
"description": "Version is the API version this server hosts. For example, \"v1\"",
Expand Down
2 changes: 1 addition & 1 deletion master-local/apiservicespec.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
},
"service": {
"$ref": "_definitions.json#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.ServiceReference",
"description": "Service is a reference to the service for this API server. It must communicate on port 443 If the Service is nil, that means the handling for the API groupversion is handled locally on this server. The call will simply delegate to the normal handler chain to be fulfilled."
"description": "Service is a reference to the service for this API server. It must communicate on port 443. If the Service is nil, that means the handling for the API groupversion is handled locally on this server. The call will simply delegate to the normal handler chain to be fulfilled."
},
"version": {
"description": "Version is the API version this server hosts. For example, \"v1\"",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,13 @@
"null"
]
},
"signerName": {
"description": "Requested signer for the request. It is a qualified name in the form: `scope-hostname.io/name`. If empty, it will be defaulted:\n 1. If it's a kubelet client certificate, it is assigned\n \"kubernetes.io/kube-apiserver-client-kubelet\".\n 2. If it's a kubelet serving certificate, it is assigned\n \"kubernetes.io/kubelet-serving\".\n 3. Otherwise, it is assigned \"kubernetes.io/legacy-unknown\".\nDistribution of trust for signers happens out of band. You can select on this field using `spec.signerName`.",
"type": [
"string",
"null"
]
},
"uid": {
"description": "UID information about the requesting user. See user.Info interface for details.",
"type": [
Expand Down
7 changes: 7 additions & 0 deletions master-local/certificatesigningrequestspec.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,13 @@
"null"
]
},
"signerName": {
"description": "Requested signer for the request. It is a qualified name in the form: `scope-hostname.io/name`. If empty, it will be defaulted:\n 1. If it's a kubelet client certificate, it is assigned\n \"kubernetes.io/kube-apiserver-client-kubelet\".\n 2. If it's a kubelet serving certificate, it is assigned\n \"kubernetes.io/kubelet-serving\".\n 3. Otherwise, it is assigned \"kubernetes.io/legacy-unknown\".\nDistribution of trust for signers happens out of band. You can select on this field using `spec.signerName`.",
"type": [
"string",
"null"
]
},
"uid": {
"description": "UID information about the requesting user. See user.Info interface for details.",
"type": [
Expand Down
7 changes: 7 additions & 0 deletions master-local/configmap-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,13 @@
"null"
]
},
"immutable": {
"description": "Immutable, if set to true, ensures that data stored in the ConfigMap cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil. This is an alpha field enabled by ImmutableEphemeralVolumes feature gate.",
"type": [
"boolean",
"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/sig-architecture/api-conventions.md#types-kinds",
"type": [
Expand Down
7 changes: 7 additions & 0 deletions master-local/configmap.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,13 @@
"null"
]
},
"immutable": {
"description": "Immutable, if set to true, ensures that data stored in the ConfigMap cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil. This is an alpha field enabled by ImmutableEphemeralVolumes feature gate.",
"type": [
"boolean",
"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/sig-architecture/api-conventions.md#types-kinds",
"type": [
Expand Down
2 changes: 1 addition & 1 deletion master-local/configmapvolumesource-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"description": "Adapts a ConfigMap into a volume.\n\nThe contents of the target ConfigMap's Data field will be presented in a volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. ConfigMap volumes support ownership management and SELinux relabeling.",
"properties": {
"defaultMode": {
"description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.",
"description": "Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.",
"format": "int32",
"type": [
"integer",
Expand Down
2 changes: 1 addition & 1 deletion master-local/configmapvolumesource.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"description": "Adapts a ConfigMap into a volume.\n\nThe contents of the target ConfigMap's Data field will be presented in a volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. ConfigMap volumes support ownership management and SELinux relabeling.",
"properties": {
"defaultMode": {
"description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.",
"description": "Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.",
"format": "int32",
"type": [
"integer",
Expand Down
2 changes: 1 addition & 1 deletion master-local/container-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@
]
},
"volumeDevices": {
"description": "volumeDevices is the list of block devices to be used by the container. This is a beta feature.",
"description": "volumeDevices is the list of block devices to be used by the container.",
"items": {
"$ref": "_definitions.json#/definitions/io.k8s.api.core.v1.VolumeDevice"
},
Expand Down
2 changes: 1 addition & 1 deletion master-local/container.json
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@
]
},
"volumeDevices": {
"description": "volumeDevices is the list of block devices to be used by the container. This is a beta feature.",
"description": "volumeDevices is the list of block devices to be used by the container.",
"items": {
"$ref": "_definitions.json#/definitions/io.k8s.api.core.v1.VolumeDevice"
},
Expand Down
45 changes: 45 additions & 0 deletions master-local/csidriver-storage-v1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"description": "CSIDriver captures information about a Container Storage Interface (CSI) volume driver deployed on the cluster. Kubernetes attach detach controller uses this object to determine whether attach is required. Kubelet uses this object to determine whether pod information needs to be passed on mount. CSIDriver objects are non-namespaced.",
"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/sig-architecture/api-conventions.md#resources",
"type": [
"string",
"null"
],
"enum": [
"storage.k8s.io/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/sig-architecture/api-conventions.md#types-kinds",
"type": [
"string",
"null"
],
"enum": [
"CSIDriver"
]
},
"metadata": {
"$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta",
"description": "Standard object metadata. metadata.Name indicates the name of the CSI driver that this object refers to; it MUST be the same name returned by the CSI GetPluginName() call for that driver. The driver name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and alphanumerics between. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
},
"spec": {
"$ref": "_definitions.json#/definitions/io.k8s.api.storage.v1.CSIDriverSpec",
"description": "Specification of the CSI Driver."
}
},
"required": [
"spec"
],
"type": "object",
"x-kubernetes-group-version-kind": [
{
"group": "storage.k8s.io",
"kind": "CSIDriver",
"version": "v1"
}
],
"$schema": "http://json-schema.org/schema#"
}
51 changes: 51 additions & 0 deletions master-local/csidriverlist-storage-v1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"description": "CSIDriverList is a collection of CSIDriver 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/sig-architecture/api-conventions.md#resources",
"type": [
"string",
"null"
],
"enum": [
"storage.k8s.io/v1"
]
},
"items": {
"description": "items is the list of CSIDriver",
"items": {
"$ref": "_definitions.json#/definitions/io.k8s.api.storage.v1.CSIDriver"
},
"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/sig-architecture/api-conventions.md#types-kinds",
"type": [
"string",
"null"
],
"enum": [
"CSIDriverList"
]
},
"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/sig-architecture/api-conventions.md#metadata"
}
},
"required": [
"items"
],
"type": "object",
"x-kubernetes-group-version-kind": [
{
"group": "storage.k8s.io",
"kind": "CSIDriverList",
"version": "v1"
}
],
"$schema": "http://json-schema.org/schema#"
}
35 changes: 35 additions & 0 deletions master-local/csidriverspec-storage-v1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"description": "CSIDriverSpec is the specification of a CSIDriver.",
"properties": {
"attachRequired": {
"description": "attachRequired indicates this CSI volume driver requires an attach operation (because it implements the CSI ControllerPublishVolume() method), and that the Kubernetes attach detach controller should call the attach volume interface which checks the volumeattachment status and waits until the volume is attached before proceeding to mounting. The CSI external-attacher coordinates with CSI volume driver and updates the volumeattachment status when the attach operation is complete. If the CSIDriverRegistry feature gate is enabled and the value is specified to false, the attach operation will be skipped. Otherwise the attach operation will be called.",
"type": [
"boolean",
"null"
]
},
"podInfoOnMount": {
"description": "If set to true, podInfoOnMount indicates this CSI volume driver requires additional pod information (like podName, podUID, etc.) during mount operations. If set to false, pod information will not be passed on mount. Default is false. The CSI driver specifies podInfoOnMount as part of driver deployment. If true, Kubelet will pass pod information as VolumeContext in the CSI NodePublishVolume() calls. The CSI driver is responsible for parsing and validating the information passed in as VolumeContext. The following VolumeConext will be passed if podInfoOnMount is set to true. This list might grow, but the prefix will be used. \"csi.storage.k8s.io/pod.name\": pod.Name \"csi.storage.k8s.io/pod.namespace\": pod.Namespace \"csi.storage.k8s.io/pod.uid\": string(pod.UID) \"csi.storage.k8s.io/ephemeral\": \"true\" iff the volume is an ephemeral inline volume\n defined by a CSIVolumeSource, otherwise \"false\"\n\n\"csi.storage.k8s.io/ephemeral\" is a new feature in Kubernetes 1.16. It is only required for drivers which support both the \"Persistent\" and \"Ephemeral\" VolumeLifecycleMode. Other drivers can leave pod info disabled and/or ignore this field. As Kubernetes 1.15 doesn't support this field, drivers can only support one mode when deployed on such a cluster and the deployment determines which mode that is, for example via a command line parameter of the driver.",
"type": [
"boolean",
"null"
]
},
"volumeLifecycleModes": {
"description": "volumeLifecycleModes defines what kind of volumes this CSI volume driver supports. The default if the list is empty is \"Persistent\", which is the usage defined by the CSI specification and implemented in Kubernetes via the usual PV/PVC mechanism. The other mode is \"Ephemeral\". In this mode, volumes are defined inline inside the pod spec with CSIVolumeSource and their lifecycle is tied to the lifecycle of that pod. A driver has to be aware of this because it is only going to get a NodePublishVolume call for such a volume. For more information about implementing this mode, see https://kubernetes-csi.github.io/docs/ephemeral-local-volumes.html A driver can support one or more of these modes and more modes may be added in the future. This field is beta.",
"items": {
"type": [
"string",
"null"
]
},
"type": [
"array",
"null"
],
"x-kubernetes-list-type": "set"
}
},
"type": "object",
"$schema": "http://json-schema.org/schema#"
}
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,6 @@
]
}
},
"required": [
"acceptedNames",
"storedVersions"
],
"type": "object",
"$schema": "http://json-schema.org/schema#"
}
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,6 @@
]
}
},
"required": [
"acceptedNames",
"storedVersions"
],
"type": "object",
"$schema": "http://json-schema.org/schema#"
}
4 changes: 0 additions & 4 deletions master-local/customresourcedefinitionstatus.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,6 @@
]
}
},
"required": [
"acceptedNames",
"storedVersions"
],
"type": "object",
"$schema": "http://json-schema.org/schema#"
}
2 changes: 1 addition & 1 deletion master-local/downwardapivolumefile-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"description": "Required: Selects a field of the pod: only annotations, labels, name and namespace are supported."
},
"mode": {
"description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.",
"description": "Optional: mode bits used to set permissions on this file, must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.",
"format": "int32",
"type": [
"integer",
Expand Down
Loading

0 comments on commit ffc610b

Please sign in to comment.