github.com/argoproj/argo-cd@v1.8.7/docs/user-guide/commands/argocd_app_patch-resource.md (about)

     1  ## argocd app patch-resource
     2  
     3  Patch resource in an application
     4  
     5  ### Synopsis
     6  
     7  Patch resource in an application
     8  
     9  ```
    10  argocd app patch-resource APPNAME [flags]
    11  ```
    12  
    13  ### Options
    14  
    15  ```
    16        --all                    Indicates whether to patch multiple matching of resources
    17        --group string           Group
    18    -h, --help                   help for patch-resource
    19        --kind string            Kind
    20        --namespace string       Namespace
    21        --patch string           Patch
    22        --patch-type string      Which Patching strategy to use: 'application/json-patch+json', 'application/merge-patch+json', or 'application/strategic-merge-patch+json'. Defaults to 'application/merge-patch+json' (default "application/merge-patch+json")
    23        --resource-name string   Name of resource
    24  ```
    25  
    26  ### Options inherited from parent commands
    27  
    28  ```
    29        --auth-token string               Authentication token
    30        --client-crt string               Client certificate file
    31        --client-crt-key string           Client certificate key file
    32        --config string                   Path to Argo CD config (default "/home/user/.argocd/config")
    33        --grpc-web                        Enables gRPC-web protocol. Useful if Argo CD server is behind proxy which does not support HTTP2.
    34        --grpc-web-root-path string       Enables gRPC-web protocol. Useful if Argo CD server is behind proxy which does not support HTTP2. Set web root.
    35    -H, --header strings                  Sets additional header to all requests made by Argo CD CLI. (Can be repeated multiple times to add multiple headers, also supports comma separated headers)
    36        --insecure                        Skip server certificate and domain verification
    37        --logformat string                Set the logging format. One of: text|json (default "text")
    38        --loglevel string                 Set the logging level. One of: debug|info|warn|error (default "info")
    39        --plaintext                       Disable TLS
    40        --port-forward                    Connect to a random argocd-server port using port forwarding
    41        --port-forward-namespace string   Namespace name which should be used for port forwarding
    42        --server string                   Argo CD server address
    43        --server-crt string               Server certificate file
    44  ```
    45  
    46  ### SEE ALSO
    47  
    48  * [argocd app](argocd_app.md)	 - Manage applications
    49