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.
This is the default mode of operation, in which oathkeeper-maester is expected to be deployed as a separate deployment. It uses the kubernetes api-server and ConfigMaps to store data.
sidecar
Alternative mode of operation, in which the oathkeeper-maester is expected to be deployed as a sidecar container to the main application. It uses local filesystem to create the access rules file.
Global flags
Name
Description
Default values
metrics-addr
The address the metric endpoint binds to
8080
enable-leader-election
Enable leader election for controller manager. Enabling this will ensure there is only one active controller manager.
false
kubeconfig
Paths to a kubeconfig. Only required if out-of-cluster.
$KUBECONFIG
Controller mode flags
Name
Description
Default values
rulesConfigmapName
Name of the Configmap that stores Oathkeeper rules.
oathkeeper-rules
rulesConfigmapNamespace
Namespace of the Configmap that stores Oathkeeper rules.
oathkeeper-maester-system
rulesFileName
Name of the key in ConfigMap containing the rules.json