diff --git a/charts/datacenter/pipelines/templates/tasks/argocd-sync-and-wait.yaml b/charts/datacenter/pipelines/templates/tasks/argocd-sync-and-wait.yaml index 1ad1aa7b3..4422f30a8 100644 --- a/charts/datacenter/pipelines/templates/tasks/argocd-sync-and-wait.yaml +++ b/charts/datacenter/pipelines/templates/tasks/argocd-sync-and-wait.yaml @@ -30,6 +30,6 @@ spec: - if [ -z $ARGOCD_AUTH_TOKEN ]; then yes | argocd login $(params.argocd-server) --grpc-web $(params.flags) --username=$(cat $(workspaces.argocd-env-secret.path)/ARGOCD_USERNAME) --password=$(cat $(workspaces.argocd-env-secret.path)/ARGOCD_PASSWORD); fi; - - argocd app get --refresh $(params.application.name); + - argocd app get --refresh $(params.application-name); - argocd app sync $(params.application-name) --revision $(params.revision) $(params.flags); - argocd app wait $(params.application-name) --health $(params.flags);