rate-limit #3

Merged
patdyn merged 23 commits from rate-limit into main 2024-01-23 09:02:07 +00:00
Showing only changes of commit 12034502ac - Show all commits

View file

@ -136,13 +136,7 @@
:kind "Middleware", :kind "Middleware",
:metadata {:name "ratelimit"}, :metadata {:name "ratelimit"},
:spec {:rateLimit {:average 10, :burst 5}}} :spec {:rateLimit {:average 10, :burst 5}}}
(cut/generate-rate-limit-middleware {:fqdn "test.de" (cut/generate-rate-limit-middleware {:max-rate 10, :max-concurrent-requests 5}))))
:mailer-from ""
:mailer-host "m.t.de"
:mailer-port "123"
:service-noreply-address ""
:average 10
:burst 5}))))
(deftest should-generate-middleware-ratelimit-ingress-and-cert (deftest should-generate-middleware-ratelimit-ingress-and-cert
(is (= {:traefik.ingress.kubernetes.io/router.entrypoints "web, websecure", (is (= {:traefik.ingress.kubernetes.io/router.entrypoints "web, websecure",