Skip to content

Commit

Permalink
fix: add list and watch access for service accounts to cluster role (k…
Browse files Browse the repository at this point in the history
…edacore#2410)

* fix: add list and watch access for service accounts to cluster role

Signed-off-by: Jorge Turrado <jorge.turrado@docplanner.com>

* Update changelog

Signed-off-by: Jorge Turrado <jorge.turrado@docplanner.com>
  • Loading branch information
Jorge Turrado Ferrero authored and Zbynek Roubalik committed Jan 4, 2022
1 parent 09250e5 commit 74f10af
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions controllers/keda/scaledobject_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ import (
// +kubebuilder:rbac:groups="",resources=configmaps;configmaps/status;events,verbs="*"
// +kubebuilder:rbac:groups="",resources=pods;services;services;secrets;external,verbs=get;list;watch
// +kubebuilder:rbac:groups="*",resources="*/scale",verbs="*"
// +kubebuilder:rbac:groups="",resources="serviceaccounts",verbs=list;watch
// +kubebuilder:rbac:groups="*",resources="*",verbs=get
// +kubebuilder:rbac:groups="apps",resources=deployments;statefulsets,verbs=list;watch
// +kubebuilder:rbac:groups="coordination.k8s.io",resources=leases,verbs="*"
Expand Down

0 comments on commit 74f10af

Please sign in to comment.