cloudflare / cloudflare-ingress-controller

A Kubernetes ingress controller for Cloudflare's Argo Tunnels
Apache License 2.0
364 stars 55 forks source link

adds origin-secret-config mapping file #132

Closed mattalberts closed 5 years ago

mattalberts commented 5 years ago

Adds the command-line flag --origin-secret-config, allowing specification of a host specific default secret mapping file. The additional configuration is meant to help with migration from 0.5.x to 0.6.x and allows isolation of reuseable secrets.

Resolves #126

codecov-io commented 5 years ago

Codecov Report

Merging #132 into master will increase coverage by 1.62%. The diff coverage is 77.9%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #132      +/-   ##
==========================================
+ Coverage   57.35%   58.97%   +1.62%     
==========================================
  Files          15       16       +1     
  Lines        1013     1097      +84     
==========================================
+ Hits          581      647      +66     
- Misses        413      428      +15     
- Partials       19       22       +3
Impacted Files Coverage Δ
internal/argotunnel/translator.go 62.5% <0%> (-0.64%) :arrow_down:
cmd/argot/main.go 5.83% <0%> (-0.46%) :arrow_down:
internal/argotunnel/options.go 100% <100%> (ø) :arrow_up:
internal/argotunnel/informer.go 55% <25%> (-1.42%) :arrow_down:
internal/cloudflare/originsecret.go 93.1% <93.1%> (ø)

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 89317fd...f6f146d. Read the comment docs.