Setup - OpenShift Terraform (3.0)
You can use this as a reference or modify accordingly with your infrastructure standards, Please refer the Pre-installation - Openshift (3.0) page for the AWS service list required for MZ installation in AWS
Working With the Infrastructure Template
Get the latest infrastructure templates from /wiki/spaces/DRXXE/pages/6194875.
Download the template file and unzip it to a new folder.$ cd <your work folder> $ tar xzvf mz10-aws.tgz
The procedures and steps below are specific only for Openshift clusters.
Set up Openshift Cluster
Set up the Openshift cluster on your server. You may refer to https://docs.openshift.com/container-platform/4.7/installing/installing_bare_metal/installing-bare-metal.html for the steps on setting up an Openshift cluster.
Note!
It is important that you explicitly set up the SCC with the following strategies:
RunAsAny
for RUNASUSERRunAsAny
for FSGROUP
You should also bind your SCC to a Service Account for Openshift. To point into using your defined Service Account, you can modify the serviceAccountName properties in the values.yaml file to your own.
Warning!
You are required to give your Service Account Name the nonroot access to allow for the installation of the . You may use the following command to grant the nonroot access to your Service Account Name.
oc adm policy add-scc-to-user nonroot -z <service account name> -n <namespace>