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

Improve mounting files to containers #1333

Open
fedinskiy opened this issue Sep 23, 2024 · 0 comments
Open

Improve mounting files to containers #1333

fedinskiy opened this issue Sep 23, 2024 · 0 comments

Comments

@fedinskiy
Copy link
Contributor

At the moment mounting the file into container looks like this:

            .withProperty("_ignored", "resource_with_destination::/config/|syslog-ng.conf");

which is

  1. Quite obscure
  2. Too verbose (we usually need just to mount file, witout writing any properties)
  3. Easy to break accidentally (yours truly just spend a hour debugging, before noticing that the second ":" is missing)
  4. Doesn't allow us to mount a directory or to change a file name
  5. Stringly typed

I suggest to look for a appropriate solution, probably as a part of @Container annotation and with a class to describe a required mount

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

1 participant