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
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.