Feat/release 1.0.0 (#63)
* Feat: update Kubernetes manifests for Krawl deployment and improve resource labels * Feat: update version to 1.0.0 in Helm chart and related files; add timezone to README * Feat: enhance configuration options for handling malicious IPs and update dashboard secret path * Fix: standardize boolean value handling in environment configuration
This commit is contained in:
committed by
GitHub
parent
d3caa99ecc
commit
b253828cd7
@@ -232,6 +232,9 @@ def override_config_from_env(config: Config = None):
|
||||
setattr(config, field, int(env_value))
|
||||
elif field_type == float:
|
||||
setattr(config, field, float(env_value))
|
||||
elif field_type == bool:
|
||||
# Handle boolean values (case-insensitive: true/false, yes/no, 1/0)
|
||||
setattr(config, field, env_value.lower() in ("true", "yes", "1"))
|
||||
elif field_type == Tuple[int, int]:
|
||||
parts = env_value.split(",")
|
||||
if len(parts) == 2:
|
||||
|
||||
Reference in New Issue
Block a user