universal

by tina.junold

Helm chartv1.6.2App 1.0.0Verified publisher

The universal chart provides a flexible, opinionated way to deploy applications on Kubernetes. It supports multiple deployments, statefulsets, daemonsets, services, ingresses, HPAs, jobs, cronjobs, persistent volume claims and network policies through a clean dictionary-based configuration.

About this chart

Universal Helm Chart

The universal chart provides a flexible, opinionated way to deploy applications on Kubernetes. It supports multiple deployments, statefulsets, daemonsets, services, ingresses, HPAs, jobs, cronjobs, persistent volume claims and network policies through a clean dictionary-based configuration.

Homepage: https://gitlab.com/ideaplexus/charts

Table of Contents

  • Table of Contents
  • Maintainers
  • Source Code
  • Requirements
  • Installation
    • Basic Installation
    • Installation from Source
    • Upgrade from universal-legacy
  • Configuration
    • Common and global
    • Deployment
    • StatefulSet
    • DaemonSet
    • Service
    • Ingress
    • HorizontalPodAutoscaler
    • PodDisruptionBudget
    • CronJob
    • Job
    • ConfigMap
    • Secret
    • SecretEnv
    • PersistentVolumeClaim
    • NetworkPolicy
    • TraefikMiddleware
    • TraefikIngressRoute
    • TraefikService
    • TraefikServersTransport
    • ExtraObjects
  • Examples
    • Single Deployment
    • Multiple Deployments
    • StatefulSet with Persistent Storage
    • DaemonSet for Node Agent
    • Full Stack Application
  • Advanced Features
    • Per-Workload Images
    • Init Containers
    • Sidecar Containers
    • Lifecycle Hooks
    • RBAC
    • Pod Topology Spread Constraints
    • Environment Variable Dependencies
    • Traefik Middleware Integration
    • Secrets and ConfigMaps
      • Creating Secrets
      • Creating ConfigMaps
      • Mounting Secrets and ConfigMaps
        • 1. As Environment Variables (envFrom)
        • 2. As Volume Mounts
      • Complete Example
    • Vault Secret Integration
  • Migration Guide
    • Major Breaking Changes
      • What Changed
    • From universal-legacy to universal
      • Single Resource Migration
      • Multiple Resources Migration
    • What Stays the Same
  • Testing
    • Test Configuration
    • Running Tests
      • Unit Tests (Template Validation)
      • Template Rendering Tests
      • Lint Tests
      • Integration Tests (Runtime)
      • Run All Tests
    • Test Value Files
    • Disable Tests
    • CI/CD Integration
    • Test Types Explained
      • 1. Connectivity Tests (test-connection.yaml)
      • 2. Component Label Tests (test-component-labels.yaml)
      • 3. Config Mount Tests (test-config-mount.yaml)
      • 4. Env Dependency Tests (test-env-dependencies.yaml)
    • Troubleshooting Test Failures
      • Test Pod Stuck in Pending
      • Connectivity Test Fails
      • Component Label Test Fails
      • Config Mount Test Fails
  • Troubleshooting
    • Services Not Targeting Correct Pods
    • HPA Not Scaling Deployment
    • Environment Variable Circular Dependencies
    • Schema Validation Errors
    • Template Rendering Issues
  • License
  • Contributing

Maintainers

NameEmailUrl
Tina Junold[email protected]https://ideaplexus.com

Source Code

Requirements

  • Kubernetes: >=1.35.0
  • Helm: >= 3.x

This chart has no external dependencies - all functionality is self-contained.

Installation

Basic Installation

helm repo add ideaplexus https://charts.ideaplexus.com
helm install my-app ideaplexus/universal -f values.yaml

Installation from Source

helm install my-app ./charts/universal -f values.yaml

Upgrade from universal-legacy

  1. Backup your current values file
  2. Restructure according to the Migration Guide
  3. Perform upgrade:
helm upgrade my-app ideaplexus/universal -f values-v2.yaml

Configuration

Common and global

ParameterDescriptionDefault
nameOverrideOverrides the name of the chart used to construct Kubernetes object names.""
fullnameOverrideOverrides fully generated Kubernetes object names.""
global.image.repositoryThe repository where the image is located.""
global.image.tagOverrides the image tag (default is the chart appVersion).""
global.image.pullPolicyThis affects the way kubelet attempts to pull the specified image.IfNotPresent
global.image.pullSecretsList of registry secret names used to pull the image.[]
global.envGlobal environment variables merged into all workloads. More Information: Define Environment Variables for a Containernull
global.labelsLabels added to every resource the chart creates and to the pod template of every workload. Not added to the selector, which Kubernetes treats as immutable.{}
global.annotationsAnnotations added to every resource the chart creates, including the helm test hooks, whose own hook annotations always win. A resource's own annotations take precedence. Pod annotations are set via global.podAnnotations.{}
global.podAnnotationsAnnotations applied to all pods.{}
global.podSecurityContextSecurity context for all pods. More Information: Set the security context for a Pod{}
global.containerSecurityContextSecurity context for the main container of every deployment, statefulSet, daemonSet, job and cronJob. Init and sidecar containers carry their own, see Init Containers. More Information: Set the security context for a Container{}
global.resourcesDefault resource requests and limits for all containers. Can be overridden per deployment, statefulSet, daemonSet, cronJob, or job. More Information: Resource Management for Pods and Containersrequests:  cpu: 100m  memory: 128Milimits:  cpu: 100m  memory: 128Mi
global.nodeSelectorAssign pods to nodes based on labels. More Information: Assigning Pods to Nodes{}
global.affinityAssign pods to nodes using expressive rules. More Information: Assigning Pods to Nodes{}

Deploy universal with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has universal on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartuniversal is pinned at v1.6.2 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply