ory / k8s

Kubernetes Helm Charts for the ORY ecosystem.
https://k8s.ory.sh/helm
Apache License 2.0
336 stars 259 forks source link

[oathkeeper] allow to add additional containers #510

Closed omerlh closed 2 years ago

omerlh commented 2 years ago

Preflight checklist

Describe your problem

Until ory/oathkeeper#969 is resolved, I need to add a proxy that will add authentication headers to the request to the authorization server. I would like to add a sidecar to oathkeeper chart so I could run Nginx (or any other proxy) that is capable of adding the authorization header before passing the request to upstream.

Describe your ideal solution

Adding something like .sidecar to the chart with full container spec so I could define additional containers on the chart. I will probably also need to mount volumes for Nginx config / authentication to the authorization credentials.

Workarounds or alternatives

Running the proxy as another deployment (insecure), fixing the original issue in oathkeeper or forking the chart.

Version

latest

Additional Context

No response

Demonsthere commented 2 years ago

Hi there! Oathkeeper already supports extraContainers, which can be set using .Values.deployment.extraContainers :)