> For the complete documentation index, see [llms.txt](https://docs.cennso.com/components/cgw/1.12/llms.txt) (all documentation: [llms.txt](https://docs.cennso.com/llms.txt)). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cennso.com/components/cgw/1.12/installation/cgw-chart.generated.md).

# Connectivity Gateway chart configuration

The following table lists the configurable parameters of the Connectivity Gateway (CGW) chart and their default values.

| Parameter | Type | Description | Default value |
|---|---|---|---|
| additionalContainers | list | List of additional containers. Each needs cpu and memory `limits`, or the pod drops out of the `Guaranteed` QoS class (see `resources`). | `[]` |
| additionalInitContainers | list | List of additional init containers. Each needs cpu and memory `limits`, or the pod drops out of the `Guaranteed` QoS class (see `resources`). | `[]` |
| additionalLabels | object | Additional labels for all resources | `{}` |
| additionalServices | list | List of additional Kubernetes services. | `[]` |
| additionalVolumes | list | List of additional volumes. | `[]` |
| bird.additionalSecurityContext | object | `securityContext` merged over the one the chart renders for the `bird` container, which grants `NET_ADMIN`. A key given here replaces the chart's, `capabilities` one level deeper. | `{}` |
| bird.birdConfigWatcher.additionalSecurityContext | object | `securityContext` merged over the one the chart renders for the `bird-config-watcher` container, which sets `runAsGroup: 0`: bird's control socket is `root:root` with mode `0660`. | `{}` |
| bird.birdConfigWatcher.enabled | bool | Enables the Bird Config Watcher container. | `false` |
| bird.birdConfigWatcher.image.pullPolicy | string | Image pull policy of Bird Config Watcher container. The possible values are: `Always`, `IfNotPresent`, and `Never`. | `"IfNotPresent"` |
| bird.birdConfigWatcher.image.repository | string | Repository with the Bird Config Watcher image. | `"registry.cennso.com/cennso/bird-configwatcher"` |
| bird.birdConfigWatcher.image.tag | string | Tag of the Bird Config Watcher image. | `"v0.1.4"` |
| bird.birdConfigWatcher.openFirewall | bool | | `true` |
| bird.birdConfigWatcher.service.annotations | object | Annotations on the Bird Config Watcher service | `{"prometheus.io/port":"8000","prometheus.io/scrape":"true"}` |
| bird.birdExporter.enabled | bool | Enables the Bird Prometheus Exporter container. | `true` |
| bird.birdExporter.image.pullPolicy | string | Image pull policy of Bird Prometheus Exporter container. The possible values are: `Always`, `IfNotPresent`, and `Never`. | `"IfNotPresent"` |
| bird.birdExporter.image.repository | string | Repository with the Bird Prometheus Exporter image. | `"registry.cennso.com/cennso/bird_exporter"` |
| bird.birdExporter.image.tag | string | Tag of the Bird Prometheus Exporter image. | `"v1.7.1-vnf-1.3.6"` |
| bird.birdExporter.openFirewall | bool | | `true` |
| bird.birdExporter.service.annotations | object | Annotations on the Bird Prometheus Exporter service | `{"prometheus.io/port":"9324","prometheus.io/scrape":"true"}` |
| bird.configuration | object | Bird configuration files. `bird` and `bird6` end up as `bird.conf` and `bird6.conf` in the Bird container, each one enabling the matching protocol. | `{}` |
| bird.enabled | bool | Enables the Bird container. | `false` |
| bird.image.pullPolicy | string | Image pull policy of the Bird container. The possible values are: `Always`, `IfNotPresent`, and `Never`. | `"IfNotPresent"` |
| bird.image.repository | string | Repository with the Bird image | `"registry.cennso.com/cennso/vnf-bird1"` |
| bird.image.tag | string | Tag of the Bird image | `"v1.6.8-vnf-1.3.6"` |
| conntrackExporter.enabled | bool | Enables the Conntrack Exporter. Exposes netfilter conntrack statistics (including `net.netfilter.nf_conntrack_max`) of the pod network namespace as `node_nf_conntrack_*` metrics. | `false` |
| conntrackExporter.image.pullPolicy | string | Image pull policy of the Conntrack Exporter container. The possible values are: `Always`, `IfNotPresent`, and `Never`. | `"IfNotPresent"` |
| conntrackExporter.image.repository | string | Repository where the Conntrack Exporter image is stored | `"registry.cennso.com/cennso/conntrack-exporter"` |
| conntrackExporter.image.tag | string | Tag for the Conntrack Exporter image | `"v1.12.1-cgw-1.12.0"` |
| conntrackExporter.openFirewall | bool | Opens firewall for Conntrack Exporter when the **iptables** are enabled. | `true` |
| conntrackExporter.service.annotations."prometheus.io/port" | string | Annotation of the Conntrack Exporter port for Prometheus | `"9371"` |
| conntrackExporter.service.annotations."prometheus.io/scrape" | string | Annotation that enables Prometheus to scrape metrics from Conntrack Exporter | `"true"` |
| debug.additionalSecurityContext | object | `securityContext` merged over the one the chart renders for the `debug` container, which is `privileged`: holding more than its neighbours is the point of it. Keep `debug.enabled` false outside of an investigation. | `{}` |
| debug.enabled | bool | Enables the debug container. | `false` |
| debug.image.pullPolicy | string | Image pull policy of the debug container. The possible values are: `Always`, `IfNotPresent`, and `Never`. | `"IfNotPresent"` |
| debug.image.repository | string | Repository where the debug image is stored. | `"registry.cennso.com/cennso/nettools"` |
| debug.image.tag | string | The image tag of the debug image. | `"v1.19.1"` |
| gre.additionalSecurityContext | object | `securityContext` merged over the one the chart renders for the `init-gre` init container, which grants `NET_ADMIN`. A key given here replaces the chart's, `capabilities` one level deeper. | `{}` |
| gre.enabled | bool | Enables the GRE tunneling usage container. | `false` |
| gre.gretap | bool | Type of the GRE interface. | `false` |
| gre.localip | string | Local IP of the GRE tunnel. | `"192.0.2.1"` |
| gre.name | string | Name of the GRE interface. Avoid the kernel defaults `gre0`, `gretap0` and `erspan0`: loading the GRE modules creates those in every network namespace, so a tunnel named after one of them is indistinguishable from the unused device the kernel provides. | `"gre-cgw"` |
| gre.remoteip | string | Remote IP of the GRE tunnel. | `"203.0.113.1"` |
| initScript.additionalSecurityContext | object | `securityContext` merged over the one the chart renders for the `init-script` container: `privileged` plus `NET_ADMIN`, because the script is the operator's and the chart cannot know what it does. A script that only configures interfaces runs with `{privileged: false}`. | `{}` |
| initScript.enabled | bool | Enables the init script container. | `false` |
| initScript.env | object | Environment variables for the Init Script container | `{}` |
| initScript.image.pullPolicy | string | Image pull policy of the Init Script container. The possible values are: `Always`, `IfNotPresent`, and `Never`. | `"IfNotPresent"` |
| initScript.image.repository | string | Repository with the Init Script image. | `"registry.cennso.com/cennso/nettools"` |
| initScript.image.tag | string | Tag of the Init Script image. | `"v1.19.1"` |
| initScript.script | string | Script executed by the Init Script container | `"echo \"script configuration is missing\"\n"` |
| ipSetup.additionalSecurityContext | object | `securityContext` merged over the one the chart renders for the `ip-setup` init container, which grants `NET_ADMIN`. | `{}` |
| ipSetup.enabled | bool | Enables the IP Configuration container | `false` |
| ipsec.additionalSecurityContext | object | `securityContext` merged over the one the chart renders for the `ipsec` container, which grants `NET_ADMIN`. A key given here replaces the chart's, `capabilities` one level deeper. | `{}` |
| ipsec.certs | object | Certificates | `{}` |
| ipsec.compat.mountKernelModules | bool | Mounts the host's `/lib/modules` read-only into the `ipsec` and `init-vti` containers. Needed for `vnf-ipsec` `v1.5.x` and older, which run `modprobe ip_vti` inside the container and therefore need the module tree of the running kernel. From `v1.6.0` on the VTI interface is created over netlink and the kernel loads `ip_vti` itself through its `rtnl-link-vti` alias. | `false` |
| ipsec.enabled | bool | Enables IPSec container. | `false` |
| ipsec.espcipher | string | ESP cipher | `"aes192gcm16-aes128gcm16-ecp256,aes192-sha256-modp3072"` |
| ipsec.forceudp | string | Forces UDP communication | `"yes"` |
| ipsec.ikecipher | string | IKEv2 cipher | `"aes192gcm16-aes128gcm16-prfsha256-ecp256-ecp521,aes192-sha256-modp3072"` |
| ipsec.image.pullPolicy | string | Image pull policy of the IPSec container. The possible values are: `Always`, `IfNotPresent`, and `Never`. | `"IfNotPresent"` |
| ipsec.image.repository | string | Repository with the IPSec image | `"registry.cennso.com/cennso/vnf-ipsec"` |
| ipsec.image.tag | string | Tag of the IPSec image | `"v1.6.1"` |
| ipsec.initIp.additionalSecurityContext | object | Same, for the `init-ip` init container. | `{}` |
| ipsec.initVti.additionalSecurityContext | object | Same, for the `init-vti` init container. Set `{privileged: true}` with an `ipsec.image` of `v1.5.x`, whose `modprobe ip_vti` needs `SYS_MODULE`, and wherever `net.ipv4.conf.default.disable_policy=1` is not preset on the pod's network namespace - writing `/proc/sys` needs it. | `{}` |
| ipsec.keyexchange | string | Key exchange protocol | `"ikev2"` |
| ipsec.localnet | string | IP address of the local network. | `"192.168.24.0/24"` |
| ipsec.localprivip | string | | `"%any"` |
| ipsec.manualConfig | bool | Enables manual configuration | `true` |
| ipsec.psk | string | Pre-shared key | `"secret"` |
| ipsec.remoteip | string | IP address of the remote endpoint. | `"192.0.2.0"` |
| ipsec.remotenet | string | IP address of the remote network. | `"192.168.23.0/24"` |
| ipsec.service.enabled | bool | Enables the IPSec Kubernetes service | `false` |
| ipsec.service.name | string | Name of the IPSec Kubernetes service | `"ipsec"` |
| ipsec.service.type | string | Type of the IPSec Kubernetes service | `"ClusterIP"` |
| ipsec.setRouteDefaultTable | bool | | `false` |
| ipsec.strongswan.ipsecConfig | object | Files mounted into `/etc/ipsec.config.d/`, keyed by file name | `{}` |
| ipsec.strongswan.ipsecSecretRef | string | Existing Secret holding the ipsec secrets. Takes precedence over `ipsecSecrets`, which is then not rendered into a Secret of its own. | `nil` |
| ipsec.strongswan.ipsecSecrets | object | Files mounted into `/etc/ipsec.secrets.d/`, keyed by file name. Ignored when `ipsecSecretRef` names an existing Secret. | `{}` |
| ipsec.useEnvConfig | string | | `"HIDDEN_PUBIP_HOST"` |
| ipsec.vti_ipaddr_local | string | Address of the VTI interface, configured as a point-to-point pair with `vti_ipaddr_peer`. Without it the interface stays unnumbered and the kernel takes the pod address as source for everything routed into the tunnel, which does not match a traffic selector built from `localnet`. Both have to be set, or neither. | `""` |
| ipsec.vti_ipaddr_peer | string | Peer address of the VTI interface, see `vti_ipaddr_local`. Setting it also installs the route towards the peer. | `""` |
| ipsec.vti_key | int | Virtual Tunnel Interface key | `1304` |
| ipsec.vti_staticroutes | string | Routes added on the VTI interface, comma separated. Prefixes only: the image expands the value unquoted with `IFS=","`, so a route attribute such as `src` ends up inside the prefix and the route is rejected. Not needed when `vti_ipaddr_peer` is set, which routes the peer itself. | `""` |
| ipsecExporter.enabled | bool | Enables the IPsec Exporter | `false` |
| ipsecExporter.image.pullPolicy | string | Image pull policy of the IPsec Exporter container. The possible values are: `Always`, `IfNotPresent`, and `Never`. | `"IfNotPresent"` |
| ipsecExporter.image.repository | string | Repository where the IPsec Exporter image is stored | `"registry.cennso.com/cennso/ipsec-exporter"` |
| ipsecExporter.image.tag | string | Tag for the IPsec Exporter image | `"v1.10.1-cgw-1.12.0"` |
| ipsecExporter.openFirewall | bool | Opens firewall for IPsec Exporter when the **iptables** are enabled. | `true` |
| ipsecExporter.service.annotations."prometheus.io/port" | string | Annotation of the IPsec Exporter port for Prometheus | `"9536"` |
| ipsecExporter.service.annotations."prometheus.io/scrape" | string | Annotation that enables Prometheus to scrape metrics from IPsec Exporter | `"true"` |
| ipsecExporter.vici.address | string | `host:port` when `transport` is `tcp`, an absolute socket path when it is `unix`. In the `unix` case the directory of the path is the shared mount point, so the socket has to be the only thing in it. | `"/run/vici/charon.vici"` |
| ipsecExporter.vici.manageConfig | bool | Mounts `/etc/strongswan.d/zz-vici-socket.conf` into the `ipsec` container, pointing both charon and `swanctl` at `transport`/`address`. Disable to leave charon's configuration to the image, in which case `transport` and `address` only tell the exporter where to connect. | `true` |
| ipsecExporter.vici.transport | string | Transport charon serves vici on, `tcp` or `unix`. With `tcp` the socket is bound on the loopback address and every container in the pod can reach it; with `unix` the socket lives in a memory backed `emptyDir` mounted into the `ipsec` and the exporter container only. | `"unix"` |
| iptables.additionalSecurityContext | object | `securityContext` merged over the one the chart renders for the `iptables` init container, which grants `NET_ADMIN`. | `{}` |
| iptables.enabled | bool | Enables the iptables container. | `false` |
| iptables.image.pullPolicy | string | Image pull policy of the iptables container. The possible values are: `Always`, `IfNotPresent`, and `Never`. | `"IfNotPresent"` |
| iptables.image.repository | string | Repository with the iptables image. | `"registry.cennso.com/cennso/nettools"` |
| iptables.image.tag | string | Tag of the iptables image. | `"v1.19.1"` |
| iptables.ipv4Rules | string | IPv4 rules for iptables | `""` |
| iptables.ipv6Rules | string | IPv6 rules for iptables | `""` |
| labels | object | Values used by rclone container to construct path of uploaded pcap files | `{"cluster":"example-cluster","name":"cgw"}` |
| networkUtility.image.pullPolicy | string | Image pull policy of the Network Utility container. The possible values are: `Always`, `IfNotPresent`, and `Never`. | `"IfNotPresent"` |
| networkUtility.image.repository | string | Repository with the Network Utility image. | `"registry.cennso.com/cennso/nettools"` |
| networkUtility.image.tag | string | Tag of the Network Utility image. | `"v1.19.1"` |
| pcap.additionalSecurityContext | object | `securityContext` merged over the one the chart renders for the `pcap` container, which grants `NET_RAW` for its capture socket. | `{}` |
| pcap.enabled | bool | Enables the PCAP collector container. | `false` |
| pcap.image.pullPolicy | string | Image pull policy of the PCAP Collector container. The possible values are: `Always`, `IfNotPresent`, and `Never`. | `"IfNotPresent"` |
| pcap.image.repository | string | Repository where the PCAP Collector image is stored. | `"registry.cennso.com/cennso/pcap"` |
| pcap.image.tag | string | The image tag of the PCAP Collector image. | `"v1.6.0"` |
| pingExporter.additionalSecurityContext | object | `securityContext` merged over the one the chart renders for the `ping-exporter` container, which grants `NET_RAW` for its ICMP socket. | `{}` |
| pingExporter.config | object | Ping Exporter configuration. The chart owns `version`, `web.listen-address` and, when `targets` is set, `ping.configurations`; setting one of those here fails the render. | `{"dns":{"refresh":"1m"},"web":{"telemetry-path":"/metrics"}}` |
| pingExporter.enabled | bool | Enables the ping exporter container. | `false` |
| pingExporter.image.pullPolicy | string | Image pull policy of the ping exporter container. The possible values are: `Always`, `IfNotPresent`, and `Never`. | `"IfNotPresent"` |
| pingExporter.image.repository | string | Repository where the ping exporter image is stored. | `"registry.cennso.com/cennso/ping-exporter"` |
| pingExporter.image.tag | string | The image tag of the ping exporter image. | `"v0.7.0"` |
| pingExporter.openFirewall | bool | | `true` |
| pingExporter.service.annotations | object | Annotations on the Ping Exporter service. | `{"prometheus.io/port":"9427","prometheus.io/scrape":"true"}` |
| radvd.additionalSecurityContext | object | `securityContext` merged over the one the chart renders for the `radvd` container, which grants `NET_RAW` for its ICMPv6 socket. | `{}` |
| radvd.enabled | bool | Enables the Router Advertisement Daemon container | `false` |
| radvd.image.pullPolicy | string | Image pull policy of the Router Advertisement Daemon container. The possible values are: `Always`, `IfNotPresent`, and `Never`. | `"IfNotPresent"` |
| radvd.image.repository | string | Repository where the Router Advertisement Daemon image is stored. | `"registry.cennso.com/cennso/radvd"` |
| radvd.image.tag | string | The image tag of the Router Advertisement Daemon image. | `"v2.21-cgw-1.12.0"` |
| rclone.additionalVolumeMounts | list | List of additional volumes mounted on the rclone container. | `[]` |
| rclone.compression | bool | Enables compression using lz4. | `false` |
| rclone.debug | bool | Enables debug output (`set -x`) of the rclone script. | `false` |
| rclone.enabled | bool | Enables the rclone container. | `false` |
| rclone.env | object | Environment variables for the rclone container. | `{"RCLONE_REMOTE_NAME":"sftp","RCLONE_REMOTE_PATH":"data"}` |
| rclone.filename | string | Filename template | `"%Y-%m-%dT%H:%M:%SZ_gtp.pcap"` |
| rclone.image.pullPolicy | string | Image pull policy of the rclone container. The possible values are: `Always`, `IfNotPresent`, and `Never`. | `"IfNotPresent"` |
| rclone.image.repository | string | Repository where the rclone image is stored. | `"registry.cennso.com/cennso/docker-rclone"` |
| rclone.image.tag | string | The image tag of the rclone image. | `"v1.75.2"` |
| rclone.pathComponents | object | Builds target path from various components. If all components are enabled, the path is `RCLONE_REMOTE_NAME/RCLONE_REMOTE_PATH/<.Values.labels.cluster>/<.Values.labels.name>/<date>`. | `{"cluster":{"enabled":true},"date":{"enabled":true,"format":"%Y-%m-%d"},"name":{"enabled":true}}` |
| rclone.pathComponents.cluster.enabled | bool | Adds a cluster to a path. | `true` |
| rclone.pathComponents.date.enabled | bool | Adds a date to a path. | `true` |
| rclone.pathComponents.date.format | string | Date format. The value is used as the `FORMAT` string for a `date -d ...`. Do NOT include the '+' demanded by `date`, we do that for you. | `"%Y-%m-%d"` |
| rclone.pathComponents.name.enabled | bool | Adds a name to a path. | `true` |
| rclone.useSSHkeyFile | bool | Enables usage of the SSH key file | `false` |
| replicaCount | int | Number of replicated CGW pods | `1` |
| resources | object | Kubernetes resources fields for containers. The defaults set `limits` only: Kubernetes takes the `requests` from the limits, so every container gets requests equal to its limits and the pod runs in the `Guaranteed` QoS class. Overrides are merged into these defaults, so an override setting `requests` alone keeps the default `limits` next to it; requests below the limits put the pod into the `Burstable` class. `limits: null` removes a default. Containers added through `additionalContainers` and `additionalInitContainers` need their own cpu and memory `limits`, otherwise the whole pod is `Burstable`. | `{"bird":{"limits":{"cpu":"250m","memory":"256Mi"}},"birdConfigWatcher":{"limits":{"cpu":"50m","memory":"64Mi"}},"birdExporter":{"limits":{"cpu":"100m","memory":"16Mi"}},"conntrackExporter":{"limits":{"cpu":"100m","memory":"16Mi"}},"debug":{"limits":{"cpu":"100m","memory":"64Mi"}},"initGre":{"limits":{"cpu":"50m","memory":"64Mi"}},"initIp":{"limits":{"cpu":"50m","memory":"64Mi"}},"initScript":{"limits":{"cpu":"50m","memory":"64Mi"}},"initVti":{"limits":{"cpu":"50m","memory":"64Mi"}},"ipSetup":{"limits":{"cpu":"50m","memory":"64Mi"}},"ipsec":{"limits":{"cpu":"100m","memory":"64Mi"}},"ipsecExporter":{"limits":{"cpu":"100m","memory":"16Mi"}},"iptables":{"limits":{"cpu":"50m","memory":"64Mi"}},"pcap":{"limits":{"cpu":"100m","memory":"128Mi"}},"pingExporter":{"limits":{"cpu":"50m","memory":"16Mi"}},"radvd":{"limits":{"cpu":"20m","memory":"16Mi"}},"rclone":{"limits":{"cpu":"250m","memory":"256Mi"}},"vrrp":{"limits":{"cpu":"20m","memory":"16Mi"}}}` |
| resources.bird | object | Resources configuration for the Bird container. bird and bird6 run in it side by side; an OOM kill or CPU starvation drops the BGP sessions. | `{"limits":{"cpu":"250m","memory":"256Mi"}}` |
| resources.birdConfigWatcher | object | Resources configuration for the Bird Config Watcher container | `{"limits":{"cpu":"50m","memory":"64Mi"}}` |
| resources.birdExporter | object | Resources configuration for the Bird Exporter container | `{"limits":{"cpu":"100m","memory":"16Mi"}}` |
| resources.conntrackExporter | object | Resources configuration for the Conntrack Exporter container | `{"limits":{"cpu":"100m","memory":"16Mi"}}` |
| resources.debug | object | Resources configuration for the debug container | `{"limits":{"cpu":"100m","memory":"64Mi"}}` |
| resources.initGre | object | Resources configuration for the Generic Routing Encapsulation (GRE) init container | `{"limits":{"cpu":"50m","memory":"64Mi"}}` |
| resources.initIp | object | Resources configuration for the IP init container | `{"limits":{"cpu":"50m","memory":"64Mi"}}` |
| resources.initScript | object | Resources configuration for the Init Script init container | `{"limits":{"cpu":"50m","memory":"64Mi"}}` |
| resources.initVti | object | Resources configuration for the Virtual Tunnel Interfaces init container | `{"limits":{"cpu":"50m","memory":"64Mi"}}` |
| resources.ipSetup | object | Resources configuration for the IP configuration container | `{"limits":{"cpu":"50m","memory":"64Mi"}}` |
| resources.ipsec | object | Resources configuration for the IPSec container. charon only runs the IKE exchanges, the ESP traffic is processed by the kernel and not accounted to the container. | `{"limits":{"cpu":"100m","memory":"64Mi"}}` |
| resources.ipsecExporter | object | Resources configuration for the IPsec Exporter container | `{"limits":{"cpu":"100m","memory":"16Mi"}}` |
| resources.iptables | object | Resources configuration for the iptables container | `{"limits":{"cpu":"50m","memory":"64Mi"}}` |
| resources.pcap | object | Resources configuration for the PCAP collector container | `{"limits":{"cpu":"100m","memory":"128Mi"}}` |
| resources.pingExporter | object | Resources configuration for the Ping Exporter container | `{"limits":{"cpu":"50m","memory":"16Mi"}}` |
| resources.radvd | object | Resources configuration for the Router Advertisement Daemon container | `{"limits":{"cpu":"20m","memory":"16Mi"}}` |
| resources.rclone | object | Resources configuration for the Rclone container | `{"limits":{"cpu":"250m","memory":"256Mi"}}` |
| resources.vrrp | object | Resources configuration for the Virtual Router Redundancy Protocol (VRRP) container | `{"limits":{"cpu":"20m","memory":"16Mi"}}` |
| sysctls | list | Kernel parameters for the Pod, as `name`/`value` entries. Router settings are Kubernetes "unsafe" sysctls and must be enabled in kubelet configuration. Only namespaced parameters are supported. See `Kernel parameters` in the documentation. | `[]` |
| vrrp.additionalSecurityContext | object | `securityContext` merged over the one the chart renders for the `vrrp` container, which grants `NET_ADMIN`. | `{}` |
| vrrp.enabled | bool | Enables the Virtual Router Redundancy Protocol container | `false` |
| vrrp.instances | list | One keepalived `vrrp_instance` per entry. `state` defaults to `MASTER`. | `[]` |
