From 451238d48bbb9d2710a99b5d2adab95ec661fdf9 Mon Sep 17 00:00:00 2001 From: Daniel Valdivia <18384552+dvaldivia@users.noreply.github.com> Date: Tue, 31 Jan 2023 08:23:29 -0800 Subject: [PATCH] Disable Audit Logs by default on Tenant Creation (#2613) Signed-off-by: Daniel Valdivia <18384552+dvaldivia@users.noreply.github.com> --- .../screens/Console/Tenants/AddTenant/createTenantSlice.ts | 4 ++-- portal-ui/tests/operator/utils.ts | 5 +---- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/portal-ui/src/screens/Console/Tenants/AddTenant/createTenantSlice.ts b/portal-ui/src/screens/Console/Tenants/AddTenant/createTenantSlice.ts index 889e32c66..62e61266d 100644 --- a/portal-ui/src/screens/Console/Tenants/AddTenant/createTenantSlice.ts +++ b/portal-ui/src/screens/Console/Tenants/AddTenant/createTenantSlice.ts @@ -104,8 +104,8 @@ const initialState: ICreateTenant = { exposeConsole: true, tenantCustom: false, envVars: [{ key: "", value: "" }], - logSearchEnabled: true, - prometheusEnabled: true, + logSearchEnabled: false, + prometheusEnabled: false, logSearchVolumeSize: "5", logSearchSizeFactor: "Gi", logSearchImage: "", diff --git a/portal-ui/tests/operator/utils.ts b/portal-ui/tests/operator/utils.ts index bef16b258..b7a563fab 100644 --- a/portal-ui/tests/operator/utils.ts +++ b/portal-ui/tests/operator/utils.ts @@ -34,10 +34,7 @@ export const createTenant = async (tenantName: string) => { export const createTenantWithoutAuditLog = async (tenantName: string) => { await fillTenantInformation(tenantName); - await t - .click("#wizard-step-audit-log") - .click("#enableLogging") - .click("#wizard-button-Create"); + await t.click("#wizard-step-audit-log").click("#wizard-button-Create"); await checkTenantExists(tenantName); };