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:
- Do not set
CLOUDFLARE_API_TOKEN
- Mount
CLOUDFLARE_CREDENTIALS_FILE correctly
- Start the container
- Observe failure: container exits with missing API token error
Description:
If the environment variable
CLOUDFLARE_API_TOKENis not set, becauseCLOUDFLARE_CREDENTIALS_FILEis 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_FILEto be recognized.Expected Behavior:
The container should start and correctly use the credentials file even if
CLOUDFLARE_API_TOKENis not set.Steps to Reproduce:
CLOUDFLARE_API_TOKENCLOUDFLARE_CREDENTIALS_FILEcorrectly