Add a comment to roleRef to document that it is immutable
This commit is contained in:
4
api/openapi-spec/swagger.json
generated
4
api/openapi-spec/swagger.json
generated
@@ -12947,7 +12947,7 @@
|
||||
},
|
||||
"roleRef": {
|
||||
"$ref": "#/definitions/io.k8s.api.rbac.v1.RoleRef",
|
||||
"description": "RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error."
|
||||
"description": "RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. This field is immutable."
|
||||
},
|
||||
"subjects": {
|
||||
"description": "Subjects holds references to the objects the role applies to.",
|
||||
@@ -13132,7 +13132,7 @@
|
||||
},
|
||||
"roleRef": {
|
||||
"$ref": "#/definitions/io.k8s.api.rbac.v1.RoleRef",
|
||||
"description": "RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error."
|
||||
"description": "RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. This field is immutable."
|
||||
},
|
||||
"subjects": {
|
||||
"description": "Subjects holds references to the objects the role applies to.",
|
||||
|
@@ -96,7 +96,7 @@
|
||||
}
|
||||
],
|
||||
"default": {},
|
||||
"description": "RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error."
|
||||
"description": "RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. This field is immutable."
|
||||
},
|
||||
"subjects": {
|
||||
"description": "Subjects holds references to the objects the role applies to.",
|
||||
@@ -331,7 +331,7 @@
|
||||
}
|
||||
],
|
||||
"default": {},
|
||||
"description": "RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error."
|
||||
"description": "RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. This field is immutable."
|
||||
},
|
||||
"subjects": {
|
||||
"description": "Subjects holds references to the objects the role applies to.",
|
||||
|
Reference in New Issue
Block a user