-
Notifications
You must be signed in to change notification settings - Fork 53
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: vap update to reduce operations, v1beta1, and fail open #397
feat: vap update to reduce operations, v1beta1, and fail open #397
Conversation
Signed-off-by: Rita Zhang <[email protected]>
03be6f6
to
fe02898
Compare
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
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master open-policy-agent/frameworks#397 +/- ##
==========================================
- Coverage 54.68% 54.68% -0.01%
==========================================
Files 71 71
Lines 5239 5241 +2
==========================================
+ Hits 2865 2866 +1
- Misses 2072 2073 +1
Partials 302 302
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Operations: []admissionregistrationv1alpha1.OperationType{admissionregistrationv1alpha1.OperationAll}, | ||
Rule: admissionregistrationv1alpha1.Rule{APIGroups: []string{"*"}, APIVersions: []string{"*"}, Resources: []string{"*"}}, | ||
RuleWithOperations: admissionregistrationv1beta1.RuleWithOperations{ | ||
/// TODO(ritazh): default for now until we can safely expose these to users |
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.
please create an issue or add to an existing tracking issue so we dont forget this
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.
func (in *Source) GetV1alpha1FailurePolicy() (*admissionv1alpha1.FailurePolicyType, error) { | ||
func (in *Source) GetV1Beta1FailurePolicy() (*admissionv1beta1.FailurePolicyType, error) { | ||
var out admissionv1beta1.FailurePolicyType | ||
/// TODO(ritazh): default for now until the feature is safe to fail close |
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.
same here
No description provided.