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

rbac 配置bug #109

Open
silenceGuo opened this issue Dec 28, 2021 · 0 comments
Open

rbac 配置bug #109

silenceGuo opened this issue Dec 28, 2021 · 0 comments

Comments

@silenceGuo
Copy link

// +kubebuilder:rbac:groups=core,resources=services,verbs=get;list;watch;create;update;patch;delete
这里应该用// +kubebuilder:rbac:groups="",resources=services,verbs=get;list;watch;create;update;patch;delete
services组是core 应该用”“空字符串就好了。不然做成镜像部署到k8s中会一直报错。提示没有权限
7bdd550a4150a2d40afa2aa6b7a1562

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

No branches or pull requests

1 participant