🔥 Remove --hub-ws-address flag and max-live-streams option

This commit is contained in:
M. Mert Yildiran
2022-12-11 11:52:33 +03:00
parent 48e5c2f9c2
commit 5973a77cf8
5 changed files with 2 additions and 13 deletions

View File

@@ -57,5 +57,4 @@ func init() {
deployCmd.Flags().Bool(configStructs.ServiceMeshName, defaultDeployConfig.ServiceMesh, "Record decrypted traffic if the cluster is configured with a service mesh and with mtls.")
deployCmd.Flags().Bool(configStructs.TlsName, defaultDeployConfig.Tls, "Record tls traffic.")
deployCmd.Flags().Bool(configStructs.ProfilerName, defaultDeployConfig.Profiler, "Run pprof server.")
deployCmd.Flags().Int(configStructs.MaxLiveStreamsName, defaultDeployConfig.MaxLiveStreams, "Maximum live tcp streams to handle concurrently.")
}

View File

@@ -153,7 +153,6 @@ func startWorkerSyncer(ctx context.Context, cancel context.CancelFunc, provider
KubesharkServiceAccountExists: state.kubesharkServiceAccountExists,
ServiceMesh: config.Config.Deploy.ServiceMesh,
Tls: config.Config.Deploy.Tls,
MaxLiveStreams: config.Config.Deploy.MaxLiveStreams,
}, startTime)
if err != nil {