dotnet / tye

Tye is a tool that makes developing, testing, and deploying microservices and distributed applications easier. Project Tye includes a local orchestrator to make developing microservices easier and the ability to deploy microservices to Kubernetes with minimal configuration.
MIT License
5.29k stars 520 forks source link

Environment variables are not being parsed properly in the volume mapping configuration. #1534

Open dima1034 opened 1 year ago

dima1034 commented 1 year ago

Dear development team of Tye,

I want to extend my gratitude for all the hard work that you've put into this project. Your efforts have resulted in a well-made product, and I am impressed with the outcome.

In the near future, I plan on forking Tye and continuing its development within my own company. I believe that this project has a lot of potential, and I am eager to explore its possibilities.

Once again, thank you for your dedication and skill in creating Tye. I am truly grateful for your efforts.

@jkotalik @davidfowl @rynowak @philliphoff



Describe the bug

Environment variables are not being parsed properly in the volume mapping configuration.

Steps to reproduce

In the configuration file, the following line is used to map a volume:

name: vsdbg
source: ${HOME}/.vsdbg
target: /remote_debugger

Expected behavior

Environment variables, such as ${HOME}, should be expanded to their actual values.

Actual behavior

Environment variables are not being expanded and are showing as is in the configuration file.

Solution

Implement parsing of environment variables in the volume mapping configuration.

name: vsdbg
source: ~/.vsdbg
target: /remote_debugger

Further technical details