> For the complete documentation index, see [llms.txt](https://docs.cennso.com/test-tools/sgw-sim/latest/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/test-tools/sgw-sim/latest/installation/sgwsimulator.chart-configuration.generated.md).

# SGW Simulator chart configuration

The following table lists the common configurable parameters of the SGW Simulator chart and their default values:

| Key | Type | Default | Description |
|---|---|---|---|
| additionalConfigs | object | `{}` | Additional configs for SGW Simulator. The key must not be named `config.yaml`. |
| affinity | object | `{}` | Parameter that assigns custom affinity rules to SGW Simulator. For more information, read the official [Kubernetes documentation](https://kubernetes.io/docs/concepts/configuration/assign-pod-node/). |
| autoReload | bool | `true` | Autorestarts SGW Simulator pod after the ConfigMap update. |
| autorun | bool | `true` | Automatically starts SGW Simulator with `/mnt/config.yaml`. |
| binary | string | `"sgwsimulator"` | Simulator binary the entrypoint runs: `sgwsimulator` (v1) or `sgwsimulatorv2` (v2). The `probe_session` behaviour and free-form `interface_names` require v2. |
| config | string | `""` | Multiline variable that holds the main SGW Simulator configuration. It is propagated to `/mnt/config.yaml`. |
| fpp.mtu | int | `8930` | MTU used in the generated NAD config. |
| fpp.table | int | `100` | Routing table used in the generated NAD config. |
| fpp.vni | int | `""` | VXLAN id (vni) used in the generated NAD config. When empty, no NAD is rendered and no network is attached. |
| fullnameOverride | string | `""` | Fullname override for the resources. |
| hostAliases | list | `[]` | Kubernetes hostAliases. Required for populating `/etc/hosts` inside the container. |
| image.pullPolicy | string | `"IfNotPresent"` | Kubernetes Image Pull Policy. The possible values are: `"Always"`, `"IfNotPresent"`, `"Never"`. |
| image.repository | string | `"registry.cennso.com/cennso/tp-integration-tests"` | Repository that stores the Cennso Test Tools (CTT) image. |
| image.tag | string | `""` | Used to override the CTT image tag. By default, the version from AppVersion in `Chart.yaml` is used. |
| imagePullSecrets | list | `[]` | ImagePullSecrets that are added to the workload service account. See the value example: `[{name: "regcred"}]`. |
| init | string | `"# ip address add 172.20.1.1/24 dev grx0\n"` | Init configuration for SGW Simulator for tap interfaces. It is always required for the Control Plane communication. |
| interfaceName | string | `""` | Data Plane interface name. Required for the memif type. Ignored when `fpp.vni` is set: the chart then uses the static in-container names `memif0` / `tap0`. |
| interfaceType | string | `"memif"` | Data Plane interface type. The possible values are `"memif"` and `"tap"`. |
| labels | object | `{}` | Labels present on each resource. |
| nameOverride | string | `""` | Chart name override. |
| nodeSelector | object | `{}` | Parameter that selects nodes SGW Simulator should run. For more information about nodeSelectors, read the official [Kubernetes documentation](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#nodeselector/). |
| podAnnotations | object | `{}` | Annotations present on the SGW Simulator pod. For the memif interface, both types are required. Memif network is used for User Plane, tap for Control Plane. |
| podSecurityContext | object | `{}` | SecurityContext present on the SGW Simulator pod. |
| resources | object | `{"limits":{"cpu":2,"memory":"2Gi"},"requests":{"cpu":2,"memory":"2Gi"}}` | Resources assigned to the SGW Simulator container. There is a separate definition for limit and request. For more information, read the official [Kubernetes documentation](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers). |
| securityContext | object | `{"capabilities":{"add":["NET_ADMIN"]}}` | SecurityContext present on the SGW Simulator container. |
| tolerations | list | `[]` | Kubernetes tolerations. For more information, read the official [Kubernetes documentation](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/). |
