k3s/pkg/cli/cmds
Edgar Lee fe18b1fce9
Add --image-service-endpoint flag (#8279)
* Add --image-service-endpoint flag

Problem:
External container runtime can be set but image service endpoint is unchanged
and also is not exposed as a flag. This is useful for using containerd
snapshotters outside of the ones that have built-in support like
stargz-snapshotter.

Solution:
Add a flag --image-service-endpoint and also default image service endpoint to
container runtime endpoint if set.

Signed-off-by: Edgar Lee <edgarhinshunlee@gmail.com>
2023-09-27 13:20:50 -07:00
..
agent.go Add --image-service-endpoint flag (#8279) 2023-09-27 13:20:50 -07:00
certs.go Add `--data-dir` to the `k3s certificate rotate-ca` cli (#7791) 2023-07-03 09:30:04 -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 Ensure flag type consistency (#6852) 2023-01-31 12:57:48 -08: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 Review comments and fixes 2023-08-25 14:17:00 -06:00
server.go Add --image-service-endpoint flag (#8279) 2023-09-27 13:20:50 -07:00
stage.go Update golangci-lint to 1.45.2 2022-04-13 14:48:42 -07:00
token.go Add support for `k3s token` command 2023-02-07 14:55:04 -08:00