-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat!: start command flag refactor (#222)
Corresponding OFO changes [here](open-feature/open-feature-operator#256) <!-- Please use this template for your pull request. --> <!-- Please use the sections that you need and delete other sections --> ## This PR <!-- add the description of the PR here --> - refactors the start command flags to remove `--sync-provider` - multiple `--uri` flags can be passed indicating the use of different existing `sync-provider` types, all of which will work - uses a prefix on the uri to define the `sync-provider`; `http(s)://` will be passed to the http sync, `file://` will be passed to the file path sync and the Kubernetes sync uses the following pattern `core.openfeature.dev/{namespace}/{name}`, this will also allow for the Kubernetes sync to watch multiple `FeatureFlagConfigurations` from different namespaces. - adds deprecation warning when the `--sync-provider` flag is passed as an argument `./flagd start --uri file://etc/flagd/end-to-end.json --uri core.openfeature.dev/test/end-to-end-2` ### Related Issues <!-- add here the GitHub issue that this PR resolves if applicable --> open-feature/open-feature-operator#251 ### Notes <!-- any additional notes for this PR --> ### Follow-up Tasks ### How to test <!-- if applicable, add testing instructions under this section --> Signed-off-by: James Milligan <james@omnant.co.uk> Signed-off-by: James Milligan <75740990+james-milligan@users.noreply.github.com> Co-authored-by: Todd Baert <toddbaert@gmail.com>
- Loading branch information
1 parent
4b9de42
commit 14474cc
Showing
10 changed files
with
239 additions
and
87 deletions.
There are no files selected for viewing
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
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
Oops, something went wrong.