-
Notifications
You must be signed in to change notification settings - Fork 249
Description
Describe the bug
When i installed packetstreamer to one of our AWS kubernetes clusters using provided helm-chart with receiver.yaml values file (also provided under contrib/config)
I am getting below error on the both receiver and sensor pods
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x62b655]
goroutine 1 [running]:
github.com/deepfence/PacketStreamer/pkg/config.NewConfig({0x7ffea2bcfcd5, 0x1f})
/src/pkg/config/config.go:138 +0x175
github.com/deepfence/PacketStreamer/cmd.initConfig()
/src/cmd/root.go:46 +0x4d
github.com/spf13/cobra.(*Command).preRun(0xe9f800)
/root/go/pkg/mod/github.com/spf13/cobra@v1.4.0/command.go:886 +0x42
github.com/spf13/cobra.(*Command).execute(0xe9f800, {0xc0000d5280, 0x2, 0x2})
/root/go/pkg/mod/github.com/spf13/cobra@v1.4.0/command.go:822 +0x1db
github.com/spf13/cobra.(*Command).ExecuteC(0xe9f580)
/root/go/pkg/mod/github.com/spf13/cobra@v1.4.0/command.go:974 +0x3bc
github.com/spf13/cobra.(*Command).Execute(...)
/root/go/pkg/mod/github.com/spf13/cobra@v1.4.0/command.go:902
github.com/deepfence/PacketStreamer/cmd.Execute()
/src/cmd/root.go:28 +0x25
main.main()
/src/main.go:6 +0x17
I didn't change default values file and using this image deepfenceio/deepfence_packetstreamer:latest
To Reproduce
Steps to reproduce the behavior:
helm install to an kubernetes cluster in aws using receiver.yaml values file
Expected behavior
was expecting it to work out of box
Additional context
Add any other context about the problem here.