Browse Source
Fixes #296 Adds conditional logic for passing these properties to `daprd`. Corrects logic for dealing with config. Dapr's config annotation in k8s refers to kubernetes resource by name, but that's not possible with local run. In local run `dapr` will expect the `-config` parameter to be a file on disk. So, this change adds logic to look for a file by naming convention and pass that locally instead. Additionally added the ability for an extension to output to the console - this is needed because we want to tell the user if their config file can't be found, and specifically where we looked. I made the decision to log a message and skip if the config file isn't present, because we don't have a way to make settings conditional based on environment yet - it makes sense that someone might need to have a config in production but not in local dev.davidfowl/aspnet-urls
9 changed files with 48 additions and 13 deletions
Loading…
Reference in new issue