Skip to content

Latest commit

 

History

History
57 lines (42 loc) · 2.42 KB

integrations.md

File metadata and controls

57 lines (42 loc) · 2.42 KB

Tanzu Application Platform GUI Integrations

Tanzu Application Platform GUI supports integrating with a number of Git providers. To leverage this integration, you must enable it and provide the necessary token or credentials in your tap-values-file.yml.

Below is an example of this integration using the GitHub provider integration:

      app_config:
        app:
          baseUrl: http://EXTERNAL-IP:7000
        # Existing tap-values-file.yml above  
        integrations:
          github: # Other integrations available see NOTE below
            - host: github.com
              token: GITHUB-TOKEN

Where GITHUB-TOKEN is a valid token generated from your Git infrastructure of choice with the necessary read permissions for the catalog definition files you extracted from the Blank Software Catalog introduced in the prerequisites documentation.

Note: The integrations section earlier uses GitHub. For additional integrations, see the format in the Backstage integration documentation.

To allow Tanzu Application GUI to read non-GitHub repositories containing component information, please add the following to the tap-values-file.yml file:

      app_config:
        # Existing tap-values-file.yml above  
        backend:
          reading:
            allow:
            - host: "GIT-CATALOG-URL-1"
            - host: "GIT-CATALOG-URL-2" # Optional, if several URLs

Where GIT-CATALOG-URL-X is a URL in a list URLs what Tanzu Application Platform GUI is allowed to read when registering new components. For example, "git.example.com". More on registering new components could be found in Adding Catalog Entities.

After making the changes to the tap-values-file.yml, you can update the package profile by running:

tanzu package installed update  tap --package-name tap.tanzu.vmware.com --version 1.0.0 --values-file tap-values-file.yml -n tap-install

For example:

$ tanzu package installed update  tap --package-name tap.tanzu.vmware.com --version 1.0.0 --values-file tap-values-file.yml -n tap-install
| Updating package 'tap'
| Getting package install for 'tap'
| Getting package metadata for 'tap.tanzu.vmware.com'
| Updating secret 'tap-tap-install-values'
| Updating package install for 'tap'
/ Waiting for 'PackageInstall' reconciliation for 'tap'


Updated package install 'tap' in namespace 'tap-install'