You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
David-Wobrock
changed the title
Upgrade to 0.49.0 breaks templates with Ory functions
Upgrade to 0.49.0 breaks Oathkeeper templates with Ory functions
Oct 1, 2024
oh i think i see the issue, we use the tpl function to allow helm parsing, and since this is using go templates too, it tries to run the functions on helm install/upgrade 🤔
As a workaround i would suggest sideloading the config using a custom config map, as we would need to add an option to enable or disable the templating step
Preflight checklist
Ory Network Project
No response
Describe the bug
We use an Oathkeeper
remote_json
authorizer with a custom payload, that uses theprintIndex
function.See https://github.com/ory/oathkeeper/blob/v0.40.7/x/template.go
However, when doing that and using
0.49.0
we get an error:See example config below:
Reproducing the bug
Relevant log output
No response
Relevant configuration
No response
Version
0.49.0
On which operating system are you observing this issue?
None
In which environment are you deploying?
Kubernetes with Helm
Additional Context
No response
The text was updated successfully, but these errors were encountered: