Skip to content

Commit

Permalink
Ignore tini init process in the process detector (#2359)
Browse files Browse the repository at this point in the history
  • Loading branch information
RonFed authored Feb 1, 2025
1 parent c4519ad commit 18962fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion odiglet/pkg/detector/detector.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ func K8sDetectorOptions(logger logr.Logger) []detector.DetectorOption {
detector.WithLogger(sLogger),
detector.WithEnvironments(relevantEnvVars()...),
detector.WithEnvPrefixFilter(k8sconsts.OdigosEnvVarPodName),
detector.WithExePathsToFilter("/usr/bin/bash", "/bin/bash", "/bin/sh", "/usr/bin/sh", "/bin/busybox", "/usr/bin/dash"),
detector.WithExePathsToFilter("/usr/bin/bash", "/bin/bash", "/bin/sh", "/usr/bin/sh", "/bin/busybox", "/usr/bin/dash", "/sbin/tini", "/usr/bin/tini"),
}

return opts
Expand Down

0 comments on commit 18962fa

Please sign in to comment.