Data collection: supply a UUID through environment variables #4
Replies: 5 comments 8 replies
-
Turning on |
Beta Was this translation helpful? Give feedback.
-
The UUID actually comes from the server, it's just stored in a properties file right now - I've been thinking about this today and I think the obvious solution is to move it over to data adapters. Though, they still need a rewrite, I'm not sure what order to do things in since I have no idea what migrating from the old system might look like? |
Beta Was this translation helpful? Give feedback.
-
Data collection now uses storage units and data adapters as of Kord-Extensions/kord-extensions@ba7e250 This will migrate from the properties file (if it's present) and then delete it. As for supplying the UUID early - the server will generate a new UUID if you supply one that isn't already in the database. I did this to make sure you couldn't re-use someone else's UUID if you happened to get your hands on one, as I figured they might be useful for support or identification down the line, but I'm not too sure if this is a realistic problem? |
Beta Was this translation helpful? Give feedback.
-
As of the latest build, a version 4 UUID may be supplied via the Thanks for the discussion! |
Beta Was this translation helpful? Give feedback.
-
As this has been resolved without comment for two weeks, I'll close the discussion. Feel free to open a new one if you need anything else! |
Beta Was this translation helpful? Give feedback.
-
Components
Kord Extensions (Core)
Summary
Spinning up persistent filesystem storages can be quite complex - and costly - in highly containerized environments. A much easier object to persist are environment variable. As a matter of fact, this is already doable through Kubernetes by mapping a configmap to a folder, although this would allow to expand this (unintented) feature to other less feature complete container management tools.
Current Behaviour
The UUID is only gotten from the data folder.
Target Behaviour
UUID can also be supplied through an environment variable.
Implementation Tips
No response
Beta Was this translation helpful? Give feedback.
All reactions