From a8aca7b2458dd4a2af5b89bce8ce57872b4681cb Mon Sep 17 00:00:00 2001 From: guofei Date: Tue, 31 Oct 2023 11:47:10 -0700 Subject: [PATCH] fix: change chart to use MCR and revise README --- README.md | 2 +- charts/kaito/workspace/values.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e377f44c3..135715f9c 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ 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: []