/terraform-gitops-mas-manage

Module tp populate a gitops repo with the resources to provision mas-manage

Primary LanguageHCLApache License 2.0Apache-2.0

Maximo Application Suite - MAS Manage Application Gitops terraform module

Deploys MAS Manage applications as part of Maximo Application Suite via gitops. To run, download the BOM (Bill of Materials) from the module catalog and build the terraform from there. Specify the MAS-Core instance id - in the instanceid variable. This will create a namespace of the name mas-(instanceid)-manage.

Note if your cluster is not setup for gitops, download the gitops bootstrap BOM from the module catalog first to setup the gitops tooling.

Supported platforms

  • OCP 4.10+

Suggested companion modules

The module itself requires some information from the cluster and needs a namespace to be created. The following companion modules can help provide the required information:

  • Gitops: github.com/cloud-native-toolkit/terraform-tools-gitops
  • Gitops Bootstrap: github.com/cloud-native-toolkit/terraform-util-gitops-bootstrap
  • Namespace: github.com/ibm-garage-cloud/terraform-cluster-namespace
  • Pull Secret: github.com/cloud-native-toolkit/terraform-gitops-pull-secret
  • Catalog: github.com/cloud-native-toolkit/terraform-gitops-cp-catalogs
  • Cert: github.com/cloud-native-toolkit/terraform-util-sealed-secret-cert
  • Cluster: github.com/cloud-native-toolkit/terraform-ocp-login
  • CertManager: github.com/cloud-native-toolkit/terraform-gitops-ocp-cert-manager

Example usage

module "mas_manage" {
  source = "github.com/cloud-native-toolkit/terraform-gitops-mas-manage"

  gitops_config = module.gitops.gitops_config
  git_credentials = module.gitops.git_credentials
  server_name = module.gitops.server_name
  kubeseal_cert = module.gitops.sealed_secrets_cert
  entitlement_key = module.catalog.entitlement_key
  instanceid = "mas8"
  appid = "manage"
  workspace_id = "demo"
  demodata = true
  addons = ["health"]

}