Skip to main content
Version 3.0

PostgreSQL Configuration

ChartVersion3.0.1TypeapplicationAppVersion17.5.0
CompatibilityKubernetes1.32+OpenShift4.19+Rancher2.10.x+

What is PostgreSQL in TDP?

PostgreSQL is the relational database of the TDP Kubernetes infrastructure. It is not the platform analytics engine; its role is to provide transactional storage for configuration, internal state, catalogs, users, permissions, or operational history for the components that consume it.

This page covers PostgreSQL itself: installation, persistence, resources, postgresql.conf parameters, internal Service access, and administrative credentials. The configuration of components that consume this database should be done in each component page, because each integration defines its own parameters, Secrets, and validation steps.

For environments that require high availability, corporate backup, replication, independent maintenance policies, or component isolation, consider using a dedicated or external PostgreSQL instance.

Helm value structure

All PostgreSQL values must be placed under the tdp-postgresql: key (the dependency alias in Chart.yaml).

tdp-postgresql:
primary:
persistence:
size: 10Gi

Overview

PropertyValue
Charttdp-postgresql
PostgreSQL version17.5.0
Chart version3.0.1
Registry (OCI)oci://registry.tecnisys.com.br/tdp/charts/tdp-postgresql

Prerequisites

Before installing, confirm:

  • Kubernetes 1.32+, Red Hat OpenShift 4.19+, or Rancher Manager 2.10.x+;
  • Helm 3.2.0+;
  • StorageClass available for persistent volumes;
  • namespace defined for the release.

On OpenShift, Security Context compatibility is enabled by default with tdp-postgresql.global.compatibility.openshift.adaptSecurityContext: auto and tdp-postgresql.volumePermissions.enabled: false. On vanilla Kubernetes, write access to the volume still depends on the permissions provided by the cluster StorageClass and PersistentVolume.

Installation

The same installation command is used on vanilla Kubernetes and OpenShift. On OpenShift, Security Context compatibility is already handled by the chart defaults.

Terminal input
helm upgrade --install <RELEASE_NAME> oci://registry.tecnisys.com.br/tdp/charts/tdp-postgresql -n <NAMESPACE> --create-namespace