Skip to content

Commit

Permalink
Update deployprofisee.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Naveen Angali authored and Naveen Angali committed Sep 1, 2023
1 parent a84a66f commit 5944818
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Azure-ARM/deployprofisee.sh
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,8 @@ ACRREPONAME="${repostring[0],,}";
ACRREPOLABEL="${repostring[1],,}"

#Installation of Azure File CSI Driver
if [ "$ACRREPOLABEL" = "2023r2.preview-win22" ]; then
WINDOWS_NODE_VERSION="$(az aks show -n $CLUSTERNAME -g $RESOURCEGROUPNAME --query "agentPoolProfiles[1].osSku" -o tsv)"
if [ "$WINDOWS_NODE_VERSION" = "Windows2022" ]; then
az aks update -n $CLUSTERNAME -g $RESOURCEGROUPNAME --enable-file-driver --yes
else
echo $"Installation of Azure File CSI Driver started.";
Expand Down

0 comments on commit 5944818

Please sign in to comment.