How are access rules usually managed in the context of Kubernetes and Microservices? I have like 10 containers each with their own set of rules I want to apply, but I'm not sure where best to store them.
It'd make the most sense to store them in the application repo, but I can't retrieve them directly from there 🤔
aloof-oxygen-62624
06/19/2023, 1:30 PM
My approach for now will be a monorepo just for Oathkeeper access rules
i
icy-manchester-83109
06/19/2023, 2:15 PM
There is an oathkeeper maester project, which allows you to use CRD for that purpose. That way, you can deploy the rules together with your app. As far as I remember there were however some limitations, as not the entire API exposed by oathkeeper was used. That might have changed meanwhile.
a
aloof-oxygen-62624
06/19/2023, 4:43 PM
That just moves the issue somewhere else, since I still need to get the resources from somewhere to deploy them into the cluster in the first place