From aa8cb19a2a7df37b64a239d93b5c437b7293da42 Mon Sep 17 00:00:00 2001 From: Jason DeTiberus Date: Wed, 15 May 2019 10:02:28 -0400 Subject: [PATCH] [docs] Update RBAC annotations for example provider (#947) --- docs/book/README.md | 2 +- docs/book/provider_implementations/create_actuators.md | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/book/README.md b/docs/book/README.md index 3e09655e3ae7..15a44e267bc0 100644 --- a/docs/book/README.md +++ b/docs/book/README.md @@ -53,7 +53,7 @@ Including the ability to: - Create reproducible Kubernetes clusters. - Create hybrid cloud environments which optimize for cost, performance, and -reliability. +reliability. ## Resources diff --git a/docs/book/provider_implementations/create_actuators.md b/docs/book/provider_implementations/create_actuators.md index 196af87ce3c7..f2ee2babd935 100644 --- a/docs/book/provider_implementations/create_actuators.md +++ b/docs/book/provider_implementations/create_actuators.md @@ -36,7 +36,7 @@ import ( ) // Add RBAC rules to access cluster-api resources -//+kubebuilder:rbac:groups=cluster.k8s.io,resources=clusters;clusters/status,verbs=get;list;watch +//+kubebuilder:rbac:groups=cluster.k8s.io,resources=clusters;clusters/status,verbs=get;list;watch;update;patch // Actuator is responsible for performing cluster reconciliation type Actuator struct { @@ -106,7 +106,8 @@ const ( ) // Add RBAC rules to access cluster-api resources -//+kubebuilder:rbac:groups=cluster.k8s.io,resources=machines;machines/status;machinedeployments;machinedeployments/status;machinesets;machinesets/status;machineclasses,verbs=get;list;watch;create;update;patch;delete +//+kubebuilder:rbac:groups=cluster.k8s.io,resources=machines;machines/status,verbs=get;list;watch;create;update;patch;delete +//+kubebuilder:rbac:groups=cluster.k8s.io,resources=machineClasses,verbs=get;list;watch //+kubebuilder:rbac:groups=cluster.k8s.io,resources=clusters;clusters/status,verbs=get;list;watch //+kubebuilder:rbac:groups="",resources=nodes;events,verbs=get;list;watch;create;update;patch;delete