zalando / postgres-operator

Postgres operator creates and manages PostgreSQL clusters running in Kubernetes
https://postgres-operator.readthedocs.io/
MIT License
4.37k stars 980 forks source link

Orphan cluster role postgres-pod deployed #2711

Closed zhangyue110026 closed 3 months ago

zhangyue110026 commented 3 months ago

We have noticed three instances of an orphan resource in your Kubernetes configuration files. Deploying Kubernetes resources that are not being actively used or referenced by any other resources in the cluster can lead to orphan resources. These orphan resources consume unnecessary resources and can potentially cause confusion or clutter within the cluster. Additionally, we provide anecdotal evidence from topolvm-topolvm#484 regarding the orphan resource defect.

cluster role postgres-pod does not have any relevant cluster role binding which can be considered orphan resource.

Orphan resource should not be deployed or cluster role should have necessary cluster role binding.

Please, answer some short questions which should help us to understand your problem / question better?

bug report

Some general remarks when posting a bug report: