Closed shimizuf closed 4 years ago
Great ideas. Option 2 is minimal effort. Let's start with this.
Clear documentation is essential for a user friendly configuration handling. I suggest each setting or at least each group of settings needs a minimum description or instruction how to use. Optional and advanced settings shall be equipped with comments pointing to the user documentation.
A small risk of option 2 is how to make aware about such convention to everybody who is changing templates or related implementation. As there is no easy way to automatically check or enforce such rule, new optional settings may slip in that aren't disabled. I suggest to add mandatory reviewers from documentation team.
Adding @gertipoppel
More extended documentation already exists (Operator's Guide) together with suggested samples. Should we simply include the doc in the var.env template file?
@gertipoppel
Should we simply include the doc in the var.env template file?
in order to avoid much duplication, I suggest to add documentation links in the var.env template where applicable. E.g.
# For details refer to Appendix A.1 in the Operator's Guide, https://github.com/servicecatalog/documentation
Done in 19.0.
Background The Docker based deployment is already much more convenient and reliable than the traditional installation method. However the var.env file contains a large number of settings which can cause confusion to a new user. Examples:
Tasks
Some ideas
docker run --name deployer1 -e EXAMPLECONFIG=true [...]
envsubst
in the scripts to substitute the variables to a different solution - possibly self-written - which handles certain configuration errors better. But this will likely create larger efforts.