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

[zabbix-community/zabbix] Integrate admin login credentials during the deployment (via helm chart) #49

Open
nikable opened this issue Aug 23, 2023 · 2 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@nikable
Copy link

nikable commented Aug 23, 2023

Is your feature request related to a problem? Please describe.
No, it is only a possible feature request.

Describe the solution you'd like
Instead of manually entering the default admin credentials (provided in the Zabbix GitHub chart repository page), it would be simply great to have the option to customize Admin user login credentials within the Helm chart itself. This way, it can be bootstrapped during the deployment and would probably make the deployment and login environment more secure.

Describe alternatives you've considered
As an alternative, currently, we are manually entering the default Admin credentials for the first time and changing it later.

Additional context
This feature can be integrated within the Zabbix Web microservice.

@aeciopires
Copy link
Member

Hello @nikable!

Thanks for reporting your issue, but unfortunately I don't know how to implement this. I would appreciate it if you could open a pull request with the solution

@aeciopires aeciopires added enhancement New feature or request good first issue Good for newcomers labels Feb 14, 2024
@aeciopires
Copy link
Member

@nikable I found this page with the solution.

I tried to implement it using a script and mounting it on the cluster as configmap and created an initcontainer in the Zabbix Web pod... but changing the password didn't work... in fact I ended up corrupting the users table in the test environment and if it had worked, it would have been It's pretty bad to have to change the password every time the Zabbix Web pod is recreated (in Kubernetes things are ephemeral and this can happen at any time for N reasons).

I'll leave it as a challenge for anyone who wants to and knows how to implement it in an elegant way, like how it's done in Grafana's helm chart. https://github.com/grafana/helm-charts/tree/main/charts/grafana

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants