Skip to content

Commit 7b09bbf

Browse files
committed
add kubelet example
1 parent ed73cfa commit 7b09bbf

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

articles/azure-arc/kubernetes/tutorial-akv-secrets-provider.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Use Azure Key Vault Secrets Provider extension to fetch secrets into Azure Arc-enabled Kubernetes clusters
33
description: Learn how to set up the Azure Key Vault Provider for Secrets Store CSI Driver interface as an extension on Azure Arc enabled Kubernetes cluster
44
ms.custom: ignite-2022
5-
ms.date: 03/03/2023
5+
ms.date: 03/06/2023
66
ms.topic: tutorial
77
author: mayurigupta13
88
ms.author: mayg
@@ -374,7 +374,7 @@ kubectl exec busybox-secrets-store-inline -- cat /mnt/secrets-store/DemoSecret
374374

375375
## Additional configuration options
376376

377-
The Azure Key Vault Secrets Provider extension supports [Helm chart configurations](https://github.com/Azure/secrets-store-csi-driver-provider-azure/blob/master/charts/csi-secrets-store-provider-azure/README.md#configuration). You can enable any of these configurable parameters as needed for your deployment.
377+
The Azure Key Vault Secrets Provider extension supports [Helm chart configurations](https://github.com/Azure/secrets-store-csi-driver-provider-azure/blob/master/charts/csi-secrets-store-provider-azure/README.md#configuration).
378378

379379
The following configuration settings are frequently used with the Azure Key Vault Secrets Provider extension:
380380

@@ -396,6 +396,13 @@ You can also change these settings after installation by using the `az k8s-exten
396396
az k8s-extension update --cluster-name $CLUSTER_NAME --resource-group $RESOURCE_GROUP --cluster-type connectedClusters --name akvsecretsprovider --configuration-settings secrets-store-csi-driver.enableSecretRotation=true secrets-store-csi-driver.rotationPollInterval=3m secrets-store-csi-driver.syncSecret.enabled=true
397397
```
398398

399+
You can use other configuration settings as needed for your deployment. For example, to change the kubelet root directory while creating a cluster, modify the az k8s-extension create command:
400+
401+
```azurecli-interactive
402+
az k8s-extension create --cluster-name $CLUSTER_NAME --resource-group $RESOURCE_GROUP --cluster-type connectedClusters --extension-type Microsoft.AzureKeyVaultSecretsProvider --name akvsecretsprovider --configuration-settings linux.kubeletRootDir=/path/to/kubelet secrets-store-csi-driver.enable secrets-store-csi-driver.linux.kubeletRootDir=/path/to/kubelet
403+
```
404+
405+
399406
## Uninstall the Azure Key Vault Secrets Provider extension
400407

401408
To uninstall the extension, run the following command:

0 commit comments

Comments
 (0)