https://github.com/datadrivers/opa-policies
This repository is a collection of open policy agent(OPA) policies
https://github.com/datadrivers/opa-policies
helm-charts opa-gatekeeper opa-policies
Last synced: 4 months ago
JSON representation
This repository is a collection of open policy agent(OPA) policies
- Host: GitHub
- URL: https://github.com/datadrivers/opa-policies
- Owner: datadrivers
- License: mpl-2.0
- Created: 2020-12-08T11:39:36.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2020-12-13T18:36:14.000Z (over 5 years ago)
- Last Synced: 2025-10-08T22:13:06.557Z (8 months ago)
- Topics: helm-charts, opa-gatekeeper, opa-policies
- Language: Open Policy Agent
- Homepage: https://datadrivers.github.io/opa-policies
- Size: 45.9 KB
- Stars: 2
- Watchers: 16
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# OPA policies collection
This repository is a collection of open policy agent(OPA) policies.
The policies are packed into helm charts and support the opa gatekeeper.
## Requirements
- OPA gatekeeper is installed.
```shell
helm repo add gatekeeper https://open-policy-agent.github.io/gatekeeper/charts
helm repo update
helm install gatekeeper/gatekeeper --generate-name
```
## Usage example
1. Add helm chart repository
```shell
helm repo add opa-policies https://datadrivers.github.io/opa-policies
helm repo update
```
2. Install template via opa-policy chart
```shell
helm install probes-policy opa-policies/opa-constraint-template-probes
```
3. Use opa constrainttemplate in dryrun mode
```shell
kubectl apply -f - <