Skip to content

Commit 9dab8a8

Browse files
authored
Merge pull request #204387 from SreejaBhattacharya-MSFT/patch-31
Changes in az aks addon update commands
2 parents 1bef724 + 440291f commit 9dab8a8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/aks/csi-secrets-store-driver.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -183,19 +183,19 @@ az aks create -n myAKSCluster2 -g myResourceGroup --enable-addons azure-keyvault
183183
Or update an existing cluster with the add-on enabled:
184184

185185
```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
187187
```
188188

189189
To specify a custom rotation interval, use the `rotation-poll-interval` flag:
190190

191191
```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
193193
```
194194

195195
To disable autorotation, use the flag `disable-secret-rotation`:
196196

197197
```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
199199
```
200200

201201
### Sync mounted content with a Kubernetes secret

0 commit comments

Comments
 (0)