[Fleet] [Serverless] Disable Agent ID verification for Observability projects (#157400)

## Summary

We want to disable agentIdVerification to get rid of the final pipeline
for the o11y project type in the serverless solution
This commit is contained in:
Giuseppe Santoro 2023-05-12 12:40:33 +01:00 committed by GitHub
parent 3c4276e38b
commit 8df9c0489c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 4 deletions

View file

@ -16,3 +16,6 @@ uiSettings.overrides.defaultRoute: /app/observability/overview
## Set the dev project switch current type
xpack.serverless.plugin.developer.projectSwitcher.currentType: 'observability'
## Disable adding the component template `.fleet_agent_id_verification-1` to every index template for each datastream for each integration
xpack.fleet.agentIdVerificationEnabled: false

View file

@ -122,10 +122,8 @@ async function createSetupSideEffects(
const defaultOutput = await outputService.ensureDefaultOutput(soClient, esClient);
if (appContextService.getConfig()?.agentIdVerificationEnabled) {
logger.debug('Setting up Fleet Elasticsearch assets');
await ensureFleetGlobalEsAssets(soClient, esClient);
}
logger.debug('Setting up Fleet Elasticsearch assets');
await ensureFleetGlobalEsAssets(soClient, esClient);
await ensureFleetFileUploadIndices(soClient, esClient);
// Ensure that required packages are always installed even if they're left out of the config