Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 702 Bytes

File metadata and controls

24 lines (19 loc) · 702 Bytes

Openshift Deployment with Terraform

In order to implement configuration as code and streamline the process of creating an Openshift service account token for GitHub Actions to deploy k8s resources on an Openshift cluster, we utilize a tool called Terraform.

Procedure

  1. Go to the target namespace directory:

    cd <namespace>
  2. Initialize the working directory containing the Terraform configuration files:

    terraform init
  3. Preview the changes Terraform intends to make to your infrastructure:

    terraform plan
  4. Execute the actions specified in the Terraform plan:

    terraform apply