Replace --profiler option with --debug

This commit is contained in:
M. Mert Yildiran
2022-12-26 08:15:47 +03:00
parent 0a5343299c
commit c25be876f2
6 changed files with 30 additions and 30 deletions

View File

@@ -18,9 +18,9 @@ const (
AllNamespacesLabel = "all-namespaces"
HumanMaxEntriesDBSizeLabel = "max-entries-db-size"
DryRunLabel = "dry-run"
ServiceMeshName = "service-mesh"
TlsName = "tls"
ProfilerName = "profiler"
ServiceMeshLabel = "service-mesh"
TlsLabel = "tls"
DebugLabel = "debug"
)
type HubConfig struct {
@@ -50,7 +50,7 @@ type TapConfig struct {
ServiceMesh bool `yaml:"service-mesh" default:"true"`
Tls bool `yaml:"tls" default:"true"`
PacketCapture string `yaml:"packet-capture" default:"libpcap"`
Profiler bool `yaml:"profiler" default:"false"`
Debug bool `yaml:"debug" default:"false"`
}
func (config *TapConfig) PodRegex() *regexp.Regexp {