ON-PREM CHOREO CLOUD BOTH

What it is

The gateway bootstrap job is a Helm hook that runs before a gateway is installed. It waits for AMS, gets a service token from the platform ThunderID, registers the gateway in AMS, and creates the registration token as a Kubernetes Secret. It exists in the on-prem install.

Why it exists

A gateway cannot connect to AMS until AMS knows it and has issued a credential. The job automates that handshake.

How it works

  • Waits up to 120 seconds for the AMS health check.
  • Requests a client_credentials token for amp-api-client with gateway scopes.
  • Lists gateways. If the name is new, it finds the environment and registers the gateway. Type, vhost and role cannot change afterwards.
  • Creates a registration token if none exists and writes it into the Secret named <release>-token.
  • On Choreo Cloud the provisioner does this job instead.

Identity and access

It authenticates to the platform ThunderID with the amp-api-client credentials, then to AMS with the resulting Bearer token. Its Kubernetes role lets it create Secrets in the gateway namespace and read or update only the one token Secret.

Key facts

Runs
Helm pre-install, upgrade and rollback hook
Wait for AMS
Up to 120 seconds
Edition
On-prem
Side
Data plane (gateway)
Namespace
<org>-<env>

Talks to (3)