nxs-universal-chart

by Nixys

Helm chartv3.2.5App v1Apache License 2.0Verified publisher

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:

  • Deployment
  • StatefulSet
  • Service
  • Ingress
  • ConfigMap
  • Secret
  • SealedSecret
  • PersistentVolumeClaim
  • ServiceAccount, Role, RoleBinding, ClusterRoleBinding
  • Job
  • CronJob
  • HorizontalPodAutoscaler
  • PodDisruptionBudget
  • 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.

SubchartVersionEnabled bySource chartIncludes
nuc-common1.0.5alwaysnuc-commonShared Helm library helpers for capability detection, pod/workload rendering, labels, templating, configmaps, secrets, ingress, volumes, and deprecation notices.
nuc-traefik1.0.6nuc-traefik.enablednuc-traefikTraefik CRDs: IngressRoute, IngressRouteTCP, IngressRouteUDP, Middleware, MiddlewareTCP, TLSOption, TLSStore, ServersTransport, ServersTransportTCP, and TraefikService.
nuc-certificates1.0.5nuc-certificates.enablednuc-certificatescert-manager resources: Certificate, CertificateRequest, Issuer, ClusterIssuer, Challenge, and Order.
nuc-istio1.0.6nuc-istio.enablednuc-istioIstio traffic-management resources: Gateway, VirtualService, and DestinationRule.
nuc-fluxcd1.0.5nuc-fluxcd.enablednuc-fluxcdFlux CD resources: GitRepository, Kustomization, HelmRepository, HelmRelease, OCIRepository, image automation, and notification resources.
nuc-knative1.0.6nuc-knative.enablednuc-knativeKnative Serving resources including Service, Route, Configuration, Revision, Ingress, PodAutoscaler, ServerlessService, DomainMapping, and related serving objects.
nuc-kserve1.0.5nuc-kserve.enablednuc-kserveKServe resources such as InferenceService, InferenceGraph, ServingRuntime, ClusterServingRuntime, TrainedModel, and model cache/storage CRDs.
nuc-kube-prometheus-stack1.0.6nuc-kube-prometheus-stack.enablednuc-kube-prometheus-stackPrometheus Operator monitoring resources: PodMonitor, Probe, PrometheusRule, ScrapeConfig, and ServiceMonitor.
nuc-native-gateway1.0.7nuc-native-gateway.enablednuc-native-gatewayGateway API resources: GatewayClass, Gateway, HTTPRoute, GRPCRoute, TLSRoute, ReferenceGrant, BackendTLSPolicy, and ListenerSet.
nuc-envoy-gateway1.0.2global.nuc-envoy-gateway.enablednuc-envoy-gatewayEnvoy Gateway extension resources: Backend, BackendTrafficPolicy, ClientTrafficPolicy, EnvoyExtensionPolicy, EnvoyPatchPolicy, EnvoyProxy, HTTPRouteFilter, and SecurityPolicy.
nuc-victoria-metrics1.0.5nuc-victoria-metrics.enablednuc-victoria-metricsVictoriaMetrics Operator resources: VMAlert, VMRule, VMProbe, VMScrapeConfig, VMServiceScrape, and VMStaticScrape.
nuc-vault-secret-operator1.0.6nuc-vault-secret-operator.enablednuc-vault-secret-operatorVault Secret Operator resources: VaultAuth and VaultStaticSecret.
nuc-argocd1.0.5nuc-argocd.enablednuc-argocdArgo CD resources: Application, ApplicationSet, and AppProject.
nuc-keda1.0.5nuc-keda.enablednuc-kedaKEDA autoscaling resources: ScaledObject, ScaledJob, TriggerAuthentication, and ClusterTriggerAuthentication.
nuc-cloudnativepg1.0.1nuc-cloudnativepg.enablednuc-cloudnativepgCloudNativePG resources: Backup, ClusterImageCatalog, Cluster, Database, FailoverQuorum, ImageCatalog, Pooler, Publication, ScheduledBackup, and Subscription.
nuc-mysql-percona-operator1.0.1nuc-mysql-percona-operator.enablednuc-mysql-percona-operatorPercona XtraDB Cluster Operator resources: PerconaXtraDBCluster, PerconaXtraDBClusterBackup, and PerconaXtraDBClusterRestore.
nuc-rabbitmq1.0.2nuc-rabbitmq.enablednuc-rabbitmqRabbitMQ Cluster Operator and Messaging Topology Operator resources: RabbitmqCluster, Queue, Policy, Exchange, Binding, User, Permission, Vhost, Federation, and Shovel.
nuc-clickhouse1.0.2nuc-clickhouse.enablednuc-clickhouseAltinity ClickHouse Operator resources: ClickHouseInstallation, ClickHouseInstallationTemplate, ClickHouseOperatorConfiguration, and ClickHouseKeeperInstallation.
nuc-elk1.0.1nuc-elk.enablednuc-elkElastic Cloud on Kubernetes resources: Elasticsearch, Kibana, ApmServer, Beat, Agent, EnterpriseSearch, ElasticMapsServer, and Logstash.
nuc-external-secrets1.1.1nuc-external-secrets.enablednuc-external-secretsExternal Secrets Operator resources: ExternalSecret, SecretStore, ClusterSecretStore, push secrets, and generator resources.
nuc-mongodb-percona-operator1.0.1nuc-mongodb-percona-operator.enablednuc-mongodb-percona-operatorPercona Server for MongoDB Operator resources: PerconaServerMongoDB, PerconaServerMongoDBBackup, and PerconaServerMongoDBRestore.
nuc-valkey1.0.1nuc-valkey.enablednuc-valkeyValkey Operator resources: ValkeyCluster and ValkeyNode.
nuc-keycloak-operator1.0.3nuc-keycloak-operator.enablednuc-keycloak-operatorKeycloak Operator resources: Keycloak and KeycloakRealmImport.
nuc-strimzi-kafka-operator1.0.1nuc-strimzi-kafka-operator.enablednuc-strimzi-kafka-operatorStrimzi Kafka Operator resources: Kafka, KafkaTopic, KafkaUser, KafkaConnect, KafkaBridge, KafkaMirrorMaker2, and KafkaRebalance.

