Skip to content

Commit

Permalink
Fix recipe name to run Fleet as non-root (#7313)
Browse files Browse the repository at this point in the history
This renames the recipe to run Fleet as non-root from fleet-kubernetes-integration-noroot.yaml
to fleet-kubernetes-integration-nonroot.yaml to match the documentation.
  • Loading branch information
thbkrkr committed Nov 14, 2023
1 parent a46fb29 commit f732494
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/e2e/agent/recipes_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/test/helper/yaml.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f732494

Please sign in to comment.