kedacore / charts

Helm charts for KEDA

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ClusterRole for keda-add-ons-http does not allow for HTTPScaledObject get

jocelynthode opened this issue · comments

Expected Behavior

the http-interceptor should be able to get the HTTPScaledObjects at the cluster scope to be able to build its routing table

Actual Behavior

The http-interceptor cannot get the HTTPScaledObjects at the cluster scope.

E0621 14:27:52.352348       1 reflector.go:148] k8s.io/client-go@v0.27.1/tools/cache/reflector.go:231: Failed to watch *v1alpha1.HTTPScaledObject: failed to list *v1alpha1.HTTPScaledObject: httpscaledobjects.http.keda.sh is forbidden: User "system:serviceaccount:keda:keda-add-ons-http-interceptor" cannot list resource "httpscaledobjects" in API group "http.keda.sh" at the cluster scope

Steps to Reproduce the Problem

  1. Install keda-add-ons-http 0.5.0
  2. Check the logs of the http-interceptor

Same issue for the external-scaler