k3s/pkg
Terry Cain b6e71ef990 Added support for repeated extra arguments
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>
2022-04-14 13:59:57 -07:00
..
agent Update golangci-lint to 1.45.2 2022-04-13 14:48:42 -07:00
apis/k3s.cattle.io [master] changing package to k3s-io (#4846) 2022-03-02 15:47:27 -08:00
authenticator Add client certificate authentication support to core Authenticator 2022-04-06 13:03:14 -07:00
bootstrap [master] changing package to k3s-io (#4846) 2022-03-02 15:47:27 -08:00
cgroups [master] changing package to k3s-io (#4846) 2022-03-02 15:47:27 -08:00
cli Merge pull request #5422 from rbrtbnfgl/fix-flannel-backend-help 2022-04-14 09:06:40 +02:00
clientaccess [master] changing package to k3s-io (#4846) 2022-03-02 15:47:27 -08:00
cloudprovider [master] changing package to k3s-io (#4846) 2022-03-02 15:47:27 -08:00
cluster Merge pull request #5325 from rbrtbnfgl/fix-etcd-ipv6-url 2022-04-05 09:55:42 +02:00
codegen [master] changing package to k3s-io (#4846) 2022-03-02 15:47:27 -08:00
configfilearg [master] changing package to k3s-io (#4846) 2022-03-02 15:47:27 -08:00
containerd Update golangci-lint to 1.45.2 2022-04-13 14:48:42 -07:00
ctr Build & enable ctr with k3s server 2019-06-30 09:30:25 -07:00
daemons Added support for repeated extra arguments 2022-04-14 13:59:57 -07:00
data code changes to drop the vendor dir 2021-12-21 14:23:38 -07:00
datadir [master] changing package to k3s-io (#4846) 2022-03-02 15:47:27 -08:00
dataverify Add file verification for data directory 2020-10-06 10:29:27 -07:00
deploy Update golangci-lint to 1.45.2 2022-04-13 14:48:42 -07:00
etcd Added default endpoint for IPv6 2022-04-14 09:58:40 +02:00
flock Update golangci-lint to 1.45.2 2022-04-13 14:48:42 -07:00
generated [master] changing package to k3s-io (#4846) 2022-03-02 15:47:27 -08:00
kubectl Track upstream changes to kubectl command execution 2022-03-16 17:19:18 -07:00
netutil Initial Logging Output Update (#2246) 2020-09-21 09:56:03 -07:00
node [master] changing package to k3s-io (#4846) 2022-03-02 15:47:27 -08:00
nodeconfig [master] changing package to k3s-io (#4846) 2022-03-02 15:47:27 -08:00
nodepassword Don't print password conversion rate 2022-04-06 15:55:45 -07:00
passwd [master] changing package to k3s-io (#4846) 2022-03-02 15:47:27 -08:00
rootless Update golangci-lint to 1.45.2 2022-04-13 14:48:42 -07:00
rootlessports [master] changing package to k3s-io (#4846) 2022-03-02 15:47:27 -08:00
secretsencrypt Fix etcd-only secrets encryption rotation 2022-03-25 10:40:58 -07:00
server Move the apiserver addresses controller into the etcd package 2022-04-07 11:28:15 -07:00
servicelb Fix log spam due to servicelb event recorder namespace conflict 2022-03-23 16:01:21 -07:00
static Update golangci-lint to 1.45.2 2022-04-13 14:48:42 -07:00
token Refactor tokens, bootstrap, and cli args 2019-10-30 19:06:49 -07:00
untar Bump wharfie to v0.5.1 and use shared decompression code 2021-12-07 12:50:57 -08:00
util Update golangci-lint to 1.45.2 2022-04-13 14:48:42 -07:00
version remove hard coded value 2020-07-09 11:20:06 -07:00