Skip to content

Integrate OPA Gatekeeper's ExternalData feature with OpenShift Prometheus to determine if a deployment meets the ratio between resource requests and actual consumption

License

Notifications You must be signed in to change notification settings

danzim/prometheus-provider

Repository files navigation

Go Report Card

prometheus-provider

Integrate OPA Gatekeeper's ExternalData feature with OpenShift Prometheus to determine if a deployment meets the ratio between resource requests and actual consumption

This repo is meant for testing Gatekeeper external data feature. Do not use for production.

Installation

  • Deploy Gatekeeper with external data enabled (--enable-external-data)
helm repo add gatekeeper https://open-policy-agent.github.io/gatekeeper/charts
helm install gatekeeper/gatekeeper  \
    --name-template=gatekeeper \
    --namespace gatekeeper-system --create-namespace \
    --set enableExternalData=true \
    --set controllerManager.dnsPolicy=ClusterFirst,audit.dnsPolicy=ClusterFirst \
    --version 3.12.0

_Note: This repository is currently only working with Gatekeeper 3.12 and the externalData feature in beta.

About

Integrate OPA Gatekeeper's ExternalData feature with OpenShift Prometheus to determine if a deployment meets the ratio between resource requests and actual consumption

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published