DEV Community

Discussion on: Selecting a Kubernetes Serverless Framework

 
rasentry profile image
Dmitriy Vatsuro

You can protect your services with a oauth2_proxy. Take a look at this article.

And I don't know anything about messaging bus in these frameworks.

Thread Thread
 
mikeyglitz profile image
mikeyGlitz

Probably not the ideal way to protect openfaas, but I managed to set up the gateway using oauth2_proxy as recommended.

Using the helm chart, I had to disable basic authentication and the generation of the authentication password.

I used annotations to configure the ingress routing rules to pass through oauth2_proxy before reaching the openfaas gateway

This setup is demonstrated in the Ansible role I've created within my cluster initialization playbook:
github.com/mikeyGlitz/k3s-home-clu...