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

influxdb: helm chart doesn't create admin user #607

Open
jas02 opened this issue Oct 16, 2023 · 1 comment
Open

influxdb: helm chart doesn't create admin user #607

jas02 opened this issue Oct 16, 2023 · 1 comment

Comments

@jas02
Copy link

jas02 commented Oct 16, 2023

Hi,

I am trying to automate installation of InfluxDB using Ansible and InfluxDB Helm chart .Installation works, but for some reason Helm doesn't create initial admin user during the installation and I have to manually create initial account after the installation through web interface.

Helm chart version: 4.12.5
App version: 1.8.10

Corresponding values in Helm chart:

setDefaultUser:
  enabled: true
  user:
    existingSecret: influxdb-auth

config:
  http:
    auth-enabled: true

Influxdb-auth secret:

kind: Secret
data:
  influxdb-password: AAAA=
  influxdb-user: BBB=

What am I missing? Is this bug, or I have to setup something else?

BR

L.

@enavarro222
Copy link

I encounter the same issue. The documentation of the docker image is better than the one of the chart.
https://github.com/docker-library/docs/blob/master/influxdb/README.md#database-initialization

One need to set the var env INFLUXDB_HTTP_AUTH_ENABLED to "true" in order to get the admin user init.

the config.http.auth-enabled seems to be ignored...

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

2 participants