Skip to content

Commit

Permalink
Added role assignment description (#442)
Browse files Browse the repository at this point in the history
  • Loading branch information
satr authored Feb 11, 2025
1 parent bdb59ee commit 5550608
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions public-site/docs/guides/volume-mounts/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ When [storageAccount](/radix-config#blobfuse2-settings) is set, the "Account Nam
### Authentication with Azure Workload Identity
- Enable [Workload Identity](../workload-identity/#configure-workload-identity-in-radix) for the component or job.
- Configure Workload Identity authentication for the Azure Storage Account by setting `useAzureIdentity: true` in the [volumeMounts](/radix-config#blobfuse2-settings) section in [radixconfig.yaml](/radix-config/index.md)
- Add to the storage account a role assignment to the service principal, configured in the `Identity`. The role should be `Storage Account Contributor`. Read [more details](https://github.com/kubernetes-sigs/blob-csi-driver/blob/master/docs/workload-identity-static-pv-mount.md).

![add role to sp to storage account](./add-role-to-sp-to-storage-account.png)

An option `useAzureIdentity` on a component level, defined or left default `false`, can be overridden on an `environmentConfig` level.

Expand All @@ -70,6 +73,7 @@ volumeMounts:
subscriptionId: subscription-id-for-storage-account
```

Secrets with Account Name and Account Key will not be shown in the console, when `useAzureIdentity: true`.

This results in the Kubernetes deployment holding the volume mount in PersistentVolumeClaim and PersistentVolume:

Expand Down

0 comments on commit 5550608

Please sign in to comment.