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 generate #252

Merged
merged 5 commits into from
Aug 5, 2021
Merged

Rbac generate #252

merged 5 commits into from
Aug 5, 2021

Conversation

Weeblin
Copy link
Contributor

@Weeblin Weeblin commented Aug 4, 2021

Made a string of RBAC from GVRs.
#250

@jetstack-bot jetstack-bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Aug 4, 2021
@tfadeyi
Copy link
Contributor

tfadeyi commented Aug 5, 2021

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"`
Copy link

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?

Suggested change
DataGatherers []DataGatherer `yaml:"data-gatherers"`
DataGatherers []DataGatherer `yaml:"data_gatherers"`

Copy link
Contributor

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
@Weeblin Weeblin merged commit 6321e16 into master Aug 5, 2021
@tfadeyi tfadeyi deleted the rbac-generate branch August 6, 2021 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants