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

[FEATURE] Provide environment variable to resolve relative paths in config file #1065

Closed
fsimmend opened this issue May 12, 2022 · 0 comments · Fixed by #1417
Closed

[FEATURE] Provide environment variable to resolve relative paths in config file #1065

fsimmend opened this issue May 12, 2022 · 0 comments · Fixed by #1417
Labels
enhancement New feature or request
Milestone

Comments

@fsimmend
Copy link

It would be awesome to have an environment variable set by k3d to resolve the location of the config file within the config file. With that environment variable you could mount host directories relative to the config file. Since there is only one possible config file this should be possible.

The current workaround is to use ${PWD} in the config file, but that requires you to jump into that directory.

@fsimmend fsimmend added the enhancement New feature or request label May 12, 2022
@iwilltry42 iwilltry42 added this to the v6.0.0 milestone Jun 4, 2022
@iwilltry42 iwilltry42 modified the milestones: v6.0.0, v5.7.0 Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants