Skip to content

Configuration

This document details the configuration of the Helm Chart values for the platform API.

Values

Platform API pod

Key Type Default Description
api.name string "" The ID/name of the module using this instance of the platform API. Must be unique so that is it distinguished from other modules, e.g. "licensing", "data-collection", "analytics".
api.image.repository string "platform-api" The platform API image repository (without registry). Example: "platform/platform-api" or just "platform-api".
api.image.tag string Defaults to the chart version value if left empty. Should be left set to default as standard. The platform API image tag.
api.resources.requests.cpu string "100m" The platform API container minimum CPU allocation.
api.resources.requests.memory string "100Mi" The platform API container minimum memory allocation.
api.resources.limits.cpu string "1" The platform API container maximum CPU allocation.
api.resources.limits.memory string "1Gi" The platform API container maximum memory allocation.
api.messaging.url string "nats://platform-nats:4222" The messaging URL for the platform messaging component.
api.messaging.subscriptions string "" A comma separated set of subscriptions, if any. If you wish the platform API to subscribe to messages then add the message subjects here. Multiple message subjects can be added separated by commas, e.g. "hub.entity,hub.submission,hub.entitygroup,hub.incident".
api.messaging.subscriptionsUrl string "" A URL in the module using this instance of the platform API. Used to send/forward subscribed messages to, if any.
api.messaging.subscriptionsUrlHeadersSecret string "" The name of an optional secret containing an array of HTTP header name and value key-value pairs in JSON format. Used to include in requests to the subscriptionsUrl, if any. Leave empty if not required. If required then add the name of the secret here and then in the secret, under the data entry subscriptionsUrlHeaders add one or more header key-value pairs in JSON format as follows: [ { "key": "<header name>", "value": "<header value>" }, { "key": "<other header name>", "value": "<other header value>" } ]
api.messaging.overrideMessageSchemasConfigMap string "" If you wish to override any of the message schemas that validate message payloads then place them in a config map and enter the config map name here. If omitted or left blank then this will not override any message schemas and the defaults are used. Importantly, all message schema files must be in the config map, not just those being overridden.
api.serviceAccount.name string "" Name of the pod ServiceAccount used for Azure storage. Empty keeps <release>-<api.name>-platform-api. Rendered with tpl. The federated credential subject must match system:serviceaccount:<namespace>:<name>.
api.serviceAccount.create bool true Create the ServiceAccount. Set to false to use an existing account of serviceAccount.name. When false, the chart still sets serviceAccountName and the Workload Identity pod label, but it does not write azure.workload.identity/client-id. The existing account must already carry that annotation, and storage.azure.workloadIdentityClientId is not required.
api.storage.provider string "" Storage provider used for platform file exchange. Leave empty to keep the previous behaviour: the chart does not set RHP_STORAGE_MODE, and the image default (S3Compatible, or FileSystem when set in the image) is used. Set explicitly to s3compatible, filesystem, azureblob or adls to select the mode in the chart.
api.storage.url string "minio.minio.svc.cluster.local:9000" The storage URL for S3-compatible storage and filesystem modes. Ignored for Azure providers; use azure.endpointUrl instead. If using SSL then the URL must begin with "https://...".
api.storage.bucket string Default is "rhp". S3 bucket name. Required for s3compatible. Ignored for Azure providers; use azure.container.
api.storage.username string "" The storage username for S3-compatible storage. Ignored when existingSecret is set or when using Azure providers.
api.storage.password string "" The storage password for S3-compatible storage. Ignored when existingSecret is set or when using Azure providers.
api.storage.existingSecret string "" The name of an existing secret holding the S3-compatible storage credentials, for example one populated by an external secrets operator. The secret must be in the same namespace. Leave empty to take the credentials from the username and password values above. Ignored for Azure providers, which use Workload Identity.
api.storage.existingSecretUsernameKey string "username" Key in existingSecret for the storage username.
api.storage.existingSecretPasswordKey string "password" Key in existingSecret for the storage password.
api.storage.azure.container string "" Blob container or ADLS filesystem name. Required when provider is azureblob or adls.
api.storage.azure.endpointUrl string "" Full Azure storage endpoint URL. Required when provider is azureblob or adls. Blob example: https://myaccount.blob.core.windows.net. ADLS example: https://myaccount.dfs.core.windows.net.
api.storage.azure.workloadIdentityClientId string "" Microsoft Entra client ID of the user-assigned managed identity used through Workload Identity. Required when provider is azureblob or adls and serviceAccount.create is true. The chart places it on the ServiceAccount it creates.
api.openTelemetry.serviceName string "platform-api" Service name (service.name). Rendered with tpl.
api.openTelemetry.traces.endpoint string "" OTLP endpoint for traces. Empty disables traces. Rendered with tpl.
api.openTelemetry.traces.protocol string "grpc" OTLP protocol for traces: grpc or http/protobuf.
api.openTelemetry.traces.samplingRatio string "0.1" Fraction of traces to sample, from 0 to 1.
api.openTelemetry.metrics.endpoint string "" OTLP endpoint for metrics. Empty disables metrics. Rendered with tpl.
api.openTelemetry.metrics.protocol string "http/protobuf" OTLP protocol for metrics: grpc or http/protobuf.

Other Values

Key Type Default Description
global.imageRegistry string "" Global image registry to use for all images in this chart.
global.imageRegistryUsername string "" Global image registry credentials (optional). If provided, a pull secret can be generated or you can supply your own via global.imagePullSecrets.
global.imageRegistryPassword string ""
global.imagePullSecrets list [] A list of existing imagePullSecrets to attach to pods. If provided, these are used instead of generating a secret.