-
-
Notifications
You must be signed in to change notification settings - Fork 614
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add feature flag AllowUnrecognizedFeatures (#6056)
By default, Boulder's feature flag code verifies that the list of flags being set (from a JSON file) maps to actually-existing flags. However, this gets in the way of a deployment strategy where feature flags are added to config templates during a staging deploy with "true" or "false" filled in depending on production or staging status - for instance, when rolling out a deprecation to staging ahead of production. If those configs get rolled to prod before the corresponding Boulder deploy, Boulder will refuse to start up, even though it would be fine to start up with the unrecognized flag ignored. The envisioned deployment behavior here is that prod will have AllowUnrecognizedFeatures: true while staging will have it set to false, to ensure that misspellings of feature flag names are caught during staging deploy. As a correlary, this assumes that the list of flags in configs will be the same between staging and prod, with only their values changing.
- Loading branch information
Showing
3 changed files
with
46 additions
and
7 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters