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

enhance Helm chart to configure Ditto services via ConfigMap #2051

Merged

Conversation

thjaeckle
Copy link
Member

  • instead of configuring via System Properties

Right now, configuration of very dynamic settings (like e.g. custom metrics or entity creation) is done via SystemProperties in the Helm chart.
This can lead to some issues - e.g. if the command line arguments get too long, trivy, the wrapper process for starting the JVM can no longer handle those.
Or another problem is that the Kubernetes "Pods" HTTP API will return all environment variables and all system-properties as part of its response when querying for other Ditto pods during bootstrapping a cluster.

Moving the very dynamic configuration to config files (mounted via ConfigMaps) is an elegant solution for that.

@thjaeckle thjaeckle added this to the 3.6.2 milestone Oct 25, 2024
@thjaeckle thjaeckle self-assigned this Oct 25, 2024
@thjaeckle
Copy link
Member Author

@kalinkostashki could you have a look, please?
@alstanchev you might as well, of course :)

@thjaeckle thjaeckle force-pushed the helm/config-via-configmap branch from af37e35 to 3e82718 Compare October 25, 2024 15:11
* instead of configuring via System Properties
@thjaeckle thjaeckle force-pushed the helm/config-via-configmap branch from 3e82718 to b8b06ec Compare October 25, 2024 15:14
@thjaeckle
Copy link
Member Author

@kalinkostashki ping

@kalinkostashki
Copy link
Contributor

@kalinkostashki ping

on it :)

Copy link
Contributor

@kalinkostashki kalinkostashki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@thjaeckle thjaeckle merged commit be68f3c into eclipse-ditto:master Nov 5, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants