This article will help you with how to download the Harness GitOps agent manifest file through API.
We have an API endpoint to get the agent to deploy YAML. It would be best to get it as a JSON object with one field
value. The string needs to be extracted and saved to YAML.
Our API is described here - https://app.harness.io/gitops/api/v1/openapi.json.
You can reference the endpoint.
We currently do not have helm support to install the agent.
We need to follow these steps to have Harness API to get the Harness GitOps agent installation manifest in Harness NextGen.