Network policies for openDesk with Otterize intents

Restricting traffic between openDesk components with Otterize intents, installing the intents operator and testing that applications still reach their databases, caches and each other. Confirm the shipped intents and operator version against your openDesk release before you plan the work.

On this page

How openDesk network policies limit traffic between components

The platform team runs openDesk in its own cluster and wants traffic between its components restricted, so that a compromised application cannot reach every database, cache and service behind it. This page covers restricting that traffic with Otterize intents and testing that applications still reach their databases, caches and each other once the rules are in place. openDesk's security documentation describes network policies as part of its Kubernetes security settings, but the specific ClientIntents shipped in the deployment and the Otterize intents operator version they expect must be confirmed in the openDesk deployment repository for the release you run. Treat that repository as the source of truth, since the intents can change with each release.

Teams usually take this on for three reasons. The first is lateral movement: if one workload is compromised, default-deny rules limit which databases, caches and services it can reach from there. The second is audit evidence, because a declared set of intents shows reviewers which flows are permitted and gives the team something to compare against the running cluster. The third is a stricter default posture, where new traffic is blocked until someone declares it. None of these is a regulatory requirement in itself, so the decision belongs to your security architecture and risk owners. Before you commit, decide who owns the intents files when upgrades arrive, because a release may add, rename or remove ClientIntents that your local changes depend on.

Start by confirming that your cluster enforces NetworkPolicy at all. Check which network plugin the cluster uses and whether it supports the policy objects the intents generate, and ask your platform team to demonstrate a blocked connection before you rely on it. Then apply the intents in a non-production namespace and test every path an application needs: from each openDesk workload to its PostgreSQL, MariaDB, Redis, Memcached, SMTP relay, ClamAV and object storage endpoints, and between components that call each other. Production expects several of these services outside the cluster, so the egress rules for them need their own test from the same pods. Record the results, because the same test list becomes your regression set for each openDesk upgrade.

How intents, the operator and network policies fit together

The diagram starts at each workload's ClientIntents resource, which declares the connections that workload needs. The intents operator reads those declarations and generates network policies, which are enforced on the web applications inside the cluster. Web applications then reach Nubus and Keycloak inside the cluster and the services you provide outside it, including databases, Redis, the SMTP relay, object storage, ClamAV and the TURN server. Every arrow is illustrative and must be checked against the shipped configuration: which intents exist, which ports each one allows, and which endpoints actually cross the cluster boundary.

Illustrative flow; every arrow needs checking against the shipped configuration.

Which enforcement approach fits your team

This table compares the three ways to enforce traffic rules between openDesk components, with the team that fits each one and the items to confirm before you commit. Read each row against your release plan and cluster setup. The main takeaway is that the shipped ClientIntents suit teams that stay on the bundled release, while custom intents and hand-written policies add ownership work that grows with each change.

ApproachWhen it fitsWho maintains itWhat to confirm
Shipped ClientIntents as deliveredFits teams that run the bundled components without adding workloads of their own.The openDesk project ships the intents; you apply each release's version and review changes.Confirm the intents match your openDesk release, intents operator version and network plugin.
Custom intents for added workloadsFits teams that add components, plugins or services the shipped intents do not cover.Your platform team writes, reviews and updates them after each openDesk upgrade.Confirm the operator version supports the intent fields you use and that new workloads carry the labels the intents select on.
Hand-written NetworkPolicy objectsFits teams that want plain Kubernetes objects and no intents operator in the cluster.Your team owns every rule and must rewrite them when openDesk changes its component traffic.Confirm your network plugin enforces NetworkPolicy and that the rules match the flows in your openDesk release.
Mixed: shipped intents plus hand-written policiesFits teams that keep the bundled rules and add rules for traffic the intents do not describe, such as external egress.The openDesk project maintains the shipped part; your team maintains the added policies.Policies are additive, so confirm an extra rule does not widen access you meant to block.

What an intent declares and what the operator enforces

The ClientIntents resource is the declaration. Each one sits in the namespace of the workload that makes outbound calls and lists the services that workload is allowed to reach. The Otterize intents operator reads these declarations and generates the network rules that the cluster enforces, so the intents shipped for each openDesk component become the written record of its expected traffic. Before you rely on them, open the shipped files and confirm which ClientIntents objects exist, which namespaces they land in, and which fields name the target services. Take the exact resource names, labels and field paths from those files and from the Otterize documentation, not from memory, because a single wrong label can match nothing and fail without an obvious error.

