Skip to content

How to set PATRONI_LOG_LEVEL environment variable with PGO 5.1.2? #3451

Open
@johnswarbrick

Description

@johnswarbrick

I want to set environment variable PATRONI_LOG_LEVEL on all PostgreSQL pods created by the Crunchydata PGO 5.1.2 on Kubernetes.

If I edit the pod directly and add the following it works:

- name: PATRONI_LOG_LEVEL
  value: WARNING

Now I want to add this into the Helm chart so it's automatically applied but despite trying every possible option I just couldn't find the right method of defining the environment variable in the Helm chart so it would be passed down to the individual pods created by the PGO.

Hoping someone out there knows the answer to what should be a simple problem!!

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