nxs-universal-chart
by Nixys
Helm chart for rendering reusable Kubernetes application resources
About this chart
NXS Universal Chart
Introduction
nxs-universal-chart is a Helm chart you can use to install any of your applications into Kubernetes/OpenShift and other orchestrators compatible with native Kubernetes API.
The chart renders through the shared nuc-common library chart. Chart.yaml points at the published dependency, and local workflows resolve it with make deps or bash scripts/helm-deps.sh ..
Features
- Flexible way to deploy your applications.
- Supported any Ingress controllers (Ingress Nginx, Traefik, Istio).
- Easy way to template any custom resource with extraDeploy feature.
- Supported Kubernetes versions (1.23 or newer) and OpenShift versions (3.11/<4.8/4.9/4.11/4.12/4.13).
- Supported Helm versions (2/3/4)
Who can use this tool
- Development
- DevOps engineers
Table of Contents
- Introduction
- Quick Start
- Supported Resources
- Dependency Subcharts
- Values Model
- Helm Values
- Included Values Files
- Testing
- Repository Layout
- Notes
- Roadmap
- Feedback
- License
Quick Start
Install the chart:
helm install nxs-universal-chart oci://registry.nixys.ru/nuc/nxs-universal-chart \
--namespace app-system \
--create-namespace
The command deploys your application with custom values on the Kubernetes/OpenShift cluster. For additional ways to customize your experience with nxs-universal-chart please check Additional features.
Install the local README generator hook:
pre-commit install
pre-commit install-hooks
Supported Resources
The chart can render these Kubernetes resource families:
DeploymentStatefulSetServiceIngressConfigMapSecretSealedSecretPersistentVolumeClaimServiceAccount,Role,RoleBinding,ClusterRoleBindingJobCronJobHorizontalPodAutoscalerPodDisruptionBudget- raw resources through
extraDeploy
Dependency Subcharts
The chart also declares reusable dependency subcharts. nuc-common is always loaded as the shared helper library; most remaining nuc-* dependencies are enabled through their matching .Values.<name>.enabled flags. nuc-envoy-gateway is enabled through global.nuc-envoy-gateway.enabled because its subchart schema does not accept an enabled key under nuc-envoy-gateway.
| Subchart | Version | Enabled by | Source chart | Includes |
|---|---|---|---|---|
nuc-common | 1.0.5 | always | nuc-common | Shared Helm library helpers for capability detection, pod/workload rendering, labels, templating, configmaps, secrets, ingress, volumes, and deprecation notices. |
nuc-traefik | 1.0.6 | nuc-traefik.enabled | nuc-traefik | Traefik CRDs: IngressRoute, IngressRouteTCP, IngressRouteUDP, Middleware, MiddlewareTCP, TLSOption, TLSStore, ServersTransport, ServersTransportTCP, and TraefikService. |
nuc-certificates | 1.0.5 | nuc-certificates.enabled | nuc-certificates | cert-manager resources: Certificate, CertificateRequest, Issuer, ClusterIssuer, Challenge, and Order. |
nuc-istio | 1.0.6 | nuc-istio.enabled | nuc-istio | Istio traffic-management resources: Gateway, VirtualService, and DestinationRule. |
nuc-fluxcd | 1.0.5 | nuc-fluxcd.enabled | nuc-fluxcd | Flux CD resources: GitRepository, Kustomization, HelmRepository, HelmRelease, OCIRepository, image automation, and notification resources. |
nuc-knative | 1.0.6 | nuc-knative.enabled | nuc-knative | Knative Serving resources including Service, Route, Configuration, Revision, Ingress, PodAutoscaler, ServerlessService, DomainMapping, and related serving objects. |
nuc-kserve | 1.0.5 | nuc-kserve.enabled | nuc-kserve | KServe resources such as InferenceService, InferenceGraph, ServingRuntime, ClusterServingRuntime, TrainedModel, and model cache/storage CRDs. |
nuc-kube-prometheus-stack | 1.0.6 | nuc-kube-prometheus-stack.enabled | nuc-kube-prometheus-stack | Prometheus Operator monitoring resources: PodMonitor, Probe, PrometheusRule, ScrapeConfig, and ServiceMonitor. |
nuc-native-gateway | 1.0.7 | nuc-native-gateway.enabled | nuc-native-gateway | Gateway API resources: GatewayClass, Gateway, HTTPRoute, GRPCRoute, TLSRoute, ReferenceGrant, BackendTLSPolicy, and ListenerSet. |
nuc-envoy-gateway | 1.0.2 | global.nuc-envoy-gateway.enabled | nuc-envoy-gateway | Envoy Gateway extension resources: Backend, BackendTrafficPolicy, ClientTrafficPolicy, EnvoyExtensionPolicy, EnvoyPatchPolicy, EnvoyProxy, HTTPRouteFilter, and SecurityPolicy. |
nuc-victoria-metrics | 1.0.5 | nuc-victoria-metrics.enabled | nuc-victoria-metrics | VictoriaMetrics Operator resources: VMAlert, VMRule, VMProbe, VMScrapeConfig, VMServiceScrape, and VMStaticScrape. |
nuc-vault-secret-operator | 1.0.6 | nuc-vault-secret-operator.enabled | nuc-vault-secret-operator | Vault Secret Operator resources: VaultAuth and VaultStaticSecret. |
nuc-argocd | 1.0.5 | nuc-argocd.enabled | nuc-argocd | Argo CD resources: Application, ApplicationSet, and AppProject. |
nuc-keda | 1.0.5 | nuc-keda.enabled | nuc-keda | KEDA autoscaling resources: ScaledObject, ScaledJob, TriggerAuthentication, and ClusterTriggerAuthentication. |
nuc-cloudnativepg | 1.0.1 | nuc-cloudnativepg.enabled | nuc-cloudnativepg | CloudNativePG resources: Backup, ClusterImageCatalog, Cluster, Database, FailoverQuorum, ImageCatalog, Pooler, Publication, ScheduledBackup, and Subscription. |
nuc-mysql-percona-operator | 1.0.1 | nuc-mysql-percona-operator.enabled | nuc-mysql-percona-operator | Percona XtraDB Cluster Operator resources: PerconaXtraDBCluster, PerconaXtraDBClusterBackup, and PerconaXtraDBClusterRestore. |
nuc-rabbitmq | 1.0.2 | nuc-rabbitmq.enabled | nuc-rabbitmq | RabbitMQ Cluster Operator and Messaging Topology Operator resources: RabbitmqCluster, Queue, Policy, Exchange, Binding, User, Permission, Vhost, Federation, and Shovel. |
nuc-clickhouse | 1.0.2 | nuc-clickhouse.enabled | nuc-clickhouse | Altinity ClickHouse Operator resources: ClickHouseInstallation, ClickHouseInstallationTemplate, ClickHouseOperatorConfiguration, and ClickHouseKeeperInstallation. |
nuc-elk | 1.0.1 | nuc-elk.enabled | nuc-elk | Elastic Cloud on Kubernetes resources: Elasticsearch, Kibana, ApmServer, Beat, Agent, EnterpriseSearch, ElasticMapsServer, and Logstash. |
nuc-external-secrets | 1.1.1 | nuc-external-secrets.enabled | nuc-external-secrets | External Secrets Operator resources: ExternalSecret, SecretStore, ClusterSecretStore, push secrets, and generator resources. |
nuc-mongodb-percona-operator | 1.0.1 | nuc-mongodb-percona-operator.enabled | nuc-mongodb-percona-operator | Percona Server for MongoDB Operator resources: PerconaServerMongoDB, PerconaServerMongoDBBackup, and PerconaServerMongoDBRestore. |
nuc-valkey | 1.0.1 | nuc-valkey.enabled | nuc-valkey | Valkey Operator resources: ValkeyCluster and ValkeyNode. |
nuc-keycloak-operator | 1.0.3 | nuc-keycloak-operator.enabled | nuc-keycloak-operator | Keycloak Operator resources: Keycloak and KeycloakRealmImport. |
nuc-strimzi-kafka-operator | 1.0.1 | nuc-strimzi-kafka-operator.enabled | nuc-strimzi-kafka-operator | Strimzi Kafka Operator resources: Kafka, KafkaTopic, KafkaUser, KafkaConnect, KafkaBridge, KafkaMirrorMaker2, and KafkaRebalance. |
Values Model
The values contract is grouped by resource family:
deployments,statefulSetsservices,ingressesconfigMaps,secrets,sealedSecrets,pvcsjobs,cronJobs,hooksserviceAccounthpas,pdbsextraDeploy
Shared controls:
generic.*for common labels, annotations, selectors, pod metadata, shared mounts, templated variables, and helper capability overridesenvs/secretEnvsfor generated shared ConfigMap and Secret resourcesdefaultImage*for container image defaults- affinity presets and optional
genericcapability overrides
Additional keys under generic are available to tpl rendering as .Values.generic.*, so one shared variable set can be reused across resources without a separate global block.
The values contract is validated by values.schema.json.
Helm Values
This section contains a resource-oriented values reference. It is grouped by resource families and shared contracts to make day-to-day editing easier.
Quick links to value tables:
- Global Controls
- GitOps Metadata
- Shared Generic Contract
- Runtime Defaults and Shared Generated Resources
- Workload Families (Top-Level Maps)
- Common Workload Entry Fields
- Container Entry Fields
- Workload-Specific Fields
- Workload General Fields
- Networking Resources
- Config and Secret Resources
- RBAC, Storage, and Observability
- Dependency Toggle Fields
- Reusable Schema Contracts (Exact Definitions)
Schema matching note:
- Field names below follow
values.schema.json1:1, including legacy aliases (diagnosticMode.enbled) andstring|mapcontracts. - Where schema has
additionalProperties: true, extra keys are allowed and passed through to templates/helpers. Defaultreflects chart runtime defaults fromvalues.yaml/templates;schema defaultexists only where explicitly defined invalues.schema.json.
Global Controls
| Field | Example | Default | Description |
|---|---|---|---|
nameOverride | nameOverride: "platform" | "" | Overrides generated application name used in labels and resource names. |
releasePrefix | releasePrefix: "prod" | "" | Prefix for rendered names. Use "-" to disable release-name prefixing. |
kubeVersion | kubeVersion: "1.31.0" | "" | Optional Kubernetes version override used by capability helpers. |
workloadMode | workloadMode: "batch" | "auto" | Limits which workload families are rendered (auto, deployment, daemonset, pod, statefulset, batch, job, cronjob, hook, none). |
extraDeploy | extraDeploy.my-crd: "apiVersion: v1\nkind: ConfigMap\n..." | {} | Additional raw manifests rendered via tpl. |
GitOps Metadata
| Field | Example | Default | Description |
|---|---|---|---|
gitops.commonLabels | gitops.commonLabels.team: "platform" | {} | Labels merged into metadata for all resources. |
gitops.commonAnnotations | gitops.commonAnnotations.owner: "platform" | {} | Annotations merged into metadata for all resources. |
gitops.argo.enabled | gitops.argo.enabled: true | false | Enables Argo CD metadata annotations rendering. |
gitops.argo.syncWave | gitops.argo.syncWave: "10" | null | Global Argo sync wave (argocd.argoproj.io/sync-wave). |
gitops.argo.syncOptions | ["ServerSideApply=true"] | [] | Global Argo sync options joined into a comma-separated annotation. |
gitops.argo.compareOptions | ["IgnoreExtraneous"] | [] | Global Argo compare options annotation value. |
gitops.flux.enabled | gitops.flux.enabled: true | false | Enables Flux-specific metadata overlays. |
gitops.flux.labels | gitops.flux.labels.kustomize.toolkit.fluxcd.io/name: "app" | {} | Flux labels merged when Flux mode is enabled. |
gitops.flux.annotations | gitops.flux.annotations.kustomize.toolkit.fluxcd.io/namespace: "flux-system" | {} | Flux annotations merged when Flux mode is enabled. |
gitOps.safeMode | gitOps.safeMode: true | false | Legacy alias for deterministic naming behavior. |
Shared Generic Contract
| Field | Example | Default | Description |
|---|---|---|---|
generic.labels | generic.labels.environment: "prod" | {} | Global labels merged into every rendered object. |
generic.annotations | `generic |
Deploy nxs-universal-chart with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has nxs-universal-chart 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 chartnxs-universal-chart is pinned at v3.2.5 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