-
Notifications
You must be signed in to change notification settings - Fork 762
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
kubectl plugin for opa gatekeeper #1172
Comments
One possible option would be to use kpt, which has the gatekeeper-validate function that validates yaml against constraints. This walkthrough gives some indication how that might be achieved. |
+1 |
is it possible to start the development of this plugin within the project Gatekeeper? @ritazh or should we start the development with a separate project? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions. |
@developer-guy We now have https://open-policy-agent.github.io/gatekeeper/website/docs/gator#the-gator-test-subcommand. Can you PTAL and see if this addresses your ask? |
As discussed on 8/3/3022 community call, gator currently can verify and test, but it cannot apply. One thought is if |
Describe the solution you'd like
[A clear and concise description of what you want to happen.]
It would be good if we develop a kubectl plugin for OPA Gatekeeper, maybe with this plugin we can apply, validate, and test the Contraint & ConstraintTemplates, or maybe rule written by Rego.
Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
Environment:
kubectl version
):The text was updated successfully, but these errors were encountered: