Skip to content

Commit

Permalink
fix: doc update
Browse files Browse the repository at this point in the history
Signed-off-by: Pradeep <[email protected]>
  • Loading branch information
pradeepbbl committed Oct 28, 2024
1 parent 01df54c commit bfef786
Showing 1 changed file with 18 additions and 7 deletions.
25 changes: 18 additions & 7 deletions docs/reference/sync-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ See [syncs](../concepts/syncs.md) for a conceptual overview.
Any URI passed to flagd via the `--uri` (`-f`) flag must follow one of the 6 following patterns with prefixes to ensure that
it is passed to the correct implementation:

| Implied Sync Provider | Prefix | Example |
|---------------------------------------|------------------------------------|-------------------------------------|
| `kubernetes` | `core.openfeature.dev` | `core.openfeature.dev/default/my-crd` |
| `file` | `file:` | `file:etc/flagd/my-flags.json` |
| `http` | `http(s)://` | `https://my-flags.com/flags` |
| `grpc` | `grpc(s)://` | `grpc://my-flags-server` |
| Implied Sync Provider | Prefix | Example |
| --------------------- | ---------------------- | ------------------------------------- |
| `kubernetes` | `core.openfeature.dev` | `core.openfeature.dev/default/my-crd` |
| `file` | `file:` | `file:etc/flagd/my-flags.json` |
| `http` | `http(s)://` | `https://my-flags.com/flags` |
| `grpc` | `grpc(s)://` | `grpc://my-flags-server` |
| &nbsp;[grpc](#custom-grpc-target-uri) | `[ envoy \| dns \| uds\| xds ]://` | `envoy://localhost:9211/test.service` |
| `gcs` | `gs://` | `gs://my-bucket/my-flags.json` |
| `gcs` | `gs://` | `gs://my-bucket/my-flags.json` |
| `azblob` | `azblob://` | `azblob://my-container/my-flags.json` |

### Custom gRPC Target URI
Expand All @@ -32,6 +32,17 @@ and one custom resolver for `envoy` proxy resolution. For more details, please r
```
>>>>>>> 9045a1d (fix: doc update)
### Custom gRPC Target URI

Apart from default `dns` resolution, Flagd also support different resolution method e.g. `xds`. Currently, we are supporting all [core resolver](https://grpc.io/docs/guides/custom-name-resolution/)
and one custom resolver for `envoy` proxy resolution. For more details, please refer the
[RFC](https://github.com/open-feature/flagd/blob/main/docs/reference/specifications/proposal/rfc-grpc-custom-name-resolver.md) document.

```shell
./bin/flagd start -x --uri envoy://localhost:9211/test.service
```
>>>>>>> de5dc6b (fix: doc update)
## Source Configuration

While a URI may be passed to flagd via the `--uri` (`-f`) flag, some implementations may require further configurations.
Expand Down

0 comments on commit bfef786

Please sign in to comment.