The question that decides your risk is whether traffic with no matching intent is denied by the shipped configuration. Do not infer the answer from the operator's name. Read the shipped setup to see whether a default-deny policy is applied to each namespace, and whether the operator creates allow rules only for declared flows. If unmatched traffic is still allowed, every declared flow remains reachable from other pods, and the intents add limited protection until you add a deny baseline yourself. Record the answer as a finding before you run any test, because the rest of this topic depends on it. If the files leave the default unclear, ask ZenDiS or your openDesk contact to confirm the expected behavior for the release you plan to deploy.

Traffic paths that break first when rules tighten

The paths most likely to fail are the ones between openDesk applications and the external services openDesk expects you to run for production. Map each path before you enforce any Otterize intent, and write down the port, namespace and location of every endpoint.

Applications to PostgreSQL 15 and MariaDB 10

Applications that store relational data need allow rules to their PostgreSQL 15 and MariaDB 10 endpoints, and each rule depends on the port the instance listens on, the namespace the database runs in, and whether it sits inside the cluster or on a host outside it. A database moved outside the cluster is easy to miss in an intent written only for in-cluster pods, so record each endpoint before you write the egress rule. Confirm the listening port in your own environment, then test login and read paths after enforcement.

openDesk requirements

Applications to Redis 7 and Memcached

Redis 7 and Memcached hold session and cache data, and several workloads may call each one, so list every client with its port, its caller namespace and whether the cache runs inside the cluster. A blocked cache usually appears as slow pages or repeated logins, which makes the failure easy to misread. Test a full sign-in and a document open after each policy change, then check the cache logs for refused connections.

Applications to Cassandra

Cassandra adds a second traffic path that application rules do not cover: the connections between its own nodes. Confirm which openDesk components connect to it in your release, the client port it listens on, the namespace of each caller, and whether the nodes run in your data center or inside Kubernetes. Check node-to-node ports separately, because replication and gossip need their own allow rules before enforcement.

Outbound traffic to the SMTP relay

Outbound mail depends on an egress allow from every sending workload to the SMTP relay, which normally sits outside the cluster. Check the submission port your relay accepts, whether it requires TLS, the namespace of each sender, and whether the relay is addressed by DNS name or IP. Mail failures surface late, as undelivered invitations or password resets, so send a test message from each sending component after enforcement.

Calls to ClamAV over ICAP

File uploads and attachments reach ClamAV over ICAP, so every component that sends ICAP requests needs an allow rule to the scanner's port. Check the ICAP port your deployment configures, which namespace runs the scanner, and whether it sits inside the cluster or in a central service outside it. A blocked scanner can stop uploads while the rest of the application still loads, so test an upload from each component after enforcement.

Object storage and TURN server access

Object storage and the TURN server are typically external services, so each needs an egress rule to a fixed endpoint. Check the endpoint and port each application uses for object storage, the namespace of each caller, and whether the TURN server uses UDP and a relay port range that your rule must cover. Call media fails differently from file access, so test a call from a client on a restricted network after enforcement.

Install the intents operator and apply openDesk intents in order

