k3s/cmd
Brad Davidson 48750ae6fc 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 12:41:11 -08:00
..
agent [master] changing package to k3s-io (#4846) 2022-03-02 15:47:27 -08:00
cert Add certificate expiry check and warnings 2024-03-28 12:05:21 -07:00
completion Add new `k3s completion` command for shell completion (#5461) 2022-04-29 12:53:34 -07:00
containerd Kubernetes v1.27.1 (#7271) 2023-04-18 21:48:36 -07:00
ctr [master] changing package to k3s-io (#4846) 2022-03-02 15:47:27 -08:00
encrypt CLI + Backend for Secrets Encryption v3 2023-08-25 14:17:00 -06:00
etcdsnapshot v1.27.1 CLI Deprecation (#7311) 2023-04-19 12:02:05 -07:00
k3s Fix MustFindString returning override flags on external CLI commands 2024-11-06 12:41:11 -08:00
kubectl [master] changing package to k3s-io (#4846) 2022-03-02 15:47:27 -08:00
server Add certificate expiry check and warnings 2024-03-28 12:05:21 -07:00
token Server Token Rotation (#8265) 2023-10-09 10:58:49 -07:00