Skip to content

[Logging] Enrich debug output with used ENVs #847

@Moep90

Description

@Moep90

As I want to debug kapitan as ARGOCD Plugin, I (after 2.4) need to see the ENVS and their content in debug mode.

Therfore I'd like to dump every ENV + VALUE kapitan has loaded to stdout.

@ramaro any suggestion where it should be added?
My initial thought was to extend the logger.debug for all ref engines.

Current workaround:

$ python -c "import json, os;print(json.dumps(dict(os.environ)))"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions