github.com/argoproj/argo-cd/v2@v2.10.9/docs/operator-manual/upgrading/2.0-2.1.md (about)

     1  # v2.0 to 2.1
     2  
     3  ## Upgraded Kustomize Version
     4  
     5  Note that bundled Kustomize has been upgraded to v4.2.0. Some of the flags are changed in Kustomize V4. 
     6  For example flag name `load_restrictor` is changed in Kustomize v4+. It is changed from `--load_restrictor=none` to `--load-restrictor LoadRestrictionsNone`. 
     7  
     8  ## Replacing `--app-resync` flag with `timeout.reconciliation` setting
     9  
    10  The`--app-resync` flag allows controlling how frequently Argo CD application controller checks resolve the target
    11  application revision of each application. In order to allow caching resolved revision per repository as opposed to per
    12  application, the `--app-resync` flag has been deprecated. Please use `timeout.reconciliation` setting in `argocd-cm` ConfigMap instead. The value of `timeout.reconciliation` is a duration string e.g `60s`, `1m`, `1h` or `1d`.
    13  See example in [argocd-cm.yaml](../argocd-cm.yaml).
    14  
    15  From here on you can follow the [regular upgrade process](./overview.md).
    16  
    17  ## Replacing `repositories` and `repository.credentials` with Secrets
    18  
    19  The configuration of repositories and repository credential templates via the `argocd-cm` has been deprecated.
    20  Repositories and repository credentials are now discovered via Secrets that are labeled with `argocd.argoproj.io/secret-type=repository`
    21  or `argocd.argoproj.io/secret-type=repo-creds` respectively. See the examples in [argocd-repositories.yaml](../argocd-repositories.yaml)
    22  and [argocd-repo-creds.yaml](../argocd-repo-creds.yaml).
    23  
    24  ## The `argocd-util` CLI commands merged into `argocd admin` 
    25  
    26  The `argocd-util` CLI commands are available under `argocd admin` and the `argocd-util` binary is no longer available.
    27  
    28  ## Replace runtime system user while [BYOI](../custom_tools.md#byoi-build-your-own-image)
    29  
    30  Runtime system user should to be changed from `argocd` to `999`, as shown below.
    31  
    32  ```dockerfile
    33  FROM argoproj/argocd:latest
    34  
    35  # Switch to root for the ability to perform install
    36  USER root
    37  
    38  # Something custom here
    39  RUN apt-get update
    40  
    41  # Switch back to non-root user
    42  
    43  # deprecated: USER argocd
    44  USER 999
    45  ```