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

Glob support for runtimeconfig path. #542

Open
jeschkies opened this issue Jul 5, 2024 · 1 comment
Open

Glob support for runtimeconfig path. #542

jeschkies opened this issue Jul 5, 2024 · 1 comment

Comments

@jeschkies
Copy link
Contributor

I would like to add Glob support to the runtimeconfig file paths, e.g. /etc/my-app/*.yaml would load all YAMLS files in alphabetical order in directory /etc/my-app/.

Motivation

Allows empty directories I'm mounting a ConfigMap as optional. This means a config file might not be present at the beginning.

Allows hierarchical loading One can have a folder with files config-001.yaml, config-003.yaml etc.

@matryer
Copy link

matryer commented Jul 6, 2024

Nice idea. These days I usually start with Glob support whenever a cli takes a path.

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

No branches or pull requests

2 participants