Argo CD Helm Chart Configuration Schema
This schema defines the values required to set up Argo CD in a PAS-X MES environment. It covers environment-specific adjustments, access settings, and optional security configurations.
The Körber-provided Argo CD Helm chart wraps the official Argo CD Helm chart.
Place upstream configuration under argo-cd and wrapper OpenShift Route configuration under the root-level route property.
For configuration options not explicitly described here, refer to the official Argo CD Helm Chart Documentation.
|
Ensure you select the chart version that matches the one used in your deployment to avoid compatibility issues. All the components ship with empty |
OpenShift Route example
Enable the wrapper Route explicitly; platform detection does not enable it automatically. Replace the router ServiceAccount placeholders with the identity supplied by the cluster administrator.
route:
enabled: true
routerServiceAccountName: "<router-service-account-name>" # Default is "router-default"
routerNamespace: "<router-namespace>" # Default is "openshift-ingress"
argo-cd:
redis:
securityContext: null
server:
ingress:
enabled: false
route:
enabled: false
The wrapper creates an edge-terminated Route referencing argocd-server-tls in the Argo CD namespace.
It also creates a Role and RoleBinding in that namespace, granting the configured router identity read access only to that Secret.
The Role uses the named-Secret permissions for edge Routes.
Keep both argo-cd.server.ingress.enabled and argo-cd.server.route.enabled disabled so that only the wrapper exposes the endpoint.
The Redis override removes the upstream fixed-UID security context so that OpenShift can assign an identity under the applicable SCC.
For certificate provisioning, see OpenShift certificate provisioning.
Upstream configuration example
The following sample includes a set of resource requests and limits for the Argo CD components, which are not part of the default configuration but can be added to ensure that the scheduler reserves the necessary resources for these pods. Adjust the values to your environment and requirements. This example uses Kubernetes Ingress rather than OpenShift Routes.
Example values.yaml snippet
argo-cd:
# Namespace where Argo CD will be deployed.
# Only relevant if different from the Helm Release namespace.
namespaceOverride: <argo-cd-namespace>
# Whether to create ClusterRoles (default: true). Set to false if RBAC is managed separately.
createClusterRoles: <true|false>
# Configuration options for the Argo CD ApplicationSet controller.
applicationSet:
# resource requests and limits for the ApplicationSet controller pod.
resources:
requests:
memory: "100Mi"
cpu: "50m"
limits:
memory: "512Mi"
# Only set this option if Argo CD is deployed in a different namespace than the one where PAS-X MES is installed (default: false).
allowAnyNamespace: <true|false>
# Global parameters required by Argo CD and its dependencies.
global:
# Base domain for Argo CD deployment. Must resolve to a valid DNS name.
# Used as the Ingress host.
domain: <argocd.example.com>
# Container image repository for Argo CD components.
# When overriding, provide the full registry path including repository namespace
# and image path, but exclude the image name and tag.
# Example: quay.io/argoproj (not just quay.io).
image:
repository: <myregistry>/argoproj/argocd
# Image pull secrets for accessing private registries.
# Especially important in air-gapped environments.
imagePullSecrets:
- name: <my-image-pull-secret-name>
# Node scheduling constraints
# Tolerations for running pods on tainted nodes.
# Uses the standard Kubernetes structure: https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/
tolerations: []
# Affinity rules for controlling pod placement on nodes.
# Uses the standard Kubernetes structure: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
affinity: {}
## Redis image
redis:
image:
repository: <myregistry>/docker/library/redis
# Configuration options for the Argo CD Server component.
server:
# Resource requests and limits for the Argo CD Server pod.
resources:
limits:
memory: 512Mi
requests:
cpu: 100m
memory: 256Mi
# Ingress configuration for exposing the Argo CD UI.
ingress:
# Name of the Ingress controller class that should be used to handle this Ingress resource (default "kong")
ingressClassName: "kong"
# Path for the Ingress resource (default "/")
path: /
# Enable TLS configuration for the hostname defined at `global.domain`
# When set to true, the Argo CD UI is exposed via HTTPS.
# NOTE: The TLS secret name is fixed as 'argocd-server-tls'.
# If TLS is enabled, this secret must exist (either created manually in advance or automatically managed by cert-manager via the corresponding issuer)
tls: true
# Custom annotations applied to the Ingress resource.
annotations:
# Forces redirection from HTTP to HTTPS.
# Only required when TLS is enabled and using NGINX Ingress.
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
# cert-manager annotations for automatic TLS certificate provisioning.
# Only required when TLS is enabled and cert-manager is used for certificate management.
cert-manager.io/cluster-issuer: <cluster-issuer>
<further-annotation-key>: <further-annotation-value>
repoServer:
resources:
limits:
cpu: 200m
memory: 512Mi
requests:
cpu: 100m
memory: 256Mi
controller:
resources:
limits:
memory: 4Gi
requests:
cpu: 100m
memory: 256Mi
# Secret values, TLS Certificates, and runtime parameters for Argo CD.
configs:
# Argo CD sensitive data
# Ref: https://argo-cd.readthedocs.io/en/stable/operator-manual/user-management/#sensitive-data-and-sso-client-secrets
secret:
# Initial password for the admin user (bcrypt-hashed).
# Example: 'admin' → '$2a$10$EAG5Xnu5XSg0da7y0sPyLO6rwgXBXUXFodh5i./nwMBrN/M3HjNAa%'.
argocdServerAdminPassword: <admin-password-hash>
# Argo CD configuration parameters. Any values you put under `.configs.params` are passed to argocd-cmd-params-cm ConfigMap.
# Ref: https://github.com/argoproj/argo-cd/blob/master/docs/operator-manual/argocd-cmd-params-cm.yaml
params:
# Set the logging level. One of: debug|info|warn|error (default "info")
# Can be adjusted for debugging (e.g. "debug").
server.log.level: <log-level>
# Only set the options below if Argo CD is deployed in a different namespace than the one where PAS-X MES is installed.
application.namespaces: "<pasx-mes-namespace>"
applicationsetcontroller.namespaces: "<pasx-mes-namespace>"
# Disabling the SCM Provider is required when Argo CD is deployed in a different namespace than PASX-MES as a security guard.
applicationsetcontroller.enable.scm.providers: "false"
# General Argo CD configuration. Any values you put under `.configs.cm` are passed to argocd-cm ConfigMap.
# Ref: https://github.com/argoproj/argo-cd/blob/master/docs/operator-manual/argocd-cm.yaml
cm:
# Disable the default admin user for improved security. One of: "true"|"false" (default "true").
# Recommended when using an external identity provider.
admin.enabled: true
# OIDC (OpenID Connect) configuration for integrating an external IdP.
# This is a sample configuration for a generic OIDC provider. More options are documented in the official Argo SSO Integration Guide.
oidc.tls.insecure.skip.verify: true # Skip TLS verification for the IdP (only if needed, e.g., self-signed certs)
oidc.config: |
name: 'MyIdentityProvider' # Friendly name of the IdP
issuer: 'https://idp.example.com' # URL of the IdP issuing tokens
clientID: 'argocd' # OAuth2/OIDC client ID
clientSecret: '<your-client-secret>' # OAuth2/OIDC client secret
requestedScopes:
- 'openid' # Required OIDC scope
- 'email' # Optional: retrieve user email
- 'groups' # Optional: retrieve user groups
- 'profile' # Optional: basic profile info
# Argo CD RBAC policy configuration
# Ref: https://github.com/argoproj/argo-cd/blob/master/docs/operator-manual/rbac.md
rbac:
# File containing user-defined policies and role definitions.
# Example: grants 'pasx-deployment' user minimal rights for application sync.
policy.csv: |
# define 'deployonly' role with limited permissions.
p, role:deployonly, applications, get, *, allow
p, role:deployonly, applications, sync, *, allow
p, role:deployonly, projects, get, *, allow
# grant 'pasx-deployment' user the 'deployonly' role.
g, pasx-deployment, role:deployonly
# define custom roles for OIDC groups, using pre-defined Argo CD roles.
g, <oidc-admin-group-name>, role:admin
g, <oidc-users-group-name>, role:readonly
# OIDC scopes to check during RBAC enforcement.
# The scope value can be a string, or a list of strings.
scopes: "[groups]"
tls:
# TLS certificates for private repositories or OCI registries.
# Map where:
# - the key is the exact repository server host (FQDN) used for the connection
# (for example, "repo.customer.net")
# - the value is the PEM-encoded trusted certificate(s) for this host.
certificates:
<repository-server-host>: |
-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----