Skip to content
Discussion options

You must be logged in to vote

At the end I implemented this at nginx proxy level, by transforming the GET request to a POST before sending it to PostgREST and got it working. Anyway, there are specific use-cases like this one that would need to specify the transaction level for every method even when it is a bad practice.

On the kubernetes side:

It seems that you can use mergeable ingresses for applying specific configs to certain paths, like the endpoint that you would want to transform to a POST. You have to define two ingress, one as the master, and then others as child that would overwrite specific configs from the master. All of them with same host but with different paths defined.

First ingress:

nginx.org/mergea…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by yevon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants