Skip to content

Commit

Permalink
updated deploy profisee script and changed cluster issuer to super ad…
Browse files Browse the repository at this point in the history
…min email from support
  • Loading branch information
Naveen Angali authored and Naveen Angali committed Sep 6, 2023
1 parent 6c591af commit 99613b3
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 11 deletions.
8 changes: 4 additions & 4 deletions Azure-ARM/createUIDefinition.json
Original file line number Diff line number Diff line change
Expand Up @@ -142,17 +142,17 @@
"name": "WindowsNodeVersion",
"type": "Microsoft.Common.DropDown",
"label": "AKS Windows node OS edition",
"defaultValue": "windows 2019",
"toolTip": "windows node version to use",
"defaultValue": "Windows 2019",
"toolTip": "As of Profisee Version 2023r2.0 Profisee can run on Server 2022 nodes.",
"constraints": {
"required": true,
"allowedValues": [
{
"label": "windows 2019",
"label": "Windows 2019",
"value": "Windows2019"
},
{
"label": "windows 2022",
"label": "Windows 2022",
"value": "Windows2022"
}
]
Expand Down
11 changes: 5 additions & 6 deletions Azure-ARM/deployprofisee.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@ az feature register --namespace "Microsoft.ContainerService" --name "EnableWorkl
az feature show --namespace "Microsoft.ContainerService" --name "EnableWorkloadIdentityPreview"
az provider register --namespace Microsoft.ContainerService

#Disable built-in AKS file driver, will install further down.
az aks update -n $CLUSTERNAME -g $RESOURCEGROUPNAME --disable-file-driver --yes

#Install dotnet core.
echo $"Installation of dotnet core started.";
curl -fsSL -o dotnet-install.sh https://dot.net/v1/dotnet-install.sh
Expand Down Expand Up @@ -458,12 +455,14 @@ ACRREPOLABEL="${repostring[1],,}"

#Installation of Azure File CSI Driver
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
if [ "$WINDOWS_NODE_VERSION" = "Windows2019" ]; then
#Disable built-in AKS file driver, will install further down.
echo $"Disabling AKS Built-in CSI Driver to install Azure File CSI."
az aks update -n $CLUSTERNAME -g $RESOURCEGROUPNAME --disable-file-driver --yes
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 repo update azurefile-csi-driver
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
Expand Down
Binary file modified profisee-platform-0.1.29.tgz
Binary file not shown.
2 changes: 1 addition & 1 deletion profisee-platform/templates/clusterissuer-profisee.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
spec:
acme:
server: https://acme-v02.api.letsencrypt.org/directory
email: [email protected]
email: {{.Values.profiseeRunTime.adminAccount|quote}}
privateKeySecretRef:
name: letsencrypt
solvers:
Expand Down

0 comments on commit 99613b3

Please sign in to comment.