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

Add PersistentVolumeClaims to ClusterRole #34

Closed youvegotmoxie closed 2 years ago

youvegotmoxie commented 2 years ago

Signed-off-by: Michael Beasley michael.beasley@alvaria.com

Resolves:

 /go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:227
1.6492677212931046e+09  ERROR   controller.redis        Reconciler error        {"reconciler group": "redis.redis.opstreelabs.in", "reconciler kind": "Redis", "name": "redis-test", "namespace": "redis-test", "error": "persistentvolumeclaims \"redis-test-redis-test-0\" is forbidden: User \"system:serviceaccount:redis-operator:redis-operator\" cannot delete resource \"persistentvolumeclaims\" in API group \"\" in the namespace \"redis-test\""}

That error can be replicated by using the quay.io/opstree/redis-operator:0.10.0 container image.