Skip to content

Misleading 'will detect changes in all namespaces' log when --namespaces-to-ignore is set #1131

@talsuk5

Description

@talsuk5

When --namespaces-to-ignore=... is configured, the startup log still prints:

level=warning msg="KUBERNETES_NAMESPACE is unset, will detect changes in all namespaces."

This is misleading — it doesn't reflect that namespace filtering is active. The log should mention excluded namespaces, e.g.:

level=info msg="Watching all namespaces except: ..., ..."

Config:

  • --auto-reload-all=true
  • --namespaces-to-ignore=...
  • Reloader v1.4.2

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