-
Notifications
You must be signed in to change notification settings - Fork 327
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nginx cache for /validate
response and HashiCorp Vault/Consul templates for both Vouch and Nginx config
#76
Comments
I like this idea quite a bit and have thought the same. Often I've used nginx cacheing in a micro-cache scenario in front of static assets. Although 1ms for That said, my estimate is that the Nginx config can be the source of some confusion for those setting up Would you be at all interested in collaborating on a blog post related to this setup? We could then link to it from the README. I'd be happy to help edit, review and test the setup if you cared to take the first swing. And of course I'd do my best to promote the post on reddit, hackernews and elsewhere. Do let me know if that is of interest. |
Hi, I was able to get it to work like this:
|
When it comes to a blog post or something like that, maybe it's just easier to add a comment to the readme pointing to this issue? Saying that we have an example and if someone wants to leverage it they can look here. I've got an example running with HashiCorp Vault agent, Consul template and nginx for vouch-proxy in Kubernetes. If I have time I'll try to do a post about it - but won't have the time in near future unfortunately. But if anyone sees this and wants more info, leave a comment and I'll be able to paste the configuration parts. |
wow, so Vault/Consul template provides the Vouch Proxy and nginx config for k8s? I'd love to read that blog post!! @halkeye you might be interested in this ^^ (@halkeye has constructed helm charts for Vouch) @simongottschlag yeah that's a good idea, I'll link to this issue from the README |
I just use the nginx-ingress annotations https://github.com/vouch/vouch-proxy#running-from-docker which essentially generates the above config for me though I havn't looked at the proxy cache before, because i'm only using it for pet projects on my homelab |
Hi, I'm doing it like this (example for kubernetes-dashboard, using Istio with mTLS):
|
/validate
response and HashiCorp Vault agent and Consul Vouch and Nginx config templates
/validate
response and HashiCorp Vault agent and Consul Vouch and Nginx config templates/validate
response and HashiCorp Vault/Consul templates for both Vouch and Nginx config
@simongottschlag I think this is close-able since the documentation is in this issue above. Let me know if that's not the case |
@simongottschlag am I right? You added only this key? |
Hi!
I think it should be possible to cache valid calls to validate. Not sure exactly how, but should be great to add an example of how to do it to offload vouch-proxy.
The text was updated successfully, but these errors were encountered: