From d8793d48d940e1a47b1988dae3743c3dc39e44a6 Mon Sep 17 00:00:00 2001 From: norbjd Date: Tue, 11 Jun 2024 15:56:01 +0200 Subject: [PATCH] Clarify registry-insecure flag description (#2348) Related to #2335 --- cmd/build.go | 2 +- cmd/deploy.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/build.go b/cmd/build.go index a1dd24a07d..96f0cf60a8 100644 --- a/cmd/build.go +++ b/cmd/build.go @@ -102,7 +102,7 @@ EXAMPLES fmt.Sprintf("Builder to use when creating the function's container. Currently supported builders are %s. ($FUNC_BUILDER)", KnownBuilders())) cmd.Flags().StringP("registry", "r", cfg.Registry, "Container registry + registry namespace. (ex 'ghcr.io/myuser'). The full image name is automatically determined using this along with function name. ($FUNC_REGISTRY)") - cmd.Flags().Bool("registry-insecure", cfg.RegistryInsecure, "Disable HTTPS when communicating to the registry ($FUNC_REGISTRY_INSECURE)") + cmd.Flags().Bool("registry-insecure", cfg.RegistryInsecure, "Skip TLS certificate verification when communicating in HTTPS with the registry ($FUNC_REGISTRY_INSECURE)") // Function-Context Flags: // Options whose value is available on the function with context only diff --git a/cmd/deploy.go b/cmd/deploy.go index 453b54c25e..c04625d9db 100644 --- a/cmd/deploy.go +++ b/cmd/deploy.go @@ -152,7 +152,7 @@ EXAMPLES fmt.Sprintf("Builder to use when creating the function's container. Currently supported builders are %s.", KnownBuilders())) cmd.Flags().StringP("registry", "r", cfg.Registry, "Container registry + registry namespace. (ex 'ghcr.io/myuser'). The full image name is automatically determined using this along with function name. ($FUNC_REGISTRY)") - cmd.Flags().Bool("registry-insecure", cfg.RegistryInsecure, "Disable HTTPS when communicating to the registry ($FUNC_REGISTRY_INSECURE)") + cmd.Flags().Bool("registry-insecure", cfg.RegistryInsecure, "Skip TLS certificate verification when communicating in HTTPS with the registry ($FUNC_REGISTRY_INSECURE)") // Function-Context Flags: // Options whose value is available on the function with context only