Issue
We configured:
# values.yaml
max_pages_per_crawl: 1000000
This ends up in the configmap backend-env-config as:
MAX_PAGES_PER_CRAWL: "1e+06"
which does not play nice with:
|
maxPagesPerCrawl=int(os.environ.get("MAX_PAGES_PER_CRAWL", 0)), |
The conversion to exponential form is helm's doing:
|
MAX_PAGES_PER_CRAWL: "{{ .Values.max_pages_per_crawl | default 0 }}" |
See helm/helm#12195.
Workaround
Seems like a workaround is to use quotes (not tested):
# values.yaml
max_pages_per_crawl: "1000000"