PAS-X Argo Workflows Values Schema

Schema for PAS-X Argo Workflows configuration values

This schema defines the configuration block for pasx-argo-workflows used to deploy the Argo Workflows in the PAS-X MES environment.

Workflow definitions (i.e., specific workflows and workflow-templates to manage PAS-X MES deployment) are managed by a separate Helm chart, named mes-workflows. This separation allows the Argo Workflows controller and server to be deployed centrally while workflows and workflow-templates configurations remain environment-specific.

Argo Workflows supports Single Sign-On (SSO) authentication using an OpenID Connect (OIDC) provider. For detailed configuration instructions, refer to the Argo SSO Integration Guide.

Examples

General Configuration

Example configuration
# Ingress configuration (without TLS)
ingress:
  enabled: true
  controller: "kong"
  host: "<ingress-host>"
  path: "/"
  pathType: "Prefix"
  className: "custom-class-name"
  customAnnotations: {}

# SSO configuration
sso:
  enabled: true
  issuer: "https://my-issuer.org"
  redirectURL: "https://<ingress-host>/oauth2/callback"
  scopes:
    - profile
    - email
    - groups
    - openid
  #sessionExpiry: 24
  userInfoPath: "/api/oidc/userinfo"
  insecureSkipVerify: true
  clientCredentialsSecretName: "argo-workflows-sso-client-credentials"
  groups:
    #customClaimName: "special-group-claim"
    readOnly: "users"
    admin: "admins"

Ingress Configuration

TLS Configuration

Kubernetes Ingress

Only one of the following TLS configuration options should be used. Do not combine multiple methods (issuerRef or pre-existing Secret) at the same time.

If the same TLS configuration (same secret references or cert-manager settings) applies to all Ingresses in the installation, consider moving this configuration to the global values file to avoid redundancy.

Example - Additional Configuration to enable Kubernetes Ingress TLS using cert-manager (ClusterIssuer)
ingress:
  tls:
    enabled: true
    certManager:
      enabled: true
      issuerRef:
        name: "<cert-manager-cluster-issuer-name>"
        kind: "ClusterIssuer"
Example - Additional Configuration to enable Kubernetes Ingress TLS using cert-manager (Issuer)
ingress:
  tls:
    enabled: true
    certManager:
      enabled: true
      issuerRef:
        name: "<cert-manager-issuer-name>"
        kind: "Issuer"
Example - Additional Configuration to enable Ingress TLS using a pre-existing Secret (cert-manager disabled)
ingress:
  tls:
    enabled: true
    secretName: "<tls-secret-name>"
OpenShift Routes

On OpenShift, provide an explicit ingress.tls.secretName and disable chart-managed automatic issuance. The customer can manage explicit cert-manager Certificate resources to issue and renew the Secret, or provision and renew it manually. Certificate issuance is separate from Route configuration; do not use cert-manager issuer annotations on Routes. On OpenShift, the Route uses TLS passthrough: Argo Server consumes the Secret in its own namespace and terminates TLS, not the router. This does not use the router’s spec.tls.externalCertificate or require router access to the Secret.

If the same TLS secret references applies to all Routes and PAS-X Argo Workflows, consider moving this configuration to the global values file to avoid redundancy.

Example - OpenShift passthrough Route TLS using a separately managed Secret
ingress:
  tls:
    enabled: true
    secretName: "<tls-secret-name>"
    # cert-manager is disabled by default. This is explicitly set here to emphasize that it must not be enabled on OpenShift.
    certManager:
      enabled: false

Custom Ingress Path and Path Type

Example - Custom Ingress path and path type
ingress:
  # (...)
  path: "/custom-path"
  pathType: "<path-type>" # Optional, defaults to "Prefix"

sso:
  # (...)
  redirectURL: "https://<ingress-host>/custom-path/oauth2/callback"

In case you change the Ingress path, you’ll need to address the sso.redirectURL property and update it to include the new path.

Pod Scheduling Configuration

If the same Pod scheduling configuration applies to all Helm Charts in the installation, consider moving this configuration to the global values file to avoid redundancy.

Example - Pod Scheduling configuration
podScheduling:
  enabled: false
  strategy: "preferred-nodes"

Argo-Server configuration

