> For the complete documentation index, see [llms.txt](https://docs.cennso.com/components/cdf/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/components/cdf/latest/technical-reference/chart-config.md).

# Helm chart reference

This document provides a sample Helm chart configuration for a Charging Data Function (CDF) components and describes all the parameters you can adjust to configure them.

## Configuration example

See configuration example for deploying CDF Receiver:

```yaml
receiver:
  # -- Must be enabled to deploy CDF Receiver. Mandatory.
  enabled: true
  # -- Unique NodeID for the receiver, up to 20 characters. Mandatory.
  nodeID: cdf-1
  rateLimit: 2000
  # -- Origin-Host in Accounting Answer (ACA) in Diameter Rf interface. Mandatory.
  hostname: cdf.sample.net
  # -- Origin-Realm in ACA. Mandatory.
  realm: sample.net
  transportOptions:
    receiveBuffer: 131072
    sendBuffer: 131072

nats_services:
  work_queue:
    # -- NATS URL. Example: nats://192.168.0.1:4222. Mandatory.
    url: nats://example.com
    # -- NATS subject for work queue. Example: `CDR.arrived`. Mandatory.
    subject: CDR.arrived
    # -- Existing NATS stream name. Example: CDR. Mandatory.
    streamName: CDR
    # -- Existing NATS consumer name. Example: CDF. Mandatory.
    consumerName: CDF
    poolSize: 8
    requestTimeout: 1000
  kv_store:
    # -- NATS URL. Example: nats://192.168.0.1:4222. Mandatory.
    url: nats://example.com
    # -- NATS bucket name. Example: cdrbucket. Mandatory.
    bucket: CDFbucket
    poolSize: 2

resources:
  cdf:
    limits:
      cpu: 1000m
      memory: 512Mi
```

See configuration example for deploying CDF Sender:

```yaml
sender:
  # -- Must be enabled to deploy CDF Sender. Mandatory.
  enabled: true
  rateLimit: 2000
  cdr_limit_per_cgf: 1000
  CGFs:
  -
    IP: 192.0.2.1
  -
    IP: 192.0.2.2
  echo: 60000
  responseTimeout: 1000
  retries: 1

nats_services:
  work_queue:
    # -- NATS URL. Example: nats://192.168.0.1:4222. Mandatory.
    url: nats://example.com
    # -- NATS subject for work queue. Example: `CDR.arrived`. Mandatory.
    subject: CDR.arrived
    # -- Existing NATS stream name. Example: CDR. Mandatory.
    streamName: CDR
    # -- Existing NATS consumer name. Example: CDF. Mandatory.
    consumerName: CDF
    poolSize: 16
  kv_store:
    # -- NATS URL. Example: nats://192.168.0.1:4222. Mandatory.
    url: nats://example.com
    # -- NATS bucket name. Example: cdrbucket. Mandatory.
    bucket: CDFbucket
    poolSize: 2

resources:
  cdf:
    limits:
      cpu: 2000m
      memory: 1Gi
```

## Configuration parameters

The following table lists the configurable parameters of the CDF Helm chart:

| Key | Type | Default | Description |
|---|---|---|---|
| affinity | object | `{}` | Kubernetes affinity |
| annotations | object | `{}` | Kubernetes annotations |
| hostAliases | list | `[{"hostnames":["cdf.localhost"],"ip":"127.0.0.1"}]` | In case one needs semi-static DNS entries |
| http.enabled | bool | `true` | Enables HTTP. |
| http.ip | string | `"0.0.0.0"` | IP address on which the HTTP server listens |
| http.options.live | bool | `true` | Enables `/livenez`. |
| http.options.metrics | bool | `true` | Enables `/metrics`. |
| http.options.port | int | `8080` | HTTP port for metrics, Kubernetes liveness, and readiness |
| http.options.ready | bool | `true` | Enables `/readyz`. |
| http.portname | string | `"p8080"` | Kubernetes port name |
| image.pullPolicy | string | `"IfNotPresent"` | Kubernetes Image Pull Policy. The possible values are: "Always", "IfNotPresent", "Never". |
| image.repository_receiver | string | `"registry.cennso.com/cennso/cdf_receiver"` | Configures the Docker repository for CDF receiver. |
| image.repository_sender | string | `"registry.cennso.com/cennso/cdf_sender"` | Configures the Docker repository for CDF sender. |
| image.tag | string | `nil` | This parameter is set to `Chart.AppVersion` by default. |
| imagePullSecrets[0].name | string | `"regcred"` | |
| initScript | object | `{"enabled":true,"image":"quay.io/travelping/nettools:v1.10.0","script":"ip addr show"}` | Init script |
| initScript.enabled | bool | `true` | Installs the init script |
| initScript.image | string | `"quay.io/travelping/nettools:v1.10.0"` | Image for the init script |
| interimInterval | object | `{"enabled":false,"seconds":1800}` | Global Acct-Interim-Interval if there is no configuration in APN |
| json | object | `{"enabled":true}` | Store a major part of the CDF configuration in a JSON file. |
| labels | object | `{}` | Kubernetes labels |
| logger.level | string | `"warning"` | Log level. The possible values are: `info`, `warning`, and `error`. |
| metrics.enabled | bool | `true` | Enables creating a service which ServiceMonitor finds. |
| nats_create.archive_stream | object | `{"creds":null,"discard":null,"enabled":false,"limit_marker_ttl":null,"max_age":null,"max_bytes":null,"max_msgs":null,"name":null,"num_replicas":null,"retention":null,"storage":null,"subjects":null,"tls":{"certificates":null,"enabled":false},"url":null}` | NATS archive stream configuration. See [Stream](https://docs.nats.io/nats-concepts/jetstream/streams) and [Gnat.Jetstream](https://hexdocs.pm/gnat/Gnat.Jetstream.html) for more information. |
| nats_create.archive_stream.creds | string | `nil` | Name of the Kubernetes secret that contains the [NATS user credentials file](https://docs.nats.io/using-nats/developer/connecting/creds). The credential file is named `user.creds` and is generated by the [`nsc` binary](https://github.com/nats-io/nsc). |
| nats_create.archive_stream.discard | string | `nil` | Defines the behaviour when a Stream reaches its limit. The possible options are: `old` (default) - deletes old messages; `new` - rejects new messages. |
| nats_create.archive_stream.enabled | bool | `false` | Enables the creation of a NATS archive stream at CDF startup. This option is disabled by default. |
| nats_create.archive_stream.limit_marker_ttl | string | `nil` | Specifies how long (in nanoseconds) the Stream retains delete markers after messages expire based on the TTL setting |
| nats_create.archive_stream.max_age | string | `nil` | Maximum message age in the Stream, in nanoseconds |
| nats_create.archive_stream.max_bytes | string | `nil` | Maximum Stream size in bytes. If exceeded, old messages are discarded or new messages are rejected. |
| nats_create.archive_stream.max_msgs | string | `nil` | Maximum message count in the Stream. If exceeded, CDF follows discard rules to remove the oldest messages or reject new ones. |
| nats_create.archive_stream.name | string | `nil` | Stream name |
| nats_create.archive_stream.num_replicas | string | `nil` | Number of replicas for each message |
| nats_create.archive_stream.retention | string | `nil` | Message retention policy in the Stream. The possible values are: `limits` (size limit), `interest` (only kept if consumers are interested), `workqueue` (keeps until acknowledged). |
| nats_create.archive_stream.storage | string | `nil` | Storage backend type: `file` or `memory` |
| nats_create.archive_stream.subjects | string | `nil` | [NATS subjects](https://docs.nats.io/nats-concepts/subjects) to be used by the created stream. Subjects are comma-separated. Example: "CDR.archived,asd.*,qwe.*" |
| nats_create.archive_stream.tls | object | `{"certificates":null,"enabled":false}` | TLS configuration for the NATS client used to create an archive stream |
| nats_create.archive_stream.tls.certificates | string | `nil` | Name of the Kubernetes secret that contains the [NATS TLS certificate files](https://docs.nats.io/using-nats/developer/connecting/tls). The files in the secret must be named `tls.crt`, `tls.key`, and `ca.crt`. |
| nats_create.archive_stream.tls.enabled | bool | `false` | Enables or disables TLS for the NATS client. |
| nats_create.archive_stream.url | string | `nil` | NATS URL. Example: `nats://192.168.0.1:4222`. |
| nats_create.bucket.creds | string | `nil` | Name of the Kubernetes secret that contains the [NATS user credentials file](https://docs.nats.io/using-nats/developer/connecting/creds). The credential file is named `user.creds` and is generated by the [`nsc` binary](https://github.com/nats-io/nsc). |
| nats_create.bucket.description | string | `nil` | Bucket description |
| nats_create.bucket.enabled | bool | `false` | Enables the creation of a NATS key-value bucket at CDF startup. This resource must be available on the NATS service for proper NATS key-value storage. This option is disabled by default. |
| nats_create.bucket.history | string | `nil` | Number of historical values to store per key (default is 1, max is 64) |
| nats_create.bucket.max_bucket_size | string | `nil` | Maximum storage size for the bucket (in bytes) |
| nats_create.bucket.max_value_size | string | `nil` | Maximum allowed size per value (in bytes) |
| nats_create.bucket.name | string | `nil` | Bucket name |
| nats_create.bucket.replicas | string | `nil` | Number of data replicas to store |
| nats_create.bucket.storage | string | `nil` | Storage backend type: `file` or `memory` |
| nats_create.bucket.tls | object | `{"certificates":null,"enabled":false}` | TLS configuration for the NATS client used to create a bucket |
| nats_create.bucket.tls.certificates | string | `nil` | Name of the Kubernetes secret that contains the [NATS TLS certificate files](https://docs.nats.io/using-nats/developer/connecting/tls). The files in the secret must be named `tls.crt`, `tls.key`, and `ca.crt`. |
| nats_create.bucket.tls.enabled | bool | `false` | Enables or disables TLS for the NATS client. |
| nats_create.bucket.ttl | string | `nil` | Time to keep values (in nanoseconds) |
| nats_create.bucket.url | string | `nil` | NATS URL. Example: `nats://192.168.0.1:4222`. |
| nats_create.cdmp_bucket | object | `{"creds":null,"description":null,"enabled":false,"history":null,"max_bucket_size":null,"max_value_size":null,"name":null,"replicas":null,"storage":null,"tls":{"certificates":null,"enabled":false},"ttl":null,"url":null}` | NATS CDMP key-value bucket configuration (receiver only). See [Key/Value Store](https://docs.nats.io/nats-concepts/jetstream/key-value-store) for more information. |
| nats_create.cdmp_bucket.creds | string | `nil` | Name of the Kubernetes secret that contains the [NATS user credentials file](https://docs.nats.io/using-nats/developer/connecting/creds). The credential file is named `user.creds` and is generated by the [`nsc` binary](https://github.com/nats-io/nsc). |
| nats_create.cdmp_bucket.description | string | `nil` | Bucket description |
| nats_create.cdmp_bucket.enabled | bool | `false` | Enables the creation of a NATS CDMP key-value bucket at CDF startup. This option is disabled by default. |
| nats_create.cdmp_bucket.history | string | `nil` | Number of historical values to store per key (default is 1, max is 64) |
| nats_create.cdmp_bucket.max_bucket_size | string | `nil` | Maximum storage size for the bucket (in bytes) |
| nats_create.cdmp_bucket.max_value_size | string | `nil` | Maximum allowed size per value (in bytes) |
| nats_create.cdmp_bucket.name | string | `nil` | Bucket name |
| nats_create.cdmp_bucket.replicas | string | `nil` | Number of data replicas to store |
| nats_create.cdmp_bucket.storage | string | `nil` | Storage backend type: `file` or `memory` |
| nats_create.cdmp_bucket.tls | object | `{"certificates":null,"enabled":false}` | TLS configuration for the NATS client used to create a CDMP bucket |
| nats_create.cdmp_bucket.tls.certificates | string | `nil` | Name of the Kubernetes secret that contains the [NATS TLS certificate files](https://docs.nats.io/using-nats/developer/connecting/tls). The files in the secret must be named `tls.crt`, `tls.key`, and `ca.crt`. |
| nats_create.cdmp_bucket.tls.enabled | bool | `false` | Enables or disables TLS for the NATS client. |
| nats_create.cdmp_bucket.ttl | string | `nil` | Time to keep values (in nanoseconds) |
| nats_create.cdmp_bucket.url | string | `nil` | NATS URL. Example: `nats://192.168.0.1:4222`. |
| nats_create.consumer | object | `{"ack_policy":"explicit","ack_wait":null,"creds":null,"deliver_policy":"all","durable_name":null,"enabled":false,"filter_subject":null,"max_ack_pending":null,"stream_name":null,"tls":{"certificates":null,"enabled":false},"url":null}` | NATS consumer configuration. See [Consumers](https://docs.nats.io/nats-concepts/jetstream/consumers) and [Gnat.Jetstream](https://hexdocs.pm/gnat/Gnat.Jetstream.html) for more information. |
| nats_create.consumer.ack_policy | string | `"explicit"` | Message acknowledgement mode. The possible values are: `explicit` (a consumer must acknowledge each message; the only allowed option for pull consumers), `none` (no need to acknowledge messages, the server assumes it on delivery), `all` (only the last received message must be acknowledged, all previous messages are acknowledged automatically). |
| nats_create.consumer.ack_wait | string | `nil` | Time in nanoseconds the server waits for an acknowledgement before redelivering. Under high load, CDF may create duplicated CDRs if a message is redelivered. |
| nats_create.consumer.creds | string | `nil` | Name of the Kubernetes secret that contains the [NATS user credentials file](https://docs.nats.io/using-nats/developer/connecting/creds). The credential file is named `user.creds` and is generated by the [`nsc` binary](https://github.com/nats-io/nsc). |
| nats_create.consumer.deliver_policy | string | `"all"` | Order in which the consumer starts receiving messages. The possible values are: `all` (from the earliest available message), `last` (from the last added message), `new` (only messages after consumer creation), `by_start_sequence` (by sequence specifies in **opt_start_seq**), `by_start_time` (by timestamp specified in **opt_start_time**), `last_per_subject` (from latest per subject). |
| nats_create.consumer.durable_name | string | `nil` | Consumer name |
| nats_create.consumer.enabled | bool | `false` | Enables the creation of a NATS consumer at CDF startup. This resource must be available on the NATS service for proper CDR transmission. This option is disabled by default. |
| nats_create.consumer.filter_subject | string | `nil` | Filter to select messages from a subset when using a wildcard subject. |
| nats_create.consumer.max_ack_pending | string | `nil` | Maximum unacknowledged messages before suspending delivery. Applies across all subscribers. `-1` allows unlimited pending acknowledgements, for example in a case of no flow control. |
| nats_create.consumer.stream_name | string | `nil` | Stream name |
| nats_create.consumer.tls | object | `{"certificates":null,"enabled":false}` | TLS configuration for the NATS client used to create a consumer |
| nats_create.consumer.tls.certificates | string | `nil` | Name of the Kubernetes secret that contains the [NATS TLS certificate files](https://docs.nats.io/using-nats/developer/connecting/tls). The files in the secret must be named `tls.crt`, `tls.key`, and `ca.crt`. |
| nats_create.consumer.tls.enabled | bool | `false` | Enables or disables TLS for the NATS client. |
| nats_create.consumer.url | string | `nil` | NATS URL. Example: `nats://192.168.0.1:4222`. |
| nats_create.session_bucket | object | `{"creds":null,"description":null,"enabled":false,"history":null,"max_bucket_size":null,"max_value_size":null,"name":null,"replicas":null,"storage":null,"tls":{"certificates":null,"enabled":false},"ttl":null,"url":null}` | NATS session store key-value bucket configuration (receiver only). See [Key/Value Store](https://docs.nats.io/nats-concepts/jetstream/key-value-store) for more information. |
| nats_create.session_bucket.creds | string | `nil` | Name of the Kubernetes secret that contains the [NATS user credentials file](https://docs.nats.io/using-nats/developer/connecting/creds). The credential file is named `user.creds` and is generated by the [`nsc` binary](https://github.com/nats-io/nsc). |
| nats_create.session_bucket.description | string | `nil` | Bucket description |
| nats_create.session_bucket.enabled | bool | `false` | Enables the creation of a NATS session store key-value bucket at CDF startup. This option is disabled by default. |
| nats_create.session_bucket.history | string | `nil` | Number of historical values to store per key (default is 1, max is 64) |
| nats_create.session_bucket.max_bucket_size | string | `nil` | Maximum storage size for the bucket (in bytes) |
| nats_create.session_bucket.max_value_size | string | `nil` | Maximum allowed size per value (in bytes) |
| nats_create.session_bucket.name | string | `nil` | Bucket name |
| nats_create.session_bucket.replicas | string | `nil` | Number of data replicas to store |
| nats_create.session_bucket.storage | string | `nil` | Storage backend type: `file` or `memory` |
| nats_create.session_bucket.tls | object | `{"certificates":null,"enabled":false}` | TLS configuration for the NATS client used to create a session bucket |
| nats_create.session_bucket.tls.certificates | string | `nil` | Name of the Kubernetes secret that contains the [NATS TLS certificate files](https://docs.nats.io/using-nats/developer/connecting/tls). The files in the secret must be named `tls.crt`, `tls.key`, and `ca.crt`. |
| nats_create.session_bucket.tls.enabled | bool | `false` | Enables or disables TLS for the NATS client. |
| nats_create.session_bucket.ttl | string | `nil` | Time to keep values (in nanoseconds) |
| nats_create.session_bucket.url | string | `nil` | NATS URL. Example: `nats://192.168.0.1:4222`. |
| nats_create.stream | object | `{"creds":null,"discard":"new","enabled":false,"limit_marker_ttl":null,"max_age":null,"max_bytes":null,"max_msgs":null,"name":null,"num_replicas":null,"retention":"workqueue","storage":null,"subjects":null,"tls":{"certificates":null,"enabled":false},"url":null}` | NATS Stream configuration. See [Stream](https://docs.nats.io/nats-concepts/jetstream/streams) and [Gnat.Jetstream](https://hexdocs.pm/gnat/Gnat.Jetstream.html) for more information. |
| nats_create.stream.creds | string | `nil` | Name of the Kubernetes secret that contains the [NATS user credentials file](https://docs.nats.io/using-nats/developer/connecting/creds). The credential file is named `user.creds` and is generated by the [`nsc` binary](https://github.com/nats-io/nsc). |
| nats_create.stream.discard | string | `"new"` | Defines the behaviour when a Stream reaches its limit. The possible options are: `old` (default) - deletes old messages; `new` - rejects new messages. |
| nats_create.stream.enabled | bool | `false` | Enables the creation of a NATS stream at CDF startup. This resource must be available on the NATS service for proper CDR transmission. This option is disabled by default. |
| nats_create.stream.limit_marker_ttl | string | `nil` | Specifies how long (in nanoseconds) the Stream retains delete markers after messages expire based on the TTL setting |
| nats_create.stream.max_age | string | `nil` | Maximum message age in the Stream, in nanoseconds |
| nats_create.stream.max_bytes | string | `nil` | Maximum Stream size in bytes. If exceeded, old messages are discarded or new messages are rejected. |
| nats_create.stream.max_msgs | string | `nil` | Maximum message count in the Stream. If exceeded, CDF follows discard rules to remove the oldest messages or reject new ones. |
| nats_create.stream.name | string | `nil` | Stream name |
| nats_create.stream.num_replicas | string | `nil` | Number of replicas for each message |
| nats_create.stream.retention | string | `"workqueue"` | Message retention policy in the Stream. The possible values are: `limits` (size limit), `interest` (only kept if consumers are interested), `workqueue` (keeps until acknowledged). |
| nats_create.stream.storage | string | `nil` | Storage backend type: `file` or `memory` |
| nats_create.stream.subjects | string | `nil` | [NATS subjects](https://docs.nats.io/nats-concepts/subjects) to be used by the created stream. Subjects are comma-separated. Example: "CDR.arrived,asd.*,qwe.*" |
| nats_create.stream.tls | object | `{"certificates":null,"enabled":false}` | TLS configuration for the NATS client used to create a stream |
| nats_create.stream.tls.certificates | string | `nil` | Name of the Kubernetes secret that contains the [NATS TLS certificate files](https://docs.nats.io/using-nats/developer/connecting/tls). The files in the secret must be named `tls.crt`, `tls.key`, and `ca.crt`. |
| nats_create.stream.tls.enabled | bool | `false` | Enables or disables TLS for the NATS client. |
| nats_create.stream.url | string | `nil` | NATS URL. Example: `nats://192.168.0.1:4222`. |
| nats_services.archive | object | `{"compression":"none","creds":null,"encoding":"JSON","error_subject":null,"poolSize":8,"requestTimeout":1000,"subject":null,"tls":{"certificates":null,"enabled":false},"url":null}` | NATS stream settings for archiving CDRs |
| nats_services.archive.compression | string | `"none"` | Compression used for CDRs stored in the archive. The possible values are: "zlib", "none". |
| nats_services.archive.creds | string | `nil` | Name of the Kubernetes secret that contains the [NATS user credentials file](https://docs.nats.io/using-nats/developer/connecting/creds). The credential file is named `user.creds` and is generated by the [`nsc` binary](https://github.com/nats-io/nsc). |
| nats_services.archive.encoding | string | `"JSON"` | Encoding used for CDRs stored in the archive. The possible values are: "ErlangTerm", "JSON". |
| nats_services.archive.error_subject | string | `nil` | [NATS subject](https://docs.nats.io/nats-concepts/subjects) for CDR errors. Example: `CDR.error` |
| nats_services.archive.poolSize | int | `8` | Number of connections CDF establishes towards NATS. |
| nats_services.archive.requestTimeout | int | `1000` | Number of milliseconds CDF sender waits for a response after archiving a CDR to NATS |
| nats_services.archive.subject | string | `nil` | [NATS subject](https://docs.nats.io/nats-concepts/subjects) for archiving CDRs. Example: `CDR.archived` |
| nats_services.archive.tls | object | `{"certificates":null,"enabled":false}` | NATS archive client TLS configuration |
| nats_services.archive.tls.certificates | string | `nil` | Name of the Kubernetes secret that contains the [NATS TLS certificate files](https://docs.nats.io/using-nats/developer/connecting/tls). The files in the secret must be named `tls.crt`, `tls.key`, and `ca.crt`. |
| nats_services.archive.tls.enabled | bool | `false` | Enables or disables TLS for the NATS client. |
| nats_services.archive.url | string | `nil` | NATS URL. Example: `nats://192.168.0.1:4222` |
| nats_services.cdmp | object | `{"cluster_name":"CDMP","creds":null,"poolSize":8,"registry_url":null,"tls":{"certificates":null,"enabled":false},"url":null}` | NATS connection settings for the CDMP service. In NATS, this is represented by a KV bucket. This is an **ALPHA FEATURE**  – do not use it on production setups. |
| nats_services.cdmp.cluster_name | string | `"CDMP"` | CDMP cluster name. It is included in the name of the NATS KV bucket, which is a central registry in the CDMP service. |
| nats_services.cdmp.creds | string | `nil` | Name of the Kubernetes secret that contains the [NATS user credentials file](https://docs.nats.io/using-nats/developer/connecting/creds). The credential file is named `user.creds` and is generated by the [`nsc` binary](https://github.com/nats-io/nsc). |
| nats_services.cdmp.poolSize | int | `8` | Number of connections CDF establishes towards NATS |
| nats_services.cdmp.registry_url | string | `nil` | URL under which the CDF Nchf service registers in CDMP. The URL must not include a path — only the scheme, host, and port are allowed. |
| nats_services.cdmp.tls | object | `{"certificates":null,"enabled":false}` | TLS configuration for the NATS key-value client |
| nats_services.cdmp.tls.certificates | string | `nil` | Name of the Kubernetes secret that contains the [NATS TLS certificate files](https://docs.nats.io/using-nats/developer/connecting/tls). The files in the secret must be named `tls.crt`, `tls.key`, and `ca.crt`. |
| nats_services.cdmp.tls.enabled | bool | `false` | Enables or disables TLS for the NATS client. |
| nats_services.cdmp.url | string | `nil` | NATS URL. Example: nats://192.168.0.1:4222 |
| nats_services.kv_store | object | `{"bucket":null,"creds":null,"poolSize":8,"tls":{"certificates":null,"enabled":false},"url":null}` | NATS key-value store settings used for storing operational state |
| nats_services.kv_store.bucket | string | `nil` | NATS bucket name. Example: cdrbucket |
| nats_services.kv_store.creds | string | `nil` | Name of the Kubernetes secret that contains the [NATS user credentials file](https://docs.nats.io/using-nats/developer/connecting/creds). The credential file is named `user.creds` and is generated by the [`nsc` binary](https://github.com/nats-io/nsc). |
| nats_services.kv_store.poolSize | int | `8` | Number of connections CDF establishes towards NATS |
| nats_services.kv_store.tls | object | `{"certificates":null,"enabled":false}` | NATS key-value client TLS configuration |
| nats_services.kv_store.tls.certificates | string | `nil` | Name of the Kubernetes secret that contains the [NATS TLS certificate files](https://docs.nats.io/using-nats/developer/connecting/tls). The files in the secret must be named `tls.crt`, `tls.key`, and `ca.crt`. |
| nats_services.kv_store.tls.enabled | bool | `false` | Enables or disables TLS for the NATS client. |
| nats_services.kv_store.url | string | `nil` | NATS URL. Example: nats://192.168.0.1:4222 |
| nats_services.session_store | object | `{"bucket":null,"creds":null,"poolSize":8,"tls":{"certificates":null,"enabled":false},"url":null}` | NATS KV settings for the session storage. This is an **ALPHA FEATURE**  – do not use it on production setups. |
| nats_services.session_store.bucket | string | `nil` | NATS bucket name. Example: cdfsessions |
| nats_services.session_store.creds | string | `nil` | Name of the Kubernetes secret that contains the [NATS user credentials file](https://docs.nats.io/using-nats/developer/connecting/creds). The credential file is named `user.creds` and is generated by the [`nsc` binary](https://github.com/nats-io/nsc). |
| nats_services.session_store.poolSize | int | `8` | Number of connections CDF establishes towards NATS |
| nats_services.session_store.tls | object | `{"certificates":null,"enabled":false}` | TLS configuration for the NATS key-value client |
| nats_services.session_store.tls.certificates | string | `nil` | Name of the Kubernetes secret that contains the [NATS TLS certificate files](https://docs.nats.io/using-nats/developer/connecting/tls). The files in the secret must be named `tls.crt`, `tls.key`, and `ca.crt`. |
| nats_services.session_store.tls.enabled | bool | `false` | Enables or disables TLS for the NATS client. |
| nats_services.session_store.url | string | `nil` | NATS URL. Example: nats://192.168.0.1:4222 |
| nats_services.work_queue | object | `{"consumerName":null,"creds":null,"poolSize":8,"requestTimeout":1000,"streamName":null,"subject":null,"tls":{"certificates":null,"enabled":false},"url":null}` | NATS work queue settings for CDR transport |
| nats_services.work_queue.consumerName | string | `nil` | Existing NATS consumer name. Example: CDF |
| nats_services.work_queue.creds | string | `nil` | Name of the Kubernetes secret that contains the [NATS user credentials file](https://docs.nats.io/using-nats/developer/connecting/creds). The credential file is named `user.creds` and is generated by the [`nsc` binary](https://github.com/nats-io/nsc). |
| nats_services.work_queue.poolSize | int | `8` | Number of connections CDF establishes towards NATS. |
| nats_services.work_queue.requestTimeout | int | `1000` | Number of milliseconds CDF receiver waits for a response after sending a CDR to NATS |
| nats_services.work_queue.streamName | string | `nil` | Existing NATS stream name. Example: CDR |
| nats_services.work_queue.subject | string | `nil` | NATS [subject](https://docs.nats.io/nats-concepts/subjects) to be used by the work queue stream. Example: `CDR.arrived` |
| nats_services.work_queue.tls | object | `{"certificates":null,"enabled":false}` | NATS work queue client TLS configuration |
| nats_services.work_queue.tls.certificates | string | `nil` | Name of the Kubernetes secret that contains the [NATS TLS certificate files](https://docs.nats.io/using-nats/developer/connecting/tls). The files in the secret must be named `tls.crt`, `tls.key`, and `ca.crt`. |
| nats_services.work_queue.tls.enabled | bool | `false` | Enables or disables TLS for the NATS client. |
| nats_services.work_queue.url | string | `nil` | NATS URL. Example: nats://192.168.0.1:4222 |
| nodeSelector | object | `{}` | Kubernetes nodeSelector |
| pcap | object | `{"ga":{"enabled":false,"interface":"prod-ga","interval":"900","maxfilenum":"672"},"image":{"pullPolicy":"IfNotPresent","repository":"travelping/pcap","tag":"1.2.1"},"prefix":""}` | PCAP configuration |
| pingExporter | object | `{"config":{"dns":{"refresh":"1m"},"web":{"listen-address":":9427","telemetry-path":"/metrics"}},"enabled":false,"image":{"pullPolicy":"IfNotPresent","repository":"travelping/ping-exporter","tag":"0.6.0"},"service":{"annotations":{"prometheus.io/port":"9427","prometheus.io/scrape":"true"}}}` | Ping exporter |
| podLabels | object | `{}` | Kubernetes pod labels |
| postInitConfig | object | `{}` | Kubernetes postInitConfig |
| preInitConfig | object | `{}` | Kubernetes preInitConfig |
| rclone | object | `{"enabled":false,"env":{"RCLONE_REMOTE_NAME":"sftp","RCLONE_REMOTE_PATH":"data"},"hostAliases":{"enabled":false},"image":{"pullPolicy":"IfNotPresent","repository":"travelping/docker-rclone","tag":"v1.0"},"useSSHkeyFile":false}` | Rclone configuration |
| receiver.enabled | bool | `false` | Must be enabled to deploy CDF Receiver. |
| receiver.hostname | string | `nil` | Origin-Host in Accounting Answer (ACA) in Diameter Rf interface |
| receiver.nchfHttpEnabled | bool | `false` | Enables or disables the HTTP endpoint for the Nchf API. When enabled, the service listens on port `0.0.0.0:8081`. This is an **ALPHA FEATURE**  – do not use it on production setups. |
| receiver.nodeID | string | `nil` | Unique NodeID for the receiver, up to 20 characters |
| receiver.rateLimit | int | `1000` | Maximum number of ACRs received per second, limit applied on Rf interface. A higher rate results in the TOO_BUSY code. |
| receiver.realm | string | `nil` | Origin-Realm in ACA |
| receiver.sequenceNumberPersistenceInterval | string | `nil` | Number of CDRs the receiver processes before persisting the local sequence number |
| receiver.sequenceNumberPersistenceTimeInterval | string | `nil` | Maximum timespan between attempts to update the persisted local sequence number |
| receiver.transportCompression | string | `"none"` | Compression algorithm used for CDR transmission from the CDF Receiver to the Sender. The possible values are: "zlib", "none". |
| receiver.transportEncoding | string | `"JSON"` | Defines the encoding format for CDR transmission from the CDF Receiver to the Sender. The possible values are: "JSON", "ErlangTerm". |
| receiver.transportOptions.nodelay | bool | `false` | Turns on Nagle's algorithm for merging small packets into larger ones. This improves throughput at the expense of latency. This option is disabled by default. |
| receiver.transportOptions.port | int | `3868` | Diameter Rf port |
| receiver.transportOptions.receiveBuffer | int | `131072` | Size of the socket send buffer for Diameter Rf from CTF in bytes. The default value equals the operating system settings. |
| receiver.transportOptions.reuseAddress | bool | `false` | Enables the local binding address {IP, Port} of the socket to be reused immediately. This option is disabled by default. |
| receiver.transportOptions.sendBuffer | int | `131072` | Size of the socket send buffer for Diameter Rf towards CTF in bytes. The default value equals the operating system settings. |
| receiver.transportOptions.transportType | string | `"tcp"` | Rf transport type, `tcp` or `sctp` |
| resources | object | `{"cdf":{"limits":{"cpu":"100m","memory":"128Mi"},"requests":{"cpu":"50m","memory":"128Mi"}},"pcap":{"limits":{"cpu":0.1,"memory":"128Mi"},"requests":{"cpu":0.05,"memory":"64Mi"}},"pingExporter":{"limits":{"cpu":"50m","memory":"64Mi"},"requests":{"cpu":"50m","memory":"64Mi"}},"rclone":{"limits":{"cpu":0.4,"memory":"192Mi"},"requests":{"cpu":0.1,"memory":"64Mi"}}}` | Kubernetes resources |
| sender.APNSpecificConfig | object | `{}` | For APN-specific configuration, navigate to the Configuration/APN-specific CDF sender configuration document. |
| sender.CGFs | list | `[]` | List of addresses and ports where CDRs must be sent |
| sender.cdr_limit_per_cgf | int | `1000` | Maximum number of processes that can send CDRs to a CGF at the same time |
| sender.echo | int | `60000` | Time interval between consecutive GTP Echo Requests towards CGF in milliseconds. The default value is `60000`. Cannot be less. |
| sender.enabled | bool | `false` | Must be enabled to deploy CDF sender. |
| sender.rateLimit | int | `1000` | Maximum number of CDRs received from NATS per second |
| sender.responseTimeout | int | `1000` | Wait duration for the GTP Response in milliseconds. The default value is `1000`. |
| sender.retries | int | `1` | The number of times a CDR request is retried before failing. |
| sender.sequenceNumberPersistenceInterval | string | `nil` | Number of CDRs the receiver processes before persisting the GTP sequence number |
| sender.sequenceNumberPersistenceTimeInterval | string | `nil` | Maximum timespan between attempts to update the persisted GTP sequence number |
| sender.transportOptions.data.receiveBuffer | int | `524288` | The size of the socket receive buffer for the GTP Data Response from CGF in bytes. The default value equals the operating system settings. |
| sender.transportOptions.data.sendBuffer | int | `nil` | The size of the socket send buffer for the GTP Data Request towards CGF in bytes. The default value equals the operating system settings. |
| serviceLabels | object | `{}` | Kubernetes service labels |
| tolerations | list | `[]` | Kubernetes tolerations |
| vxlanController | object | `{"enabled":false,"image":"openvnf/kube-vxlan-controller-agent:2.1.0"}` | vxlan Controller configuration |
