我在k8s控制器的日志中看到以下错误。有人能帮上忙吗?我有自定义资源Postgres,我正在将其用于我的timescaledb pod。
postgreses.kubedb.com \"my-infini-timescaledb\" is forbidden: User \"system:serviceaccount:infini-system:default\" cannot get resource \"postgreses\" in API group \"kubedb.com\" in the namespace \"default\""发布于 2020-12-02 00:15:18
看起来您没有将任何基于角色的访问控制规则附加到pod正在运行的默认命名空间中的infini-system服务帐户。请根据https://kubernetes.io/docs/reference/access-authn-authz/rbac/配置您的角色访问控制
请确保您在接口组kubedb.com中提供了对资源postgreses的get权限
https://stackoverflow.com/questions/65093141
复制相似问题