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, or DaemonSet
  • Networking: Service, Ingress (chart.ingress or chart.ingressSimple)
  • Multi-Container Pods: Main container (chart.container), optional chart.sidecar, arbitrary chart.extraContainers, and a chart.initContainer
  • Health Checks & Resources: livenessProbe, readinessProbe, startupProbe, and resources directly at the container level (chart.container.resources and chart.sidecar.resources)
  • Storage: Workload-specific volumes (deploymentVolume, statefulsetVolume including volumeClaimTemplates, daemonsetVolume)
  • Security: ServiceAccount, namespace-scoped Role/RoleBinding (chart.rbac), podSecurityContext, securityContext, imagePullSecrets
  • Integrated Resources: chart.secrets, chart.configs, chart.monitoring (Prometheus ServiceMonitor), chart.job, and chart.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 Namespaces
  • secrets and secretsFromFile — generic Secrets (with optional random value generation) and file-based Secrets
  • imageCredentials — Docker registry credentials (kubernetes.io/dockerconfigjson)
  • tlsSecrets — TLS certificates (kubernetes.io/tls)
  • configs and config — multiple ConfigMaps or a single ConfigMap
  • ingress — standalone Ingress resources
  • monitoring — standalone Prometheus ServiceMonitor resources
  • job — standalone Kubernetes Jobs
  • manifests — 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

Source Code and License

  • Source Code (GitLab): ayedocloudsolutions/ohMyHelm
  • Helm Repository: https://gitlab.com/api/v4/projects/28993678/packages/helm/stable
  • License: MIT License