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

Support more validation actions for policy bindings #10

Open
f1ames opened this issue Oct 19, 2023 · 1 comment
Open

Support more validation actions for policy bindings #10

f1ames opened this issue Oct 19, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@f1ames
Copy link
Contributor

f1ames commented Oct 19, 2023

In the first version of Monokle Admission Controller, the only validation action supported is Warn (send warning for every policy violation detected).

apiVersion: monokle.io/v1alpha1
kind: MonoklePolicyBinding
metadata:
  name: my-policy-binding
spec:
  policyName: my-policy
  validationActions: [Warn]

We would like to expand this with more options like:

  • Ignore - ignore violations.
  • Audit - send violation details to Monokle Cloud.
  • Deny - block resource creation/update.

Also it could be useful to allow defined action per rule level (so different actions for warnings and errors).

@f1ames f1ames added the enhancement New feature or request label Oct 19, 2023
@olensmar
Copy link
Member

should we use "Audit" instead of "Report" ? (which i've seen others do..)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants