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
{{ message }}
Repository navigation
feat: set the tesk-api CORS origins in the chart #307
tesk-api can now answer cross-origin requests from browser clients (elixir-cloud-aai/tesk-api#187, PR elixir-cloud-aai/tesk-api#195): the setting TESK_API_CORS_ALLOWED_ORIGINS lists the exact origins that may call the API; without it, CORS stays off. The chart has no value for it, so operators can only set it by patching the deployment.
Expected result
A value tesk.cors.allowedOrigins (list, default []) in charts/tesk/values.yaml, documented like auth.serviceInfoPublic, and in the values schema if the chart has one.
templates/common/tesk-deployment.yaml sets TESK_API_CORS_ALLOWED_ORIGINS to the list joined with ,, only when the list isn't empty.
Chart tests cover both cases; the chart docs say which tesk-api release supports the setting (the first release after 2.0.0).
Activity
docs: list IPv6 CORS origins in the short form