From cd5d6516469f77338493532a3c20d1b381252073 Mon Sep 17 00:00:00 2001 From: Xiang Dai Date: Fri, 14 Dec 2018 10:59:01 +0800 Subject: [PATCH] tools/promatail.sh: fix namespace issue Signed-off-by: Xiang Dai --- tools/promtail.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tools/promtail.sh b/tools/promtail.sh index b05de51fbfcc..fa362d347dcb 100644 --- a/tools/promtail.sh +++ b/tools/promtail.sh @@ -84,11 +84,13 @@ data: kind: ConfigMap metadata: name: promtail + namespace: --- apiVersion: extensions/v1beta1 kind: DaemonSet metadata: name: promtail + namespace: spec: minReadySeconds: 10 template: @@ -143,11 +145,13 @@ apiVersion: v1 kind: ServiceAccount metadata: name: promtail + namespace: --- apiVersion: rbac.authorization.k8s.io/v1beta1 kind: ClusterRole metadata: name: promtail + namespace: rules: - apiGroups: - "" @@ -166,6 +170,7 @@ apiVersion: rbac.authorization.k8s.io/v1beta1 kind: ClusterRoleBinding metadata: name: promtail + namespace: roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole