Environment variables

VariableRequiredDefaultDescription
CLUSTER_NAMEyesLogical cluster name used in logs
ENVIRONMENTyesDefault GitHub deployment environment (overridable per workload)
WATCH_NAMESPACEno(all)Limit Flux Kustomization / HelmRelease watch to one namespace
DATABASEno/data/cache.dbSQLite path for duplicate prevention
ENVIRONMENT_URLnoDefault HTTPS URL on deployment statuses (overridable)
LOG_URL_TEMPLATEnoDefault log URL; {sha} is replaced with the commit (overridable)
LOG_LEVELnoinfoslog level: debug, info, warn, or error
METRICS_ADDRno:8080Prometheus metrics + convenience probes
PROBE_ADDRno:8081controller-runtime health probes
LEADER_ELECTIONnotrueEnable leader election
LEADER_ELECTION_IDnogithub-deployment-bridgeLease name
GITHUB_APP_IDyesGitHub App ID
GITHUB_INSTALLATION_IDyesGitHub App installation ID
GITHUB_PRIVATE_KEY_PATHyesPath to App private key PEM
GITHUB_BASE_URLnoGitHub Enterprise API base URL
RETRY_MAX_ATTEMPTSno5Retry attempts for GitHub/OCI calls
RETRY_INITIAL_BACKOFFno500msInitial retry backoff
RETRY_MAX_BACKOFFno30sMaximum exponential backoff (GitHub Retry-After may wait longer, up to 5m)

See also: Helm values map