You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-app-configuration/reference-kubernetes-provider.md
+9-16Lines changed: 9 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,7 +46,7 @@ The `spec.keyValues` has the following child properties. The `spec.keyValues.key
46
46
|selectors|The list of selectors for key-value filtering|false|object array|
47
47
|trimKeyPrefixes|The list of key prefixes to be trimmed|false|string array|
48
48
|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|
50
50
51
51
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.
52
52
@@ -61,7 +61,7 @@ The `spec.keyValues.keyVaults` property has the following child properties.
61
61
|---|---|---|---|
62
62
|target|The destination of resolved Key Vault references in Kubernetes|true|object|
63
63
|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|
65
65
66
66
The `spec.keyValues.keyVaults.target` property has the following child property.
67
67
@@ -96,7 +96,7 @@ The `spec.keyValues.refresh` property has the following child properties.
96
96
|Name|Description|Required|Type|
97
97
|---|---|---|---|
98
98
|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|
100
100
101
101
The `spec.keyValues.refresh.monitoring.keyValues` is an array of objects, which have the following child properties.
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.
268
267
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.
270
269
271
270
``` yaml
272
271
apiVersion: azconfig.io/v1beta1
@@ -293,10 +292,10 @@ spec:
293
292
label: development
294
293
```
295
294
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.
298
297
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.
0 commit comments