Open
Description
Hi,
I am trying to send the notifications to Slack. I set the Provider and the Alert. The secret map has the token and I can use it to send messages within a container using curl, but flux fails.
I found this error message in the Alert resource:
Warning NotificationDispatchFailed 11m (x14 over 2d3h) notification-controller failed to send notification for Kustomization/tenant/apps: postMessage failed: failed to execute request: context deadline exceeded
My Flux check is:
✗ flux 2.2.3 <2.4.0 (new CLI version is available, please upgrade)
✔ Kubernetes 1.28.14 >=1.26.0-0
► checking version in cluster
✔ distribution: flux-v2.2.2
✔ bootstrapped: false
► checking controllers
✔ helm-controller: deployment ready
► ghcr.io/fluxcd/helm-controller:v0.37.2
✔ kustomize-controller: deployment ready
► ghcr.io/fluxcd/kustomize-controller:v1.2.1
✔ notification-controller: deployment ready
► ghcr.io/fluxcd/notification-controller:v1.2.3
✔ source-controller: deployment ready
► ghcr.io/fluxcd/source-controller:v1.2.3
► checking crds
✔ alerts.notification.toolkit.fluxcd.io/v1beta3
✔ buckets.source.toolkit.fluxcd.io/v1beta2
✔ gitrepositories.source.toolkit.fluxcd.io/v1
✔ helmcharts.source.toolkit.fluxcd.io/v1beta2
✔ helmreleases.helm.toolkit.fluxcd.io/v2beta2
✔ helmrepositories.source.toolkit.fluxcd.io/v1beta2
✔ kustomizations.kustomize.toolkit.fluxcd.io/v1
✔ ocirepositories.source.toolkit.fluxcd.io/v1beta2
✔ providers.notification.toolkit.fluxcd.io/v1beta3
✔ receivers.notification.toolkit.fluxcd.io/v1
I have no idea what I am missing. Does anyone have any suggestions?
Thanks.
Metadata
Assignees
Labels
No labels