Skip to content

Commit d2a21c6

Browse files
Create the cluster identity in hack/devtools/local_dev_env.sh (#3910)
1 parent d4cdcec commit d2a21c6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

hack/devtools/local_dev_env.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,12 @@ setup_platform_identity() {
224224
create_platform_identity_and_assign_role "${operatorName}" "${roleDefinitionId}"
225225

226226
done <<< "$platformWorkloadIdentityRoles"
227+
228+
# Create the cluster identity
229+
echo "INFO: Creating cluster identity under RG ($RESOURCEGROUP) and Sub Id ($AZURE_SUBSCRIPTION_ID)"
230+
echo ""
231+
232+
create_platform_identity_and_assign_role "Cluster" "ef318e2a-8334-4a05-9e4a-295a196c6a6e"
227233
}
228234

229235
cluster_msi_role_assignment() {

0 commit comments

Comments
 (0)