Skip to content

Commit 641a167

Browse files
committed
To correct typos and head levels
1 parent cfabf6a commit 641a167

File tree

1 file changed

+12
-13
lines changed

1 file changed

+12
-13
lines changed

articles/openshift/quickstart-openshift-arm-bicep-template.md

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,7 @@ Before running the commands in this quickstart, you might need to run `Connect-A
620620
$rhosPullSecret= Get-Content .\pull-secret.txt -Raw # the pull secret text that was obtained from the Red Hat OpenShift Cluster Manager website
621621
```
622622

623-
### Define the following parameters as environment variables - Powershell
623+
### Define the following parameters as environment variables - PowerShell
624624

625625
```powershell
626626
$resourceGroup="aro-rg" # the new resource group for the cluster
@@ -646,7 +646,7 @@ Register-AzResourceProvider -ProviderNamespace Microsoft.Authorization
646646
New-AzResourceGroup -Name $resourceGroup -Location $location
647647
```
648648

649-
### Create a new service principal and assign roles - Powershell
649+
### Create a new service principal and assign roles - PowerShell
650650

651651
```powershell
652652
$suffix=Get-Random # random suffix for the Service Principal
@@ -657,20 +657,20 @@ New-AzRoleAssignment -ObjectId $azureADAppSp.Id -RoleDefinitionName 'User Access
657657
New-AzRoleAssignment -ObJectId $azureADAppSp.Id -RoleDefinitionName 'Contributor' -ResourceGroupName $resourceGroup -ObjectType 'ServicePrincipal'
658658
```
659659

660-
### Get the Service Principal password - Powershell
660+
### Get the Service Principal password - PowerShell
661661

662662
```powershell
663663
$aadClientSecretDigest = ConvertTo-SecureString -String $azureADAppSp.PasswordCredentials.SecretText -AsPlainText -Force
664664
$aadClientSecretDigest = ConvertTo-SecureString -String $azureADAppSp.PasswordCredentials.SecretText -AsPlainText -Force
665665
```
666666

667-
### Get the service principal for the OpenShift resource provider - Powershell
667+
### Get the service principal for the OpenShift resource provider - PowerShell
668668

669669
```powershell
670670
$rpOpenShift = Get-AzADServicePrincipal -DisplayName 'Azure Red Hat OpenShift RP' | Select-Object -ExpandProperty Id -Property Id -First 1
671671
```
672672

673-
### Check the parameters before deploying the cluster - Powershell
673+
### Check the parameters before deploying the cluster - PowerShell
674674

675675
```powershell
676676
# setup the parameters for the deployment
@@ -688,7 +688,7 @@ $templateParams = @{
688688
Write-Verbose (ConvertTo-Json $templateParams) -Verbose
689689
```
690690

691-
### Deploy the Azure Red Hat OpenShift cluster using the ARM template - Powershell
691+
### Deploy the Azure Red Hat OpenShift cluster using the ARM template - PowerShell
692692

693693
```powershell
694694
New-AzResourceGroupDeployment -ResourceGroupName $resourceGroup @templateParams `
@@ -697,11 +697,11 @@ New-AzResourceGroupDeployment -ResourceGroupName $resourceGroup @templateParams
697697

698698
::: zone-end
699699

700-
## Connect to your cluster - PowerShell
700+
### Connect to your cluster - PowerShell
701701

702702
To connect to your new cluster, review the steps in [Connect to an Azure Red Hat OpenShift 4 cluster](tutorial-connect-cluster.md).
703703

704-
## Clean up resources - PowerShell
704+
### Clean up resources - PowerShell
705705

706706
Once you're done, run the following command to delete your resource group and all the resources you created in this tutorial.
707707

@@ -760,7 +760,7 @@ SP_CLIENT_SECRET=$(jq -r '.password' app-service-principal.json)
760760
SP_OBJECT_ID=$(az ad sp show --id $SP_CLIENT_ID | jq -r '.objectId')
761761
```
762762

763-
### Assign the Contributor role to the new service principal - Azure CLI
763+
### Assign the Contributor role to the new service principal - Azure CLI
764764

765765
```azurecli-interactive
766766
az role assignment create \
@@ -799,11 +799,11 @@ az deployment group create \
799799
--parameters rpObjectId=$ARO_RP_SP_OBJECT_ID
800800
```
801801

802-
## Connect to your cluster - Azure CLI
802+
### Connect to your cluster - Azure CLI
803803

804804
To connect to your new cluster, review the steps in [Connect to an Azure Red Hat OpenShift 4 cluster](tutorial-connect-cluster.md).
805805

806-
## Clean up resources - Azure CLI
806+
### Clean up resources - Azure CLI
807807

808808
Once you're done, run the following command to delete your resource group and all the resources you created in this tutorial.
809809

@@ -824,5 +824,4 @@ Advance to the next article to learn how to configure the cluster for authentica
824824

825825
* [Configure authentication with Azure Active Directory using the command line](configure-azure-ad-cli.md)
826826

827-
* [Configure authentication with Azure Active Directory using the Azure portal and OpenShift web console](configure-azure-ad-cli.md)i
828-
827+
* [Configure authentication with Azure Active Directory using the Azure portal and OpenShift web console](configure-azure-ad-cli.md)i

0 commit comments

Comments
 (0)