g3w-suite / g3w-admin

Server module for G3W-SUITE
https://g3w-suite.readthedocs.io/en/latest/g3wsuite_administration.html
Mozilla Public License 2.0
39 stars 30 forks source link

Allow to configure superuser account from environment variables #889

Open AlexGacon opened 6 days ago

AlexGacon commented 6 days ago

Checklist

Motivation

For automatic deployment on kubernetes cluster, I need to be able to inject in the solution a custom superuser account and a custom default password which can be store either as Secrets in K8s or as GitLab secrets for example.

Suggested solution

A solution could be to amend the setup_suite.sh file to use environment variables instead of the hard coded values.

Alternatives considered

No response

wlorenzetti commented 5 days ago

@AlexGacon thanks for the suggestion, I'm curios do you have some G3W-SUITE instance on kubernetes to look at?

AlexGacon commented 5 days ago

I am working on it but it won't be publicly available.

@wlorenzetti I will be at FOSS4G EU next week if you want to discuss this.

wlorenzetti commented 5 days ago

See you in Tartu!