mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-10-08 14:29:45 +00:00
Add a comment to roleRef to document that it is immutable
This commit is contained in:
4
pkg/generated/openapi/zz_generated.openapi.go
generated
4
pkg/generated/openapi/zz_generated.openapi.go
generated
@@ -39870,7 +39870,7 @@ func schema_k8sio_api_rbac_v1_ClusterRoleBinding(ref common.ReferenceCallback) c
|
||||
},
|
||||
"roleRef": {
|
||||
SchemaProps: spec.SchemaProps{
|
||||
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.",
|
||||
Default: map[string]interface{}{},
|
||||
Ref: ref("k8s.io/api/rbac/v1.RoleRef"),
|
||||
},
|
||||
@@ -40169,7 +40169,7 @@ func schema_k8sio_api_rbac_v1_RoleBinding(ref common.ReferenceCallback) common.O
|
||||
},
|
||||
"roleRef": {
|
||||
SchemaProps: spec.SchemaProps{
|
||||
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.",
|
||||
Default: map[string]interface{}{},
|
||||
Ref: ref("k8s.io/api/rbac/v1.RoleRef"),
|
||||
},
|
||||
|
Reference in New Issue
Block a user