You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating an AKS cluster in Azure there is the option to use a [managed identity](https://learn.microsoft.com/en-us/azure/aks/use-managed-identity) that is assigned to the kubelet. This identity is assigned to the underlying node pool in the AKS cluster and can then be used by the dind-volume-provisioner.
export NODE_SERVICE_PRINCIPAL=$(az aks show -g $RESOURCE_GROUP -n $AKS_NAME --query identityProfile.kubeletidentity.objectId | xargs echo)
420
+
421
+
az role definition create --role-definition @${ROLE_DEFINITIN_FILE}
422
+
az role assignment create --assignee $NODE_SERVICE_PRINCIPAL --scope /subscriptions/$SUBSCRIPTION_ID/resourceGroups/$NODES_RESOURCE_GROUP --role CodefreshDindVolumeProvisioner
423
+
```
424
+
425
+
Deploy Helm chart with the following values:
426
+
427
+
`values.yaml`
428
+
```yaml
429
+
storage:
430
+
backend: azuredisk
431
+
azuredisk:
432
+
location: westcentralus
433
+
resourceGroup: my-resource-group-name
434
+
435
+
mountAzureJson: true
436
+
```
437
+
387
438
### Custom global environment variables
388
439
389
440
You can add your own environment variables to the runtime environment. All pipeline steps have access to the global variables.
@@ -1023,7 +1074,7 @@ Go to [https://<YOUR_ONPREM_DOMAIN_HERE>/admin/runtime-environments/system](http
When creating an AKS cluster in Azure there is the option to use a [managed identity](https://learn.microsoft.com/en-us/azure/aks/use-managed-identity) that is assigned to the kubelet. This identity is assigned to the underlying node pool in the AKS cluster and can then be used by the dind-volume-provisioner.
export NODE_SERVICE_PRINCIPAL=$(az aks show -g $RESOURCE_GROUP -n $AKS_NAME --query identityProfile.kubeletidentity.objectId | xargs echo)
420
+
421
+
az role definition create --role-definition @${ROLE_DEFINITIN_FILE}
422
+
az role assignment create --assignee $NODE_SERVICE_PRINCIPAL --scope /subscriptions/$SUBSCRIPTION_ID/resourceGroups/$NODES_RESOURCE_GROUP --role CodefreshDindVolumeProvisioner
423
+
```
424
+
425
+
Deploy Helm chart with the following values:
426
+
427
+
`values.yaml`
428
+
```yaml
429
+
storage:
430
+
backend: azuredisk
431
+
azuredisk:
432
+
location: westcentralus
433
+
resourceGroup: my-resource-group-name
434
+
435
+
mountAzureJson: true
436
+
```
437
+
438
+
387
439
### Custom global environment variables
388
440
389
441
You can add your own environment variables to the runtime environment. All pipeline steps have access to the global variables.
0 commit comments