Skip to Content
Platform
Module Integration
Platform APIPlatform API Helm Chart Configuration

Configuration

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

Values

Platform API pod

KeyTypeDefaultDescription
api.namestring""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.repositorystring"platform-api"The platform API image repository (without registry). Example: “platform/platform-api” or just “platform-api”.
api.image.tagstringDefaults to the chart version value if left empty. Should be left set to default as standard.The platform API image tag.
api.resources.requests.cpustring"100m"The platform API container minimum CPU allocation.
api.resources.requests.memorystring"100Mi"The platform API container minimum memory allocation.
api.resources.limits.cpustring"1"The platform API container maximum CPU allocation.
api.resources.limits.memorystring"1Gi"The platform API container maximum memory allocation.
api.messaging.urlstring"nats://platform-nats:4222"The messaging URL for the platform messaging component.
api.messaging.subscriptionsstring""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.subscriptionsUrlstring""A URL in the module using this instance of the platform API. Used to send/forward subscribed messages to, if any.
api.messaging.subscriptionsUrlHeadersSecretstring""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.overrideMessageSchemasConfigMapstring""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.namestring""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.createbooltrueCreate 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.providerstring""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.urlstring"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.bucketstringDefault is "rhp".S3 bucket name. Required for s3compatible. Ignored for Azure providers; use azure.container.
api.storage.usernamestring""The storage username for S3-compatible storage. Ignored when existingSecret is set or when using Azure providers.
api.storage.passwordstring""The storage password for S3-compatible storage. Ignored when existingSecret is set or when using Azure providers.
api.storage.existingSecretstring""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.existingSecretUsernameKeystring"username"Key in existingSecret for the storage username.
api.storage.existingSecretPasswordKeystring"password"Key in existingSecret for the storage password.
api.storage.azure.containerstring""Blob container or ADLS filesystem name. Required when provider is azureblob or adls.
api.storage.azure.endpointUrlstring""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.workloadIdentityClientIdstring""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.serviceNamestring"platform-api"Service name (service.name). Rendered with tpl.
api.openTelemetry.traces.endpointstring""OTLP endpoint for traces. Empty disables traces. Rendered with tpl.
api.openTelemetry.traces.protocolstring"grpc"OTLP protocol for traces: grpc or http/protobuf.
api.openTelemetry.traces.samplingRatiostring"0.1"Fraction of traces to sample, from 0 to 1.
api.openTelemetry.metrics.endpointstring""OTLP endpoint for metrics. Empty disables metrics. Rendered with tpl.
api.openTelemetry.metrics.protocolstring"http/protobuf"OTLP protocol for metrics: grpc or http/protobuf.

Other Values

KeyTypeDefaultDescription
global.imageRegistrystring""Global image registry to use for all images in this chart.
global.imageRegistryUsernamestring""Global image registry credentials (optional). If provided, a pull secret can be generated or you can supply your own via global.imagePullSecrets.
global.imageRegistryPasswordstring""
global.imagePullSecretslist[]A list of existing imagePullSecrets to attach to pods. If provided, these are used instead of generating a secret.