-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
41 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
# Change Log | ||
|
||
## [Unreleased] | ||
## 0.0.1 | ||
|
||
- Initial release | ||
* Install Open Policy Agent as an admission controller | ||
* Deploy `.rego` files to the `opa` namespace to participate in admission control | ||
* List policies in the Kubernetes cluster explorer without changing to the `opa` namespace |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,24 @@ | ||
# Open Policy Agent for Kubernetes for VS Code | ||
|
||
This snappily-titled extension helps you to test your Open Policy Agent policies | ||
(`.rego` files) in a Kubernetes development cluster. It provides the following features: | ||
|
||
* One-click install of Open Policy Agent as an admission controller, together | ||
with supporting configuration such as the standard 'system main' policy hook | ||
and having it read from Kubernetes configmaps in the `opa` namespace | ||
* While editing a `.rego` file, deploy it as a configmap in the `opa` namespace | ||
where the Open Policy Agent will pick it up and start enforcing it | ||
* View policies without needing to switch to the `opa` namespace and with visual | ||
feedback on their status. | ||
|
||
## Notes | ||
|
||
**This is a very early iteration - expect some fit and finish to be missing!** For | ||
example, you can currently see that a policy has errors but you can't see what they | ||
are. It's all very much work in progress! | ||
|
||
**The deployment configuration is designed for convenience of development, not for secure deployment.** | ||
If you're putting Open Policy Agent into production, _design deployment strategies for production_. | ||
For example, you may want to deploy policies using bundles and servers rather than config maps. | ||
And you certainly want to be conscious about permissions and roles. **Don't use this extension | ||
to deploy OPA to production.** |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters