k8s icon indicating copy to clipboard operation
k8s copied to clipboard

Oathkeeper Access Rules as Yaml

Open designermonkey opened this issue 2 months ago • 0 comments

Preflight checklist

Ory Network Project

No response

Describe your problem

I want to be able to provide my oathkeeper.accessRules in yaml like is accepted for oathkeeper.config. The current setup is hardcoded to expect rules as a string, which it dumps into a json file in a config map.

Describe your ideal solution

Everything we do is in yaml as we use helm and kustomize to configure our deployments, so having the ability to provide yaml rules instead of json (as a string) would be good.

Idea: change accesRules from a string to:

oathkeeper:
  accessRules:
    format: "json|yaml"
    content: (yaml or json)

Workarounds or alternatives

Other than not use the helm chart beyond dumping it from helm template, I am unsure anad I am trying to figure that out right now.

Version

0.58.0

Additional Context

No response

designermonkey avatar Oct 28 '25 12:10 designermonkey