Skip to content

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

@rptaylor

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

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