This sequence moves openDesk's ClientIntents from a written plan to tested policies in a non-production cluster, then to production. Each step ends with a check, so the team can see which intents work and which block traffic before any change reaches production.

  1. Confirm cluster prerequisites and NetworkPolicy enforcement

    Your platform team checks the cluster against openDesk's 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 with your Kubernetes distribution or network plugin documentation that the plugin enforces NetworkPolicy objects, because intents only restrict traffic when the plugin enforces them. Record the versions in the change record. Done when every version check passes and the enforcement question has a written answer from the plugin's documentation or vendor.

  2. Confirm ClientIntents and operator version for your release

    Before installing anything, list the ClientIntents that ship with the openDesk release you plan to run, using the deployment repository and its release notes. Map each intent to the workload it protects and to the namespace it lives in. Confirm with the intents project which operator version supports that openDesk release, and pin that version. Note any path that leaves the cluster, such as SMTP, object storage or a TURN server, since those flows need explicit handling. Done when you hold a written intent list per namespace and a pinned operator version.

  3. Install the intents operator in a non-production cluster

    Platform engineers install the intents operator in a non-production cluster that matches production's Kubernetes version and network plugin as closely as possible. Use the operator version confirmed in the previous step and follow its installation documentation. Do not install intents in production at this stage. Done when the operator pod is running and the ClientIntents custom resource definition is registered in the cluster, which you can confirm with your kubectl client.

  4. Deploy openDesk to the non-production cluster

    Deploy openDesk with its Helmfile and Helm based automation on the same non-production cluster, using the release confirmed earlier. Keep the ingress controller, cert-manager, storage provisioner and external services in the configuration you plan to use in production, so the traffic paths you test are representative. The production requirements expect services such as PostgreSQL 15, MariaDB 10, Redis 7 and an SMTP relay, so confirm those exist before deployment. Done when all openDesk pods report ready and the portal loads through its ingress, before any intents are applied.

  5. Apply intents one namespace at a time

    Apply the ClientIntents one namespace at a time, starting with the namespace that has the fewest dependencies, so a blocked flow traces back to a single change. Confirm the order against the openDesk release notes, because some components depend on others being reachable. After each namespace, check that the operator created the expected network policies and record which intents are in effect. Done when every namespace has its intents applied and the generated policies match your written intent list.

  6. Test each traffic path in the test cluster

    Test each path that matters: applications to their databases, caches and object storage, applications to each other, and ingress to the user-facing portal. Include a negative test for each namespace that confirms an undeclared connection is blocked. Record each result, fix the intent that causes a failure, and rerun the affected tests. Done when every required path has a recorded success, every undeclared path has a recorded block, and the operations lead signs off on the test record.

  7. Move to production with the tested configuration

    Apply the same operator version, ClientIntents set and namespace order in production, using the configuration that passed testing. Schedule the change with production owners, because intents can block a flow that the test cluster never exercised. Keep a documented rollback path that restores the previous network policies. Done when the production traffic paths pass the same checks and logs and monitoring show no unexpected blocked connections.

Testing that applications still reach their dependencies

Platform engineers own the proof that every intended connection works and every unintended one fails. Run the checks from inside the cluster, using a test pod that carries the same labels as the workload it stands in for, so the result reflects the policy alone.

  • Pod-to-service connectivity: For each database, cache and internal service named in the applied intents, open a TCP connection from each permitted client to the exact port declared, and record the result.
  • Denied paths: Attempt connections from workloads that have no intent to each store and port, and confirm they fail. A denied path that connects is a finding, not a passed test.
  • Ports beside the allowed one: Try neighboring ports on the same service, since a policy that opens a wider range than declared is a common misconfiguration.
  • Identity of the test pod: Confirm the labels on each test pod match the selectors in the intent, so a pass does not come from a pod the policy never governed.
  • Repeat after change: Run the full matrix after every intent change, operator update, openDesk release and node pool or network plugin change.

Check that each row in the matrix has its expected result written down before the test runs, and that every denied row fails for the reason the policy states.

Security and operational risks of restricting traffic

Restricting traffic with intents reduces what a compromised component can reach, but each rule set carries its own failure modes. The cards cover the three ways intents drift from correct over time, plus two controls that network policy does not replace.

Too-broad intents leave lateral movement open

An intent that allows a whole namespace, or a wide set of client workloads, lets a compromised component reach databases, caches and peers it has no reason to contact. This is how lateral movement starts. Compare each ClientIntents resource with the connections openDesk components actually make, and list which clients each PostgreSQL, MariaDB, Redis and Memcached endpoint accepts. Then attempt a connection from a workload that should be blocked and record the result as evidence for every release.

openDesk security docs

Too-narrow intents cause outages

An intent that lists only today's ports and workloads breaks the first time a component adds a port, a job, a sidecar or a new service. The failure often appears as a timeout in one application, which makes it slow to trace back to a policy. Before each upgrade, compare the intents with the chart values and rendered manifests of the target release. Run the full application flow test in a staging environment after every change, so a blocked connection is found before users see it.

Release management docs

Drift when charts or the operator change

The ClientIntents shipped with openDesk charts can change when a chart version, a value set or the intents operator changes, and the policies in the cluster can change with them. Drift also happens by hand when an administrator loosens a policy during an incident and never restores it. Export the live intents and the generated network policies on a schedule, diff them against the release baseline, and treat every unexplained difference as a change that needs review.

openDesk releases

Network policy does not protect secrets

Restricting traffic does not stop a pod from reading a Secret it is allowed to access through the Kubernetes API, and it does not protect values stored in etcd. Kubernetes stores Secrets unencrypted in etcd by default, so confirm that encryption at rest is enabled for your cluster. Limit list and watch permissions on Secrets with least-privilege RBAC, because those verbs return every value in a namespace. These controls stay with your cluster team after the intents are in place.

Kubernetes Secrets good practices

