core-extensions
by emberstack
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.
| Kind | apiVersion | Values key | Scope |
|---|---|---|---|
ConfigMap | v1 | configMaps | Namespaced |
Secret | v1 | secrets | Namespaced |
ServiceAccount | v1 | serviceAccounts | Namespaced |
Namespace | v1 | namespaces | Cluster |
ResourceQuota | v1 | resourceQuotas | Namespaced |
LimitRange | v1 | limitRanges | Namespaced |
PriorityClass | scheduling.k8s.io/v1 | priorityClasses | Cluster |
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
| Parameter | Description | Default |
|---|---|---|
nameOverride | Override chart name | "" |
fullnameOverride | Override fully qualified app name | "" |
namespaceOverride | Override namespace | "" |
commonLabels | Labels added to all resources | {} |
commonAnnotations | Annotations added to all resources | {} |
configMaps | List of ConfigMaps | [] |
secrets | List of Secrets | [] |
serviceAccounts | List of ServiceAccounts | [] |
namespaces | List of Namespaces | [] |
resourceQuotas | List of ResourceQuotas | [] |
limitRanges | List of LimitRanges | [] |
priorityClasses | List 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartcore-extensions is pinned at v1.0.22 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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