Skip to content

[BUG] No debug messages are logged #973

@macrokernel

Description

@macrokernel

Describe the bug
I see no debug messages in Reloader pod log:

$ kubectl -n reloader logs -f reloader-reloader-685d49466b-wl7gs
time="2025-07-18T08:29:33Z" level=info msg="Environment: Kubernetes"
time="2025-07-18T08:29:33Z" level=info msg="Starting Reloader"
time="2025-07-18T08:29:33Z" level=warning msg="KUBERNETES_NAMESPACE is unset, will detect changes in all namespaces."
time="2025-07-18T08:29:33Z" level=warning msg="namespace-selector is set, will only detect changes in namespaces with these labels: reloader.stakater.com/match_namespace."
time="2025-07-18T08:29:33Z" level=info msg="created controller for: configMaps"
time="2025-07-18T08:29:33Z" level=info msg="Starting Controller to watch resource type: configMaps"
time="2025-07-18T08:29:33Z" level=info msg="created controller for: secrets"
time="2025-07-18T08:29:33Z" level=info msg="Starting Controller to watch resource type: secrets"
time="2025-07-18T08:29:33Z" level=info msg="created controller for: namespaces"
time="2025-07-18T08:29:33Z" level=info msg="Starting Controller to watch resource type: namespaces"
time="2025-07-18T08:29:33Z" level=info msg="added namespace to be watched: opensearch"
time="2025-07-18T09:03:25Z" level=info msg="Changes detected in 'opensearch-dashboards-cert' of type 'SECRET' in namespace 'opensearch'; updated 'opensearch-dashboards' of type 'Deployment' in namespace 'opensearch'"
time="2025-07-18T09:03:29Z" level=info msg="Changes detected in 'opensearch-transport-cert' of type 'SECRET' in namespace 'opensearch'; updated 'opensearch-nodes' of type 'StatefulSet' in namespace 'opensearch'"

despite of logLevel being set to debug in Reloader deployment:

  Containers:
   reloader-reloader:
    Image:      ghcr.io/stakater/reloader:v1.4.5
    Port:       9090/TCP
    Host Port:  0/TCP
    Args:
      --log-level=debug
      --namespace-selector=reloader.stakater.com/match_namespace
      --reload-on-create=true
      --reload-strategy=annotations

To Reproduce
Reloader helm values:

reloader:
  logLevel: debug
  namespaceSelector: reloader.stakater.com/match_namespace
  readOnlyRootFileSystem: true
  reloadOnCreate: true
  reloadStrategy: annotations
  watchGlobally: true

Expected behavior
More details in Reloader pod logs. Perhaps Reloader simply does not log any debug messages?

Environment

  • Reloader Helm chart Version: 2.1.5
  • Kubernetes Version: v1.32.3+k3s1

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions