System Configuration
This section provides an overview of the required configuration files and repository layout to successfully install the PAS-X MES system in a GitOps-based Kubernetes environment.
At this stage, it’s assumed that you have already set up a Git repository to store your configuration files.
GitOps Operating Model and Change Management
The PAS-X MES system follows a strict GitOps operating model. All configuration and lifecycle changes of Kubernetes resources must be performed exclusively via Git and applied through Argo CD.
The Git repository represents the single source of truth for the desired system state.
|
It is recommended not to use the Service Configuration dialog for routine configuration changes. Changes made there are stored in the database and are not reflected in your Git repository, so they are not visible to GitOps reconciliation or drift detection. For details about its limitations and the cases where runtime adjustments are supported, see the Service Configuration guidance. |
|
Kubernetes resources must not be modified manually in the cluster. This includes (but is not limited to):
Any change must be done by updating the corresponding |
Consequences of Manual Cluster Changes
Direct changes applied to resources inside the Kubernetes cluster (e.g. via kubectl edit, kubectl apply, or UI tools) are not supported and may lead to inconsistent system behavior.
Possible consequences include:
-
Argo CD continuously reverting changes to the Git-defined state
-
Broken or incomplete reconciliation flows
-
MES Operator workflows no longer functioning as expected
-
Increased need for manual intervention
-
In severe cases, a full uninstallation and re-deployment of affected components may be required to restore a consistent state
To ensure a stable, reproducible, and supportable system, always apply changes through Git and Argo CD.
Argo CD Application Manifest
Before you can install the mes-applications Helm chart, you must prepare an Argo CD Application manifest.
This manifest tells Argo CD where to find the mes-applications chart in the OCI registry and which Git repository contains your configuration files.
The manifest uses two sources:
-
The first source references the
mes-applicationsHelm chart from the OCI registry and points to yourmes-applications-values.yamlfile in your Git repository. -
The second source provides Argo CD with access to your Git repository so it can resolve the values files referenced in the first source.
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: pasx-system
namespace: <argo-cd-namespace> (1)
spec:
destination:
namespace: <pasx-mes-namespace> (2)
server: https://kubernetes.default.svc
project: default
sources:
- chart: mes-applications
repoURL: <your-registry-path-to-all-charts> (3)
targetRevision: <chart-version> (4)
helm:
valueFiles:
- $gitRepo/<path-to-mes-applications-values.yaml> (5)
parameters:
- name: source.git.revision
value: <your-git-branch> (6)
- ref: gitRepo
repoURL: <git-repo-url> (7)
targetRevision: <git-branch> (6)
syncPolicy:
syncOptions:
- ServerSideApply=true
| 1 | The namespace where Argo CD is deployed. |
| 2 | The namespace where PAS-X MES resources will be created. |
| 3 | The OCI registry URL hosting all PAS-X Helm charts. |
| 4 | The version of the mes-applications chart to install. |
| 5 | Path to your mes-applications-values.yaml file relative to the Git repository root. |
| 6 | The Git branch of your configuration repository to use. |
| 7 | The URL of your Git repository containing the configuration files. |
|
The second |
|
This manifest is an intentional exception to the GitOps operating model. Because this All subsequent configuration and lifecycle changes must follow the GitOps approach — via Git and Argo CD. |
|
If your registry requires flattened chart names, see Using Flattened Image Names. For OpenShift-specific guidance, refer to OpenShift Internal Registry and ImageStreams. |
Git Repository Structure
The PAS-X MES SmartInstall uses a GitOps approach: configuration is stored in a Git repository that serves as the single source of truth. Argo CD consumes the repository and uses the provided files to generate and manage all required Kubernetes resources.
A recommended folder and file structure for the Git repository is shown below:
pasx-mes-deployment/
├── mes-applications-values.yaml
└── environment-configuration/
├── global/
│ └── values.yaml
├── instance/
│ └── values.yaml
├── mes-api-gateway/
│ └── values.yaml
├── mes-installation-server/
│ └── values.yaml
├── mes-language-packs/
│ └── values.yaml
├── mes-operator/
│ └── values.yaml
├── mes-otel/
│ └── values.yaml
├── rabbitmq-cluster/
│ └── values.yaml
├── rabbitmq-operator/
│ └── values.yaml
├── pasx-argo-workflows/
│ └── values.yaml
├── mes-workflows/
│ └── values.yaml
└── <mes-service>/ # create a dedicated folder per MES Service (e.g., central, wms, uia, ...)
└── values.yaml
|
The folder names inside Each of these folders must contain a file named exactly |
The path to this root configuration directory (environment-configuration/) must be configured in the mes-applications-values.yaml file under the rootFolder property.
The same applies to the optional globalFile configuration file, which is expected as a path relative to this root folder.
This structure enables Argo CD to locate and apply the correct values files automatically for each chart.
Make sure that these names are used exactly in both the ApplicationSet configuration and the folder structure in your Git repository.
See Applications for the full list of applications and their corresponding chart names.
PAS-X Bootstrap Chart Configuration
The mes-applications-values.yaml file is the central configuration file for the PAS-X MES system.
It drives the entire installation by configuring the ApplicationSets that Argo CD uses to generate and manage all required Applications — one per MES component and service.
This file must be stored at the root of your Git repository and referenced in the Argo CD Application manifest above.
For complete configuration options, see the MES Applications configuration documentation.
System Configuration
The systemConfiguration section of mes-applications-values.yaml lets you define system-level environment and identifier settings.
These settings serve two purposes:
-
Environment verification — consumed by installation workflows to verify that the Kubernetes environment meets the required conditions before installation proceeds.
-
System identification — used to identify the system when generating the installation report.
The settings are stored in the cluster as part of the installation process.
Global Configuration
Shared configuration across multiple components can be centralized in a single file:
-
In the example of the Git Repository Structure, this is the file located at
global/values.yaml. -
This file represents the global values file used for shared configuration across all PAS-X Helm charts.
-
The file must be referenced in the MES Applications Configuration documentation.
-
See the PAS-X Global Values Schema documentation for further details.
Individual Helm Chart Configurations
Following PAS-X Helm charts require its own configuration file stored in a subfolder matching the chart name.
Each folder must contain a file named values.yaml.
-
instance/values.yaml– See Instance configuration. -
mes-api-gateway/values.yaml– See API Gateway configuration. -
mes-installation-server/values.yaml– See MES Installation Server configuration. -
mes-language-packs/values.yaml– See MES Language Packs configuration. -
mes-operator/values.yaml– See MES Operator configuration. -
mes-otel/values.yaml– See MES OTel configuration. -
mes-workflows/values.yaml– See MES Workflows configuration. -
pasx-argo-workflows/values.yaml– See PAS-X Argo Workflows configuration. -
rabbitmq-cluster/values.yaml– See RabbitMQ cluster. -
rabbitmq-operator/values.yaml– See RabbitMQ Operator configuration. -
<mes-service>/values.yaml– For available configuration options, refer to the relevant MES Service section in the Configuration Report.