Skip to content

Commit

Permalink
[docs] Update RBAC annotations for example provider (kubernetes-sigs#947
Browse files Browse the repository at this point in the history
)
  • Loading branch information
detiber committed Jun 6, 2019
1 parent 742c9ff commit aa8cb19
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/book/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
5 changes: 3 additions & 2 deletions docs/book/provider_implementations/create_actuators.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit aa8cb19

Please sign in to comment.