-
Notifications
You must be signed in to change notification settings - Fork 25
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 generate #252
Rbac generate #252
Conversation
Lgtm 👍 could you add a description to the PR |
@@ -30,7 +30,7 @@ type Config struct { | |||
OrganizationID string `yaml:"organization_id"` | |||
// ClusterID is the cluster that the agent is scanning. | |||
ClusterID string `yaml:"cluster_id"` | |||
DataGatherers []dataGatherer `yaml:"data-gatherers"` | |||
DataGatherers []DataGatherer `yaml:"data-gatherers"` |
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.
data-gatherers seems inconsistent with cluster_id and organization_id. Would _ be better?
DataGatherers []DataGatherer `yaml:"data-gatherers"` | |
DataGatherers []DataGatherer `yaml:"data_gatherers"` |
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.
👍 We'll see if we can change it in another PR. Changing that now would require a couple of other changes in the platform side also.
Change the DataGatherer struct
Made a string of RBAC from GVRs.
#250