File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -183,19 +183,19 @@ az aks create -n myAKSCluster2 -g myResourceGroup --enable-addons azure-keyvault
183
183
Or update an existing cluster with the add-on enabled:
184
184
185
185
```azurecli-interactive
186
- az aks update -g myResourceGroup -n myAKSCluster2 --enable-secret-rotation
186
+ az aks addon update -g myResourceGroup -n myAKSCluster2 -a azure-keyvault-secrets-provider --enable-secret-rotation
187
187
```
188
188
189
189
To specify a custom rotation interval, use the `rotation-poll-interval` flag:
190
190
191
191
```azurecli-interactive
192
- az aks update -g myResourceGroup -n myAKSCluster2 --enable-secret-rotation --rotation-poll-interval 5m
192
+ az aks addon update -g myResourceGroup -n myAKSCluster2 -a azure-keyvault-secrets-provider --enable-secret-rotation --rotation-poll-interval 5m
193
193
```
194
194
195
195
To disable autorotation, use the flag `disable-secret-rotation`:
196
196
197
197
```azurecli-interactive
198
- az aks update -g myResourceGroup -n myAKSCluster2 --disable-secret-rotation
198
+ az aks addon update -g myResourceGroup -n myAKSCluster2 -a azure-keyvault-secrets-provider --disable-secret-rotation
199
199
```
200
200
201
201
### Sync mounted content with a Kubernetes secret
You can’t perform that action at this time.
0 commit comments