ojob ojob.io/kube/genOAuthProxy app=myapp ns=default port=8080 target=http://myapp:80,http://myapp2:80/abc config=oauth2-proxy.cfg
Generates a skeleton for a side proxy job to handle oauth authentication through reverse proxy
Name | Description |
---|---|
app | The name of the app |
ns | The kubernetes namespace to use |
port | The port to listen to |
target | The target to reverse proxy comma-separated |
config | The oauth2-proxy configuration file (creates a sample if not exists) |