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

# TPOSS API Gateway chart configuration

TPOSS provides [HTTP REST API](https://docs.cennso.com/components/tposs/latest/api-reference/api.md) to read, create, delete, and update user and charging data. You can use the API both directly and through the TPOSS API Gateway application. TPOSS API Gateway is delivered as a separate Helm chart that you must deploy additionally to TPOSS.

Read the [TPOSS API Gateway installation](https://docs.cennso.com/components/tposs/latest/installation/tposs-api-gw-installation.md) document to learn more.

The following table lists the configurable parameters of TPOSS API Gateway:

| Parameter | Description | Default value |
| :---| :--- | :--- |
| replicaCount | Number of TPOSS API Gateway replicas | `1` |
| annotations | [Annotations](https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations) to apply to the TPOSS API Gateway deployment. | `{}`|
| labels | [Labels](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/) to apply to the TPOSS API Gateway deployment. | `{}` |
| image.repository | TPOSS API Gateway image repository | `registry.cennso.com/cennso/tposs/tposs_api_gw` |
| image.tag | TPOSS API Gateway image tag | `v1.6.8` |
| image.pullPolicy | TPOSS API Gateway image pull policy | `IfNotPresent` |
| imagePullSecrets.secret | TPOSS API Gateway image pull secret | `"som-secret"` |
| service.type | TPOSS API Gateway Kubernetes service type | `ClusterIP` |
| service.externalPort | TPOSS API Gateway Kubernetes service port | `12000` |
| service.internalPort | TPOSS API Gateway Kubernetes service `targetPort` | `12000` |
| api.listen_ip | TPOSS API Gateway HTTP listener IP address | `0.0.0.0` |
| api.listen_port | TPOSS API Gateway HTTP listener port | `12000` |
| tposs.api_port | TPOSS HTTP API server port | `8080` |
| tposs.api_service | TPOSS Kubernetes service that exposes HTTP API listener | `tposs` |
| tposs.timeout | TPOSS API client timeout in milliseconds | `20000` |
| ingress.enabled | Enables Ingress for TPOSS API Gateway | `true` |
| ingress.host | Ingress host for TPOSS API Gateway | `localhost` |
| ingress.https | If set to true, TLS certificates are automatically created using [Let's Encrypt](https://letsencrypt.org/) | `false` |
| ingress.annotations | Annotations for the Ingress object | `{}` |
| ingress.className | Ingress class name | `"nginx"` |
| initScript.enabled | Enables the init script before starting the TPOSS API Gateway instance. | `false` |
| initScript.image.repository | Image repository for the `initScript` container. | `registry.cennso.com/cennso/nettools` |
| initScript.image.tag | Image tag for the `initScript` container. | `v1.16.0` |
| initScript.image.pullPolicy | [Image pull policy](https://kubernetes.io/docs/concepts/containers/images/#image-pull-policy) for the `initScript` container. | `IfNotPresent` |
| initScript.env | Environment variables with which the init script is launched. | `{}` |
| initScript.script | The script code itself. | `echo "missing configuration script"` |
| log.console.level | Logging level for the TPOSS API Gateway logger | `error` |
| log.console.format | Format of TPOSS API Gateway logs. The available formats are `default` and `json`. | `default` |
