Skip to content

Add --config-file option#117

Merged
lucaspin merged 5 commits intoself-hostedfrom
add-config-file-option
Aug 9, 2021
Merged

Add --config-file option#117
lucaspin merged 5 commits intoself-hostedfrom
add-config-file-option

Conversation

@lucaspin
Copy link
Copy Markdown
Contributor

@lucaspin lucaspin commented Aug 6, 2021

  • New --config-file option to the agent start command that points to a YAML file that may contain zero, one or all the other options available.
  • If an option is defined in the config and is also passed in as a command line argument, the command line argument takes precedence over the config setting.
  • If an invalid option is defined in the config file, the agent doesn't start up.

@lucaspin lucaspin requested a review from shiroyasha August 6, 2021 21:00
Comment thread pkg/httputils/httputils.go Outdated
Comment thread pkg/config/config.go Outdated
@lucaspin lucaspin merged commit ce739df into self-hosted Aug 9, 2021
@lucaspin lucaspin deleted the add-config-file-option branch August 9, 2021 12:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants