16. Chart Customization and Internals
16.1 Chart Layout
The chart lives in ix25/:
-
Chart.yaml: chart metadata.
-
values.yaml: default configuration.
-
values.schema.json: supported values schema.
-
templates/: Kubernetes templates rendered by Helm.
-
files/: embedded static assets such as Keycloak realm data, PostgreSQL scripts, and static frontend config.
16.2 Template Organization
Important templates include:
-
_helpers.tpl: naming, labels, image helpers, Secret helpers, dependency wait helpers.
-
secrets.yaml: generated Secrets when inline credentials are used.
-
configmaps.yaml: ConfigMaps for static config, PostgreSQL scripts, Keycloak realm import, collector config, and Vault bootstrap.
-
traefik-routes.yaml: Traefik IngressRoute and Middleware resources.
-
openshift-routes.yaml: OpenShift Route resources and optional router TLS-Secret RBAC.
-
studio-cli-init-job.yaml: one-shot Studio initialization through the Intrexx CLI.
-
workload templates for each application and bundled dependency.
16.3 Helper Templates
Shared logic is centralized in _helpers.tpl. This keeps repeated naming, labels, image references, dependency hosts, wait-init behavior, the merge of global.securityContextDefaults with workload overrides, and wait init-container security context rendering consistent.
The Studio CLI Job uses a configuration-hashed name so relevant pod-template changes produce a fresh Job instead of attempting to patch immutable Job fields. It waits only for Studio health, relies on the CLI exit code, and has no Service or route.
For example, the same application template can connect to bundled PostgreSQL or experimental external PostgreSQL depending on values.
16.4 Customization Patterns
Prefer values-based customization before editing templates:
-
override image repositories and tags
-
set resource requests and limits
-
configure persistence sizes
-
disable optional services
-
reference existing Secrets
-
evaluate experimental external dependency settings
-
add Traefik middlewares
16.5 Pinning or Replacing Image Tags
global:
imagePullPolicy: IfNotPresent
components:
studioBackend:
image:
repository: quay.io/intrexx/ix25-pipeline-images
tag: intrexx-studio-backend-ff9eadf
Use the same pattern for other application services and bundled dependencies.
16.6 Disabling Optional Services
components:
assistant:
enabled: false
processBuilderConverter:
enabled: false
studioBackend:
cliInit:
enabled: false
pgadmin:
enabled: false
Disabling a component removes the related rendered resources.
16.7 Using Existing Kubernetes Secrets
postgres:
auth:
existingSecret: postgres-auth
nats:
auth:
existingSecret: nats-auth
keycloak:
adminClient:
clientSecret:
existingSecret: keycloak-admin-client
Existing Secrets are preferred for production-style deployments.
16.8 Customizing Ingress Exposure
ingress:
tls:
secretName: ix25-tls
grafana:
enabled: true
middlewares:
- corporate-auth@kubernetescrd
Use Traefik middlewares instead of editing route templates when adding authentication, IP allowlists, or other edge controls.
On OpenShift, select the alternative ingress mode and optionally reference a custom certificate Secret:
ingress:
enabled: false
ingressHa:
enabled: true
tls:
secretName: ix25-tls
16.9 Customizing Observability
Use one of:
observability:
mode: lgtm
observability:
mode: collector
collector:
existingConfigMap: ix25-otel-collector
observability:
mode: none
16.10 Extending the Chart Safely
If customer-specific changes are needed, prefer:
-
external values files
-
additional Kubernetes manifests applied alongside the chart
-
GitOps overlays
-
existing Secret or ConfigMap hooks
-
Traefik middleware references
Fork or edit templates only when values-based customization cannot satisfy the requirement. If templates are changed, validate with helm lint and helm template before deployment.