Documentation Index
Fetch the complete documentation index at: https://cosmo-docs.wundergraph.com/llms.txt
Use this file to discover all available pages before exploring further.
Chart Repository
ghcr.io/wundergraph/cosmo/helm-charts/routerSource
Helm releases are currently not part of any release automation. We update them as recent as possible in the repository above. Please reach out to us if you need something else.
Install the Router
Install the router through our officialOCI chart. Note that Helm 3.8 or later is required.
Create the following file to not bother with cli flags.
values.yaml
router. You can use the command also to upgrade a release e.g. after a configuration update.
Use a custom Router config
Managing environment variables can be tedious. We also support providing a custom router configuration. To do so, you only need to create one and specify its name in the chart values. The config must exist in the same namespace as the router.router-config.yaml
existingConfigmap of the chart values. Keep in mind that secrets should be passed as Kubernetes Secrets. Use extraEnvVars or extraEnvVarsSecret to pass additional ones.
values.yaml
Inline router configuration
Instead of creating a separate configmap, you can also inline the configuration values as part of the router chart values. This is handy but should not be used for secrets. Secrets should be passed in theconfiguration section or through a custom secret map.
values.yaml
File-based router configuration
You can also specify a path to a configuration file that will be embedded into the chart. This is useful for managing complex configurations or when you want to keep configuration separate from the values file.values.yaml
configs/router-config.yaml
The file will be processed with Helm’s
tpl function, allowing you to use template variables and functions within the configuration file.