Skip to content

Reference Implementation about Azure Red Hat OpenShift. Build and Deploy Microservices to ARO based on DevSecOps Practices

Notifications You must be signed in to change notification settings

oaviles/hello_ARO

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PoC about Azure Red Hat OpenShift

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

Other Resources

Check More DevSquad Projects

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 [email protected] with any additional questions or comments.

About

Reference Implementation about Azure Red Hat OpenShift. Build and Deploy Microservices to ARO based on DevSecOps Practices

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published