mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-04 02:37:36 +00:00
Merge pull request #94910 from yashvardhan-kukreja/issue-94602/fix-comment-declaration-event
Cleaned up: the potentially misleading comment under Event struct
This commit is contained in:
8
api/openapi-spec/swagger.json
generated
8
api/openapi-spec/swagger.json
generated
@@ -10898,7 +10898,7 @@
|
||||
"description": "Event is a report of an event somewhere in the cluster. It generally denotes some state change in the system.",
|
||||
"properties": {
|
||||
"action": {
|
||||
"description": "action is what action was taken/failed regarding to the regarding object. It is machine-readable. This field can have at most 128 characters.",
|
||||
"description": "action is what action was taken/failed regarding to the regarding object. It is machine-readable. This field cannot be empty for new Events and it can have at most 128 characters.",
|
||||
"type": "string"
|
||||
},
|
||||
"apiVersion": {
|
||||
@@ -10938,7 +10938,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"reason": {
|
||||
"description": "reason is why the action was taken. It is human-readable. This field can have at most 128 characters.",
|
||||
"description": "reason is why the action was taken. It is human-readable. This field cannot be empty for new Events and it can have at most 128 characters.",
|
||||
"type": "string"
|
||||
},
|
||||
"regarding": {
|
||||
@@ -10962,11 +10962,12 @@
|
||||
"description": "series is data about the Event series this event represents or nil if it's a singleton Event."
|
||||
},
|
||||
"type": {
|
||||
"description": "type is the type of this event (Normal, Warning), new types could be added in the future. It is machine-readable.",
|
||||
"description": "type is the type of this event (Normal, Warning), new types could be added in the future. It is machine-readable. This field cannot be empty for new Events.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"metadata",
|
||||
"eventTime"
|
||||
],
|
||||
"type": "object",
|
||||
@@ -11105,6 +11106,7 @@
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"metadata",
|
||||
"eventTime"
|
||||
],
|
||||
"type": "object",
|
||||
|
Reference in New Issue
Block a user