github.com/argoproj/argo-cd@v1.8.7/docs/operator-manual/server-commands/argocd-util_kubeconfig.md (about)

     1  ## argocd-util kubeconfig
     2  
     3  Generates kubeconfig for the specified cluster
     4  
     5  ### Synopsis
     6  
     7  Generates kubeconfig for the specified cluster
     8  
     9  ```
    10  argocd-util kubeconfig CLUSTER_URL OUTPUT_PATH [flags]
    11  ```
    12  
    13  ### Options
    14  
    15  ```
    16        --as string                      Username to impersonate for the operation
    17        --as-group stringArray           Group to impersonate for the operation, this flag can be repeated to specify multiple groups.
    18        --certificate-authority string   Path to a cert file for the certificate authority
    19        --client-certificate string      Path to a client certificate file for TLS
    20        --client-key string              Path to a client key file for TLS
    21        --cluster string                 The name of the kubeconfig cluster to use
    22        --context string                 The name of the kubeconfig context to use
    23    -h, --help                           help for kubeconfig
    24        --insecure-skip-tls-verify       If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure
    25        --kubeconfig string              Path to a kube config. Only required if out-of-cluster
    26    -n, --namespace string               If present, the namespace scope for this CLI request
    27        --password string                Password for basic authentication to the API server
    28        --request-timeout string         The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests. (default "0")
    29        --server string                  The address and port of the Kubernetes API server
    30        --tls-server-name string         If provided, this name will be used to validate server certificate. If this is not provided, hostname used to contact the server is used.
    31        --token string                   Bearer token for authentication to the API server
    32        --user string                    The name of the kubeconfig user to use
    33        --username string                Username for basic authentication to the API server
    34  ```
    35  
    36  ### SEE ALSO
    37  
    38  * [argocd-util](argocd-util.md)	 - argocd-util tools used by Argo CD
    39