From 5e6cdfdb0e1bf09188e09754f2becf30ecfd099b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Manuel=20R=C3=BCger?= <manuel@rueg.eu>
Date: Fri, 28 Jun 2019 17:58:23 +0200
Subject: [PATCH] Detect kube-controller in CMD (#326)

If kube-controller-manager is getting detected by older versions of
procps, it will only be detected if we're looking for kube-controller
(15 chars)

NOTE: "The command name is not the same as the command line. Previous versions of
       procps and the kernel truncated this command name to 15
       characters. This limitation is no longer present in both. If
       you depended on matching only 15 characters, you may no longer
       get a match."
---
 cfg/config.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cfg/config.yaml b/cfg/config.yaml
index 4eccf7c..340b905 100644
--- a/cfg/config.yaml
+++ b/cfg/config.yaml
@@ -45,6 +45,7 @@ master:
   controllermanager:
     bins:
       - "kube-controller-manager"
+      - "kube-controller"
       - "hyperkube controller-manager"
       - "hyperkube kube-controller-manager"
       - "controller-manager"
-- 
GitLab