mirror of https://github.com/k3s-io/k3s
Browse Source
Problem: Specifying extra arguments for the API server for example is not supported as the arguments get stored in a map before being passed to the API server. Solution: Updated the GetArgs function to store the arguments in a map that can have multiple values. Some more logic is added so that repeated extra arguments retain their order when sorted whilst overall the arguments can still be sorted for improved readability when logged. Support has been added for prefixing and suffixing default argument values by using -= and += when specifying extra arguments. Signed-off-by: Terry Cain <terry@terrys-home.co.uk>pull/5429/head
Terry Cain
3 years ago
committed by
Brad Davidson
2 changed files with 128 additions and 13 deletions
Loading…
Reference in new issue