Skip to content

Commit da8d360

Browse files
committed
modify dynamic configuration section name
1 parent 5ee969f commit da8d360

File tree

1 file changed

+9
-16
lines changed

1 file changed

+9
-16
lines changed

articles/azure-app-configuration/reference-kubernetes-provider.md

Lines changed: 9 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ The `spec.keyValues` has the following child properties. The `spec.keyValues.key
4646
|selectors|The list of selectors for key-value filtering|false|object array|
4747
|trimKeyPrefixes|The list of key prefixes to be trimmed|false|string array|
4848
|keyVaults|The settings for Key Vault references|conditional|object|
49-
|refresh|The settings for refreshing the key-values in ConfigMap|false|object|
49+
|refresh|The settings for refreshing the key-values in ConfigMap or Secret|false|object|
5050

5151
If the `spec.keyValues.selectors` property isn't set, all key-values with no label will be downloaded. It contains an array of *selector* objects, which have the following child properties.
5252

@@ -61,7 +61,7 @@ The `spec.keyValues.keyVaults` property has the following child properties.
6161
|---|---|---|---|
6262
|target|The destination of resolved Key Vault references in Kubernetes|true|object|
6363
|auth|The authentication method to access Key Vaults|false|object|
64-
|refresh|The settings for refreshing the data in Secret|false|object|
64+
|refresh|The settings for dynamically resolving Key Vault references|false|object|
6565

6666
The `spec.keyValues.keyVaults.target` property has the following child property.
6767

@@ -96,7 +96,7 @@ The `spec.keyValues.refresh` property has the following child properties.
9696
|Name|Description|Required|Type|
9797
|---|---|---|---|
9898
|monitoring|The key-values that are monitored by the provider, provider automatically refreshes the ConfigMap or Secret if value change in any designated key-value|true|object|
99-
|interval|The interval for ConfigMap's refresh, default value is 30 seconds, must be greater than 1 second|false|duration string|
99+
|interval|The interval for refreshing, default value is 30 seconds, must be greater than 1 second|false|duration string|
100100

101101
The `spec.keyValues.refresh.monitoring.keyValues` is an array of objects, which have the following child properties.
102102

@@ -261,12 +261,11 @@ spec:
261261
servicePrincipalReference: <name-of-secret-containing-service-principal-credentials>
262262
```
263263

264-
### Dynamic configuration
265-
#### Refresh ConfigMap
264+
### App Configuration Sentinel-based Refresh
266265

267-
Setting the `spec.keyValues.refresh` property enables dynamic configuration data refresh in ConfigMap by monitoring designated key-values. The provider periodically polls the key-values, if there is any value change, provider triggers ConfigMap refresh in accordance with the present data in Azure App Configuration.
266+
Setting the `spec.keyValues.refresh` property enables dynamic configuration data refresh in ConfigMap and Secret by monitoring designated key-values. The provider periodically polls the key-values, if there is any value change, provider triggers ConfigMap and Secret refresh in accordance with the present data in Azure App Configuration.
268267

269-
The following sample instructs monitoring two key-values with 1 minute refresh interval.
268+
The following sample instructs monitoring two key-values with 1 minute polling interval.
270269

271270
``` yaml
272271
apiVersion: azconfig.io/v1beta1
@@ -293,10 +292,10 @@ spec:
293292
label: development
294293
```
295294

296-
#### Refresh Secret
297-
Setting `spec.keyValues.keyVaults.refresh` property enables dynamic data refresh in Secret. Any refresh operation triggered by refresh interval will only update the value for a Key Vault secret with latest version. And refresh operation triggered by monitored key-values will make provider poll the key-values, ensuring consistency between Secret's data and Azure App Configuration.
295+
### Dynamically resolve KeyVault References
296+
Setting `spec.keyValues.keyVaults.refresh` property enables provider periodically resolve Key Vault references with latest secret version in Azure App Configuration and update the values for associated Key Vault secrets in Secret.
298297

299-
The following sample instructs monitoring one key-value with different refresh interval for ConfigMap and Secret.
298+
The following sample instructs secret refresh with 10 mintues resolving interval.
300299

301300
``` yaml
302301
apiVersion: azconfig.io/v1beta1
@@ -311,12 +310,6 @@ spec:
311310
selectors:
312311
- keyFilter: app1*
313312
labelFilter: common
314-
refresh:
315-
interval: 1m
316-
monitoring:
317-
keyValues:
318-
- key: sentinelKey
319-
label: common
320313
keyVaults:
321314
target:
322315
secretName: secret-created-by-appconfig-provider

0 commit comments

Comments
 (0)