Disable Audit Logs by default on Tenant Creation (#2613)

Signed-off-by: Daniel Valdivia <18384552+dvaldivia@users.noreply.github.com>
This commit is contained in:
Daniel Valdivia
2023-01-31 08:23:29 -08:00
committed by GitHub
parent 8df91922ad
commit 451238d48b
2 changed files with 3 additions and 6 deletions

View File

@@ -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: "",

View File

@@ -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);
};