@jkcfg/kubernetes
Version:
jk Kubernetes library
60 lines • 2.48 kB
JSON
{
"x-kubernetes-group-version-kind": [
{
"Kind": "Secret",
"Version": "v1",
"Group": ""
}
],
"$schema": "http://json-schema.org/schema#",
"type": "object",
"description": "Secret holds secret data of a certain type. The total bytes of the values in the Data field must be less than MaxSecretSize bytes.",
"properties": {
"kind": {
"type": [
"string",
"null"
],
"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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds"
},
"data": {
"additionalProperties": {
"type": [
"string",
"null"
],
"format": "byte"
},
"type": "object",
"description": "Data contains the secret data. Each key must be a valid DNS_SUBDOMAIN or leading dot followed by valid DNS_SUBDOMAIN. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4"
},
"apiVersion": {
"type": [
"string",
"null"
],
"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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources"
},
"stringData": {
"additionalProperties": {
"type": [
"string",
"null"
]
},
"type": "object",
"description": "stringData allows specifying non-binary secret data in string form. It is provided as a write-only convenience method. All keys and values are merged into the data field on write, overwriting any existing values. It is never output when reading from the API."
},
"type": {
"type": [
"string",
"null"
],
"description": "Used to facilitate programmatic handling of secret data."
},
"metadata": {
"description": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata",
"$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"
}
}
}