-
Notifications
You must be signed in to change notification settings - Fork 36
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 tooling for policy library organization. #53
Add tooling for policy library organization. #53
Conversation
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.
Mostly minor comments.
Also, could we add a command to the Makefile to build the policy tool?
pkg/bundlemanager/util.go
Outdated
var bundlePrefix = "bundles.validator.forsetisecurity.org/" | ||
|
||
// BundleAnnotation | ||
func BundleAnnotation(key string) bool { |
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.
Should we call this HasBundleAnnotation
?
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.
works for me, done
pkg/bundlemanager/util.go
Outdated
}) | ||
} | ||
|
||
func ctsToStrs( |
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 name is unclear - could we make a more descriptive one?
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.
yes, this name is horrible. done.
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.
LGTM, only ask is that we add a command to the Makefile for building.
78af0a2
to
83774db
Compare
83774db
to
604bd46
Compare
@morgante please take a look.