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

Not all Configurations are submitted via custom values.yaml #27

Closed
InfinityShare opened this issue Dec 10, 2023 · 5 comments
Closed

Not all Configurations are submitted via custom values.yaml #27

InfinityShare opened this issue Dec 10, 2023 · 5 comments

Comments

@InfinityShare
Copy link

Problem: Specifying a custom yaml, database options are not provided as configuration

If you want to change the Database to MS-SQL eg. the configuration is not taken, instead its using the default mysql and provides them in the config map on Kubernetes.

e.g. custom values:

image:
  flavor: "ubuntu"
database:
  driver: "com.microsoft.sqlserver.jdbc.SQLServerDriver"
  url: "jdbc:sqlserver://123.123.123.123;databaseName=TraccarDV;user= DbAccountName;password=#SomeSuperStrongPasswordHere1234;trustServerCertificate=true;"
  user: "DbAccountName"
  password: "SomeSuperStrongPasswordHere1234"
@tananaev
Copy link
Member

Correct. The whole point is to deploy the complete system, including the database.

@InfinityShare
Copy link
Author

okay just wondering because I read this:
The chart incorporates every configuration file setting, which can be found here

@tamcore
Copy link
Contributor

tamcore commented Dec 10, 2023

You might want to use the configOverride parameter and bring your own configuration file. Additionally, it might be a good idea to pass your database credentials via env instead (for that you have to set CONFIG_USE_ENVIRONMENT_VARIABLES=true as well), as passwords don't really belong into configMaps :)

@InfinityShare
Copy link
Author

Thank you will check it out!
It just a local dev environment at the moment, testing the rollout of the helm.

@InfinityShare
Copy link
Author

All Set :-)

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

3 participants