From 588eb2d5aea35d0c6e3bece766f34c7b83232bfc Mon Sep 17 00:00:00 2001 From: Ilya Lesikov Date: Tue, 22 Mar 2022 16:25:58 +0300 Subject: [PATCH] fix(docs): update cli reference Signed-off-by: Ilya Lesikov --- docs/_includes/reference/cli/werf_kube_run.md | 13 ++++++------- docs/_includes/reference/cli/werf_kubectl_get.md | 2 +- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/docs/_includes/reference/cli/werf_kube_run.md b/docs/_includes/reference/cli/werf_kube_run.md index e35177b08c..8fc438a19e 100644 --- a/docs/_includes/reference/cli/werf_kube_run.md +++ b/docs/_includes/reference/cli/werf_kube_run.md @@ -27,6 +27,10 @@ werf kube-run [options] [IMAGE_NAME] [-- COMMAND ARG...] {{ header }} Options ```shell + --auto-pull-secret=true + Automatically create docker config secret in the namespace and plug it via pod`s + imagePullSecrets for private registry access (default $WERF_AUTO_PULL_SECRET or true if + not specified) --cache-repo=[] Specify one or multiple cache repos with images that will be used as a cache. Cache will be populated when pushing newly built images into the primary repo and when @@ -100,12 +104,6 @@ werf kube-run [options] [IMAGE_NAME] [-- COMMAND ARG...] Use plain HTTP requests when accessing a registry (default $WERF_INSECURE_REGISTRY) -i, --interactive=false Enable interactive mode (default $WERF_INTERACTIVE or false if not specified) - --kube-config='' - Kubernetes config file path (default $WERF_KUBE_CONFIG, or $WERF_KUBECONFIG, or - $KUBECONFIG) - --kube-config-base64='' - Kubernetes config data as base64 string (default $WERF_KUBE_CONFIG_BASE64 or - $WERF_KUBECONFIG_BASE64 or $KUBECONFIG_BASE64) --kube-context='' Kubernetes config context (default $WERF_KUBE_CONTEXT) --log-color-mode='auto' @@ -167,7 +165,8 @@ werf kube-run [options] [IMAGE_NAME] [-- COMMAND ARG...] --repo-quay-token='' quay.io token (default $WERF_REPO_QUAY_TOKEN) --rm=true - Remove pod after command completion (default $WERF_RM or true if not specified) + Remove pod and other created resources after command completion (default $WERF_RM or + true if not specified) --rm-with-namespace=false Remove also a namespace after command completion (default $WERF_RM_WITH_NAMESPACE or false if not specified) diff --git a/docs/_includes/reference/cli/werf_kubectl_get.md b/docs/_includes/reference/cli/werf_kubectl_get.md index bf52a0c908..cca643a606 100644 --- a/docs/_includes/reference/cli/werf_kubectl_get.md +++ b/docs/_includes/reference/cli/werf_kubectl_get.md @@ -14,7 +14,7 @@ Use "kubectl api-resources" for a complete list of supported resources. {{ header }} Syntax ```shell -werf kubectl get [(-o|--output=)json|yaml|name|go-template|go-template-file|template|templatefile|jsonpath|jsonpath-as-json|jsonpath-file|custom-columns-file|custom-columns|wide] (TYPE[.VERSION][.GROUP] [NAME | -l label] | TYPE[.VERSION][.GROUP]/NAME ...) [flags] [options] +werf kubectl get [(-o|--output=)json|yaml|name|go-template|go-template-file|template|templatefile|jsonpath|jsonpath-as-json|jsonpath-file|custom-columns|custom-columns-file|wide] (TYPE[.VERSION][.GROUP] [NAME | -l label] | TYPE[.VERSION][.GROUP]/NAME ...) [flags] [options] ``` {{ header }} Examples