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

HDDS-11590. Use JSON to pass config for docker #7672

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ivanzlenko
Copy link
Contributor

@ivanzlenko ivanzlenko commented Jan 9, 2025

What changes were proposed in this pull request?

Instead of using env vars with non-compliant names we will use variables with JSON describing all necessary configuration files.

Please describe your PR in detail:
In this PR proposed to change our approach on describing cluster configuration for our Docker images.
Right now we are using a lot of environment variables with non-compliant names. Which in turn sometimes leads to situations where all our Docker infrastructure is not working thanks to changes on the Docker side.
Instead it is better to describe configurations using JSON format.
In the first implementation it is just a straight replacement of many env vars with one containing JSON. However later we can move all configurations into separate JSON files so we can have better control on what actually resides in all these configuration properties.
Changes are backward compatible with the old format.

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/HDDS-11590

How was this patch tested?

Patch tested using CI

Instead of using env vars with non-compliant names
we will use variables with JSON
describing all necessary configuration files
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

Successfully merging this pull request may close these issues.

1 participant