From 00988fccea3a2b107151c13fe3bf19bad63e582d Mon Sep 17 00:00:00 2001 From: Gene Liverman Date: Wed, 3 Jul 2019 15:11:58 -0400 Subject: [PATCH] Add selector as required by k8s 1.8 and higher. Fixes #715 --- tools/promtail.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/promtail.sh b/tools/promtail.sh index 6ddedf2ae46c9..14ae661e8e5bb 100755 --- a/tools/promtail.sh +++ b/tools/promtail.sh @@ -274,6 +274,9 @@ metadata: name: promtail spec: minReadySeconds: 10 + selector: + matchLabels: + name: promtail template: metadata: labels: