@jkcfg/kubernetes
Version:
jk Kubernetes library
36 lines • 1 kB
JSON
{
"description": "Subject matches the originator of a request, as identified by the request authentication system. There are three ways of matching an originator; by user, group, or service account.",
"properties": {
"group": {
"$ref": "_definitions.json#/definitions/io.k8s.api.flowcontrol.v1alpha1.GroupSubject"
},
"kind": {
"description": "Required",
"type": [
"string",
"null"
]
},
"serviceAccount": {
"$ref": "_definitions.json#/definitions/io.k8s.api.flowcontrol.v1alpha1.ServiceAccountSubject"
},
"user": {
"$ref": "_definitions.json#/definitions/io.k8s.api.flowcontrol.v1alpha1.UserSubject"
}
},
"required": [
"kind"
],
"type": "object",
"x-kubernetes-unions": [
{
"discriminator": "kind",
"fields-to-discriminateBy": {
"group": "Group",
"serviceAccount": "ServiceAccount",
"user": "User"
}
}
],
"$schema": "http://json-schema.org/schema#"
}