-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Add AutoUpdate gRPC service implementation #46544
Conversation
3ff3cf7
to
778a93c
Compare
autoUpdateServiceServer, err := autoupdatev1.NewService(autoupdatev1.ServiceConfig{ | ||
Authorizer: cfg.Authorizer, | ||
Backend: cfg.AuthServer.Services, | ||
Cache: cfg.AuthServer.Services, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this going to be replaced to cfg.AuthServer.Cache
in next pr with cache implementation
lib/authz/permissions.go
Outdated
types.NewRule(types.KindAutoUpdateConfig, services.RO()), | ||
types.NewRule(types.KindAutoUpdateVersion, services.RO()), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to update any of the preset roles?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll move this one to client and cache implementation, we need to have this to be able access resources without auth for find
endpoint
7d55aa3
to
2896303
Compare
* Add gRPC service implementation * CR changes * Add auth for read operation
* Add gRPC service implementation * CR changes * Add auth for read operation
* Add gRPC service implementation * CR changes * Add auth for read operation
* Add gRPC service implementation * CR changes * Add auth for read operation
* Add AutoUpdate gRPC service implementation (#46544) * Add gRPC service implementation * CR changes * Add auth for read operation * Replace service test
In this PR implemented gRPC service for auto updates resources (config/version)