Skip to content

Follow up on strict check for config file in environs/dotenv #44

Description

@rptaylor

Currently the chart invokes KAPEL without a config file, instead using environment variables: https://github.com/rptaylor/kapel/blob/master/chart/templates/cronjob.yaml#L73

Nevertheless it is possible, and for CLI testing could be useful, to use a config file:
https://github.com/rptaylor/kapel/blob/master/python/KAPEL.py#L266

Follow up on sloria/environs#294 to fail explicitly if a config file is requested but not found.

However I'm not sure if this handles the undesirable situation that a stray config file could get used accidentally: https://github.com/rptaylor/kapel/blob/master/python/KAPELConfig.py#L6

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