Skip to content

support reading configs from environment variables #448

Description

@frzifus

Currently only file paths to the configs can be specified:

      --rbac.config=/etc/observatorium/rbac.yaml
      --tenants.config=/etc/observatorium/tenants.yaml

While there is nothing wrong with it, i think ability to provide these configurations via environment variables would simplify the usage.

Like this:

      --rbac.config=env:OBSERVATORIUM_CONFIG_RBAC
      --tenants.config=env:OBSERVATORIUM_CONFIG_TENANTS

wdyt?

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions