Open monotok opened 11 months ago
I had the same problem and the solution is to set the environment variable PIHOLE_PORT to 80. Apparently, that variable is also set by Kubernetes to the value "tcp://{pihole_cluster_ip}:80" and that results in a parse error, because the value is expected to be an integer
Hi, I am trying to deploy this into my K8s cluster (RKE2) and I can't get the container to run without crashing. I have used my own deployment file and the linked Helm with the same error. I can run the software locally on my Linux machine and within docker. The error does not change, no matter what environment variables I set or not.
Steps for Reproduction
panic: strconv.ParseUint: parsing "tcp://10.43.132.163:53": invalid syntax goroutine 1 [running]: github.com/eko/pihole-exporter/config.Load() /go/src/github.com/eko/pihole-exporter/config/configuration.go:67 +0x3f2 main.main() /go/src/github.com/eko/pihole-exporter/main.go:14 +0x1f