StackGres allow customize a Pods by adding containers or init containers, environment variables, volumes, volume mounts and ports. This feature provides the liberty to extend any StackGres cluster and fit any use case as needed.
You can configure the pods of the cluter in the SGCluster CRD pods section where you can configure the following related sections:
customContainers: Custom containerscustomInitContainers: Custom init containerscustomVolumes: Custom volumescustomVolumeMounts: Custom volume mounts for containerscustomInitVolumeMounts: Custom volume mounts for init containerscustomEnv: Custom environment variables for containerscustomInitEnv: Custom environment variables for init containerscustomEnvFrom: Custom environment variables from source for containerscustomInitEnvFrom: Custom environment variables from source for init containersYou can configure the ports of the cluter in the SGCluster CRD primary postgresServices section and the SGCluster CRD replicas postgresServices section.