Initial Configuration for Integrations
Before you create catalog discovery integrations (say GitHub, PagerDuty, SonarQube and many more), you need to configure the infrastructure that runs the data collection tasks.
This is a one-time setup done from the Integrations section of IDP, and can be updated at any time.
- If you attempt to create an integration without completing this initial configuration, your integration will not be created. Additionally, you may see an Infra configuration required notification in the Integrations section.
- Platform integrations like Harness CD run directly and do not require this setup.
Access the configuration
-
In Harness IDP, go to Configure → Integrations.
-
Click the Configuration button at the top.
-
The Infra Configuration panel opens with two steps in the sidebar: Kubernetes Configurations and Docker Configurations
Kubernetes Configurations
Data collection for each integration runs as pods inside your Kubernetes cluster. IDP sends collection tasks to a delegate running in your cluster, which executes them using credentials stored in your own environment. The Kubernetes Configurations tell IDP which cluster and namespace to use for these pods.
-
In the K8s Connector field, pick an existing connector from your account or click + New Connector to create one. Go to Add a Kubernetes Cluster Connector to create a Kubernetes connector.
-
After selecting the connector, enter the Namespace where data collection pods will be spun up. This is a Kubernetes namespace and must already exist in the cluster before you configure this.
infoThe Harness delegate you are using (the one you set up when you created your K8s connector in Harness) must have permissions on this namespace.
-
Click Continue to proceed to Docker Configurations.
Docker Configurations
Data collection pods run as containers that need images to start. By default, IDP pulls these images from the public Harness container registry.
All fields in this section are optional. Configure them if any of the following apply:
- Rate limiting: Without credentials, Docker Hub throttles unauthenticated pulls after a number of requests. A Docker connector with credentials bypasses this limit.
- Private registry: If your organization's security policy prohibits pulling from public Docker Hub, you can mirror the required images to your private registry and point IDP to it here.
-
In the Docker Connector field, select an existing Docker Registry connector or click + New Connector to create one. Go to Add a Docker Registry Connector to create a Docker Registry connector.
-
Under Connector images, you can specify custom image pull paths for these components:
-
Individual Connector Images (Bitbucket Cloud, GCP, GitHub, Datadog, Dynatrace, PagerDuty, ServiceNow, SonarQube): Only specify image paths (sample format:
<your-registry-url>/<image-name>:<image-tag-version>) for the integrations you actually use. Leave all others blank. -
Lite Engine and Addon: These two components are a must for every data collection run. IDP pulls them from the public Harness registry. If you do not wish to use the public images or your environment cannot access public Docker Hub, you must provide your custom image paths for these two components.
-
-
Click Save. The initial configuration is now complete and you may create your integrations successfully.