Skip to content

Commit f6e76d4

Browse files
committed
fixup: move docs slightly
Signed-off-by: Todd Baert <todd.baert@dynatrace.com>
1 parent 0ee5df1 commit f6e76d4

1 file changed

Lines changed: 13 additions & 17 deletions

File tree

docs/feature_flag_source.md

Lines changed: 13 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -115,30 +115,26 @@ envVars:
115115
value: <SAS token>
116116
```
117117

118-
Alternative way to provide credentials is to use Kubernetes secrets, for example:
118+
Other types of credentials for Azure Blob Storage are supported; for details see
119+
[AZ credentials config](https://pkg.go.dev/gocloud.dev/blob/azureblob#hdr-URLs).
120+
121+
#### Google Cloud Storage
122+
123+
## Environment variables
124+
125+
`envVars` can be used to pass environment variables to the injected flagd sidecar. Values can be set inline or referenced from Kubernetes secrets:
119126

120127
```yaml
121-
sources:
122-
- source: azblob://my-bucket/test.json # my-bucket - container name
123-
provider: azblob
124128
envVars:
125-
- name: AZURE_STORAGE_ACCOUNT
126-
valueFrom:
129+
- name: MY_VAR
130+
value: my-value # inline value
131+
- name: MY_SECRET_VAR
132+
valueFrom: # value from a Kubernetes secret
127133
secretKeyRef:
128134
name: my-secret
129-
key: account_name
130-
- name: AZURE_STORAGE_SAS_TOKEN
131-
valueFrom:
132-
secretKeyRef:
133-
name: my-secret
134-
key: sas_token
135+
key: my-key
135136
```
136137

137-
Other types of credentials for Azure Blob Storage are supported; for details see
138-
[AZ credentials config](https://pkg.go.dev/gocloud.dev/blob/azureblob#hdr-URLs).
139-
140-
#### Google Cloud Storage
141-
142138
## Sidecar configurations
143139

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

0 commit comments

Comments
 (0)