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 now serves the Swagger UI only when TESK_API_SWAGGER_UI_ENABLED is true (off by default; elixir-cloud-aai/tesk-api#80, from tesk-api 1.2.0). Values other than true or false stop the app. The chart has no value for this setting, so deployments can't turn the Swagger UI on without editing the chart.
How?
Add a chart value for the setting, off by default, named following Helm's conventions (camelCase, enabled toggle), passed to the API as TESK_API_SWAGGER_UI_ENABLED.
Reject values other than true and false when rendering, rather than letting the API fail at startup.
Document it in the configuration reference, the deployment docs and the upgrade notes: turning it on serves the Swagger UI publicly; enable only where needed.
Acceptance criteria
The chart has a value for the Swagger UI, off by default, with tests.
The value is documented in the configuration reference, the deployment docs and the upgrade notes.
Activity