You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tesk-api gets an option to accept access tokens of allow-listed clients, e.g. of a TES gateway that calls TESK with the client credentials grant (elixir-cloud-aai/tesk-api, linked below). The chart has no way to pass arbitrary environment variables to tesk-api, so operators can only use the option once the chart sets it.
Proposed solution
Values under auth (off by default), following the names of the existing auth values, e.g. auth.tokenClients.enabled, .issuer, .jwksUri (optional), .claim (default client_id) and .clients (a list of client IDs), rendered into the tesk-api settings of the tesk-api option.
The chart fails with a clear message if the option is on without an issuer or without clients, or with auth.mode: noauth.
Chart tests (render with the option on and off; the failure cases).
docs/deployment.md: a subsection next to "Authorisation by a claim", with an example and the trust implications; the values reference and the upgrade notes of the next chart release.
Acceptance criteria
With the values set, a deployed tesk-api accepts tokens of the listed clients; without them, the rendered manifests are unchanged.
Docs and chart tests as above.
Dependencies: blocked by the tesk-api option (linked).
Activity