notification-controller
notification-controller copied to clipboard
Provide more information about errors
Example:
{
"level": "error",
"ts": "2023-03-09T17:39:57.859Z",
"logger": "event-server",
"msg": "failed to send notification",
"reconciler kind": "Kustomization",
"name": "flux-system",
"namespace": "flux-system",
"error": "postMessage failed: failed to execute request: context deadline exceeded"
}
With a bit of guess-work I could deduce it to be about Slack notifications. More information (provider name, timeout value, etc) could/would help a lot in pinpointing the exact underlying issue(s).
Agreed. I cannot get Slack to work as this error provides no information. I create the secret with the token didn't work, created secret with the address including all its needed info in URL params didn't work, finally used the deprecated method and that works