Skip to content

Commit 449db5b

Browse files
Merge pull request #249673 from schaffererin/csidriveropensourcemigration
Added content for migrations from open-source to AKS-managed
2 parents d6c496b + e9a74bd commit 449db5b

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

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

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,31 @@ Metrics are served from port 8095, but this port isn't exposed outside the pod b
338338
|total_rotation_reconcile_error|The total number of rotation reconciles with error.|`os_type=<runtime os>`, `rotated=<true or false>`, `error_type=<error code>`|
339339
|total_rotation_reconcile_error|The distribution of how long it took to rotate secrets-store content for pods.|`os_type=<runtime os>`|
340340
341+
## Migrate from open-source to AKS-managed Secrets Store CSI Driver
342+
343+
1. Uninstall the open-source Secrets Store CSI Driver using the following `helm delete` command.
344+
345+
```bash
346+
helm delete <release name>
347+
```
348+
349+
> [!NOTE]
350+
> If you installed the driver and provider using deployment YAMLs, you can delete the components using the following `kubectl delete` command.
351+
>
352+
> ```bash
353+
> # Delete AKV provider pods from Linux nodes
354+
> kubectl delete -f https://raw.githubusercontent.com/Azure/secrets-store-csi-driver-provider-azure/master/deployment/provider-azure-installer.yaml
355+
>
356+
> # Delete AKV provider pods from Windows nodes
357+
> kubectl delete -f https://raw.githubusercontent.com/Azure/secrets-store-csi-driver-provider-azure/master/deployment/provider-azure-installer-windows.yaml
358+
> ```
359+
360+
2. Upgrade your existing AKS cluster with the feature using the [`az aks enable-addons`][az-aks-enable-addons] command.
361+
362+
```azurecli-interactive
363+
az aks enable-addons --addons azure-keyvault-secrets-provider --name myAKSCluster --resource-group myResourceGroup
364+
```
365+
341366
## Troubleshooting
342367
343368
For generic troubleshooting steps, see [Azure Key Vault Provider for Secrets Store CSI Driver troubleshooting](https://azure.github.io/secrets-store-csi-driver-provider-azure/docs/troubleshooting/).

0 commit comments

Comments
 (0)