Installation of Körber-provided Argo CD
If Argo CD is installed using the Körber-provided Helm chart, the following sections outline all environment-specific settings and steps required to deploy Argo CD itself.
Configuration
The Körber-provided Helm chart pasx-argo-cd includes all necessary Argo CD components and default configurations tailored for PAS-X MES integration, with the exception of the AppProject, which must be configured separately when deploying Argo CD in a different namespace than PAS-X MES.
Before deploying the chart, you must define environment-specific settings in a custom values.yaml file. These include, for example:
-
The target Kubernetes namespace
-
Ingress host and path
-
Administrative credentials
-
Any required customizations
argo-cd-values.yaml
Refer to the Körber Argo CD Configuration Schema for a full reference of all configurable parameters.
Although storing argo-cd-values.yaml in a Git repository is not mandatory, it is recommended to version it alongside your PAS-X MES configuration files. This ensures consistency, enables traceability, and supports GitOps best practices.
OpenShift Route
Enable the wrapper chart’s root-level route.enabled explicitly and disable argo-cd.server.ingress.enabled.
Keep the upstream argo-cd.server.route.enabled disabled; its template does not support spec.tls.externalCertificate.
Use the OpenShift values example.
The wrapper Route uses edge TLS termination and the fixed Secret name argocd-server-tls.
Set route.routerServiceAccountName and route.routerNamespace to the actual router identity supplied by the cluster administrator.
For certificate provisioning, see OpenShift certificate provisioning.
Namespace Placement
In case of deploying Argo CD in a different namespace than PAS-X MES, it’s necessary to follow additional steps to ensure proper integration and permissions between Argo CD and the PAS-X MES applications. This is supported via Argo CD’s Applications in any Namespace documentation, which has mandatory prerequisites:
-
Cluster‑scoped Argo CD install – Argo CD must run with cluster‑wide RBAC (ClusterRoles/ClusterRoleBindings).
-
Enable Applications/ApplicationSets in Any Namespace – Set the controller/server parameter so Argo CD watches the PAS‑X MES namespace for
ApplicationCRs. Additionally, setapplicationSet.allowAnyNamespace: trueto grant the ApplicationSet controller the necessary RBAC to manage resources across namespaces. -
SCM/PR generator hardening (required when ApplicationSets are namespaced) – Disable SCM generators.
Example of necessary configuration for the Argo CD Helm Chartargo-cd: namespaceOverride: "<argocd-namespace>" createClusterRoles: true applicationSet: allowAnyNamespace: true configs: params: application.namespaces: "<pasx-mes-namespace>" applicationsetcontroller.namespaces: "<pasx-mes-namespace>" applicationsetcontroller.enable.scm.providers: false -
The
AppProjectused by PAS‑X MES must:-
Include the namespace that contains all of the
Application/ApplicationSetCRs inspec.sourceNamespaces. -
Permit the target namespace in
spec.destinations. -
Have its
AppProjectname referenced in theargo.projectproperty.Example Argo CD Project configurationapiVersion: argoproj.io/v1alpha1 kind: AppProject metadata: name: <name> namespace: <argocd-namespace> spec: description: <description> sourceNamespaces: - <pasx-mes-destination-namespace> sourceRepos: - "*" destinations: - server: "*" namespace: "*" clusterResourceWhitelist: - group: '*' kind: '*'
-
|
If you wish to continue using the default You can update this field through the Argo CD UI or with the following commands:
|
Deployment
The following steps guide you through deploying Argo CD using Körber’s Helm chart. This does not yet install PAS-X MES — only the GitOps infrastructure that will later manage PAS-X deployments.
1. Authenticate with the OCI Registry
Before installing the chart, authenticate with the OCI registry hosting the Körber Helm charts:
helm registry login <your-registry> \
--username <your-username> \
--password <your-password>
If using a token instead of a password, replace <your-password> with the <your-token>.
|
Ensure network connectivity and valid credentials before continuing.
2. Install Argo CD via Helm
|
If Argo CD has previously been installed in this cluster, ensure that any cluster-scoped resources (such as CRDs) from the previous installation have been removed before reinstalling. Otherwise, the installation may fail due to already existing cluster-scoped resources that still belong to the previous installation. Depending on your installation method, these resources may need to be removed manually after uninstalling Argo CD. |
Install Argo CD using the pasx-argo-cd chart:
helm install pasx-argo-cd oci://<your-registry>/<path-to-argo-cd-chart>/pasx-argo-cd \
--version <chart-version> \
--namespace <argocd-namespace> \
--create-namespace \
-f argo-cd-values.yaml
3. Access the Argo CD Web UI
After installation, access the Argo CD Web UI via your configured ingress host and path.
https://example.argo.com/argo-cd
Determine the exact URL by:
-
Reviewing
global.domainandserver.ingress.pathin yourargo-cd-values.yaml, or -
Inspecting the generated
IngressorRouteresource in the cluster.
Login using the admin account and either:
-
The password defined in the
argocdServerAdminPasswordproperty in yourargo-cd-values.yaml, or -
The value stored in the Kubernetes secret:
kubectl -n <argocd-namespace> get secret argocd-initial-admin-secret -o jsonpath="{.data.password}" | base64 -d -
The initial password retrieved via the Argo CD CLI:
argocd admin initial-password -n <argocd-namespace>
4. Generate and Store the Argo CD API Token
To enable Argo Workflows to authenticate and interact with Argo CD (e.g., to synchronize applications or monitor health status), a dedicated API token must be generated for the Argo CD deployment account and stored in a Kubernetes Secret.
Details on how to create this token and secret can be found in the Argo CD Deployment Account Token Secret documentation.