diff --git a/README.md b/README.md index e377f44c3..ce61a07ff 100644 --- a/README.md +++ b/README.md @@ -19,13 +19,13 @@ az aks update -g $RESOURCE_GROUP -n $MY_CLUSTER --enable-oidc-issuer --enable-wo ``` ### Create an identity and assign permissions -This identity `kaitoprovisioner` is created for the `gpu-povisioner` controller. It is assigned Contributor role for `$RESOURCE_GROUP` to allow operating `$MY_CLUSTER` (e.g., provisioning new nodes in it). +The identity `kaitoprovisioner` is created for the `gpu-povisioner` controller. It is assigned Contributor role for the managed cluster resource to allow changing `$MY_CLUSTER` (e.g., provisioning new nodes in it). ```bash export SUBSCRIPTION="mySubscription" az identity create --name kaitoprovisioner -g $RESOURCE_GROUP export IDENTITY_PRINCIPAL_ID=$(az identity show --name kaitoprovisioner -g $RESOURCE_GROUP --subscription $SUBSCRIPTION --query 'principalId' | tr -d '"') export IDENTITY_CLIENT_ID=$(az identity show --name kaitoprovisioner -g $RESOURCE_GROUP --subscription $SUBSCRIPTION --query 'clientId' | tr -d '"') -az role assignment create --assignee $IDENTITY_PRINCIPAL_ID --scope /subscriptions/$SUBSCRIPTION/resourceGroups/$RESOURCE_GROUP --role "Contributor" +az role assignment create --assignee $IDENTITY_PRINCIPAL_ID --scope /subscriptions/$SUBSCRIPTION/resourceGroups/$RESOURCE_GROUP/providers/Microsoft.ContainerService/managedClusters/$MY_CLUSTER --role "Contributor" ``` diff --git a/charts/kaito/workspace/values.yaml b/charts/kaito/workspace/values.yaml index b5f08d950..2d8934b19 100644 --- a/charts/kaito/workspace/values.yaml +++ b/charts/kaito/workspace/values.yaml @@ -3,7 +3,7 @@ # Declare variables to be passed into your templates. replicaCount: 1 image: - repository: ghcr.io/azure/kaito/workspace + repository: mcr.microsoft.com/aks/kaito/workspace pullPolicy: IfNotPresent tag: 0.0.1 imagePullSecrets: []