mongodb / helm-charts

Apache License 2.0
99 stars 92 forks source link

Fail to install leases.coordination.k8s.io RBAC rule in k8s 1.24 for atlas-operator #219

Closed amuraru closed 1 year ago

amuraru commented 1 year ago

What did you do to encounter the bug?

Trying to install atlas-operator helm chart

What did you expect?

Successful installation

What happened instead?

Resource: "rbac.authorization.k8s.io/v1, Resource=roles", GroupVersionKind: "rbac.authorization.k8s.io/v1, Kind=Role"
Name: "atlasoperator-leader-election-role", Namespace: "ns-team-amuraru-mongodb-operator"
for: "STDIN": error when patching "STDIN": roles.rbac.authorization.k8s.io "atlasoperator-leader-election-role" is forbidden: user "https://sts.windows.net/fa7b1]) is attempting to grant RBAC permissions not currently held:
{APIGroups:[""], Resources:["leases"], Verbs:["get" "list" "watch" "create" "update" "patch" "delete"]}
{APIGroups:["coordination.k8s.io"], Resources:["configmaps"], Verbs:["get" "list" "watch" "create" "update" "patch" "delete"]}

Screenshots If applicable, add screenshots to help explain your problem.

Kubernetes Cluster Information