k3s/pkg/cli
Brad Davidson c45524e662 Add support for containerd cri registry config_path
Render cri registry mirrors.x.endpoints and configs.x.tls into config_path; keep
using mirrors.x.rewrites and configs.x.auth those do not yet have an
equivalent in the new format.

The new config file format allows disabling containerd's fallback to the
default endpoint when using mirror endpoints; a new CLI flag is added to
control that behavior.

This also re-shares some code that was unnecessarily split into parallel
implementations for linux/windows versions. There is probably more work
to be done on this front but it's a good start.

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2024-01-04 16:50:26 -08:00
..
agent Fix gofmt error 2023-09-26 11:09:03 +02:00
cert Consolidate CopyFile functions (#8079) 2023-08-01 08:55:34 -07:00
cmds Add support for containerd cri registry config_path 2024-01-04 16:50:26 -08:00
completion Add new k3s completion command for shell completion (#5461) 2022-04-29 12:53:34 -07:00
crictl [K3s][Windows Port] Build script, multi-call binary, and Flannel (#7259) 2023-10-16 14:53:09 -04:00
ctr [master] changing package to k3s-io (#4846) 2022-03-02 15:47:27 -08:00
etcdsnapshot Disable helm CRD installation for disable-helm-controller (#8702) 2023-11-15 14:35:31 -08:00
kubectl [master] changing package to k3s-io (#4846) 2022-03-02 15:47:27 -08:00
secretsencrypt Review comments and fixes 2023-08-25 14:17:00 -06:00
server Update flannel to v0.24.0 and remove multiclustercidr flag (#9075) 2023-12-20 00:25:38 +02:00
token Use version.Program not K3s in log (#8653) 2023-10-16 11:02:12 -07:00