File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
124128envVars:
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.
You can’t perform that action at this time.
0 commit comments