Skip to content

Chart configuration examples

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

Platform API

Production Environment example usage

Below is an example of setting environment-specific values for the Platform API in Production. Note in particular the following: 1. Resources settings which are recommended for this in Production 2. Passwords, and any other secure values (recommended that they are stored as secure variables)

global:
  imageRegistry: example-image-registry-location
  imageRegistryUsername: example-image-registry-username
  imageRegistryPassword: "example-image-registry-password"

api:
  name: "analytics"
  resources:
    limits:
      cpu: 1
      memory: 1Gi
  messaging:
    url: "example-url-for-messaging-component"
    subscriptions: "hub.entity,hub.entitygroup,hub.submission"
    subscriptionsUrl: "example-url-for-module-receive-message-endpoint"
  storage:
    provider: s3compatible
    url: "example-url-for-storage-endpoint"
    bucket: rhp
    username: admin
    password: "example-password"

Test Environment example usage

Below is an example of setting environment specific values for the Platform API in Test. Note in particular the following: 1. Resources settings which are recommended for this in Test 2. Passwords, and any other secure values (recommended that they are stored as secure variables)

global:
  imageRegistry: example-image-registry-location
  imageRegistryUsername: example-image-registry-username
  imageRegistryPassword: "example-image-registry-password"

api:
  name: "analytics"
  resources:
    limits:
      cpu: 1
      memory: 1Gi
  messaging:
    url: "example-url-for-messaging-component"
    subscriptions: "hub.entity,hub.entitygroup,hub.submission"
    subscriptionsUrl: "example-url-for-module-receive-message-endpoint"
  storage:
    provider: s3compatible
    url: "example-url-for-storage-endpoint"
    bucket: rhp
    username: admin
    password: "example-password"

Both examples use S3-compatible storage with credentials in Helm values. Platform API Storage Configuration contains the alternatives: credentials from an existing Secret, Azure Blob Storage, Azure Data Lake Storage Gen2 and filesystem storage.