Skip to content

Container does not start when using only CLOUDFLARE_CREDENTIALS_FILE #28

Description

@sdamm4z

Description:
If the environment variable CLOUDFLARE_API_TOKEN is not set, because CLOUDFLARE_CREDENTIALS_FILE is intended to be used instead, the container fails to start.

Currently, the container must be started with a dummy variable like:
CLOUDFLARE_API_TOKEN="any text"
in order for CLOUDFLARE_CREDENTIALS_FILE to be recognized.

Expected Behavior:
The container should start and correctly use the credentials file even if CLOUDFLARE_API_TOKEN is not set.

Steps to Reproduce:

  1. Do not set CLOUDFLARE_API_TOKEN
  2. Mount CLOUDFLARE_CREDENTIALS_FILE correctly
  3. Start the container
  4. Observe failure: container exits with missing API token error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions