OT-CONTAINER-KIT / helm-charts

A repository which that will contain helm charts with best and security practices.
https://ot-container-kit.github.io/helm-charts
49 stars 84 forks source link

Redis-Operator "controller.rediscluster Reconciler error" #39

Closed minimax75 closed 2 years ago

minimax75 commented 2 years ago

Hi,

I have installed the lates redis-operator 0.10.0 via helm. After deploying a new redis cluster via helm I received following error in the operator and only leader pods were created.

1.6565810734977188e+09 ERROR controller.rediscluster Reconciler error {"reconciler group": "redis.redis.opstreelabs.in", "reconciler kind": "RedisCluster", "name": "redis-cluster", "namespace": "default", "error": "poddisruptionbudgets.policy \"redis-cluster-leader\" is forbidden: User \"system:serviceaccount:default:redis-operator\" cannot get resource \"poddisruptionbudgets\" in API group \"policy\" in the namespace \"default\""} sigs.k8s.io/controller-runtime/pkg/internal/controller.(Controller).processNextWorkItem /go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:266 sigs.k8s.io/controller-runtime/pkg/internal/controller.(Controller).Start.func2.2 /go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:227

Looks like the missing right for the operator.