Disconnect PKI workers from upstreams when they are no longer authorized (#2515)

This commit is contained in:
Todd authored and GitHub committed 2022-11-03 14:50:48 -07:00
1 parent 80cdbc305d
commit 2a4ce02de6
19 files changed
+966 -150

No files matched your search

+8
View File
@@ -30,4 +30,12 @@ const (
)
select * from worker_auth_authorized where worker_id in (select * from key_id_to_worker_id)
`
authorizedWorkerQuery = `
select distinct w.worker_key_identifier
from
worker_auth_certificate_bundle as w
where
w.worker_key_identifier in (?)
`
)