Configuration for Argo Workflows server

Key

argoServer

Type

object

Required

No

Properties

Resource Requests and Limits

Argo-Server resources

Key

argoServer.resources

Type

object

Required

No

Properties

CPU Resources

CPU resources (requests and limits will be considered equal).

Key

argoServer.resources.cpu

Type

string

Required

No

Default

500m

Memory Resources

Memory resources (requests and limits will be considered equal).

Key

argoServer.resources.memory

Type

string

Required

No

Default

128Mi

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

Ingress Settings

Argo Workflows ingress settings

Key

ingress

Type

object

Required

No

Properties

Ingress ClassName

The name of the Ingress controller class that should be used to handle the Ingress. This typically corresponds to the controller you are using (e.g. kong).

Key

ingress.className

Type

string

Required

No

Default

kong

Ingress Controller

Ingress controller type used to handle incoming traffic. Use kong for Kong ingress controller, generic for other ingress controllers. On OpenShift clusters HAProxy is used automatically.

Key

ingress.controller

Type

string

Required

No

Default

kong

Enum

  • kong

  • generic

Custom Ingress annotations

Additional annotations to apply to the generated Ingress resource. Must be a map of string keys to string values.

Please consult your Ingress Controller documentation for the correct key/value syntax.

Key

ingress.customAnnotations

Type

object

Required

No

Enable Ingress

Enable Ingress for Argo Workflows UI.

Key

ingress.enabled

Type

boolean

Required

No

Default

true

Force SSL Redirect

Whether to enforce HTTPS redirection in the Ingress (automatically redirecting HTTP requests to HTTPS). This may be required for SSO to function correctly, as some OIDC issuers mandate HTTPS communication.

Key

ingress.forceSSLRedirect

Type

boolean

Required

No

Default

true

Ingress Host

Host for the Ingress. If empty, no hostname is used.

Key

ingress.host

Type

string

Required

No

Default

""

Ingress Path

Path prefix for Ingress routing.

Key

ingress.path

Type

string

Required

No

Default

/

Ingress Path Type

Path type for Ingress path.

Key

ingress.pathType

Type

string

Required

No

Default

Prefix

Enum

  • Prefix

  • ImplementationSpecific

  • Exact

TLS Settings

TLS configuration for the generated Kubernetes Ingress or OpenShift Route. Kubernetes Ingresses support an existing TLS Secret or automatic certificate provisioning via cert-manager. For OpenShift Routes, customers must provide and maintain the configured TLS Secret, either through explicit cert-manager Certificate resources or their own certificate management process.

If the same TLS configuration applies to multiple applications, consider moving it to the global values file to avoid redundancy.

Key

ingress.tls

Type

object

Required

No

Properties

cert-manager Settings

Optional cert-manager integration for automatic certificate issuance and renewal through Kubernetes Ingress resources. These settings do not configure certificate issuance for OpenShift Routes or create Certificate resources for them. On OpenShift, set enabled=false and manage the configured TLS Secret separately.

Key

ingress.tls.certManager

Type

object

Required

No

Properties

Enable cert-manager

Enable cert-manager integration for the generated Kubernetes Ingress. When enabled on Kubernetes, the TLS Secret name is <helm-chart-fullname>-tls. Set to false for OpenShift Routes, including when managing an explicit cert-manager Certificate resource. Enabling this setting on OpenShift does not request a certificate.

Key

ingress.tls.certManager.enabled

Type

boolean

Required

No

Default

false

cert-manager Issuer Reference

Issuer reference used for certificate issuance through annotations on the generated Kubernetes Ingress. Not used for OpenShift Route certificate issuance. Must be set when TLS and cert-manager integration are enabled.

Key

ingress.tls.certManager.issuerRef

Type

object

Required

No

Properties

Issuer Reference Kind

Kind of the cert-manager issuer resource for the Kubernetes Ingress certificate. Supported values are Issuer and ClusterIssuer. The chart adds the corresponding issuer annotation to Kubernetes Ingress resources, not OpenShift Routes.

Key

ingress.tls.certManager.issuerRef.kind

Type

string

Required

No

Default

  • ClusterIssuer

Enum

  • Issuer

  • ClusterIssuer

Issuer Reference Name

