devspace-sh / devspace

DevSpace - The Fastest Developer Tool for Kubernetes ⚡ Automate your deployment workflow with DevSpace and develop software directly inside Kubernetes.
https://devspace.sh
Apache License 2.0
4.3k stars 361 forks source link

absolute paths and environment variables in file sync #2221

Closed AlexanderSarson closed 2 years ago

AlexanderSarson commented 2 years ago

Is your feature request related to a problem?
no

Which solution do you suggest?
It would be great if you could use absolute paths and environment variables when you file sync on Windows.

Which alternative solutions exist?
Move all your settings and code projects into devspace or using "../../"

Additional context
I want to use this for when you want to sync files such as .m2/settings, .npmrc or you already have an existing folder containing all your code projects

/kind feature

FabianKramm commented 2 years ago

@AlexanderSarson thanks for creating this issue! You should be able to use an absolute path for file syncing already, could you make an example where this doesn't work?

AlexanderSarson commented 2 years ago

@FabianKramm it's when you use something like this where you got two colons. sync:

FabianKramm commented 2 years ago

@AlexanderSarson oh, you are right, we can definitely fix this!