Skip to content

support reading configs from environment variables #448

@frzifus

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?

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