kubeshop / monokle-cli

CLI for Monokle core validation library
20 stars 3 forks source link

Introduce command to generate Policy and PolicyBinding for admission controller #33

Open f1ames opened 1 year ago

f1ames commented 1 year ago

Monokle Admission Controller will allow both syncing policy from the Cloud or just creating one manually (this what existing version does). For manual creation of policy and policy binding CRDs it will be useful to have some kind of wizard / interactive guide.

We could introduce command in CLI which will guide the users through this process (or could be used as single call command with flags). It should be possible to configure which plugins should be used for validation (for policy CRD) and to what namespaces it should be applied (for policy binding CRD).