PAS-X MES Workflows configuration Values Schema

Schema for PAS-X MES Workflows configuration values

This configuration defines values for setting up PAS-X MES system workflows.

This Helm chart deploys a set of Argo Workflows that automate key lifecycle operations for the PAS-X MES system, e.g., deploying, syncing, and undeploying.

Example

Example configuration
# Values for PAS-X MES Workflows.
# External Services Configuration
external:
  # Argo CD Server Address (required)
  argoCdServer: <argocd-server-address>
  # Argo CD CLI options (optional, defaults to --plaintext)
  # Add --grpc-web for proxies that do not support HTTP/2.
  argoCdOptions: "--plaintext --grpc-web"
  # Installation Server URL (optional, defaults to http://mes-installation-server:8080)
  installationServerUrl: http(s)://<mes-installation-server>.namespace.svc:8080

# Workflow Pod Garbage Collection Strategy
podGC:
  # Define the garbage collection strategy for workflow pods.
  strategy: <workflow-pod-gc-strategy>

# Persistent Volume Claim Settings
persistence:
  # Storage class for the persistent volume claim (optional)
  storageClassName: ""

External Services Configuration

Configuration for external services that the workflow needs to interact with during execution.

Key

external

Type

object

Required

Yes

Properties

Argo CD CLI Options

Options for the Argo CD CLI, passed through ARGOCD_OPTS. Separate multiple options with spaces. Add --grpc-web if the server is behind a proxy that does not support HTTP/2. Use an empty string for no options.

Key

external.argoCdOptions

Type

string

Required

No

Default

--plaintext

Argo CD Server Address

Fully qualified address of the Argo CD API server service including port, e.g., <service-name>.<namespace>.svc:<service-port>.

Key

external.argoCdServer

Type

string

Required

Yes

Installation Server URL

URL of the installation server where reports should be published. Must start with http:// or https://. If not provided, defaults to the installation server service in the same namespace.

Key

external.installationServerUrl

Type

string

Required

No

Default

http://mes-installation-server:8080

Image configuration

Configuration for the images used in the deployment.

If all images are hosted in the same registry take this configuration to the global values file to avoid redundant configuration.

Key

image

Type

object

Required

Yes

Properties

List of Image Pull Secret Names

List of secret names used to authenticate when pulling images from a container registry

Key

image.pullSecretNames

Type

Array of string

Required

No

Image Registry

The image registry to pull the images from.

Key

image.registry

Type

string

Required

Yes

Image Repository

The image repository path to pull the images from.

Key

image.repository

Type

string

Required

No

Default

""

Flatten Image Names

If true, use only the last path segment of each image name under the configured registry and repository. Use this when the target registry requires flat image names.

Key

image.useFlattenedImageNames

Type

boolean

Required

No

Default

false

Persistent Volume Claim Settings

Settings for the persistent volume claim used by the workflow to store deployment results.

Key

persistence

Type

object

Required

No

Properties

Storage Class Name

Storage class to use for the persistent volume claim created by the workflow for storing deployment results. If not set, it will use default of the cluster.

Key

persistence.storageClassName

Type

string

Required

No

Default

""

Workflow Pod Garbage Collection

Defines the garbage collection strategy for workflow pods.

Key

podGC

Type

object

Required

No

Properties

Pod Deletion Delay

Delay before pods marked for deletion are actually removed by the garbage collector. Format is a Go duration string (e.g., 30s, 3m, 1h). Only applicable when strategy triggers pod removal (i.e., any value other than Never).

Key

podGC.deleteAfter

Type

string

Required

No

Default

3m

Workflow Pod Garbage Collection Strategy

Strategy for cleaning up Kubernetes pods created by Argo Workflows for each step. Specifies when these pods are deleted after a workflow or step finishes. Set to Never to disable garbage collection entirely, keeping workflow pods after completion.

Key

podGC.strategy

Type

string

Required

No

Default

OnWorkflowSuccess

Enum

  • OnPodCompletion

  • OnPodSuccess

  • OnWorkflowCompletion

  • OnWorkflowSuccess

  • Never

Pod Scheduling Configuration

Configuration for how pods are scheduled on nodes.

Take this configuration to the global values file to avoid redundant configuration and ensure consistency across all charts.

Key

podScheduling

Type

object

Required

No

Properties

Enable Pod Scheduling

Whether pod scheduling rules should be applied.

Key

podScheduling.enabled

Type

boolean

Required

No

Default

false

Pod Scheduling Strategy

Strategy for pod scheduling.

Key

podScheduling.strategy

Type

string

Required

No

Default

preferred-nodes

Enum

  • preferred-nodes

  • required-nodes

Workflow Timeouts

Timeout settings for workflow execution phases and individual operations. Timeouts prevent workflows from running indefinitely in error states. Format must be Xm where X is a positive integer (e.g., 5m, 30m, 120m). Set to 0m to disable a specific timeout.

Key

timeouts

Type

object

Required

No

Properties

Installation Execution Phase Timeouts

Timeout settings for the installation execution phase and its individual operations.

Key

timeouts.installationExecution

Type

object

Required

No

Properties

Auxiliary Services Timeout

Maximum duration for auxiliary services to become ready. Format is Xm (e.g., 20m). Set to 0m to disable.

Key

timeouts.installationExecution.auxiliaryServices

Type

string

Required

No

Default

20m

Database Schema Migration Timeout

Maximum duration for database schema migrations to complete. This includes all DB Installer jobs across MES services. Format is Xm (e.g., 30m). Set to 0m to disable.

Key

timeouts.installationExecution.dbSchemaMigration

Type

string

Required

No

Default

30m

Lifecycle Action Timeout

Maximum duration for the lifecycle action (deploy/undeploy) to complete. This is the time allowed for services to reach their target state after configuration is applied. Format is Xm (e.g., 20m). Set to 0m to disable.

Key

timeouts.installationExecution.lifecycleAction

Type

string

Required

No

Default

20m

Operators Timeout

Maximum duration for the operators to become ready during the bootstrap phase. Format is Xm (e.g., 15m). Set to 0m to disable.

Key

timeouts.installationExecution.operators

Type

string

Required

No

Default

15m

Phase Timeout

Maximum duration for the entire installation phase. This is the overall timeout that encompasses all installation operations including operator bootstrap, service syncs, database migrations, and lifecycle management. Format is Xm (e.g., 90m). Set to 0m to disable.

Key

timeouts.installationExecution.phase

Type

string

Required

No

Default

90m

Installation Testing Phase Timeouts

Timeout settings for the installation testing verification phase.

Key

timeouts.installationTesting

Type

object

Required

No

Properties

Phase Timeout

Maximum duration for the entire installation testing verification phase. Format is Xm (e.g., 20m). Set to 0m to disable.

Key

timeouts.installationTesting.phase

Type

string

Required

No

Default

20m

Pre-Installation Verification Phase Timeouts

Timeout settings for the pre-installation verification phase.

Key

timeouts.preInstallationVerification

Type

object

Required

No

Properties

Phase Timeout

Maximum duration for the entire pre-installation verification phase. Format is Xm (e.g., 20m). Set to 0m to disable.

Key

timeouts.preInstallationVerification.phase

Type

string

Required

No

Default

20m

Appendix: Regex-validated strings

Some configuration values are strings that must follow a specific format. Such values are validated using a regular expression (regex) constraint.

Patterns used in this schema:

Regex-validated string

Value must follow the regex-defined format.

Regex
^[0-9]+(s|m|h)$

Used by: