Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Yaml integers converted to floats, not recognized as Go integer. #612

Open
bentatham opened this issue Nov 15, 2023 · 1 comment
Open

Yaml integers converted to floats, not recognized as Go integer. #612

bentatham opened this issue Nov 15, 2023 · 1 comment

Comments

@bentatham
Copy link

Using influxdata/influxdb 4.12.5

If you pass large integer values eg:

config:
  data:
    max-values-per-tag: 10000000

yaml converts that to 1e7 in the toml file, which then influx chokes on parsing because it expects an integer.

If you put the helm value in quotes to keep it, the quotes get preserved into the toml as well as "10000000", and influx can still not parse that value.

@bentatham
Copy link
Author

Workaround for now is to use env vars instead, which does remove quotes appropriately.

env:
  - name: INFLUXDB_DATA_MAX_VALUES_PER_TAG
    value: "10000000"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant