-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This should make it a bit easier to manage argument overrides than the set of templates we have now, especially while we wait for componentconfig to be everywhere. Arguments can be defaulted, and those defaults can be overriden or appended to, and then finally render to a slice of strings to be passed as arguments and such. This should make it easier to configure the API server without needing to splat out the existing default arguments, maybe splice some stuff out, etc. For example: ```go apiServer.Configure(). Disable("insecure-port"). Append("vmodule", "httplog.go=10"). Set("v", "5") ```
- Loading branch information
1 parent
72fc2c6
commit 3758fc6
Showing
2 changed files
with
425 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.