Add Pivotal Cloud Foundry (PCF) Cloud Provider
Connect the Pivotal Cloud Foundry cloud provider where you will deploy your services using Harness.
You add cloud providers to your Harness Account and then reference them when defining deployment environments.
In this topic:
- Before You Begin
- Visual Summary
- Review: PCF Permissions
- Step 1: Add the Cloud Provider
- Step 2: Endpoint URL
- Step 3: Username / Password
- Step 4: Pivotal Cloud Foundry Name
- Step 5: Skip Validation
- Step 6: Usage Scope
Before You Begin
- See Harness Key Concepts.
Here's an example configuration of Pivotal Cloud Foundry as Cloud Provider in Harness.
Review: PCF Permissions
PCF user account with Admin, Org Manager, or Space Manager role. The user account must be able to update spaces, orgs, and applications.
For more information, see Orgs, Spaces, Roles, and Permissions from Pivotal.
Step 1: Add the Cloud Provider
To add a cloud provider to your Harness account, do the following:
- Click Setup, and then click Cloud Providers.
- Click Add Cloud Provider and select Pivotal Cloud Foundry.
The Add Pivotal Cloud Foundry Provider panel appears.
Step 2: Endpoint URL
Enter the API endpoint URL, without URL scheme. For example, api.run.pivotal.io. Omit http://.For more information, see Identifying the API Endpoint for your PAS Instance from Pivotal.
Step 3: Username / Password
Username and password for the PCF account to use for this connection.
You can use an inline username or a Harness Encrypted Text secret.
For the password, select or create a new Harness Encrypted Text secret.
Step 4: Pivotal Cloud Foundry Name
Provide a unique name for this connection. You will use this name to select this connection when creating a service infrastructure for your deployment.
Step 5: Skip Validation
If you do not have a specific Endpoint URL or credentials set up, you can skip validation and add the Cloud Provider as is.
Later, when you create an Infrastructure Definition as part of your Harness setup, Harness will need to validate. Return to this Cloud Provider and disable Skip Validation.
Step 6: Usage Scope
Usage scope is inherited from the secret you selected for Select Encrypted Password.