Skip to content

Commit

Permalink
added infra account admin email address
Browse files Browse the repository at this point in the history
  • Loading branch information
Naveen Angali authored and Naveen Angali committed Mar 27, 2024
1 parent 771a01c commit 146c800
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 3 deletions.
1 change: 1 addition & 0 deletions Azure-ARM/Settings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ sqlServer:
profiseeRunTime:
useLetsEncrypt: $USELETSENCRYPT
adminAccount: "$ADMINACCOUNTNAME"
InfraAdminAccount: "$INFRAADMINACCOUNT"
fileRepository:
accountName: "$FILEREPOACCOUNTNAME"
userName: "$FILEREPOUSERNAME"
Expand Down
8 changes: 8 additions & 0 deletions Azure-ARM/azuredeploy.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,9 @@
"AuthenticationType":{
"type": "string"
},
"InfraAdminAccount":{
"type": "string"
},
"SQLServerCreateNew": {
"type": "String"
},
Expand Down Expand Up @@ -205,6 +208,7 @@
"KubernetesLinuxNodeCount": "[int(parameters('KubernetesLinuxNodeCount'))]",
"KubernetesLinuxNodeSize": "[parameters('KubernetesLinuxNodeSize')]",
"AuthenticationType": "[parameters('AuthenticationType')]",
"InfraAdminAccount": "[parameters('InfraAdminAccount')]",
"KubernetesWindowsNodeCount": "[int(parameters('KubernetesWindowsNodeCount'))]",
"KubernetesWindowsNodeSize": "[parameters('KubernetesWindowsNodeSize')]",
"WindowsNodeVersion": "[parameters('WindowsNodeVersion')]",
Expand Down Expand Up @@ -819,6 +823,10 @@
"name": "AUTHENTICATIONTYPE",
"value": "[variables('AuthenticationType')]"
},
{
"name": "INFRAADMINACCOUNT",
"value": "[variables('InfraAdminAccount')]"
},
{
"name": "WINDOWSNODEVERSION",
"value": "[variables('WindowsNodeVersion')]"
Expand Down
5 changes: 4 additions & 1 deletion Azure-ARM/azuredeploy.parameters.json
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,9 @@
},
"AuthenticationType":{
"value": ""
}
},
"InfraAdminAccount":{
"value": ""
}
}
}
16 changes: 15 additions & 1 deletion Azure-ARM/createUIDefinition.json
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@
]
},
"visible": true
},
},
{
"name": "ProfiseeAdminUserAccount",
"type": "Microsoft.Common.TextBox",
Expand Down Expand Up @@ -925,6 +925,20 @@
},
"visible": "[equals(steps('networking').DNSUpdate,'Yes')]"
},
{
"name": "InfraAdminAccount",
"type": "Microsoft.Common.TextBox",
"label": "Certificate Expirations User",
"defaultValue": "",
"placeholder": "[email protected]",
"toolTip": "Please specify an email address for the user, or group, that should receive email notifications for certificate expiration.",
"constraints": {
"required": true,
"regex": "",
"validationMessage": ""
},
"visible": "[not(equals(steps('networking').HttpsConfigure, 'Yes'))]"
},
{
"name": "UserDefinedHTTPS",
"type": "Microsoft.Common.Section",
Expand Down
1 change: 1 addition & 0 deletions Azure-ARM/deployprofisee.sh
Original file line number Diff line number Diff line change
Expand Up @@ -529,6 +529,7 @@ sed -i -e 's~$OIDCURL~'"$OIDCURL"'~g' Settings.yaml
sed -i -e 's/$CLIENTID/'"$CLIENTID"'/g' Settings.yaml
sed -i -e 's/$OIDCCLIENTSECRET/'"$CLIENTSECRET"'/g' Settings.yaml
sed -i -e 's/$ADMINACCOUNTNAME/'"$ADMINACCOUNTNAME"'/g' Settings.yaml
sed -i -e 's/$INFRAADMINACCOUNT/'"$INFRAADMINACCOUNT"'/g' Settings.yaml
sed -i -e 's~$EXTERNALDNSURL~'"$EXTERNALDNSURL"'~g' Settings.yaml
sed -i -e 's/$EXTERNALDNSNAME/'"$EXTERNALDNSNAME"'/g' Settings.yaml
sed -i -e 's~$LICENSEDATA~'"$LICENSEDATA"'~g' Settings.yaml
Expand Down
Binary file modified profisee-platform-0.1.31.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: {{.Values.profiseeRunTime.adminAccount|quote}}
email: {{.Values.profiseeRunTime.InfraAdminAccount|quote}}
privateKeySecretRef:
name: letsencrypt
solvers:
Expand Down

0 comments on commit 146c800

Please sign in to comment.