Skip to content

Latest commit

 

History

History

tsmgr

Terraform for installing Tanzu Service Manager (TSMGR)

Uses kubernetes, helm and k14s Terraform providers to install TSMGR.

TSMGR enables operators to provide app developers with access to services through the cf marketplace.

Assumes you have:

  • access to a cluster
  • a container registry account with read/write access (e.g. Harbor)
  • admin credentials to a Cloud Foundry API endpoint (e.g., cf-for-k8s or tas4k8s)
  • access and secret key credentials to an S3-compatible blobstore

Copy sample configuration

cp terraform.tfvars.sample terraform.tfvars

Edit terraform.tfvars

Amend the values for

  • domain
  • ingress
  • kubeconfig_path
  • registry_domain
  • registry_username
  • registry_password
  • s3_endpoint
  • s3_access_key
  • s3_secret_key
  • cf_api_endpoint
  • cf_admin_username
  • cf_admin_password

Install CLI

./install-cli-{os}.sh {tanzu_network_api_token}

Replace {os} with either: macos or linux and {tanzu_network_api_token} with a valid VMWare Tanzu Network API Token

Fetch TSMGR container images

./fetch-tsmgr-images.sh {tanzu_network_username} {tanzu_network_password}

Replace {tanzu_network_username} and {tanzu_network_password} with credentials you use to authenticate to VMWare Tanzu Network

Configure TSMGR prerequisites

./configure-tsmgr-prerequisites.sh {harbor_domain} {harbor_username} {harbor_password} {s3_endpoint} {s3_access_key} {s3_secret_key}

Fetch Helm chart

./fetch-tsmgr-helm-chart.sh {tanzu_network_api_token}

Replace {tanzu_network_api_token} with a valid VMWare Tanzu Network API Token

Install Helm chart

./install-tsmgr.sh

Use

If you've survived the gauntlet of installation, your next steps are to configure, package, publish and expose service offerings.

Have a look at:

Uninstall Helm chart

./uninstall-tsmgr.sh