Operator RBAC and patch intake

The intents operator needs cluster-level permissions to act on workloads and network policies, so its service account and roles form a privilege path into your cluster. Review the ClusterRole and ClusterRoleBinding it installs, and remove any permission the intents you run do not need. Decide who receives operator release notes and how security patches reach the cluster between openDesk releases. Confirm the exact permissions and patch channel for your operator version with its documentation before go-live.

openDesk security docs

What buyers ask before hiring help with openDesk network policies

What drives the cost of help with openDesk network policies?

The cost follows the written scope, and four drivers move it most: the number of namespaces and workloads that need intents, custom workloads or overrides beyond the shipped set, external services such as PostgreSQL 15, MariaDB 10, Redis 7, the SMTP relay and object storage that the traffic map must cover, and how deep the testing goes. Most engagements are fixed-scope and agreed in writing before work starts. DeployOpen does not publish a price list, so the quote comes from that scope. Mapping, policy build and test cycles are one-time work. Upgrades when a new openDesk release changes intents, and continuous testing, recur only if you buy a retainer. Ask the quote to list each namespace, each external dependency, the test cases, the retest and who provides cluster access.

How long does a network policy engagement for openDesk take?

The timeline depends on how many namespaces and dependencies must be mapped, how many test cycles each environment needs, and the change windows your clusters allow. Staged enforcement usually takes longer than enforcing everything at once, because each stage needs its own test pass across login, file sync, mail, chat, video, wiki and project flows. Environments also run in sequence: a test cluster must pass before production, and production changes need approval and a window. Delays often come from waiting for application owners to confirm flows rather than from the policy work itself. The planned stages and the dependencies on your team belong in the written scope, so ask for both. Confirm which intents ship in the openDesk release you run, since that release sets your starting point.

What must our internal team provide before an openDesk policy project starts?

Your team needs to provide three things before work starts, and each one gates the schedule:

  • Cluster access with rights to install the intents operator and apply policies in the openDesk namespaces, in every environment in scope.
  • A change window for each environment, plus a rollback window in case enforcement causes an outage.
  • A named owner for each service, such as Element, Nextcloud, OX App Suite, XWiki, Nubus, OpenProject, Jitsi and Collabora, and an owner for each external database, cache and relay who can confirm which connections are legitimate.

Also provide test accounts for each application, access to logs and metrics, and a list of custom workloads. Without service owners, unexpected traffic cannot be classified as needed or unneeded, and the work stalls.

Can our internal team set up openDesk network policies alone?

Yes, a platform team with Kubernetes and network policy experience can do this alone, but the work is more than applying manifests. The team needs to map every flow between openDesk components and external services, test each application's functions after each change, and keep the policies current as openDesk releases change. The main trade-off is time and evidence. An internal team keeps full control and knowledge, but it must find time for test cycles, incident response during enforcement and repeated retests. A fixed-scope partner agrees deliverables and test results in writing before work starts. One split model has your team own daily operation while a partner builds and tests the first policy set. Decide based on whether you can staff full test passes across all components and keep them current after each release.

Do network policies alone satisfy a compliance framework for openDesk?

No. Network policies restrict traffic and support several controls, but a compliance framework assesses the whole environment, including identity, logging, backup, patching, change control and documented ownership. DeployOpen prepares systems, controls and evidence for compliance assessments, such as policy configuration, test results, traffic maps and change records, so your compliance team can review them. DeployOpen does not issue audit reports, attestations or certifications. Independent auditors and certification bodies do that work. Ask which framework applies to your organization, which controls the policies are meant to support, and which controls stay with your team. The openDesk security documentation describes the security settings and network policies openDesk documents, which is a useful starting point for that mapping.

Does ZenDiS support cover changes we make to openDesk intents?

Whether ZenDiS support covers a specific intent change is a question to confirm with ZenDiS in writing, because documented support differs by edition. The Enterprise Edition includes SLA-backed 2nd and 3rd level support and patches. The Community Edition is supported only by the community on openCode, with no SLA. Ask ZenDiS which intents ship in your release, whether a change you make to a shipped intent is covered, and how custom intents are treated during an upgrade. Those answers decide who fixes a broken flow after a release. DeployOpen can make and test intent changes within the written scope, and ongoing support and upgrades are available as retainers, so the scope should name who owns each intent after handover.

What usually breaks when openDesk network policies go live?

