Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
CircleCI committed Dec 23, 2024
1 parent b747381 commit 04806f5
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tests/kubernetes-distros/kind/internal/install_operator.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ func installLumigoOperator(ctx context.Context, client klient.Client, kubeconfig
operatorDebug := ctx.Value(ContextKeyLumigoOperatorDebug).(bool)
kubernetesClusterName := ctx.Value(ContextKeyKubernetesClusterName).(string)
lumigoToken := ctx.Value(ContextKeyLumigoToken).(string)
busyboxIncludedContainerNamePrefix := ctx.Value(ContextTestAppBusyboxIncludedContainerNamePrefix).(string)
busyboxExcludedContainerNamePrefix := ctx.Value(ContextTestAppBusyboxExcludedContainerNamePrefix).(string)
testNamespacePrefix := ctx.Value(ContextTestAppNamespacePrefix).(string)

Expand Down Expand Up @@ -62,8 +61,6 @@ func installLumigoOperator(ctx context.Context, client klient.Client, kubeconfig
helm.WithArgs(fmt.Sprintf("--set lumigoToken.value=%s", lumigoToken)), // Use the the test-token for infra metrics as well
helm.WithArgs(fmt.Sprintf("--set debug.enabled=%v", operatorDebug)), // Operator debug logging at runtime
helm.WithArgs(fmt.Sprintf("--set clusterCollection.logs.enabled=%v", true)), // Enable log collection via pod logs-files
helm.WithArgs(fmt.Sprintf("--set clusterCollection.logs.include[0].namespacePattern=%s*", testNamespacePrefix)),
helm.WithArgs(fmt.Sprintf("--set clusterCollection.logs.include[0].containerPattern=%s*", busyboxIncludedContainerNamePrefix)),
helm.WithArgs(fmt.Sprintf("--set clusterCollection.logs.exclude[0].namespacePattern=%s*", testNamespacePrefix)),
helm.WithArgs(fmt.Sprintf("--set clusterCollection.logs.exclude[0].containerPattern=%s*", busyboxExcludedContainerNamePrefix)),
helm.WithArgs("--debug"), // Helm debug output on install
Expand Down

0 comments on commit 04806f5

Please sign in to comment.