Closed myrddraall closed 4 years ago
Merging #55 into master will increase coverage by
2.66%
. The diff coverage is100.00%
.
@@ Coverage Diff @@
## master #55 +/- ##
==========================================
+ Coverage 29.12% 31.79% +2.66%
==========================================
Files 25 25
Lines 333 346 +13
Branches 43 45 +2
==========================================
+ Hits 97 110 +13
Misses 236 236
Impacted Files | Coverage Δ | |
---|---|---|
src/server/plugin/Config.ts | 100.00% <100.00%> (ø) |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update d5289f2...5fa19ce. Read the comment docs.
Thanks for the PR.
I'm not convinced of the feature. I don't want to support having each configuration value in a separate file. You can already use environment variables which I think is a much more common approach to configuration. If you prefer configuring things this way, you also have the option of maintaining a fork.
I think is a much more common approach to configuration
Not in swarm environments. Many docker images support it https://docs.docker.com/engine/swarm/secrets/
This adds 4 new options to the plugin's configuration that take a path to a file and override their respective options with the content of the file.
org-file
client-id-file
client-secret-file
enterprise-origin-file