Table of Contents generated with DocToc
ORY Maester is a Kubernetes controller that watches for instances of rules.oathkeeper.ory.sh/v1alpha1
custom resource (CR) and creates or updates the Oathkeeper ConfigMap with Access Rules found in the CRs. The controller passes the Access Rules as an array in a format recognized by the Oathkeeper.
The project is based on Kubebuilder
- recent version of Go language with support for modules (e.g: 1.12.6)
- make
- kubectl
- kustomize
- kind for local integration testing
- ginkgo for local integration testing
- access to K8s environment: minikube or KIND (https://github.com/kubernetes-sigs/kind), or a remote K8s cluster
make
to build the binarymake test
to run testsmake test-integration
to run integration tests with local KIND environment
Other targets require a working K8s environment.
Set KUBECONFIG
environment variable to the proper value.
make install
to generate CRD file from go sources and install it in the clustermake run
to run controller locally
Refer to the Makefile for the details.