digitalocean / clusterlint

A best practices checker for Kubernetes clusters. 🤠
Apache License 2.0
547 stars 45 forks source link

checks/latest-tag: Handle unparseable image names #72

Closed adamwg closed 4 years ago

adamwg commented 4 years ago

We don't expect to see unparseable image names in running pods, since k8s was able to parse all the image names when the pod was created. However, that appears to be what's happening in #71, so we should handle the case to avoid dereferencing a nil pointer.