From ea6bd9bab6ce8ceac090c3f300634aedd3ce3f63 Mon Sep 17 00:00:00 2001 From: Thibault Richard Date: Tue, 14 Nov 2023 11:34:58 +0100 Subject: [PATCH] Fix recipe name to run Fleet as non-root --- ...on-noroot.yaml => fleet-kubernetes-integration-nonroot.yaml} | 0 test/e2e/agent/recipes_test.go | 2 +- test/e2e/test/helper/yaml.go | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename config/recipes/elastic-agent/{fleet-kubernetes-integration-noroot.yaml => fleet-kubernetes-integration-nonroot.yaml} (100%) diff --git a/config/recipes/elastic-agent/fleet-kubernetes-integration-noroot.yaml b/config/recipes/elastic-agent/fleet-kubernetes-integration-nonroot.yaml similarity index 100% rename from config/recipes/elastic-agent/fleet-kubernetes-integration-noroot.yaml rename to config/recipes/elastic-agent/fleet-kubernetes-integration-nonroot.yaml diff --git a/test/e2e/agent/recipes_test.go b/test/e2e/agent/recipes_test.go index 7f76b41a4e..618ad3cdb6 100644 --- a/test/e2e/agent/recipes_test.go +++ b/test/e2e/agent/recipes_test.go @@ -180,7 +180,7 @@ func TestFleetKubernetesNonRootIntegrationRecipe(t *testing.T) { WithDefaultESValidation(agent.HasWorkingDataStream(agent.MetricsType, "system.uptime", "default")) } - runAgentRecipe(t, "fleet-kubernetes-integration-noroot.yaml", customize) + runAgentRecipe(t, "fleet-kubernetes-integration-nonroot.yaml", customize) } func TestFleetCustomLogsIntegrationRecipe(t *testing.T) { diff --git a/test/e2e/test/helper/yaml.go b/test/e2e/test/helper/yaml.go index e93484fd9b..6f71d2f51a 100644 --- a/test/e2e/test/helper/yaml.go +++ b/test/e2e/test/helper/yaml.go @@ -494,7 +494,7 @@ func tweakConfigLiterals(config *commonv1.Config, suffix string, namespace strin fleetOutputsKey := "xpack.fleet.outputs" - // This is only used when testing Agent+Fleet running as non-root. (config/recipes/elastic-agent/fleet-kubernetes-integration-noroot.yaml) + // This is only used when testing Agent+Fleet running as non-root. (config/recipes/elastic-agent/fleet-kubernetes-integration-nonroot.yaml) // // Adjust the Kibana's spec.config.xpack.fleet.outputs section to both // 1. Point to the valid Elasticsearch instance with suffix + namespace being random