Concept / Policy, networking, and operations
Helm integration
Adopting Kix does not require rewriting every third-party Kubernetes operator from scratch or migrating a production cluster all at once. Kix renders upstream Helm charts at build time when no native Kix package exists yet, and links to existing Services, Secrets, and custom resource definitions managed outside Kix.
Evaluating Helm charts at build time
Section titled “Evaluating Helm charts at build time”Running Helm directly against a cluster renders Go templates during deployment and stores release state in cluster Secrets, so rendered manifests stay outside offline checks and pull-request diffs.
Kix evaluates Helm charts at build time instead. When a cluster or package includes a Helm chart, Kix fetches the chart archive, verifies it against a hash committed in your repository, renders the templates locally with a pinned Helm version and your values, strips mutable Helm release metadata, and adds every rendered object to the compiled cluster graph.
Inside a rendered Helm chart, manifests refer to each other with plain YAML strings. Before sealing those objects into the cluster graph, Kix inspects the rendered YAML and reconstructs intra-chart deploy order: Deployments wait for their ConfigMaps, Secrets, and ServiceAccounts; Services, autoscalers, and disruption budgets link to matching pod labels; and custom resources wait for the chart’s custom resource definitions and webhook controllers.
Trade-offs of wrapping a Helm chart
Section titled “Trade-offs of wrapping a Helm chart”Helm support in Kix is a migration bridge, and knowing what it gives up compared to a native Kix package helps you choose the right level of integration for each service.
A Helm chart configures Go templates through an untyped values map, so a misspelled key can be ignored silently instead of failing option validation. Charts do not respond to your cluster’s availability level unless you translate it into chart values yourself, and upstream defaults often trigger scorecard findings for missing resource limits or broad permissions until patched.
Cross-package firewall discovery also differs. Passing another Kix package’s hostname into a chart’s values serializes that value to plain JSON, which strips the dependency metadata Kix uses to generate firewall rules. Opening generated network policies from a chart to another package requires wrapping the chart in a Kix package that declares its upstream dependencies explicitly.
Kix supports three progressive tiers of Helm use: placing an inline Helm chart directly in a cluster file for quick one-off tools, wrapping a chart in a Kix package when you need typed options and cross-package network policies, or writing native Kix workloads while importing only the upstream operator’s custom resource definitions from the chart.
Adopting existing cluster services one at a time
Section titled “Adopting existing cluster services one at a time”Existing clusters already run cloud DNS, default storage classes, external secret managers such as Vault or External Secrets Operator, and services deployed before Kix. Kix models these external resources with lightweight imports without managing or modifying them on the cluster.
To a consuming Kix package, an imported Service, Secret, or custom resource definition works like a Kix-managed one. Applications read its hostname or Secret key references at build time, and during deployment Kix checks that the live Service exists, the custom resource definition is established, and the external Secret contains every declared key before starting dependent pods.
Kix-managed instances always take precedence over fallback imports for the same service alias or cluster role. You can declare an existing service as an import so new Kix packages connect to it immediately, then replace it with a Kix-managed package later without changing consuming applications. When you move an existing live Deployment under Kix management, matching its live pod selector labels lets Kix adopt it in place with Server-Side Apply without recreating pods.
Next, read Server-side apply and drift to see how Kix co-owns live objects with in-cluster controllers and detects out-of-band drift. For Helm wrapper and import options, see Helm and imports and Use Helm charts through the Kix Helm bridge.