Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: 2 days ago
JSON representation

This repository is a collection of open policy agent(OPA) policies

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 - <