How to structure openDesk Helmfile environments for dev, test and prod
A platform team running openDesk in several environments needs one rule above all others: the shipped defaults stay untouched, and every difference between dev, test and prod lives in its own values file that overrides the default environment. openDesk's deployment automation is built on Helmfile and Helm, and the deployment repository is licensed under Apache-2.0, so the team can keep its overrides in its own Git repository and apply them the same way in every environment. The practical goal is that a reviewer can see, in one diff, exactly what the organization changed compared with upstream.
This matters because of the release cadence. openDesk plans minor releases monthly and only supports the latest minor version, so a platform team will take a new minor version roughly every month whether or not its configuration has changed. If local edits are scattered across copies of the default files, each upgrade becomes a manual merge across every environment. A clean override layer reduces that work to checking whether the new defaults conflict with a short list of keys the team has set. Before adopting a layout, confirm the current release management guidance on skipping minor versions, since the project notes that skipping several may need intermediate steps.
Start by writing down which settings differ per environment, such as hostnames, replica counts, external database endpoints and SMTP relays, and which should be identical everywhere so that test catches what prod will see. Then check each proposed override against the supported configuration documentation in the deployment repository, because overriding a key the project does not expose is the most common way an upgrade breaks. Keep the override files small, comment why each one exists, and require review for every change, so that the monthly upgrade becomes a reviewable change rather than a rewrite.
Which settings belong in dev, test and prod
Each environment should have one job, and that job decides what its values files hold. Dev is for an engineer proving that the configuration renders and the stack starts. Test is for checking upgrades, integrations and user flows against settings that resemble production. Prod holds the settings that real users and auditors depend on. Keeping these roles separate stops a shortcut taken in dev from quietly becoming the production configuration.
- Dev: a single cluster or namespace where engineers try changes, usually with bundled services and throwaway data.
- Test: a cluster that mirrors the production layout as closely as the budget allows, used for upgrade rehearsals and integration tests.
- Prod: the only environment with real identity, mail, data and backup obligations.
- Promotion: the same release and the same shared base should move from test to prod, with only environment settings changing.
- Scope note: confirm with your platform team how many clusters you will run before you design the file layout.
Check that each environment name maps to a separate values override and that no environment depends on values that exist only on one engineer's workstation.
The evaluation install runs openDesk with bundled services, which suits a quick trial but is not a production pattern. The production path expects external production-grade services, including PostgreSQL 15, MariaDB 10, Redis 7, Memcached, Cassandra, an SMTP relay, ClamAV over ICAP, object storage and a TURN server. Prod values therefore differ in kind, because they switch services from in-cluster to external endpoints, not only in size.
- Dev: bundled services are acceptable for a trial, and this is the only environment where they should be the default.
- Test: use external services that match the production versions where your organization can provide them.
- Prod: point each application at external PostgreSQL, MariaDB, Redis, Memcached, Cassandra, object storage, SMTP, ClamAV and TURN.
- Versions: confirm the exact service versions against the requirements documentation for the release you deploy.
- Ownership: each external service needs its own backup, patching and monitoring owner, which a dev environment never has to prove.
Before you approve the prod file, check that no bundled service is still enabled by default for any production application.
Hostnames, identity provider and mail endpoints are the settings most likely to differ between environments. Dev can use a private test domain and a local certificate authority, while prod uses the organization's public or internal domain, its real identity provider and its mail relay. Getting these wrong produces broken logins and mail that never arrives, and these faults are often noticed only after go-live.
- Domains: each environment needs its own base domain, with the application subdomains derived from it in the values file.
- SSO: dev may use a test identity provider or local accounts, while prod federates with the organization's existing identity provider over OIDC.
- Directory: prod user provisioning from LDAP or Active Directory is a separate step that dev and test may skip or simulate.
- Mail: dev can discard outbound mail, while prod needs a configured SMTP relay with the correct sender domain.
- TURN and calls: prod needs a TURN server reachable by users, so confirm its address per environment.
Confirm every endpoint with the owner of that system before you merge the prod override, not after the first failed sign-in.
Replica counts, resource requests and storage sizes are where teams most often copy numbers from a guide. Treat every such value as a placeholder until the sizing work for your user count is complete. Secrets follow a similar rule: dev may use throwaway values, but prod credentials must come from a managed source and never sit in a shared values file in plain text.
- Replicas: set replica counts per environment after sizing, and do not assume a single replica is acceptable in production.
- Resources: confirm CPU, memory and storage requests for each component with load testing, since dev values rarely reflect real demand.
- Storage classes: confirm the RWO and any RWX storage classes available in each cluster, because names often differ between environments.
- Secrets: reference pre-created Kubernetes Secrets in prod, and keep the secret names identical across environments so the base file does not change.
- Sizing: ask the sizing work to state the numbers per environment, and mark any figure you have not measured as unconfirmed.
Ask for the load test results that justify each prod replica count before the change is approved.
Logging, metrics retention and alert routing change in meaning between environments. Dev logs exist to help an engineer debug a failed render, while prod logs may be evidence for security reviews, incident investigations and audits. Retention periods, log destinations and alert recipients therefore belong in environment overrides, and they should be agreed with the security and compliance owners before prod is built.
- Dev: short retention and local access are usually enough, and alerts can go to the engineer who runs the environment.
- Test: keep retention long enough to compare upgrade behavior across releases, and route alerts to the platform team.
- Prod: set retention to the period your security and compliance policy requires, and send alerts to the on-call rota.
- Metrics: confirm which Prometheus endpoints and dashboards are enabled in prod and who receives each alert.
- Access: restrict log access in prod to the roles that need it, and record who can change the retention setting.
Confirm the retention and alert routing with the security owner, because these values are hard to change once logs have been collected.
Which configuration layer to use for each kind of setting
This table maps each kind of openDesk setting to the layer that should hold it across dev, test and prod. Read each row as a rule: if a setting fits the middle column, put it in the environment override file, not the shipped defaults. Confirm exact key names against the repository for the release you run.
| Setting type | Where it lives | When this choice fits |
|---|---|---|
| Shipped defaults | The default environment in the deployment repository, never edited locally | Values that openDesk ships for every installation. Change them only by overriding in your own environment files, so the upstream file stays untouched. |
| Environment overrides | Your dev, test and prod values files, layered on top of the defaults | Anything that differs by stage, such as domain names, replica counts, resource limits and which bundled services are switched on. Keep each file to the deltas from the defaults. |
| Secrets | Kubernetes Secrets created outside the values files, referenced by name and key | Passwords, tokens, keys and certificates. Values files should point to a Secret, never hold the value, so that Git history and rendered output stay free of credentials. |
| Cluster-specific values | A per-cluster values file or an environment file tied to that cluster | Storage class names, ingress class, node selectors and anything that only makes sense on one cluster. Keeping them out of the shared file lets the same configuration move between clusters. |
| External service endpoints | Environment override files, pointing to hosts, ports and database names | Production PostgreSQL, MariaDB, Redis, object storage, SMTP and ClamAV. Dev and test usually point at smaller instances, so endpoints must differ per environment while the structure stays the same. |
| Feature toggles | Environment override files, set per stage and reviewed like code | Switching optional applications or modules on or off. Confirm in the release notes that a toggle exists before depending on it, and record why each one differs from the defaults. |
| Local edits to default templates or chart files | Not allowed in the default environment or upstream charts | Almost never. A patched chart or template makes every future upgrade diff hard to review and may break the migration path. Ask whether an override key exists first, and document any unavoidable change. |
| Image versions and digests | Pinned by the release, not set in your environment files | Keep these at the versions the release ships. Changing them per environment makes dev, test and prod drift apart and complicates the monthly upgrade review. |
How the default, environment and secret layers combine at deploy time
The render starts from the shipped default environment, then applies the dev, test or prod override file for the target environment, and resolves any secret references against Kubernetes Secrets that already exist in the cluster. Helmfile renders the combined result into manifests that go to the cluster. When a new monthly release arrives, its default layer is diffed against the existing overrides before anything is applied, so the reviewer sees which override keys now collide with changed defaults. Check that the diff is empty for keys you never meant to change, and that every secret reference resolves before apply.
Layers that combine at render time, with the monthly default diff gate before apply.
Setting up the environment layout step by step
This sequence turns a single openDesk Helmfile configuration into one shared base with a separate override file for dev, test and prod, so each environment差异 is visible, reviewable and promotable.
Confirm the pinned release and tool versions
Start by recording the openDesk release you intend to run, for example the tag you pinned from the releases page, and the tool versions on the machine or pipeline that will render and apply it. Check that Helm is 3.17.3 or later but below v4, and that Helmfile is 1.0.0 or later. Your cluster must also meet the Kubernetes version and ingress requirements in the requirements docs. The check is a short version report from each tool, saved with the change record, so every environment is later rendered with the same tooling.
Create the repository layout
Create one repository or directory for your openDesk configuration that holds the upstream deployment checked out at the pinned release, plus your own folder for environment overrides. Add one override file per environment, named for dev, test and prod. Follow the file layout in the deployment README for the release you are running, because file names and locations can change between releases. The check is that the upstream tree is untouched and that every change you make lives in your own folder, so a later upgrade is a clean replacement of the upstream checkout.
Move environment-specific values into overrides
Go through the default values and move every setting that differs between environments into the override files: public domain names, ingress class, storage class names, replica counts, external database hosts, SMTP relay, object storage endpoints and resource limits. Leave shared behavior in the defaults. Keep the overrides as small as possible, because every line you add is a value you must re-check at each upgrade. The check is a review of each override file against the defaults, confirming that no value is duplicated without a reason.
Reference secrets instead of inlining them
Replace any password, token, key or certificate content in the override files with a reference to a Kubernetes Secret that exists in the target cluster, created by your secret process and not committed to the repository. Confirm the secret names and key names against the deployment README for your release. The check is a search of the repository for credential-like strings and base64 blobs, which should return nothing, and a dry run in dev that fails clearly if a referenced Secret is missing.
Render and diff each environment before apply
For each environment, render the complete manifests with its override file and compare the output with the output from the previous pinned release and the previous environment. Review changed images, hostnames, resource settings and any secret references. Keep the rendered output outside the repository because it can contain sensitive values. The check is a written review of the diff, signed off by someone other than the author, before any apply runs against that environment.
Apply to dev and test with the same override set
Apply the rendered configuration to the dev cluster first, then to test, using the same release and the same base files. Only the environment override should differ. Verify that the deployment reaches a healthy state and that the expected applications respond at their configured hostnames. The check is a clean apply and a smoke test of each user-facing application in test, recorded in the change log.
Promote the same override set to prod
When test passes, promote by reusing the tested release and the same base and override structure, changing only values that must differ for production, such as production hostnames and external service endpoints. Render and diff the prod output as in the earlier step and keep a record of what changed relative to test. The check is a prod diff that contains only the expected production differences, approved before apply.
Keep the layout reviewable for each monthly upgrade
When a new minor release arrives, repeat the sequence: update the pinned version, render every environment, and review the diffs before any cluster is touched. Because the overrides are small and explicit, the review focuses on upstream changes and on your own settings that may now conflict. Confirm the upgrade path in the release management docs before skipping any minor version. The check is a diff review per environment and a documented rollback point for prod.
Why this layout keeps monthly upgrades reviewable
The point of separating your overrides from the openDesk defaults is that each upgrade becomes a diff you can read. openDesk plans minor releases monthly and patch releases on demand, and only the latest minor version is supported. In-place upgrades between majors are not guaranteed, and skipping several minor versions may need intermediate steps, so the upgrade you review is often the next minor, not a jump across many. When your environment files hold only the values you chose, a reviewer can compare the new release's default values with your overrides and see exactly what changed for each environment. The rendered manifests from helmfile template for dev, test and prod then show the effect of that change before anything reaches the cluster. Confirm the current upgrade steps in the openDesk release management docs before you plan the sequence.
Automated sync must not reorder upgrades. A GitOps controller that applies whatever is in the repository as soon as it changes can apply a minor release before the environment has been tested, or apply two releases out of the order the release notes require. Keep the promotion order explicit: a new release goes to dev, then test, then prod, and each step waits for the review record of the previous one. Pin the chart and image versions in the environment files so that a new release cannot reach prod through a default that moved underneath you.
The trade-off is that every override you add is one more thing the reviewer must understand and one more thing that may conflict with a future default. Overriding too much makes each upgrade slower to review and more likely to break in ways the openDesk team did not test. Settings outside the documented configuration surface carry unsupported override risk, and a value that worked on one release can silently change meaning on the next. Keep the prod file as small as possible, record why each override exists, and ask your openDesk partner or ZenDiS which settings are supported before you rely on them.
Security risks in environment files and how to contain them
Environment files decide which settings, credentials and images reach each openDesk stage, so they carry the same risk as the cluster itself. The cards below cover the failure modes that matter most for Helmfile environments and the control you can check for each one.
Plaintext secrets committed to Git
A values file for dev, test or prod that holds a database password or SMTP credential is copied into every clone, fork and CI log that reads the repository. Keep only non-secret settings in the environment files and reference Kubernetes Secrets by name. To verify, run a secret scanner over the full Git history, not just the current branch, and confirm that no environment file contains a password, token or key material. Any secret in history must be treated as exposed and rotated.
Rendered YAML exposing credentials
Helmfile renders each environment into plain Kubernetes manifests, and any step that writes that output to a build artifact, pipeline log or GitOps repository copies every secret it contains. The risk is the same whether the render happens on a laptop or in CI. Restrict where rendered output is stored, set artifact retention to the minimum your team needs, and check that the render step does not echo values. Ask your team which pipeline jobs keep rendered output and who can read those artifacts.
Prod values drifting from the tested set
When production overrides are edited by hand after a release is tested, the running configuration no longer matches what was validated, and the next monthly upgrade may fail on an unexpected key. Keep one set of environment files in version control, promote the same commit from test to prod, and diff the rendered output of both stages before each change. Confirm that every production change has a reviewed commit that matches a tested release.
Dev shortcuts leaking into prod
Evaluation shortcuts such as bundled databases, the master password approach or relaxed settings are useful in dev but unsafe in production, where openDesk expects external production-grade services. Name each shortcut in the dev file, default production to the external service settings, and make the pipeline fail when a production render still references a bundled service. Verify by searching the production render for bundled service names before go-live.
openDesk requirementsRepository and pipeline access control
Anyone who can merge to the branch that production deploys from can change production, and anyone who can change the pipeline can read the cluster credentials it uses. Protect the production branch with required reviews, limit who can run deploy jobs against production, and scope the cluster credentials to the openDesk namespace. Confirm the access list each quarter and check that the pipeline, not individuals, holds production credentials.
Unpinned images and charts
A tag such as latest or a floating version can change content between a test run and a production deploy. openDesk pins every container image by tag and digest and signs most Helm charts against GPG keys, so the environment files should not override those references with floating ones. Verify that rendered images carry both a tag and a digest, and that chart signatures are checked before they are installed. Upgrade pins only through the release process.
Questions teams ask before structuring openDesk environments
How much effort does a dev, test and prod layout for openDesk take?
The initial layout is a bounded piece of work, and most of the effort comes from deciding what belongs in the shared default and what belongs in each environment. The main drivers are the number of environments, how many external services each one points at (PostgreSQL, MariaDB, Redis, object storage, SMTP, ClamAV and TURN), how many domains and certificates you run, and whether your identity provider federation is already settled. Each override you add is one more setting to review at every monthly upgrade, so a smaller, well-named override set costs less to maintain over time. Ask any partner to show how they will keep overrides out of the default files so upgrades stay reviewable.
Can our own team structure openDesk environments without outside help?
Yes, if the team already runs Kubernetes and Helm in production and is willing to read the upstream configuration before changing it. The work is mostly disciplined file layout, testing each environment against a real cluster, and writing a review habit for every upgrade. Teams with no prior Helmfile experience usually need time to learn how environments and value file merging behave, and a short internal pilot on a non-production cluster is a sensible way to find the gaps. Outside help is most useful when the team lacks capacity for the first upgrade cycle or needs an independent review of the layout before production.
What skills and tools does the team need for this work?
The team needs working knowledge of Kubernetes namespaces, Secrets and ingress, Helm 3 values and chart overrides, and Helmfile environments. They also need a Git workflow for reviewing changes, a secret manager that can supply Kubernetes Secrets, and a test cluster that matches production closely enough to catch problems. The required versions are set by the requirements: a CNCF-certified Kubernetes cluster at v1.33 or later, Helm 3.17.3 or later below v4 and Helmfile 1.0.0 or later. Confirm these against the openDesk requirements page for the release you plan to run, because they change between releases.
How long does it take to get a reviewable openDesk pipeline?
The duration depends on how many environments you run, how fast your cluster and external services can be provisioned for dev and test, and how many decisions about secrets, domains and identity remain open. A team that already has a test cluster, a secret manager and an agreed domain plan can move much faster than one that must build those first. Ask for a written plan that lists each dependency, the owner of each one, and the point at which a first upgrade is rehearsed in test. Treat any date a partner gives as provisional until those dependencies are confirmed.
What should a partner quote for openDesk environments include?
A useful quote lists the written scope before any price: the environments covered, the external services each one connects to, the files and override structure delivered, and the test evidence the partner will produce. It should name who provides the cluster, the secret manager, DNS and certificates, because those are often the largest cost components when they are not already in place. Ask whether the quote covers one upgrade rehearsal, a documented review checklist for each monthly release, and handover to your team. Separate one-time setup from any recurring support or retainer, and ask what changes if the scope grows during the engagement.
How does the layout change with Enterprise Edition or Argo CD?
With Enterprise Edition, ZenDiS documents an Enterprise-only registry and license file, so the environment files need extra settings for pulling those artifacts and a place to store the license securely. Enterprise also adds closed-source modules and SLA-backed support and patches, so you should confirm with the vendor which settings differ before copying a Community layout. With Argo CD, the Helmfile environments must still be rendered in a fixed order, and automated sync must not reorder upgrades. Check the Argo CD deployment guidance for the approach you choose, and be aware that rendered manifests can expose secrets if they are committed to Git.
What goes wrong when environment overrides are kept in the wrong files?
The most common problem is that a setting copied into the default environment is changed by an upstream release, so a later upgrade silently alters production. Secrets stored in plain values files create a second risk, since they end up in Git history and in rendered output. A third problem is drift, where test and production differ in ways nobody recorded, so a passing test tells you little about production. Keep environment-specific values in clearly named files, keep credentials in Kubernetes Secrets supplied from a secret manager, and compare rendered output between environments before every release.
Limits to confirm in your own environment
The dev, test and prod layout rests on a few facts that change with the release and the support model. Confirm each one against the release you plan to install, and record who answered, so the environment files you write stay valid when those facts move.
Kubernetes version and ingress choice
openDesk requires a CNCF-certified Kubernetes cluster at v1.33 or later and an ingress controller, either haproxy-ingress or the deprecated Ingress nginx. Ingress class settings belong in the environment layer, so a wrong choice touches every environment at once. Confirm the minimum Kubernetes version and ingress options for your target release with your platform team and the release notes before you set them in the shared defaults.
Requirements docsRepository layout conventions
Overrides only stay reviewable if they follow the layout the repository currently expects. Compare your environment directories and values file names with the current deployment README before you copy a structure from an older project or a blog post. Confirm the naming and override mechanism with the openDesk maintainers or your integrator, and re-check it at each minor release.
Deployment READMECommunity versus Enterprise support scope
The Community Edition is supported only by the community on openCode, with no SLA. ZenDiS recommends Enterprise Edition for production, which adds SLA-backed 2nd and 3rd level support and patches. Your production values file may need Enterprise-only registry settings and license handling that dev and test do not. Ask ZenDiS or your provider in writing which edition and support tier cover production before you split the environments.
Enterprise Edition docsIngress nginx deprecation timing
Ingress nginx is deprecated in the requirements, so any environment file that pins it carries a future migration. Ask your cluster team when support ends for the ingress you run and whether the platform provides haproxy-ingress. Put the ingress class in one shared place, so a later change is a single reviewed edit rather than a change across dev, test and prod.
OpenShift is not tested
openDesk's requirements state that OpenShift is not tested and that kubespray is the tested distribution. If your production cluster runs OpenShift, the environment structure in this page does not validate that platform. Confirm with your vendor and ZenDiS whether a proof of concept on OpenShift is in scope, and keep any OpenShift-specific security context changes in a separate, documented layer.
ARM is not supported yet
The evaluation minimum is for x64 CPU cores, and ARM is not supported yet. If your nodes or build agents run ARM, your dev environment may not start, and images you mirror or build for test may not match production. Confirm the node architecture of every cluster that will receive the environment files, and check the supported platform list for each release before you plan a mixed fleet.
What DeployOpen needs from your team to set this up
Before we can scope a values layout for dev, test and prod, we need to know how many environments you will run, where each one lives, and who approves changes to each. Ask your platform team to confirm which Kubernetes clusters will host each environment, whether they are separate clusters or namespaces, and which environment will be the first to receive a new openDesk release. The answers decide how many environment files we write, where the production overrides sit, and whether test is a true copy of prod or a smaller stand-in. We also need the Helm and Helmfile versions your pipelines pin, because the environment structure has to work with them from the first run.
Next, we need your existing identity and mail setup, since these settings are the ones most often copied into the wrong environment. Confirm whether users will come from an existing identity provider through OIDC federation, from LDAP or Active Directory through the Nubus Directory Importer, or from a mix, and which attribute will match users, such as username or mailPrimaryAddress. Confirm the mail domain and the SMTP relay each environment should use. Then list the external services each environment needs, including PostgreSQL, MariaDB, Redis, Memcached, Cassandra, object storage, ClamAV over ICAP and a TURN server, with the endpoint and version your team will provide for each. Note any service that test may share with prod, because that choice belongs in the scope.
Finally, tell us how you will manage secrets and how often you want to upgrade. Name the secret manager your team uses and whether credentials will reach the cluster as Kubernetes Secrets created outside the values files. Then state your upgrade cadence: openDesk ships minor releases monthly, only the latest minor is supported, and skipping several minor versions may need intermediate steps, so a monthly or quarterly cadence changes how often test is refreshed and how much change review each release needs. Our scope will be agreed in writing before work starts, and the quote will follow from that written scope. Ask us to confirm these inputs in the scoping call so the quote reflects your actual environments.
How DeployOpen works on this
DeployOpen plans, implements, documents and supports self-hosted open-source platforms inside the client's own infrastructure, including openDesk. For Structuring openDesk Helmfile environments for dev, test and prod, we start from which settings belong in each environment and how that split keeps monthly upgrades reviewable, then build and hand over the result.
How we scope
- Agree in writing which environments exist (dev, test, prod) and which hosts, clusters or namespaces each one maps to.
- Inventory the default environment values and list every override your organization needs, with an owner for each.
- Define the Helmfile layout, Git branching and review rules for environment files before any build work starts.
- Most engagements are fixed-scope, so deliverables and timelines are agreed before work begins.
How we build
- Create one environment values file per tier that overrides only the settings the default environment does not cover.
- Keep secrets out of values files and reference pre-created Kubernetes Secrets instead, as the design requires.
- Check each override against the openDesk release notes so a monthly minor upgrade does not silently change a setting.
- Test each environment on a cluster that meets the documented version and tooling requirements before promotion to prod.
How we hand over
- Deliver the Helmfile environment files, a short ownership map of which team changes which setting, and the review checklist for upgrades.
- Document the promotion path from dev to test to prod, including what must match across environments and what may differ.
- Walk your platform and security teams through the diff process used for each monthly upgrade so reviews stay repeatable.
- Record every deliberate override and its reason so later reviewers can judge whether it is still needed.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers, with the scope agreed in writing.
- Review environment changes against each new openDesk minor release before they reach test or prod.
- Confirm with ZenDiS and your own environment which settings are supported for production, since the project's support terms differ by edition.

