Skip to content

Enviroment variable in pods deployed via PostgresqlOperator v5.0.4 #3054

@maleka12

Description

@maleka12

Overview

We want to add ENV to each pod deployed by postgrescluster crd. Is there any option to do that for every new deployed PostgresCluster by default?
By now the only way I found to achieve that is to set env to statefulset manually, after cluster is deployed.

Use Case

We want to set proper TimeZone by adding env TZ into containers.

Desired Behavior

Enviroment variable will be automatically added to any new instance of postgrescluster.

Environment

  • Platform: OpenShift
  • Platform Version: 4.8.29
  • PGO Image Tag: ubi8-13.5-0
  • Postgres Version: 13
  • Storage: CEPH

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions