Files
nexodus/deploy/overlays/dev/api_host_env_patch.yaml
T
Dave Tucker 87b9a5db1e Use go-oidc-agent for authentication (#204)
* Use go-oidc-agent for authentication

Creates a "backend-for-frontend" using go-oidc-agent which now handles
authentication on the clients behalf. This avoids us having to populate
client-id/client-secret on every client since the backend now provides
this information to the frontend.

Signed-off-by: Dave Tucker <dave@dtucker.co.uk>

* Use go-oidc-agent for cli

Signed-off-by: Dave Tucker <dave@dtucker.co.uk>

* deploy: Kustomize the kube deployment

Signed-off-by: Dave Tucker <dave@dtucker.co.uk>

* Move integration tests to use kind

Signed-off-by: Dave Tucker <dave@dtucker.co.uk>

* Fix GH workflow

Signed-off-by: Dave Tucker <dave@dtucker.co.uk>

* tests: Remove old tests

Signed-off-by: Dave Tucker <dave@dtucker.co.uk>

* client: Fix missing id_token in Device Flow

Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
2022-12-02 12:10:14 -05:00

13 lines
219 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: backend-web
spec:
template:
spec:
containers:
- name: backend-web
env:
- name: DOMAIN
value: api.apex.local