k3s/pkg
Brad Davidson 1026d10203 Fix MustFindString returning override flags on external CLI commands
External CLI actions cannot short-circuit on --help or --version, so we
cannot skip loading the config file if these flags are present when
running these wrapped commands. The behavior of just returning the
override flag name instead of the requested flag value was breaking
data-dir lookup when running wrapped commands.

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit ff5c633fe7)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2024-11-06 13:18:20 -08:00
..
agent Add nonroot-devices flag to agent CLI 2024-11-06 13:18:20 -08:00
apis/k3s.cattle.io Add new CRD for etcd snapshots 2023-10-12 15:04:45 -07:00
authenticator Consistently use constant-time comparison of password hashes 2023-05-09 13:54:50 -07:00
bootstrap Fix rotateca validation failures when not touching default self-signed CAs 2024-09-06 11:30:37 -07:00
certmonitor fix: Use actual warningPeriod in certmonitor 2024-06-04 12:48:16 -07:00
cgroups Bump containerd/runc to v1.7.10-k3s1/v1.1.10 2023-12-08 18:17:19 -08:00
cli Add nonroot-devices flag to agent CLI 2024-11-06 13:18:20 -08:00
clientaccess Move etcd snapshot management CLI to request/response 2024-04-09 15:21:26 -07:00
cloudprovider [Release-1.29] Revert "Make svclb as simple as possible" (#11114) 2024-10-15 22:35:21 -07:00
cluster Fix rotateca validation failures when not touching default self-signed CAs 2024-09-06 11:30:37 -07:00
codegen Add new CRD for etcd snapshots 2023-10-12 15:04:45 -07:00
configfilearg Fix MustFindString returning override flags on external CLI commands 2024-11-06 13:18:20 -08:00
containerd [K3s][Windows Port] Build script, multi-call binary, and Flannel (#7259) 2023-10-16 14:53:09 -04:00
crd Add new CRD for etcd snapshots 2023-10-12 15:04:45 -07:00
ctr Build & enable ctr with k3s server 2019-06-30 09:30:25 -07:00
daemons Add nonroot-devices flag to agent CLI 2024-11-06 13:18:20 -08: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 Bump local-path-provisioner to v0.0.30 2024-10-10 11:40:54 -07:00
etcd Add tests for ETCD.Test() 2024-11-06 13:18:20 -08:00
flock [Release-1.29] Backport E2E GHA fixes (#11229) 2024-11-04 20:26:42 -08:00
generated Add new CRD for etcd snapshots 2023-10-12 15:04:45 -07:00
kubeadm Add support for `k3s token` command 2023-02-07 14:55:04 -08:00
kubectl Add write-kubeconfig-group flag to server (#9233) 2024-05-31 09:16:55 -07:00
metrics [release-1.29] Backports for 2024-08 release cycle (#10665) 2024-08-05 09:35:07 -07:00
node Fix NodeHosts on dual-stack clusters 2024-03-01 11:59:59 -08:00
nodeconfig VPN PoC 2023-06-09 12:39:33 +02:00
nodepassword Transition from deprecated pointer library to ptr (#9801) 2024-03-28 10:07:02 -07:00
passwd VPN PoC 2023-06-09 12:39:33 +02:00
proctitle Fixing setproctitle function 2024-08-02 11:19:19 -07:00
profile Refactor supervisor listener startup and add metrics 2024-05-31 09:16:55 -07:00
rootless Allow additional Rootless CopyUpDirs through K3S_ROOTLESS_COPYUPDIRS env variable (#11043) 2024-10-10 13:13:48 -07:00
rootlessports Rootless mode also bind service nodePort to host for LoadBalancer type 2024-03-01 10:43:19 -08:00
secretsencrypt Increase timeout polling for secrets-encrypt metrics 2024-09-06 14:58:22 -07:00
server Fix issue that caused passwd file and psk to be regenerated when rotating CA certs 2024-10-10 11:40:54 -07:00
spegel [release-1.29] Backports for 2024-08 release cycle (#10665) 2024-08-05 09:35:07 -07:00
static Bump traefik to chart 27.0.2 / appVersion v2.11.10 2024-10-10 11:40:54 -07:00
untar Bump wharfie to v0.5.1 and use shared decompression code 2021-12-07 12:50:57 -08:00
util [release-1.29] Backports for 2024-08 release cycle (#10665) 2024-08-05 09:35:07 -07:00
version Add runtime checking of golang version 2024-01-04 17:22:46 -08:00
vpn Add extraArgs to tailscale 2023-09-25 17:04:50 +02:00