Values Model

The values contract is grouped by resource family:

  • deployments, statefulSets
  • services, ingresses
  • configMaps, secrets, sealedSecrets, pvcs
  • jobs, cronJobs, hooks
  • serviceAccount
  • hpas, pdbs
  • extraDeploy

Shared controls:

  • generic.* for common labels, annotations, selectors, pod metadata, shared mounts, templated variables, and helper capability overrides
  • envs / secretEnvs for generated shared ConfigMap and Secret resources
  • defaultImage* for container image defaults
  • affinity presets and optional generic capability 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.json 1:1, including legacy aliases (diagnosticMode.enbled) and string|map contracts.
  • Where schema has additionalProperties: true, extra keys are allowed and passed through to templates/helpers.
  • Default reflects chart runtime defaults from values.yaml/templates; schema default exists only where explicitly defined in values.schema.json.

Global Controls

FieldExampleDefaultDescription
nameOverridenameOverride: "platform"""Overrides generated application name used in labels and resource names.
releasePrefixreleasePrefix: "prod"""Prefix for rendered names. Use "-" to disable release-name prefixing.
kubeVersionkubeVersion: "1.31.0"""Optional Kubernetes version override used by capability helpers.
workloadModeworkloadMode: "batch""auto"Limits which workload families are rendered (auto, deployment, daemonset, pod, statefulset, batch, job, cronjob, hook, none).
extraDeployextraDeploy.my-crd: "apiVersion: v1\nkind: ConfigMap\n..."{}Additional raw manifests rendered via tpl.

GitOps Metadata

FieldExampleDefaultDescription
gitops.commonLabelsgitops.commonLabels.team: "platform"{}Labels merged into metadata for all resources.
gitops.commonAnnotationsgitops.commonAnnotations.owner: "platform"{}Annotations merged into metadata for all resources.
gitops.argo.enabledgitops.argo.enabled: truefalseEnables Argo CD metadata annotations rendering.
gitops.argo.syncWavegitops.argo.syncWave: "10"nullGlobal 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.enabledgitops.flux.enabled: truefalseEnables Flux-specific metadata overlays.
gitops.flux.labelsgitops.flux.labels.kustomize.toolkit.fluxcd.io/name: "app"{}Flux labels merged when Flux mode is enabled.
gitops.flux.annotationsgitops.flux.annotations.kustomize.toolkit.fluxcd.io/namespace: "flux-system"{}Flux annotations merged when Flux mode is enabled.
gitOps.safeModegitOps.safeMode: truefalseLegacy alias for deterministic naming behavior.

Shared Generic Contract

FieldExampleDefaultDescription
generic.labelsgeneric.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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartnxs-universal-chart is pinned at v3.2.5 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