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

The permission of ClusterRole dapr-operator-admin was not correctly defined. #2208

Closed
Li-Yanzhi opened this issue Oct 6, 2020 · 0 comments · Fixed by #2206
Closed

The permission of ClusterRole dapr-operator-admin was not correctly defined. #2208

Li-Yanzhi opened this issue Oct 6, 2020 · 0 comments · Fixed by #2206
Assignees
Labels
kind/bug Something isn't working

Comments

@Li-Yanzhi
Copy link
Contributor

Li-Yanzhi commented Oct 6, 2020

In what area(s)?

/area operator
/area test-and-release

What version of Dapr?

0.11.0, 0.11.1, 0.11.2

Expected Behavior

Pod dapr-operator should not output the error of watching crds of Subscriptions

Actual Behavior

There are duplicated error logs output every second in pod dapr-operator:

E1004 16:07:47.366087       1 reflector.go:307] pkg/mod/k8s.io/client-go@v0.17.2/tools/cache/reflector.go:105: Failed to watch *v1alpha1.Subscription: unknown (get subscriptions.dapr.io)
E1004 16:07:48.374672       1 reflector.go:307] pkg/mod/k8s.io/client-go@v0.17.2/tools/cache/reflector.go:105: Failed to watch *v1alpha1.Subscription: unknown (get subscriptions.dapr.io)

Steps to Reproduce the Problem

Install v0.11.0, v0.11.1, v0.11.2
View output log from Pod dapr-operator
Details are here: https://gitter.im/Dapr/community?at=5f79f37c3d3d0d749a2bb2f8

Release Note

RELEASE NOTE: ADD permission of "Watch" for crds of Subscriptions

@Li-Yanzhi Li-Yanzhi added the kind/bug Something isn't working label Oct 6, 2020
@yaron2 yaron2 added this to To do in 1.0.0 Milestone 1 via automation Oct 6, 2020
@yaron2 yaron2 moved this from To do to In progress in 1.0.0 Milestone 1 Oct 6, 2020
@youngbupark youngbupark linked a pull request Oct 6, 2020 that will close this issue
7 tasks
1.0.0 Milestone 1 automation moved this from In progress to Review Oct 7, 2020
@artursouza artursouza moved this from Review to Done in 1.0.0 Milestone 1 Oct 8, 2020
@artursouza artursouza added this to Release in 1.0.0 Milestone Oct 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

1 participant