Skip to content
FR Version françaiseBook a demo
You are reading the documentation of version 0.29, archived. The current version is 0.30.

Promote through Argo CD

For the person who operates the platform. Procedure connector.cd.argocd, version 1, reviewed 2026-10-16 against the vendor’s own pages. It applies to the connector type cd/argocd.

It ships with the platform. In the console it opens with How to set this up, beside the form that adds the connector and on the connector’s settings.

Addresses are written <api_url>, <public_url> and <org> here: the console shows the same text with your deployment’s own.

  • Argo CD, and a GitOps repository it watches. Tranibor never runs kubectl apply: a promotion is a pull request on that repository, and Argo CD applies it.
  • The GitHub App of the platform installed on the GitOps repository (see the GitHub procedures): the writes go through it.
  • The platform’s shared webhook secret (TRANIBOR_GENERIC_WEBHOOK_SECRET).
  1. Create a local account or use a project role for the platform, and generate an API token for it (argocd account generate-token --account <name>). Give it read access to the applications only.
  2. Send application health events to <api_url>/api/v1/webhooks/argocd with the header X-Choregos-Secret set to the shared secret (an Argo CD Notifications webhook service does this).
  3. Name applications by one pattern. The connector looks for {app}-{env} (for example billing-prod) unless app_pattern says otherwise.
  • The API token: get on applications, nothing more. Writes never use it.
  • The GitHub App: contents and pull_requests write on the GitOps repository.
  1. Project settings, Connectors, CD, type Argo CD.
  2. gitops_repo: owner/repo. base_url: the Argo CD server’s address. path_prefix and app_pattern if your layout differs from apps/ and {app}-{env}.
  3. token: the API token, in the password field.

Press Test: it calls Argo CD’s /api/version and shows the version. A promotion on a test application then proves the GitOps write.

  • 401 or 403 on the test: the token is wrong, expired, or the account has no get right.
  • The pull request is not opened: the GitHub App is not installed on the GitOps repository, or lacks pull_requests: write.
  • Health never changes on the work item: Argo CD’s events do not reach the webhook, or the application’s name does not follow app_pattern.
Field What to put in it
app_pattern how an application is named, {app}-{env} by default
base_url the Argo CD server’s address
gitops_repo owner/repo of the GitOps repository the promotions are written to
path_prefix the directory of the applications in the GitOps repository, apps by default
token an Argo CD API token, read only, typed once