The most common failures come from flows missing in the traffic map. Check scheduled jobs, health checks, cross-namespace calls, and connections to external services such as PostgreSQL 15, MariaDB 10, Redis 7, an SMTP relay, ClamAV over ICAP, object storage and a TURN server, since production expects those services to run outside the openDesk namespaces. Failures usually appear as timeouts or failed logins after enforcement, so the first signal is application behavior, not a policy error. Before enforcement, test every application flow, record which connections were allowed, and keep a rollback step for each environment. Confirm each external endpoint and port with its service owner, because a policy that passes in test can still block a production relay or storage endpoint.

Limits to confirm in your environment

Network policy enforcement depends on choices outside the openDesk release itself, including the release you run, the cluster your platform team provides and the support edition you buy. Check each item below before you apply the intents to a production namespace, and record the answer in your change file.

Shipped ClientIntents per release

The ClientIntents that openDesk ships change between releases, so the policies you apply must match the exact tag you deploy and be checked again at every upgrade. Compare the intents in your deployment repository at that tag against the release notes, and confirm the newest release on the list is the one you plan to run. Treat each added or removed intent as a change to your security baseline, because a missing intent can leave a path open or block a database connection after an upgrade.

openDesk releases

Intents operator coverage

The intents operator is a separate cluster component that turns ClientIntents into enforced policy, so it has its own version and configuration. Confirm that the operator version and its installation settings fall inside the supported configuration for the release you run. Ask whether changes to operator settings, such as the namespace or how it is installed, affect that coverage, and get the answer in writing before go-live. Also check how the operator is upgraded, because an operator upgrade can change how existing intents are enforced.

Release management docs

NetworkPolicy enforcement by the plugin

The Kubernetes API accepts NetworkPolicy objects, but only a network plugin that implements them enforces the rules, so a cluster can hold valid policies that do nothing. Confirm which plugin your cluster runs and that it enforces NetworkPolicy at your Kubernetes version. Then test with a deliberately blocked connection between two pods in a non-production namespace. If the blocked connection succeeds, stop and fix enforcement before you trust any intent.

Kubespray tested, OpenShift untested

openDesk is tested on kubespray clusters. It is not tested on OpenShift, so an OpenShift cluster should be treated as untested for this release. Distribution defaults for security contexts, ingress and networking can differ from a kubespray build and change how the policies behave. If you run OpenShift or a modified cluster, ask ZenDiS in writing whether the release is supported on your setup, and document each deviation you accept. Then test the login and each application path after the policies are applied.

Requirements docs

Ingress nginx is deprecated

openDesk lists haproxy-ingress or Ingress nginx as the ingress controller, and Ingress nginx is deprecated. Your allow rules must admit traffic from whichever controller you run, to the frontends it routes to, so a policy written for one controller can break routing after a switch. Choose the controller before you write the ingress rules, and plan a migration if your estate already depends on Ingress nginx. Ask ZenDiS whether the deprecated option remains in the supported configuration for your release.

ZenDiS support for changes

Community Edition is supported only by the community on openCode, with no SLA. Enterprise Edition adds SLA-backed 2nd and 3rd level support and patches from ZenDiS, sold as SaaS or for on-premises installation. Network policy changes touch every application path, so decide before go-live who answers when an intent blocks a database connection. Confirm in writing whether your edition covers ZenDiS support for changes you make to the policies.

Enterprise Edition docs

How DeployOpen scopes and tests openDesk network policies

DeployOpen plans network policies for openDesk as a change to a running workplace suite, with the traffic map, test cases and rollback path agreed before any policy is applied. The work runs inside your own Kubernetes environment, and each step is documented so your operators can run and review it afterwards.

How we scope

  • The written scope lists each openDesk component, namespace and data store whose traffic is restricted.
  • We map which applications must reach their databases, caches, external services and each other before writing intents.
  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.

How we build

  • Install the Otterize intents operator into the cluster, then review the ClientIntents shipped with your openDesk release.
  • Apply intents in a non-production environment first, comparing each component's traffic before and after the change.
  • Confirm each intent against the component versions you run, because intents must match actual connection paths.

How we hand over

  • Test evidence records allowed and blocked connections, and the commands used to reproduce each result.
  • Documentation covers the intent files, operator install, the traffic map and a rollback procedure for your operators.
  • Your operators receive a walkthrough of how to add an intent when a new component or database is introduced.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers and can cover intent review after release changes.
  • Re-run the traffic tests after each openDesk release, since minor releases are planned monthly and patches on demand.
  • Confirm your edition and its support terms before setting the boundary, since Community Edition has no SLA.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.