jaredhocutt / openshift4-deploy

A set of tools and automation for deploying OpenShift 4 in various environments, primarily focused on deployments in situations that would require using the User-Provisioned Infrastructure (UPI) method to perform the installation.
MIT License
10 stars 9 forks source link

Add support for deploying on Azure #41

Open jaredhocutt opened 4 years ago

dudash commented 4 years ago

I know this is a small part of the total issue, but FYI - for configuring access so that folks don't need to have the az CLI local you can provide instructions for them to: 1) Goto their Azure Active Directory and register an application (to represent this deployer) 2) Generate a secret key for that application (and set an expiration date if desired) 3) Give the application the role of Contributor on your Azure subscription 4) Grab the keys you need and set them into a yaml file for the deployer to use

It's essentially an easier way to do what the OCP Azure pre-install steps tell you to do here: https://docs.openshift.com/container-platform/4.4/installing/installing_azure/installing-azure-account.html#installation-azure-service-principal_installing-azure-account

dudash commented 4 years ago

As a reference, the terraform docs actually cover the steps pretty well here: https://www.terraform.io/docs/providers/azurerm/guides/service_principal_client_secret.html#creating-a-service-principal-in-the-azure-portal

jaredhocutt commented 4 years ago

@dudash This is great info! Thanks for adding that.

I'm hoping to find some time in the next week or two to start working on this. I'll keep you posted on progress and might hit you up with any questions. Thanks!