core-extensions

by emberstack

Helm chartv1.0.22App 1.0.0Verified publisher

A Helm chart for Kubernetes core resources extensions

About this chart

Core Helm Extensions

This chart provides templates for core Kubernetes resources. It can be used as the base for dynamic resources.

Verified against Kubernetes v1.36 (core/v1 and scheduling.k8s.io/v1). No additional CRDs are required.

KindapiVersionValues keyScope
ConfigMapv1configMapsNamespaced
Secretv1secretsNamespaced
ServiceAccountv1serviceAccountsNamespaced
Namespacev1namespacesCluster
ResourceQuotav1resourceQuotasNamespaced
LimitRangev1limitRangesNamespaced
PriorityClassscheduling.k8s.io/v1priorityClassesCluster

Every section is a list; each entry needs its own name and is opt-in via enabled: true.

Naming

Resources are named <release>-<chart>-<name>. Set fullnameOverride on an entry to control the name exactly — you almost always want that for namespaces and priorityClasses, whose names are meaningful cluster-wide. Quote names that YAML would read as booleans ("off", "no", "yes").

Templating

data, stringData, binaryData, hard, scopes, finalizers and ServiceAccount secrets are rendered as Helm templates, so "{{ .Release.Namespace }}" works inside their values.

Installation

Using OCI registry (recommended)

helm install core-extensions oci://ghcr.io/emberstack/helm-charts/core-extensions

Using Helm repository

helm repo add emberstack https://emberstack.github.io/helm-charts
helm repo update
helm upgrade --install core-extensions emberstack/core-extensions

Parameters

ParameterDescriptionDefault
nameOverrideOverride chart name""
fullnameOverrideOverride fully qualified app name""
namespaceOverrideOverride namespace""
commonLabelsLabels added to all resources{}
commonAnnotationsAnnotations added to all resources{}
configMapsList of ConfigMaps[]
secretsList of Secrets[]
serviceAccountsList of ServiceAccounts[]
namespacesList of Namespaces[]
resourceQuotasList of ResourceQuotas[]
limitRangesList of LimitRanges[]
priorityClassesList of PriorityClasses[]

Per-entry keys common to every kind: name (required), enabled, fullnameOverride, labels, annotations, and namespace for the namespaced kinds.

See values.yaml for the full annotated field reference.

Usage Examples

ConfigMap and Secret

configMaps:
  - name: app-config
    enabled: true
    data:
      LOG_LEVEL: info
      ENVIRONMENT: "{{ .Release.Namespace }}"

secrets:
  - name: app-secret
    enabled: true
    type: Opaque
    stringData:
      API_KEY: s3cr3t

Immutable ConfigMap

configMaps:
  - name: pinned
    enabled: true
    immutable: true
    data:
      VERSION: "1.4.2"

ServiceAccount with an image pull secret

serviceAccounts:
  - name: app
    enabled: true
    automountServiceAccountToken: false
    imagePullSecrets:
      - name: registry-credentials

Namespace with an exact name

namespaces:
  - name: team-a
    enabled: true
    fullnameOverride: team-a
    labels:
      team: a

ResourceQuota and LimitRange

resourceQuotas:
  - name: team-a-quota
    enabled: true
    hard:
      requests.cpu: "4"
      requests.memory: 8Gi
      pods: "50"

limitRanges:
  - name: defaults
    enabled: true
    limits:
      - type: Container
        default:
          cpu: 500m
          memory: 512Mi
        defaultRequest:
          cpu: 100m
          memory: 128Mi

PriorityClass

priorityClasses:
  - name: high
    enabled: true
    fullnameOverride: high-priority
    value: 1000000
    globalDefault: false
    description: Critical workloads
    preemptionPolicy: PreemptLowerPriority

Deploy core-extensions with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has core-extensions 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 chartcore-extensions is pinned at v1.0.22 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