Add missing comments in APF API types

This commit is contained in:
Mike Spreitzer
2021-06-24 13:51:31 -04:00
parent 132e3c4020
commit 179e48c4be
9 changed files with 37 additions and 10 deletions

View File

@@ -11098,17 +11098,20 @@
"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/io.k8s.api.flowcontrol.v1beta1.GroupSubject"
"$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta1.GroupSubject",
"description": "`group` matches based on user group name."
},
"kind": {
"description": "Required",
"description": "`kind` indicates which one of the other fields is non-empty. Required",
"type": "string"
},
"serviceAccount": {
"$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta1.ServiceAccountSubject"
"$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta1.ServiceAccountSubject",
"description": "`serviceAccount` matches ServiceAccounts."
},
"user": {
"$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta1.UserSubject"
"$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta1.UserSubject",
"description": "`user` matches based on username."
}
},
"required": [