-
Notifications
You must be signed in to change notification settings - Fork 197
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
feat(helm): support custom policies with built-in scanner #1144
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -476,3 +476,19 @@ nodeSelector: {} | |
tolerations: [] | ||
|
||
affinity: {} | ||
|
||
additionalPolicies: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. As far as I know, the Conftest is deprecated and planned for removal. If that's not the case, perhaps it would be good to unify this with There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm also not attached to this name, but it seems to follow in the tradition of other charts in the wild. |
||
library: {} | ||
# kubernetes.rego: | | ||
# << REGO >> | ||
# utils.rego: | | ||
# << REGO >> | ||
policy: {} | ||
# access_to_host_pid: | ||
# rego: | | ||
# << REGO >> | ||
# kinds: Workload | ||
# configmap_with_sensitive_data: | ||
# rego: | | ||
# << REGO >> | ||
# kinds: ConfigMap |
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.
It would be interesting to try to prevent collisions here. Otherwise our beloved YAML will let the last instance of a duplicate key win, which might produce unexpected results.