zalando-incubator / kube-aws-iam-controller

Distribute different AWS IAM credentials to different pods in Kubernetes via secrets.
MIT License
158 stars 18 forks source link

Fix healthReporter #75

Closed mikkeloscar closed 5 months ago

mikkeloscar commented 5 months ago

Fixes crash in the healthReporter logic introduced in: #60

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x11dcc6c]

goroutine 1 [running]:
main.(*SecretsController).Run(0x400009c4e0, {0x1c176f0, 0x4000660280})
    /workspace/secrets_controller.go:122 +0x8c
main.main()
    /workspace/main.go:121 +0x12bc
mikkeloscar commented 5 months ago

:+1:

gargravarr commented 5 months ago

:+1: