Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/contour: add -c config-path flag #1253

Merged
merged 2 commits into from
Jul 19, 2019

Commits on Jul 19, 2019

  1. cmd/contour: add -c config-path flag

    Fixes projectcontour#1130
    
    This PR adds the ability to supply configuration values to contour serve
    from a configuration file. Some gymnastics are required to make this
    work with kingpin and keep the precidence of config file -> env vars ->
    cli flags.
    
    At the moment only a few values are plumbed into the config file, mainly
    to keep the linter's happy. More will be added in 0.15.
    
    Signed-off-by: Dave Cheney <dave@cheney.net>
    davecheney committed Jul 19, 2019
    Configuration menu
    Copy the full SHA
    50cb4fb View commit details
    Browse the repository at this point in the history
  2. cmd/contour: add InCluster and KubeConfig to config file

    To keep the linters happy, expose a few serveContext values via -c
    configfile.
    
    Signed-off-by: Dave Cheney <dave@cheney.net>
    davecheney committed Jul 19, 2019
    Configuration menu
    Copy the full SHA
    f6e8ea2 View commit details
    Browse the repository at this point in the history