Using the Helm chart? The chart handles workload proxy configuration, TLS, and ingress routing all in one place. See the Workload Proxy section of the Helm chart README. You don’t need the rest of this guide.
Requirements
You need:- A wildcard DNS record pointing to your Omni host (the examples in this guide use
*.omni.example.com). - A wildcard TLS certificate for that domain.
- A routing rule forwarding traffic for that domain to Omni. See Step 4: Route traffic to Omni below.
Step 1: Enable workload proxy
Add the following to your Omni configuration and restart Omni. For the full list of workload proxy options, see the Omni Configuration reference.- Config file (YAML)
- CLI flags
Step 2: Choose your domain layout
These examples useomni.example.com as the Omni domain. Pick one option.
- Direct subdomains (recommended)
- Subdomain prefix
- Sibling domain
useOmniSubdomain: true, empty subdomainServices appear directly under Omni’s domain:*.omni.example.com covers all exposed services.grafana here is the alias you set on the Service via annotation, or a randomly generated prefix. When useOmniSubdomain is true, aliases can contain dashes.
Step 3: Obtain a TLS certificate
The workload proxy domain needs a wildcard certificate. If you followed the on-prem guide and used cfssl, add the wildcard entry for your proxy domain to thehosts array in your wildcard-csr.json. Using the Direct subdomains option as an example, the full array becomes:
-d values to match your chosen layout:
Step 4: Route traffic to Omni
The wildcard domain traffic needs to reach Omni. How you set that up depends on whether you have a reverse proxy in front of it.No reverse proxy
If Omni is listening directly on port 443, pass the wildcard certificate to Omni via--cert and --key (or services.api.certFile / services.api.keyFile in the config file). With your chosen wildcard domain in the certificate’s SAN and DNS pointing to your host, Omni routes workload proxy traffic internally.
nginx
If you’re running nginx in front of Omni (see Expose Omni with Nginx), add a server block for the wildcard domain. The following example uses the Direct subdomains domain (*.omni.example.com). Adjust server_name to match your chosen layout. The example assumes Omni is on 127.0.0.1:8080:
Traefik (Kubernetes)
With Traefik v3 as your ingress controller, use anIngressRoute that matches the wildcard hostname and forwards to the Omni service:
Certificate resource for the wildcard cert, see the Helm chart README.