> For the complete documentation index, see [llms.txt](https://docs.cennso.com/components/cgw/1.7/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.7/configuration/general-values.md).

# General values

These values are not specific to a single component of the CGW, but the CGW as a whole. For more detailed configuration, please follow tutorials.

## Root level settings

### sysctls

To expose `sysctl` settings for the security context of the pod, you can add them to `.Value.sysctls`.

Example:

```yaml
sysctls:
  - name: net.ipv4.conf.all.forwarding
    value: "1" 
  - name: net.ipv4.conf.all.rp_filter
    value: "2"
```

### Additional Pod Specs

For pod specs not yet defined, you can add them as follows.

For adding a `nodeSelector`, which is part of the pod spec, you can add:

```yaml
additionalPodSpec:
  nodeSelector:
   ...
```

### Additional Init Containers

Add additional init-containers to the CGW deployment. Example:

```yaml
additionalInitContainers:
- name: print-env
  image: alpine
  imagePullPolicy: IfNotPresent
  command:
    - env
```

### Additional Containers

Add additional containers to the CGW deployment. Example:

```yaml
additionalContainers:
- name: sleep
  image: alpine
  imagePullPolicy: IfNotPresent
  command:
    - sleep
    - infinity
```

### Additional Volumes

Add additional volumes to the CGW deployment. For example, based on an already existing configMap:

```yaml
additionalVolumes:
  - name: custom-data
    configMap:
      name: my-custom-data
```
