ohMyHelm
ohMyHelm is an MIT-licensed open-source Helm chart wrapper for declarative Kubernetes deployments and helper resources without writing custom templates.
ohMyHelm
ohMyHelm is a universal, open-source Helm chart wrapper under the MIT License. It lets you package and operate any application on Kubernetes through a declarative values.yaml without having to write and maintain custom Go templates for Helm.
Two Operating Modes
ohMyHelm offers two clearly separated modes that you can use individually or combine inside a single chart:
1. Chart Mode (chart.enabled: true)
In Chart mode, ohMyHelm generates a complete workload configuration from a unified schema:
- Workloads:
Deployment(default),StatefulSet, orDaemonSet - Networking:
Service,Ingress(chart.ingressorchart.ingressSimple) - Multi-Container Pods: Main container (
chart.container), optionalchart.sidecar, arbitrarychart.extraContainers, and achart.initContainer - Health Checks & Resources:
livenessProbe,readinessProbe,startupProbe, andresourcesdirectly at the container level (chart.container.resourcesandchart.sidecar.resources) - Storage: Workload-specific volumes (
deploymentVolume,statefulsetVolumeincludingvolumeClaimTemplates,daemonsetVolume) - Security:
ServiceAccount, namespace-scopedRole/RoleBinding(chart.rbac),podSecurityContext,securityContext,imagePullSecrets - Integrated Resources:
chart.secrets,chart.configs,chart.monitoring(PrometheusServiceMonitor),chart.job, andchart.autoscaling
2. Helper Mode (chart.enabled: false or unset)
Without Chart mode enabled, you can use the root helpers standalone — for instance, to complement third-party charts or manage foundational resources:
namespaces— Kubernetes NamespacessecretsandsecretsFromFile— generic Secrets (with optional random value generation) and file-based SecretsimageCredentials— Docker registry credentials (kubernetes.io/dockerconfigjson)tlsSecrets— TLS certificates (kubernetes.io/tls)configsandconfig— multiple ConfigMaps or a single ConfigMapingress— standalone Ingress resourcesmonitoring— standalone PrometheusServiceMonitorresourcesjob— standalone Kubernetes Jobsmanifests— arbitrary Kubernetes manifests as an escape hatch
Adding the Helm Repository
ohMyHelm is distributed through the classic HTTP Helm repository in GitLab (not an OCI registry endpoint):
https://gitlab.com/api/v4/projects/28993678/packages/helm/stable
Using as a Chart Dependency (Recommended)
Include ohMyHelm in your Chart.yaml with a unique alias. You can declare multiple aliases per application or component:
apiVersion: v2
name: acme-platform
description: Application chart based on ohMyHelm
type: application
version: 0.1.0
dependencies:
- name: ohmyhelm
alias: web-app
repository: https://gitlab.com/api/v4/projects/28993678/packages/helm/stable
version: 1.18.0
Using via the Helm CLI
Alternatively, add the repository locally and install releases directly with your own values.yaml:
helm repo add ohmyhelm https://gitlab.com/api/v4/projects/28993678/packages/helm/stable
helm repo update
helm search repo ohmyhelm
Honest Feature Scope and Boundaries
ohMyHelm covers the typical 80% of everyday Kubernetes workloads out of the box. Resources such as CronJob, NetworkPolicy, PodDisruptionBudget, Gateway API (HTTPRoute), ExternalSecret, and ClusterRole/ClusterRoleBinding are intentionally not included as dedicated templates. For any of those resources, use the manifests helper to ship native Kubernetes YAML cleanly inside the same release.
- **HorizontalPodAutoscaler (`chart.autoscaling`):** The current template uses `autoscaling/v2beta1` (removed in Kubernetes 1.25). Until the chart fix ships, define HPAs on current clusters via the [`manifests` helper](/docs/ohmyhelm/helpers/manifests/) using `autoscaling/v2`.
- **GitOps and `lookup`:** The `secrets`, `configs`, `config`, and `tlsSecrets` helpers use Helm's `lookup` function. With `helm template`, Argo CD, or Flux, `lookup` always returns empty results. In GitOps workflows, use static values or a secrets operator such as External Secrets Operator.
- **No `tpl` templating in `values.yaml`:** Expressions like `{{ .Values.* }}` or `{{ .Release.Name }}` in `values.yaml` are **not** evaluated by ohMyHelm and are passed through as literal strings.
- **Further details** on `chart.job`, `monitoring` (`scheme`), and `namespaces.setPreInstallHook` are documented directly on the corresponding reference pages.
Getting Started and Further Pages
- Getting Started with ohMyHelm — Complete end-to-end tutorial
- Usage and Values Reference — Overview of all supported keys in
values.yaml - Examples and Use Cases — Practical examples for common scenarios
- ohMyHelm and 15-Factor Apps — Cloud-native principles implemented with ohMyHelm
- Chart Mode — Workloads, labels, probes, sidecars, init containers, RBAC, and chart helpers
- Helper Functions — ConfigMaps, Secrets, Image Credentials, Ingress, Namespaces, Manifests, ServiceMonitor, and TLS Secrets
Source Code and License
- Source Code (GitLab): ayedocloudsolutions/ohMyHelm
- Helm Repository:
https://gitlab.com/api/v4/projects/28993678/packages/helm/stable - License: MIT License