Open areller opened 4 years ago
look like a great idea that would be somehow "equivalent" to helm variables
Does this already recognize EnvVar or would that also be an idea to add to it ?
Kinda like MsBuild "transform" EnvVar to an equivalent Property
eg:
displaying secrets.json
in VS
<Content link="..." ...="$(AppData)/Microsoft/UserSecrets/$(UserSecretId)/secrets.json />
Some fields already support env var substitution (ex: the project
field) but some don't (ex: the args
field), and the env var substitution syntax looks like this: something_%somevar%
What should we add or change to make your life better?
Expand syntax for variable substitution in
tye.yaml
Example:I know that this was already proposed and is supported in the
connectionString
field, but that was in the context of service discovery. I think that there are other contexts where it can be useful.These kind of variables will be resolved entirely during the
tye.yaml
build/parse process (before the host starts)Why is this important to you?
I was trying to run a legacy project (.NET Framework, IIS) project and I came up with a config that looks like this
this is verbose, hard for modification and can't be shared among other people. with variables, it can become: