Argo CD

This section provides guidance on resolving potential issues that may arise when using Argo CD for application deployment and management.

Application pasx-system can’t be synced

Symptoms

  • Application pasx-system shows OutOfSync status

  • Sync can’t be performed via Argo CD Web UI

Possible causes

  • Helm chart referenced in the configuration are not accessible

  • Access to the Git repository is not configured correctly

  • Configuration of the Körber PAS-X Bootstrap Application is incorrect

Diagnosis

via Argo CD Web UI

  1. Open the Argo CD Web UI

  2. Navigate to the Applications section

  3. Select the application named pasx-system

  4. Check the App Conditions for any issues

  5. Click on error messages to get more details

with kubectl

  1. Identify the application

    kubectl get apps -n <namespace>
  2. Get the error message with

    kubectl describe app <pasx-system-app> -n <namespace> -o jsonpath="{.status.conditions[*].message}"

Error Messages and Solutions

helm pull command failed

Possible cause

The configured Helm chart does not exist or is not accessible

Solution
  • Ensure that the Helm repository URL configured in your Körber PAS-X Bootstrap Application is correct and accessible.

  • Ensure that the Helm chart configured in your Körber PAS-X Bootstrap Application exists in the specified Helm repository

  • Check Administration Guide, chapter Installation Execution for detailed steps.

failed to get git client for repo <your-git-repo>

Possible cause

Access to the Git repository is not configured correctly.

Solution

Ensure that the repository is correctly set up in Argo CD for accessing the Git repository.

failed to execute helm template command

Possible cause

The configured value file can’t be opened
Error: open <path to cached source>/<your-pasx-apps.yaml>: no such file or directory

Solution
  • Check and correct the configuration of the values in your Körber PAS-X Bootstrap Application in the Git repository (see Application manifest example).

  • Commit your changes and push them to the Git repository.

  • Delete the pasx-system application in Argo CD Web UI.

  • Recreate the pasx-system application by applying the manifest again (see Install the Application resource).