Skip to content

v2.0 to 2.1

Upgraded Kustomize Version

Note that bundled Kustomize has been upgraded to v4.1.2. Some of the flags are changed in Kustomize V4. For example flag name load_restrictor is changed in Kustomize v4+. It is changed from --load_restrictor=none to --load-restrictor LoadRestrictionsNone.

Replacing --app-resync flag with timeout.reconciliation setting

The--app-resync flag allows controlling how frequently Argo CD application controller checks resolve the target application revision of each application. In order to allow caching resolved revision per repository as opposed to per application, the --app-resync flag has been deprecated. Please use timeout.reconciliation setting in argocd-cm ConfigMap instead. See example in argocd-cm.yaml.

From here on you can follow the regular upgrade process.

Replacing repositories and repository.credentials with Secrets

The configuration of repositories and repository credential templates via the argocd-cm has been deprecated. Repositories and repository credentials are now discovered via Secrets that are labeled with argocd.argoproj.io/secret-type=repository or argocd.argoproj.io/secret-type=repo-creds respectively. See the examples in argocd-repositories.yaml and argocd-repo-creds.yaml.