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
Is your feature request related to a problem? Please describe.
The default configuration dir of config (relative to the application binary) is not configurable. In the case the config dir is mounted at a separate directory or filesystem (e.g. secret volumes, configmaps, etc.) you would have to mount the config file next to the binary in all cases which isn't always easy or possible depending on your deployment pattern.
Describe the solution you'd like
An optional command line flag, -c, --config-dir <CONFIG_DIR>, for specifying the configuration directory to read the <environment>.yaml file from. It can use the existing Config::load_from_folder function, falling back to the default if the flag is not provided.
Describe alternatives you've considered
Mounting configs in the /usr/bin/ or other application/binary directories which is cumbersome and could unintentionally overwrite existing files.
The text was updated successfully, but these errors were encountered:
Feature Request
Is your feature request related to a problem? Please describe.
The default configuration dir of
config
(relative to the application binary) is not configurable. In the case the config dir is mounted at a separate directory or filesystem (e.g. secret volumes, configmaps, etc.) you would have to mount the config file next to the binary in all cases which isn't always easy or possible depending on your deployment pattern.Describe the solution you'd like
An optional command line flag,
-c, --config-dir <CONFIG_DIR>
, for specifying the configuration directory to read the<environment>.yaml
file from. It can use the existingConfig::load_from_folder
function, falling back to the default if the flag is not provided.Describe alternatives you've considered
Mounting configs in the
/usr/bin/
or other application/binary directories which is cumbersome and could unintentionally overwrite existing files.The text was updated successfully, but these errors were encountered: