ohMyHelm Usage and Values Reference

Complete reference of all supported ohMyHelm values for Chart mode and helper functions, derived directly from values.yaml and values.schema.json.

ohMyHelm Usage and Values Reference

This reference documents all configuration keys actually implemented in ohMyHelm, based on charts/values.yaml, charts/values.schema.json, and the chart templates.

Overview of Root Keys (Helper Level)

All of the following keys live at the top level of values.yaml (or directly under your chosen alias when used as a subchart). They work independently of chart.enabled.

Key Type Default Generated Resource Detail Page
namespaces Object {} v1/Namespace Namespaces Helper
manifests Array [] Arbitrary K8s resources (apiVersion, kind, content) Plain Manifests Helper
imageCredentials Array [] v1/Secret (kubernetes.io/dockerconfigjson) Image Credentials Helper
ingress Array [] networking.k8s.io/v1/Ingress Ingress Helper
secrets Array [] v1/Secret (with optional random generation) Secrets Helper
secretsFromFile Array [] v1/Secret (stringData from chart files) Secrets Helper
tlsSecrets Array [] v1/Secret (kubernetes.io/tls) TLS Secrets Helper
configs Array [] v1/ConfigMap (multiple ConfigMaps) ConfigMaps Helper
config Object { enabled: false } v1/ConfigMap (single ConfigMap) ConfigMaps Helper
monitoring Array [] monitoring.coreos.com/v1/ServiceMonitor ServiceMonitor Helper
job Object { enabled: false, ... } batch/v1/Job Init Containers and Jobs
chart Object { enabled: false, ... } Complete workload + supporting resources Chart Mode

Root Helper Field Details

Helper Supported Fields
namespaces setPreInstallHook (currently has a known bug, see Namespaces), spaces[] with name
manifests[] apiVersion (required), kind (required), content (required; contains metadata, spec, data, etc.)
imageCredentials[] name (required), namespace (always specify explicitly), registry (required), username (required), accessToken (required)
ingress[] name (required), namespace (currently ignored, uses release namespace), annotations, tls[], hosts[] (required, networking.k8s.io/v1 syntax)
secrets[] name (required), namespace (default: release namespace), values (required map; empty values generate 20-character random strings)
secretsFromFile[] name, namespace (default: release namespace), values (map of key: path/to/file inside the chart)
tlsSecrets[] name (required), namespace (default: release namespace), values (required with tls.crt and tls.key)
configs[] name (required), namespace (default: release namespace), dontOverrideOnUpdate (boolean), values (required map)
config enabled (boolean), name, namespace (default: release namespace), values (map)
monitoring[] name (required), namespace, release (required), endpoints[] (required with port, interval, optional path; omit scheme for now)
job enabled, name, namespace (currently ignored, uses release namespace), annotations, image, imageConfig.pullPolicy, imagePullSecrets, command, args, staticEnv, env, extraEnv, envFrom, extraVolumeMounts, extraVolumes, restartPolicy, removejob.enabled, removejob.ttlSecondsAfterFinished, activeDeadlineSeconds, backoffLimit

Chart Configuration (chart.*)

The chart section validates with additionalProperties: false. Only the keys documented below are permitted.

Workload Selection, Metadata, and Scheduling

Key Type Default Description
chart.enabled Boolean false Enables Chart mode
chart.deployment Boolean true Creates a Deployment when statefulset: false and daemonset: false
chart.statefulset Boolean false Creates a StatefulSet when daemonset: false
chart.daemonset Boolean false Creates a DaemonSet when statefulset: false
chart.hostNetwork Boolean false Enables spec.template.spec.hostNetwork: true
chart.nameOverride String "" Overrides ohmyhelm.name (app.kubernetes.io/name)
chart.fullnameOverride String "" Overrides ohmyhelm.fullname (resource names and app label)
chart.applabel Boolean true Sets the selector label app: <ohmyhelm.fullname>
chart.labels Object {} Additional metadata.labels on the workload
chart.podLabels Object {} Additional spec.template.metadata.labels on Pods
chart.podAnnotations Object {} Additional spec.template.metadata.annotations on Pods
chart.podSecurityContext Object {} Pod-wide securityContext
chart.imagePullSecrets Array — List of { name: ... } entries for private container registries
chart.replicaCount Number 1 Replica count for Deployment/StatefulSet (omitted when autoscaling.enabled: true)
chart.strategy Object {} Rollout strategy for Deployment (RollingUpdate / Recreate)
chart.updateStrategy Object {} Update strategy for StatefulSet and DaemonSet
chart.minReadySeconds Integer — Minimum duration in seconds before a newly created Pod is considered ready
chart.revisionHistoryLimit Integer — Number of old ReplicaSet/ControllerRevision revisions to retain
chart.progressDeadlineSeconds Integer — Deployment only: rollout progress deadline in seconds
chart.nodeSelector Object {} Node selector for Pod scheduling
chart.tolerations Array [] Tolerations for node taints
chart.affinity Object {} Node affinity, Pod affinity, and Pod anti-affinity rules

Main Container (chart.container.*)

Key Type Default Description
chart.container.image String nodered/node-red:latest Container image including tag (required)
chart.container.imageConfig.pullPolicy String IfNotPresent Always, IfNotPresent, or Never
chart.container.ports Array [{name: http, containerPort: 80, protocol: TCP}] Exposed container ports
chart.container.securityContext Object {} Container-specific securityContext
chart.container.command Array [] Overrides the container entrypoint
chart.container.args Array [] Arguments for entrypoint/command
chart.container.staticEnv Array [] First env list (for example, chart baseline values)
chart.container.env Array [] Second env list (for example, environment-specific values)
chart.container.extraEnv Array [] Third env list (for example, ad-hoc overrides)
chart.container.envFrom Array [] configMapRef / secretRef for bulk environment injection
chart.container.livenessProbe Object — Kubernetes livenessProbe
chart.container.readinessProbe Object — Kubernetes readinessProbe
chart.container.startupProbe Object — Kubernetes startupProbe
chart.container.resources Object — requests and limits for CPU and memory

Sidecar, Extra Containers, and Init Container

Key Type Default Description
chart.sidecar.enabled Boolean false Enables the second container <chartName>-sidecar
chart.sidecar.image String nodered/node-red:latest Sidecar image
chart.sidecar.useContainerVolume Boolean false When true, mounts the same volumeMounts as the main container
chart.sidecar.imageConfig.pullPolicy String IfNotPresent Image pull policy for the sidecar
chart.sidecar.securityContext Object {} securityContext for the sidecar
chart.sidecar.command / args Array [] Command and arguments
chart.sidecar.staticEnv / env / extraEnv / envFrom Array [] Sidecar environment variables
chart.sidecar.livenessProbe / readinessProbe / startupProbe Object — Probes (always use a numeric port, since sidecar has no ports field)
chart.sidecar.resources Object — requests and limits for the sidecar
chart.extraContainers Array [] Full Kubernetes container specifications (with their own ports, volumeMounts, etc.)
chart.initContainer.enabled Boolean false Enables the single init container <chartName>-init
chart.initContainer.image String registry.gitlab.com/ayedocloudsolutions/ohmyhelm-job-helper:1.0.0 Init container image
chart.initContainer.imageConfig.pullPolicy String IfNotPresent Image pull policy
chart.initContainer.command / args Array [] / ["job", "yourjobnamehere"] Command and arguments
chart.initContainer.staticEnv / env / extraEnv / envFrom Array [] Environment variables (no volumes, resources, or securityContext)

Volumes (deploymentVolume, statefulsetVolume, daemonsetVolume)

Key Supported Subfields Applies To
chart.deploymentVolume volumeMounts[], volumes[] Deployment
chart.statefulsetVolume volumeMounts[], volumes[], volumeClaimTemplates[] StatefulSet
chart.daemonsetVolume volumeMounts[], volumes[] DaemonSet

Service, Ingress, RBAC, Autoscaling, Jobs, and Chart Helpers

Key Type Default Description
chart.service.type String ClusterIP ClusterIP, NodePort, LoadBalancer (Service name is always ohmyhelm.fullname)
chart.service.clusterIP String — Optional, e.g., "None" for headless Services on StatefulSets
chart.service.ports Array Port 80 -> http List of Kubernetes ServicePort entries
chart.ingress.enabled Boolean false Full Ingress configuration (annotations, tls[], hosts[] in networking.k8s.io/v1)
chart.ingressSimple.enabled Boolean false Simplified single-host Ingress (annotations, host, tlsSecretName, pathType, path); requires Service port name: http
chart.serviceAccount.create Boolean true Creates a ServiceAccount
chart.serviceAccount.annotations Object {} Annotations on the ServiceAccount
chart.serviceAccount.name String "" Explicit ServiceAccount name (defaults to ohmyhelm.fullname when create: true; default when create: false)
chart.rbac.enabled Boolean false Creates a namespace-scoped Role and RoleBinding
chart.rbac.roleRules Array Wildcard (*/*) — always restrict! List of Kubernetes PolicyRule objects
chart.job.* Object { enabled: false, ... } Chart-integrated Job (leave command/args empty due to current template bug, or use root job:)
chart.autoscaling.* Object { enabled: false, minReplicas: 1, maxReplicas: 100, targetCPUUtilizationPercentage: 80, targetMemoryUtilizationPercentage: 80 } HPA (currently autoscaling/v2beta1; on Kubernetes 1.25+, use manifests: with autoscaling/v2 instead)
chart.secrets Array [] Namespace-bound Secrets (name, values)
chart.configs Array [] Namespace-bound ConfigMaps (name, dontOverrideOnUpdate, values)
chart.monitoring Array [] Prometheus ServiceMonitor (enabled: true required, namespace, release, endpoints[])

Related Pages