Skip to content

Commit

Permalink
updated script so super admin will be owner on App registration
Browse files Browse the repository at this point in the history
  • Loading branch information
Naveen Angali authored and Naveen Angali committed Oct 4, 2023
1 parent 881e3de commit 9dc705f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Azure-ARM/azuredeploy.json
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@
"count": "[variables('KubernetesLinuxNodeCount')]",
"vmSize": "[variables('KubernetesLinuxNodeSize')]",
"osDiskSizeGB": 100,
"maxPods": 30,
"maxPods": 45,
"type": "VirtualMachineScaleSets",
"orchestratorVersion": "[variables('KubernetesVersion')]",
"enableNodePublicIP": false,
Expand All @@ -525,7 +525,7 @@
"count": "[variables('KubernetesWindowsNodeCount')]",
"vmSize": "[variables('KubernetesWindowsNodeSize')]",
"osDiskSizeGB": 100,
"maxPods": 30,
"maxPods": 15,
"type": "VirtualMachineScaleSets",
"orchestratorVersion": "[variables('KubernetesVersion')]",
"enableNodePublicIP": false,
Expand Down
4 changes: 4 additions & 0 deletions Azure-ARM/deployprofisee.sh
Original file line number Diff line number Diff line change
Expand Up @@ -592,6 +592,10 @@ fi
kubectl delete secret profisee-settings -n profisee --ignore-not-found
kubectl create secret generic profisee-settings -n profisee --from-file=Settings.yaml

#Adding this only in dev environment so SuperAdmin can edit the app registration values. Please do not implement this in Prod
ObjectId="$(az ad user show --id $ADMINACCOUNTNAME --query id -o tsv)"
echo $"ObjectId of ADMIN is $ObjectId";
az ad app owner add --id $CLIENTID --owner-object-id $ObjectId


#################################Install Profisee Start #######################################
Expand Down

0 comments on commit 9dc705f

Please sign in to comment.