Name of the cert-manager issuer resource for the Kubernetes Ingress certificate. Must not be empty when TLS and cert-manager integration are enabled. This setting does not configure certificate issuance for OpenShift Routes.

Key

ingress.tls.certManager.issuerRef.name

Type

string

Required

No

Enable TLS

Enable TLS for the generated Kubernetes Ingress or OpenShift Route.

Key

ingress.tls.enabled

Type

boolean

Required

No

Default

false

OpenShift Settings

Configuration for the OpenShift ingress router ServiceAccount that must read TLS Secrets referenced by Route.spec.tls.externalCertificate.

Key

ingress.tls.openshift

Type

object

Required

No

Properties

Router ServiceAccount namespace

Namespace of the OpenShift ingress router ServiceAccount.

Key

ingress.tls.openshift.routerNamespace

Type

string

Required

No

Default

openshift-ingress

Router ServiceAccount name

Name of the OpenShift ingress router ServiceAccount.

Key

ingress.tls.openshift.routerServiceAccountName

Type

string

Required

No

Default

router

TLS Secret Name

Name of the Kubernetes TLS Secret used for the endpoint. On Kubernetes, required when certManager.enabled=false and ignored when certManager.enabled=true.

On OpenShift, always required when TLS is enabled. Customers must provide and maintain this Secret in the application’s namespace.

Key

ingress.tls.secretName

Type

string

Required

No

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

SSO Configuration

Single Sign-On (SSO) configuration for Argo Workflows

Key

sso

Type

object

Required

No

Properties

Client Credentials Secret Name

Name of the Kubernetes secret containing the OIDC client ID and client secret. The secret should have two keys: client-id and client-secret.

Key

sso.clientCredentialsSecretName

Type

string

Required

No

Default

""

Enable SSO integration

Enable Single Sign-On (SSO) integration.

Key

sso.enabled

Type

boolean

Required

No

Default

false

OIDC Groups mapping

OIDC groups mapping for Argo Workflows roles

Key

sso.groups

Type

object

Required

No

Properties

Admin group name

Name of the OIDC group that will be mapped to the admin role in Argo Workflows

Key

sso.groups.admin

Type

string

Required

No

Default

""

Custom Group claim name

Custom claim name to extract user groups. If your OIDC provider provides groups information with a claim name other than groups, you could configure this to specify custom claim name for the groups.

Key

sso.groups.customClaimName

Type

string

Required

No

Default

""

Read-Only group name

Name of the OIDC group that will be mapped to the read-only role in Argo Workflows

Key

sso.groups.readOnly

Type

string

Required

No

Default

""

Insecure Skip Verify

Skip TLS certificate verification when connecting to the OIDC provider.

Key

sso.insecureSkipVerify

Type

boolean

Required

No

Default

false

OIDC Issuer URL

OIDC issuer URL for authentication

Key

sso.issuer

Type

string

Required

No

Default

""

OIDC Redirect URL

Redirect URL for OIDC authentication. This should match the redirect URL configured in your OIDC provider.

Key

sso.redirectURL

Type

string

Required

No

Default

""

OIDC Scopes

Additional OIDC scopes to request during authentication (in addition to the default "openid" scope)

Key

sso.scopes

Type

Array of string

Required

No

Session Expiry duration (in hours)

Duration (in hours) for which user sessions remain valid. If not set, your SSO session will expire after 10 hours.

Key

sso.sessionExpiry

Type

number

Required

No

User Info Path

Path to the userinfo endpoint. If your OIDC provider provides groups information only using the user-info endpoint, you could configure userInfoPath to specify the user info endpoint that contains the groups claim.

Key

sso.userInfoPath

Type

string

Required

No

Default

""

Workflow Controller configuration

Configuration for Argo Workflows controller

Key

workflowController

Type

object

Required

No

Properties

Resource Requests and Limits

Workflow Controller resources

Key

workflowController.resources

Type

object

Required

No

Properties

CPU Resources

CPU resources (requests and limits will be considered equal).

Key

workflowController.resources.cpu

Type

string

Required

No

Default

500m

Memory Resources

Memory resources (requests and limits will be considered equal).

Key

workflowController.resources.memory

Type

string

Required

No

Default

256Mi