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

     1  ## argocd app set
     2  
     3  Set application parameters
     4  
     5  ### Synopsis
     6  
     7  Set application parameters
     8  
     9  ```
    10  argocd app set APPNAME [flags]
    11  ```
    12  
    13  ### Options
    14  
    15  ```
    16        --allow-empty                               Set allow zero live resources when sync is automated
    17        --auto-prune                                Set automatic pruning when sync is automated
    18        --config-management-plugin string           Config management plugin name
    19        --dest-name string                          K8s cluster Name (e.g. minikube)
    20        --dest-namespace string                     K8s target namespace (overrides the namespace specified in the ksonnet app.yaml)
    21        --dest-server string                        K8s cluster URL (e.g. https://kubernetes.default.svc)
    22        --directory-exclude string                  Set glob expression used to exclude files from application source path
    23        --directory-recurse                         Recurse directory
    24        --env string                                Application environment to monitor
    25        --helm-chart string                         Helm Chart name
    26        --helm-set stringArray                      Helm set values on the command line (can be repeated to set several values: --helm-set key1=val1 --helm-set key2=val2)
    27        --helm-set-file stringArray                 Helm set values from respective files specified via the command line (can be repeated to set several values: --helm-set-file key1=path1 --helm-set-file key2=path2)
    28        --helm-set-string stringArray               Helm set STRING values on the command line (can be repeated to set several values: --helm-set-string key1=val1 --helm-set-string key2=val2)
    29        --helm-version string                       Helm version
    30    -h, --help                                      help for set
    31        --jsonnet-ext-var-code stringArray          Jsonnet ext var
    32        --jsonnet-ext-var-str stringArray           Jsonnet string ext var
    33        --jsonnet-libs stringArray                  Additional jsonnet libs (prefixed by repoRoot)
    34        --jsonnet-tla-code stringArray              Jsonnet top level code arguments
    35        --jsonnet-tla-str stringArray               Jsonnet top level string arguments
    36        --kustomize-common-annotation stringArray   Set common labels in Kustomize
    37        --kustomize-common-label stringArray        Set common labels in Kustomize
    38        --kustomize-image stringArray               Kustomize images (e.g. --kustomize-image node:8.15.0 --kustomize-image mysql=mariadb,alpine@sha256:24a0c4b4a4c0eb97a1aabb8e29f18e917d05abfe1b7a7c07857230879ce7d3d)
    39        --kustomize-version string                  Kustomize version
    40        --nameprefix string                         Kustomize nameprefix
    41        --namesuffix string                         Kustomize namesuffix
    42    -p, --parameter stringArray                     set a parameter override (e.g. -p guestbook=image=example/guestbook:latest)
    43        --path string                               Path in repository to the app directory, ignored if a file is set
    44        --project string                            Application project name
    45        --release-name string                       Helm release-name
    46        --repo string                               Repository URL, ignored if a file is set
    47        --revision string                           The tracking source branch, tag, commit or Helm chart version the application will sync to
    48        --revision-history-limit int                How many items to keep in revision history (default 10)
    49        --self-heal                                 Set self healing when sync is automated
    50        --sync-option Prune=false                   Add or remove a sync options, e.g add Prune=false. Remove using `!` prefix, e.g. `!Prune=false`
    51        --sync-policy string                        Set the sync policy (one of: none, automated (aliases of automated: auto, automatic))
    52        --validate                                  Validation of repo and cluster (default true)
    53        --values stringArray                        Helm values file(s) to use
    54        --values-literal-file string                Filename or URL to import as a literal Helm values block
    55  ```
    56  
    57  ### Options inherited from parent commands
    58  
    59  ```
    60        --auth-token string               Authentication token
    61        --client-crt string               Client certificate file
    62        --client-crt-key string           Client certificate key file
    63        --config string                   Path to Argo CD config (default "/home/user/.argocd/config")
    64        --grpc-web                        Enables gRPC-web protocol. Useful if Argo CD server is behind proxy which does not support HTTP2.
    65        --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.
    66    -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)
    67        --insecure                        Skip server certificate and domain verification
    68        --logformat string                Set the logging format. One of: text|json (default "text")
    69        --loglevel string                 Set the logging level. One of: debug|info|warn|error (default "info")
    70        --plaintext                       Disable TLS
    71        --port-forward                    Connect to a random argocd-server port using port forwarding
    72        --port-forward-namespace string   Namespace name which should be used for port forwarding
    73        --server string                   Argo CD server address
    74        --server-crt string               Server certificate file
    75  ```
    76  
    77  ### SEE ALSO
    78  
    79  * [argocd app](argocd_app.md)	 - Manage applications
    80