fix: change default log level from debug to info in deployment.yaml

The operator deployment had --log-level=debug hardcoded, causing verbose
lifecycle and reconciliation logs in production (e.g. "generated patch",
WAL archiving details). This adds significant noise to log aggregation
systems (Loki, CloudWatch, etc.) without actionable signal.

Change the default to info. Debug logging is still available by patching
the deployment args or setting the flag explicitly.

Part of #917 (global default; Helm value and per-cluster override are
follow-up work).
This commit is contained in:
Sai Sridhar 2026-06-03 09:52:53 +05:30 committed by Leonardo Cecchi
parent 787d2b35ad
commit 949d8f2de9

View File

@ -40,7 +40,7 @@ spec:
- --client-cert=/client/tls.crt - --client-cert=/client/tls.crt
- --server-address=:9090 - --server-address=:9090
- --leader-elect - --leader-elect
- --log-level=debug - --log-level=info
readinessProbe: readinessProbe:
tcpSocket: tcpSocket:
port: 9090 port: 9090