Skip to content

Commit

Permalink
updated code to have csi driver fix for windows 2022 nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
Naveen Angali authored and Naveen Angali committed Aug 29, 2023
1 parent 454ee8a commit d416994
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions Azure-ARM/deployprofisee.sh
Original file line number Diff line number Diff line change
Expand Up @@ -225,12 +225,6 @@ if [ "$USEKEYVAULT" = "Yes" ]; then

fi

#Installation of Azure File CSI Driver
echo $"Installation of Azure File CSI Driver started.";
echo $"Adding Azure File CSI Driver repo."
helm repo add azurefile-csi-driver https://raw.githubusercontent.com/kubernetes-sigs/azurefile-csi-driver/master/charts
helm install azurefile-csi-driver azurefile-csi-driver/azurefile-csi-driver --namespace kube-system --set controller.replicas=1
echo $"Azure File CSI Driver installation finished."

#Installation of nginx
echo $"Installation of nginx ingress started.";
Expand Down Expand Up @@ -563,6 +557,17 @@ fi
kubectl delete secret profisee-settings -n profisee --ignore-not-found
kubectl create secret generic profisee-settings -n profisee --from-file=Settings.yaml

#Installation of Azure File CSI Driver
if [ "$ACRREPOLABEL" = "2023r2.preview-win22"]; then
az aks update -n $CLUSTERNAME -g $RESOURCEGROUPNAME --enable-file-driver --yes
else
echo $"Installation of Azure File CSI Driver started.";
echo $"Adding Azure File CSI Driver repo."
helm repo add azurefile-csi-driver https://raw.githubusercontent.com/kubernetes-sigs/azurefile-csi-driver/master/charts
helm install azurefile-csi-driver azurefile-csi-driver/azurefile-csi-driver --namespace kube-system --set controller.replicas=1
echo $"Azure File CSI Driver installation finished."
fi

#################################Install Profisee Start #######################################
echo "Installation of Profisee platform started $(date +"%Y-%m-%d %T")";
helm repo add profisee $HELMREPOURL
Expand Down

0 comments on commit d416994

Please sign in to comment.