Skip to content

Commit 133029f

Browse files
committed
feat(flagd): Update documentation for azblob sync type
Signed-off-by: vmai <[email protected]>
1 parent c45f44a commit 133029f

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

chart/open-feature-operator/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ sidecarConfiguration:
4141
## @param sidecarConfiguration.providerArgs Used to append arguments to the sidecar startup command. This value is a comma separated string of key values separated by '=', e.g. `key=value,key2=value2` results in the appending of `--sync-provider-args key=value --sync-provider-args key2=value2`.
4242
providerArgs: ""
4343
## @param sidecarConfiguration.envVarPrefix Sets the prefix for all environment variables set in the injected sidecar.
44+
## Needs to be empty to support azblob sync type
4445
envVarPrefix: "FLAGD"
4546
## @param sidecarConfiguration.defaultSyncProvider Sets the value of the `XXX_SYNC_PROVIDER` environment variable for the injected sidecar container. There are 4 valid sync providers: `kubernetes`, `grpc`, `file` and `http`.
4647
defaultSyncProvider: kubernetes

docs/feature_flag_source.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,23 @@ sources:
8383
selector: 'source=database,app=weatherapp' # flag filtering options
8484
```
8585

86+
### azblob
87+
88+
Given below is an example configuration with provider type `azblob` and supported options,
89+
90+
```yaml
91+
sources:
92+
- source: azblob://my-bucket/test.json # my-bucket - container name
93+
provider: azblob
94+
envVarPrefix: "" # MUST be empty to prevent adding prefix to next env vars
95+
envVars:
96+
- name: AZURE_STORAGE_ACCOUNT
97+
value: <account_name>
98+
- name: AZURE_STORAGE_SAS_TOKEN
99+
value: <SAS token>
100+
```
101+
Other type of credentials for Azure Blob Storage are supported, for details (see [AZ credentials config](https://pkg.go.dev/gocloud.dev/blob/azureblob#hdr-URLs))
102+
86103
## Sidecar configurations
87104

88105
`FeatureFlagSource` provides configurations to the injected flagd sidecar.

0 commit comments

Comments
 (0)