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

     1  ## argocd-util settings resource-overrides run-action
     2  
     3  Executes resource action
     4  
     5  ### Synopsis
     6  
     7  Executes resource action using the lua script configured in the 'resource.customizations' field of 'argocd-cm' ConfigMap and outputs updated fields
     8  
     9  ```
    10  argocd-util settings resource-overrides run-action RESOURCE_YAML_PATH ACTION [flags]
    11  ```
    12  
    13  ### Examples
    14  
    15  ```
    16  
    17  argocd-util settings resource-overrides action run /tmp/deploy.yaml restart --argocd-cm-path ./argocd-cm.yaml
    18  ```
    19  
    20  ### Options
    21  
    22  ```
    23    -h, --help   help for run-action
    24  ```
    25  
    26  ### Options inherited from parent commands
    27  
    28  ```
    29        --argocd-cm-path string          Path to local argocd-cm.yaml file
    30        --argocd-secret-path string      Path to local argocd-secret.yaml file
    31        --as string                      Username to impersonate for the operation
    32        --as-group stringArray           Group to impersonate for the operation, this flag can be repeated to specify multiple groups.
    33        --certificate-authority string   Path to a cert file for the certificate authority
    34        --client-certificate string      Path to a client certificate file for TLS
    35        --client-key string              Path to a client key file for TLS
    36        --cluster string                 The name of the kubeconfig cluster to use
    37        --context string                 The name of the kubeconfig context to use
    38        --insecure-skip-tls-verify       If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure
    39        --kubeconfig string              Path to a kube config. Only required if out-of-cluster
    40        --load-cluster-settings          Indicates that config map and secret should be loaded from cluster unless local file path is provided
    41    -n, --namespace string               If present, the namespace scope for this CLI request
    42        --password string                Password for basic authentication to the API server
    43        --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")
    44        --server string                  The address and port of the Kubernetes API server
    45        --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.
    46        --token string                   Bearer token for authentication to the API server
    47        --user string                    The name of the kubeconfig user to use
    48        --username string                Username for basic authentication to the API server
    49  ```
    50  
    51  ### SEE ALSO
    52  
    53  * [argocd-util settings resource-overrides](argocd-util_settings_resource-overrides.md)	 - Troubleshoot resource overrides
    54