From 4d3147af99ac299f181e4e2ed1d20c2558a147e5 Mon Sep 17 00:00:00 2001 From: go-bai <599500688@qq.com> Date: Sat, 27 Jan 2024 23:43:46 +0800 Subject: [PATCH] Fix typo in raising-events.md from rule.yaml to role.yaml --- docs/book/src/reference/raising-events.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/book/src/reference/raising-events.md b/docs/book/src/reference/raising-events.md index a1f4ff872a7..a9a698703e0 100644 --- a/docs/book/src/reference/raising-events.md +++ b/docs/book/src/reference/raising-events.md @@ -104,7 +104,7 @@ You must also grant the RBAC rules permissions to allow your project to create E func (r *MyKindReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error) { ``` -And then, run `$ make manifests` to update the rules under `config/rbac/rule.yaml`. +And then, run `$ make manifests` to update the rules under `config/rbac/role.yaml`. [Events]: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#events [Event-Example]: https://github.com/kubernetes/api/blob/6c11c9e4685cc62e4ddc8d4aaa824c46150c9148/core/v1/types.go#L6019-L6024