Merge remote-tracking branch 'origin' into org-based-auth

This commit is contained in:
Tuan Dang
2024-02-07 09:49:13 -08:00
26 changed files with 570 additions and 366 deletions
@@ -478,7 +478,7 @@ export const registerSecretRouter = async (server: FastifyZodProvider) => {
// TODO: Move to telemetry plugin
let shouldRecordK8Event = false;
if (req.headers["user-agent"] === "k8-operator") {
if (req.headers["user-agent"] === "k8-operatoer") {
const randomNumber = Math.random();
if (randomNumber > 0.95) {
shouldRecordK8Event = true;