k3s/pkg/cli/cmds
Edgar Lee b02a874d53 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>
(cherry picked from commit fe18b1fce9)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2023-10-17 10:45:12 -07:00
..
agent.go Add --image-service-endpoint flag (#8279) 2023-10-17 10:45:12 -07:00
certs.go Server Token Rotation (#8578) 2023-10-10 09:45:27 -07:00
check-config.go Revert "Add config file support" 2020-08-29 21:44:07 -07:00
completion.go [Release-1.25] Ensure flag type consistency (#6867) 2023-02-01 09:23:43 -08:00
config.go [Release-1.25] Ensure flag type consistency (#6867) 2023-02-01 09:23:43 -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
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 [Release-1.25] Ensure flag type consistency (#6867) 2023-02-01 09:23:43 -08: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 [Release-1.25] Ensure flag type consistency (#6867) 2023-02-01 09:23:43 -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 [Release-1.25] Ensure flag type consistency (#6867) 2023-02-01 09:23:43 -08:00
secrets_encrypt.go [Release-1.25] Ensure flag type consistency (#6867) 2023-02-01 09:23:43 -08:00
server.go Add --image-service-endpoint flag (#8279) 2023-10-17 10:45:12 -07:00
stage.go Update golangci-lint to 1.45.2 2022-04-13 14:48:42 -07:00
token.go Server Token Rotation (#8578) 2023-10-10 09:45:27 -07:00