Skip to content

--no-pod-logs doesn't work #596

@IMMORTALxJO

Description

@IMMORTALxJO

Before proceeding

  • I didn't find a similar issue

Version

2.65.4

How to reproduce

Hi,
It seems that the option:

 --no-pod-logs=false
 Disable Pod logs collection and printing (default $WERF_NO_POD_LOGS or false)

does not work at all. No matter how I try to disable logs, they are still being printed.

I’ve prepared a test repository: https://github.com/IMMORTALxJO/werf-no-logs-issue-example

Result

--no-pod-logs

➜ werf converge --no-pod-logs
Version: v2.65.4
...
┌ Logs for Pod/werf-example-logs-9-4dvz5, container/logs
│ CONTAINER LOGS HERE
└ Logs for Pod/werf-example-logs-9-4dvz5, container/logs

WERF_NO_POD_LOGS env var

➜ WERF_NO_POD_LOGS=true werf converge
Version: v2.65.4
...
┌ Logs for Pod/werf-example-logs-10-n7v6t, container/logs
│ CONTAINER LOGS HERE
└ Logs for Pod/werf-example-logs-10-n7v6t, container/logs

Expected result

When the --no-pod-logs option is enabled, werf should not display pod logs.

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions