flagr icon indicating copy to clipboard operation
flagr copied to clipboard

EVAL MODE = TRUE Disables UI

Open Sayeedbetgeri opened this issue 3 years ago • 1 comments

https://github.com/checkr/flagr/blob/d4b7b279061d85b740cd52aaf7379180272adaca/pkg/config/env.go#L44

EVALONLYMODE Disables UI access we cannot even see the enabled/diabled flagKeys Any alternative on UI to at least fetch read only values to know what flag keys we have on UI.

Sayeedbetgeri avatar Jun 25 '21 10:06 Sayeedbetgeri

There're two reasons UI is not enabled for FLAGR_EVAL_ONLY_MODE

  • UI talks the crud API set, which is not enabled because FLAGR_EVAL_ONLY_MODE can only read from the in-memory cache, and doesn't support any changes to the data source
  • FLAGR_EVAL_ONLY_MODE will derive the source of truth from either json_file or json_http, and we can assume that those files are created from a normal flagr deployment or source-code controlled place.

zhouzhuojie avatar Jul 26 '21 19:07 zhouzhuojie

Stale issue message

github-actions[bot] avatar Aug 26 '22 21:08 github-actions[bot]