Describe the bug
When configuring notifications to slack the documentation specifies that you can set the channel and username.
Also detailed in the API spec
Slack have moved their old webhooks into legacy in favour of App based webhooks
Steps to reproduce
- Configure a new Slack webhook, which must be set to a specific channel, and created in an app with an automatically created "bot" / user.
- Configure a
Provider.notification.toolkit.fluxcd.io/v1beta1 of type: slack and specify another channel
- Observe that logs are sent to the webhook channel
Expected behavior
The "legacy" behavior of Slack was to be able to send to any channel.
While legacy webhooks are still available they are scheduled to be removed.
You're reading this because you're looking for info on legacy custom integrations - an outdated way for teams to integrate with Slack. These integrations lack newer features and they will be deprecated and possibly removed in the future. We do not recommend their use.
Screenshots and recordings
N/A
OS / Distro
OpenShift
Flux version
v0.35.0
Flux check
► checking prerequisites
✗ flux 0.35.0 <0.36.0 (new version is available, please upgrade)
✔ Kubernetes 1.23.5+8471591 >=1.20.6-0
► checking controllers
✔ helm-controller: deployment ready
► ghcr.io/fluxcd/helm-controller:v0.25.0
✔ image-automation-controller: deployment ready
► ghcr.io/fluxcd/image-automation-controller:v0.26.0
✔ image-reflector-controller: deployment ready
► ghcr.io/fluxcd/image-reflector-controller:v0.22.0
✔ kustomize-controller: deployment ready
► ghcr.io/fluxcd/kustomize-controller:v0.29.0
✔ notification-controller: deployment ready
► ghcr.io/fluxcd/notification-controller:v0.27.0
✔ source-controller: deployment ready
► ghcr.io/fluxcd/source-controller:v0.30.0
► checking crds
✔ alerts.notification.toolkit.fluxcd.io/v1beta1
✔ buckets.source.toolkit.fluxcd.io/v1beta1
✔ gitrepositories.source.toolkit.fluxcd.io/v1beta1
✔ helmcharts.source.toolkit.fluxcd.io/v1beta1
✔ helmreleases.helm.toolkit.fluxcd.io/v2beta1
✔ helmrepositories.source.toolkit.fluxcd.io/v1beta1
✔ imagepolicies.image.toolkit.fluxcd.io/v1alpha1
✔ imagerepositories.image.toolkit.fluxcd.io/v1alpha1
✔ imageupdateautomations.image.toolkit.fluxcd.io/v1alpha1
✔ kustomizations.kustomize.toolkit.fluxcd.io/v1beta1
✔ ocirepositories.source.toolkit.fluxcd.io/v1beta2
✔ providers.notification.toolkit.fluxcd.io/v1beta1
✔ receivers.notification.toolkit.fluxcd.io/v1beta1
✔ all checks passed
Git provider
N/A
Container Registry provider
N/A
Additional context
No response
Code of Conduct
Describe the bug
When configuring notifications to slack the documentation specifies that you can set the
channelandusername.Also detailed in the API spec
Slack have moved their old webhooks into legacy in favour of App based webhooks
Steps to reproduce
Provider.notification.toolkit.fluxcd.io/v1beta1oftype: slackand specify another channelExpected behavior
The "legacy" behavior of Slack was to be able to send to any channel.
While legacy webhooks are still available they are scheduled to be removed.
Screenshots and recordings
N/A
OS / Distro
OpenShift
Flux version
v0.35.0
Flux check
► checking prerequisites
✗ flux 0.35.0 <0.36.0 (new version is available, please upgrade)
✔ Kubernetes 1.23.5+8471591 >=1.20.6-0
► checking controllers
✔ helm-controller: deployment ready
► ghcr.io/fluxcd/helm-controller:v0.25.0
✔ image-automation-controller: deployment ready
► ghcr.io/fluxcd/image-automation-controller:v0.26.0
✔ image-reflector-controller: deployment ready
► ghcr.io/fluxcd/image-reflector-controller:v0.22.0
✔ kustomize-controller: deployment ready
► ghcr.io/fluxcd/kustomize-controller:v0.29.0
✔ notification-controller: deployment ready
► ghcr.io/fluxcd/notification-controller:v0.27.0
✔ source-controller: deployment ready
► ghcr.io/fluxcd/source-controller:v0.30.0
► checking crds
✔ alerts.notification.toolkit.fluxcd.io/v1beta1
✔ buckets.source.toolkit.fluxcd.io/v1beta1
✔ gitrepositories.source.toolkit.fluxcd.io/v1beta1
✔ helmcharts.source.toolkit.fluxcd.io/v1beta1
✔ helmreleases.helm.toolkit.fluxcd.io/v2beta1
✔ helmrepositories.source.toolkit.fluxcd.io/v1beta1
✔ imagepolicies.image.toolkit.fluxcd.io/v1alpha1
✔ imagerepositories.image.toolkit.fluxcd.io/v1alpha1
✔ imageupdateautomations.image.toolkit.fluxcd.io/v1alpha1
✔ kustomizations.kustomize.toolkit.fluxcd.io/v1beta1
✔ ocirepositories.source.toolkit.fluxcd.io/v1beta2
✔ providers.notification.toolkit.fluxcd.io/v1beta1
✔ receivers.notification.toolkit.fluxcd.io/v1beta1
✔ all checks passed
Git provider
N/A
Container Registry provider
N/A
Additional context
No response
Code of Conduct