TypeScript host service configuration
Configure the Typescript-host service through its Helm chart.
Application configuration
Everything in this section goes into the chart’s typescriptHostServiceConfig
value, which becomes typescript-host-service’s configuration file. Override individual keys with the environment variable listed for it,
supplied through the chart’s envVars or additionalSecrets.
| Value | Description |
|---|---|
port |
|
runtime.adminUrl[Required] |
|
runtime.deploymentName |
|
jsonata.cacheEnabled |
|
jsonata.cacheItems |
|
jsonata.cacheAge |
|
grpc.listener |
|
Helm chart values
Values shared by every chart are documented in
shared-helm-values.md. This chart exposes an HTTP port and a gRPC
port on one Service, and has no serviceAccount or
serviceMonitor values.
| Value | Description |
|---|---|
typescriptHostServiceConfig |
|
envVars |
|
additionalSecrets |
|
service.port |
|
service.targetPort |
|
service.protocol |
|
service.name |
|
gRPCService.port |
|
gRPCService.targetPort |
|
gRPCService.protocol |
|
gRPCService.name |
|
The cache settings in the configuration file, the deployment name overridden by
a variable, and the Restate URL taken from the restateAdminUrl entry of a
Secret named libre-secrets:
typescriptHostServiceConfig:
jsonata:
cacheEnabled: true
cacheItems: 1000
envVars:
RHIZE_TSHOST_RUNTIME_DEPLOYMENT_NAME: "typescript-host-service"
additionalSecrets:
- name: RHIZE_TSHOST_RUNTIME_SERVICE_URL
secretName: libre-secrets
secretKey: restateAdminUrl