Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hotfix:部署nacos-operator-all.yaml时operator提示 cannot get resource "leases" in API group "coordination.k8s.io" #407

Conversation

zcerhub
Copy link

@zcerhub zcerhub commented Apr 10, 2023

1.修改使用kubectl apply -f nacos-operator-all.yaml方式部署时出现cannot get resou……rce "leases" in API group "coordination.k8s.io"

2.在nacos的clusterrole中给leases授予的verbs太多了,参考eck:https://www.elastic.co/guide/en/cloud-on-k8s/master/k8s-elastic-agent-fleet-quickstart.html和argo workflow https://github.com/argoproj/argo-workflows/blob/master/manifests/cluster-install/workflow-controller-rbac/workflow-controller-role.yaml。针对lease授予get、create和update

@wilsonwu
Copy link
Contributor

Seems dup with #387

@paderlol
Copy link
Collaborator

已经有修复了,所以关闭这个pr

@paderlol paderlol closed this Apr 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants