diff --git a/.github/dependabot.yml b/.github/dependabot.yml index ff3343c1..ea2aa0e2 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -9,3 +9,16 @@ updates: directory: "/" # Location of package manifests schedule: interval: "monthly" + groups: + all-go-mod-patch-and-minor: + patterns: ["*"] + update-types: ["patch", "minor"] + - package-ecosystem: "github-actions" + directory: "/" # For GitHub Actions, set the directory to / to check for workflow files in .github/workflows + schedule: + interval: "weekly" + # Keep Docker dependencies up to date + - package-ecosystem: "docker" + directory: "/" + schedule: + interval: "daily" diff --git a/kubernetes/pods.go b/kubernetes/pods.go index 71d8b3ef..b310e26a 100644 --- a/kubernetes/pods.go +++ b/kubernetes/pods.go @@ -100,8 +100,7 @@ func isPodTerminating(p *corev1.Pod) bool { } func isPodRunning(p *corev1.Pod) bool { - return p.Status.ContainerStatuses != nil && - len(p.Status.ContainerStatuses) > 0 && + return len(p.Status.ContainerStatuses) > 0 && p.Status.ContainerStatuses[0].State.Running != nil && p.Status.PodIP != "" }