Commit c9a709a
committed
Remove obsolete glog/klog flags from webhook manifests
The webhook code was migrated from glog/klog to Zap logging (via
controller-runtime), but the deployment manifests were not updated
to reflect this change.
This was causing the webhook to fail with "unknown flag: --alsologtostderr"
error when the container started, as these flags are no longer supported
by the Zap-based logging implementation.
Changes:
- Removed --alsologtostderr and --v=3 flags from operator-webhook/server.yaml
- Removed --logtostderr and --alsologtostderr flags from webhook/server.yaml
- Added --zap-log-level=3 to operator-webhook for equivalent verbosity
The network-resources-injector webhook (webhook/server.yaml) now uses
default Zap logging settings which are appropriate for production use.
Signed-off-by: Sebastian Sch <sebassch@gmail.com>1 parent c063f68 commit c9a709a
File tree
2 files changed
+1
-4
lines changed- bindata/manifests
- operator-webhook
- webhook
2 files changed
+1
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
75 | | - | |
| 74 | + | |
76 | 75 | | |
77 | 76 | | |
78 | 77 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
79 | | - | |
80 | 78 | | |
81 | 79 | | |
82 | 80 | | |
| |||
0 commit comments