Skip to content

Expand environment variables in configuration files #1479

Description

@ChrisRx

I ended up implementing a feature to expand environment variables in pgdog.toml/users.toml to make it easier to work with how we are introducing sealed secrets into our Kubernetes tooling that deploys instances of PgDog: https://github.com/pgdogdev/pgdog/compare/main...censys-oss:pgdog:env-toml?expand=1. We could have gone the route of using an initContainer to glue everything together but this ended up being pretty easy and much easier to work with.

I wanted to ask here if this was something that ya'll would be interested in contributing back to PgDog? I'd be very happy to contribute this, but wanted to make an issue before firing off a PR per the contributing guidelines.

Thanks for the consideration and for this awesome project!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions