Disallow usage of feature flags without a definition
This issue describes an approach to disallow usage of feature flags without YAML definition.
Proposal
- Load feature flags definition in
production
- Disallow changing feature flag state via
API
if feature flag does not have YAML definition - Allow "to skip validation" with
--force
- Present in
Features API
the information if the feature flaghas_definition
- Extend
ChatOps
to supportValid
andObsolete
feature flags and--force
Steps
- Introduce a change in
Feature Flags API
to validate feature flag onPOST
- Return information on
GET
- Make a change to
ChatOps
to allow--force
Edited by Kamil Trzciński