k3s/pkg/cli/cmds
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.go Add support for containerd cri registry config_path 2024-01-04 16:50:26 -08:00
certs.go Server Token Rotation (#8265) 2023-10-09 10:58:49 -07:00
check-config.go Revert "Add config file support" 2020-08-29 21:44:07 -07:00
completion.go Ensure flag type consistency (#6852) 2023-01-31 12:57:48 -08:00
config.go Ensure flag type consistency (#6852) 2023-01-31 12:57:48 -08:00
const_linux.go Update golangci-lint to 1.45.2 2022-04-13 14:48:42 -07:00
const_windows.go Bump golang to 1.18.1 2022-05-11 14:39:07 -07:00
cover_default.go Test Coverage Reports for E2E tests (#7526) 2023-06-05 14:15:17 -07:00
cover_linux.go Test Coverage Reports for E2E tests (#7526) 2023-06-05 14:15:17 -07:00
crictl.go Revert "Add config file support" 2020-08-29 21:44:07 -07:00
ctr.go Revert "Add config file support" 2020-08-29 21:44:07 -07:00
etcd_snapshot.go Cleanup help messages (#7369) 2023-04-27 13:36:11 -07:00
init_default.go Bump golang to 1.18.1 2022-05-11 14:39:07 -07:00
init_linux.go Update golangci-lint to 1.45.2 2022-04-13 14:48:42 -07:00
kubectl.go Revert "Add config file support" 2020-08-29 21:44:07 -07:00
log.go Update Kubernetes to v1.29.0+k3s1 (#9052) 2023-12-19 05:14:02 +02:00
log_default.go Bump golang to 1.18.1 2022-05-11 14:39:07 -07:00
log_linux.go Update to v1.25.0-k3s1 (#6040) 2022-08-27 03:33:13 +02:00
nostage.go Bump golang to 1.18.1 2022-05-11 14:39:07 -07:00
root.go Ensure flag type consistency (#6852) 2023-01-31 12:57:48 -08:00
secrets_encrypt.go Remove rotate-keys subcommand (#9079) 2023-12-20 12:26:41 -08:00
server.go Add support for containerd cri registry config_path 2024-01-04 16:50:26 -08:00
stage.go Added runtime classes for crun/wasm/nvidia 2023-12-08 15:49:28 -03:00
token.go Server Token Rotation (#8265) 2023-10-09 10:58:49 -07:00