Hidde Beydals
30db06d0df
misc: do not capitalize err strings
...
Except for where names are being used (e.g. `Authorization` header,
Nexus, etc.)
Signed-off-by: Hidde Beydals <hidde@hhh.computer>
2023-10-10 12:07:30 +02:00
Stefan Prodan
a75b04398a
Update dependencies
...
- k8s.io/* v0.26.1
- sigs.k8s.io/controller-runtime v0.14.2
- github.com/Azure/azure-amqp-common-go/v4 v4.0.0
- github.com/Azure/azure-event-hubs-go/v3 v3.4.0
- github.com/ktrysmt/go-bitbucket v0.9.55
- github.com/xanzy/go-gitlab v0.79.0
- github.com/getsentry/sentry-go v0.17.0
- github.com/fluxcd/pkg/runtime v0.27.0
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2023-01-30 14:36:22 +02:00
Stefan Prodan
224b12a2b8
Refactor notifiers to use Event API v1beta1
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
2022-11-22 11:00:25 +00:00
Philip Laine
2c69c847d3
Add context to Post function
...
Signed-off-by: Philip Laine <philip.laine@gmail.com>
2022-07-27 18:26:28 +02:00
Edvin Norling
730565e05e
Ignore event updates
...
* Change name of var eventhubNamespace to eventhubNamespace
Signed-off-by: Edvin Norling <edvin.norling@xenit.se>
2021-05-05 16:40:46 +02:00
Edvin Norling
cfa71bf7a8
Use token & channel in azureevent
...
For JWT
* channel = eventhub namespace
* address = eventhub name
* token = jwt token
For SAS
* address = connectionString, including endpoint tokens etc
Signed-off-by: Edvin Norling <edvin.norling@xenit.se>
2021-05-05 11:01:51 +02:00
Edvin Norling
45a77978b5
Support both JWT and SAS connection string
...
Depending if endpointURL starts with Endpoint or not we assume that it's a JWT token
or not.
Making sure that the JWT token is up to date is NOT the notifcation-controllers work
Signed-off-by: Edvin Norling <edvin.norling@xenit.se>
2021-05-05 11:01:51 +02:00
Edvin Norling
e019aaab34
Change to azureeventhub
...
* Update go.sum
* Use ctx with timeout
* minor linting & clean-up
Signed-off-by: Edvin Norling <edvin.norling@xenit.se>
2021-05-05 11:01:51 +02:00