Commit Graph

13 Commits

Author SHA1 Message Date
Thibault Jamet
9b759f0933
Update changes to match latest state of external-dns code 2024-08-14 10:20:59 +02:00
Kubernetes Prow Robot
b4eea99efe
Merge pull request #4458 from Raffo/webhook-annotations
feat(webhooks): pass webhook-* annotations to webhook providers
2024-05-24 08:51:11 -07:00
Raffaele Di Fazio
a44a44c111 fix logline mentioning plugin api
Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com>
2024-05-11 15:08:10 +02:00
Raffaele Di Fazio
574f865741 consistency improvement
Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com>
2024-05-11 14:55:33 +02:00
Raffaele Di Fazio
c375899f91 test
Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com>
2024-05-10 20:11:38 +02:00
Kubernetes Prow Robot
e1df503645
Merge pull request #4374 from SimonKienzler/fix/webhook-provider-wrong-gauge
Webhook provider: Use correct error gauge in `AdjustEndpoints()` func
2024-04-10 05:07:27 -07:00
Simon Kienzler
b020f7c956 Webhook provider: Use correct error gauge in AdjustEndpoints() func 2024-04-09 13:56:49 +02:00
Simon Kienzler
a88cae299a Extract check for retryable error into function 2024-04-09 13:51:42 +02:00
Simon Kienzler
e8e5d5c359 Let the WebhookProvider return SoftError on status codes >= 500 2024-04-09 13:51:42 +02:00
Manuel Rüger
540990e00c webhook: Fix metric name and add request gauges
Signed-off-by: Manuel Rüger <manuel@rueg.eu>
2024-01-03 04:42:06 +01:00
Manuel Rüger
28c3153826 webhook: Move httpapi into own package
Signed-off-by: Manuel Rüger <manuel@rueg.eu>
2023-11-30 21:59:00 +01:00
Manuel Rüger
8281e3894d feat: make webhook httpapi reusable
Signed-off-by: Manuel Rüger <manuel@rueg.eu>
2023-11-24 23:16:52 +01:00
Raffaele Di Fazio
8251b6dd85
Webhook provider (#3063)
* initial plugin implementation

* rename to webhook

Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com>

* json encoder changes

Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com>

* addressing review comments

Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com>

* changes according to ionos review

Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com>

* fix to accomodate changes in master

Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com>

* fixes to accomodate master changes

Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com>

* remove all propertyvaluesequals leftovers

Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com>

* readd negotiation to pass the domain filter around

Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com>

* fix domain filter passing

Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com>

* webhook fixes

Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com>

* fix tests

Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com>

* fix docs

Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com>

* docs fixes

Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com>

* code review comments on json unmarshal

Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com>

* handle error in adjustendpoints

Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com>

* fix a bunch of wrong require

Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com>

* tests and docs

Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com>

* fix typo

Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com>

---------

Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com>
2023-09-25 01:14:58 -07:00