This is a collection of sample projects for Cloud Application Developer using Azure Cloud Platform. The sample projects are arranged in different topics about Infrastructure as Code and deployment on Azure supported by Secure DevOps Practices.
Azure Red Hat OpenShift, reference architecture: ARO Reference Architecture
Prerequirements:
- Create service principal to create GitHub Secret (AZURE_CREDENTIALS) used by workflows.
az ad sp create-for-rbac --name "aropocsp" --role contributor \
--scopes /subscriptions/{subscription-id}/resourceGroups/{resource-group} \
--sdk-auth
# Replace {subscription-id}, {resource-group} with the subscription, resource group details
# The command should output a JSON object similar to this:
{
"clientId": "<GUID>",
"clientSecret": "<STRING>",
"subscriptionId": "<GUID>",
"tenantId": "<GUID>",
"resourceManagerEndpointUrl": "<URL>"
(...)
}
Get the service principal object ID for Service Principal "aropocsp", this value will be used as a parameter "aadObjectId"
az ad sp show --id $SP_CLIENT_ID | jq -r '.id'
Get the service principal object ID for the OpenShift resource provider, this value will be used as a parameter "rpObjectId"
az ad sp list --display-name "Azure Red Hat OpenShift RP" --query [0].id -o tsv
- What is Infrastructure as Code?
- Infrastructure as code
- Using IaC on Azure
- Deploy an Azure Red Hat OpenShift cluster with an Azure Resource Manager template or Bicep file
- Installing a cluster on Azure
- Azure Red Hat OpenShift
- Azure Policy
- Azure Policy definition structure
Note: This page is getting updated so make sure to check regularly for new resources.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.