stacks

Deploy a new kubernetes stack from a git repository

Changed on

Deploy a new stack into a Docker environment specified via the environment identifier. Access policy: authenticated

post/stacks/create/kubernetes/repository

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/stacks/create/kubernetes/repository
  • Auth
    • API key in header X-API-KEY
    • or API key in header Authorization

Query parameters

endpointIdinteger required

Identifier of the environment that will be used to deploy the stack

Request body

AdditionalFilesstring[]
ComposeFormatboolean
ManifestFilestring
Namespacestring
RepositoryAuthenticationboolean

Deprecated: use SourceID instead. Use basic authentication to clone the Git repository.

RepositoryPasswordstring

Deprecated: use SourceID instead. Password used in basic authentication.

RepositoryReferenceNamestring

Deprecated: use SourceID instead. Reference name of a Git repository hosting the Stack file.

RepositoryURLstring

Deprecated: use SourceID instead. URL of a Git repository hosting the Stack file.

RepositoryUsernamestring

Deprecated: use SourceID instead. Username used in basic authentication.

SourceIDinteger

SourceID references an existing Source for git credentials/URL. When set, the inline URL and authentication fields are ignored.

StackNamestring
TLSSkipVerifyboolean

Deprecated: use SourceID instead. TLSSkipVerify skips SSL verification when cloning the Git repository.

Example request

{
  "AutoUpdate": {
    "Interval": "1m30s",
    "JobID": "15",
    "Webhook": "05de31a2-79fa-4644-9c12-faa67e5c49f0"
  },
  "SourceID": 1
}

Response

OK

Outputstring

Changes

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • info

      added the optional property to the response with the status