You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Configuring FA³ST-Service mongoDB persistence is not possible by environment variables or via command line arguments in k8s.
This is important because mongoDB connection string should be a secret in k8s. A workaround is to use the secret as a volume for the entire config file but that's not what it should be and is too complicated.
2025-01-13 11:47:58 [INFO] Model: empty (default) (de.fraunhofer.iosb.ilt.faaast.service.starter.App)
2025-01-13 11:47:58 Model validation is disabled when using empty model
2025-01-13 11:47:58 [INFO] Model validation is disabled when using empty model (de.fraunhofer.iosb.ilt.faaast.service.starter.App)
2025-01-13 11:47:58 [ERROR] Unresolvable environment variable found 'null'. (de.fraunhofer.iosb.ilt.faaast.service.starter.ExecutionExceptionHandler)
Command line arguments and environment variables are scrabbled to null.
Additional Context
I am reporting this issue solely for testing purposes, as I am currently verifying which AAS implementations are functioning. Therefore, I don't need a fix at this time.
The text was updated successfully, but these errors were encountered:
This is actually the intended behavior as changes to the configuration via CLI and also environment variables are intended to only change existing properties and not add new properties. So currently the only way to achieve your goal is to mount a custom configuration file.
I understand your intention and I agree that adding new properties via CLI/env might make the life easier for developers, especially in such scenarios as yours. We are consider adding this functionality in the future but cannot give any guarantees or timeline if/when this will happen. I therefore labelled this issue as enhancement
Description
Configuring FA³ST-Service mongoDB persistence is not possible by environment variables or via command line arguments in k8s.
This is important because mongoDB connection string should be a secret in k8s. A workaround is to use the secret as a volume for the entire config file but that's not what it should be and is too complicated.
Reproduction
k8s manifests
mongodb k8s manifest
Output
Envs
args
Command line arguments and environment variables are scrabbled to null.
Additional Context
The text was updated successfully, but these errors were encountered: