Top-level command for publishing a Product Release to Apollo. To publish a Release, a Manifest for the Release needs to be created and wrapped as a TGZ to be consumed by Apollo. The Apollo CLI can either publish a Release Manifest from an already created Artifact in the right format, or create one for you from a Manifest file or an existing Helm chart.
Copied!1
apollo-cli publish [subcommand] [flags]
Flag | Use |
---|---|
--apollo-token (string) | Bearer token to use for authenticated endpoints |
--apollo-token-provider (string) | Set the token provider. Specify static for Bearer Token and service-user for a service user. |
--apollo-client-id (string) | Client ID for a service account |
--apollo-client-secret (string) | Client secret for a service account |
--apollo-url (string) | Base URL for Apollo that is used to derive the API endpoints |
--dry-run | Print the operations that would be performed |
-h, --help | Show help menu for the publish command |
Subcommand | Use |
---|---|
publish artifact | Publishes an existing Product TGZ to Apollo |
publish helm-chart | Publishes a Helm chart Product to Apollo |
publish manifest | Publishes a configuration Product that consists of the specified manifest file |
publish asset | Publishes an Asset Product to Apollo |