about summary refs log tree commit diff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tools/eck-operator/templates/beat.yaml40
1 files changed, 0 insertions, 40 deletions
diff --git a/tools/eck-operator/templates/beat.yaml b/tools/eck-operator/templates/beat.yaml
index 4bb5ff1..31c70c0 100644
--- a/tools/eck-operator/templates/beat.yaml
+++ b/tools/eck-operator/templates/beat.yaml
@@ -30,8 +30,6 @@ spec:
   daemonSet:
     podTemplate:
       spec:
-        serviceAccountName: filebeat
-        automountServiceAccountToken: true
         tolerations:
         - key: node-role.kubernetes.io/master
           effect: NoSchedule
@@ -49,8 +47,6 @@ spec:
             mountPath: /var/log/containers
           - name: varlogpods
             mountPath: /var/log/pods
-          - name: varlibdockercontainers
-            mountPath: /var/lib/docker/containers
           env:
             - name: NODE_NAME
               valueFrom:
@@ -63,39 +59,3 @@ spec:
         - name: varlogpods
           hostPath:
             path: /var/log/pods
-        - name: varlibdockercontainers
-          hostPath:
-            path: /var/lib/docker/containers
----
-apiVersion: rbac.authorization.k8s.io/v1
-kind: ClusterRole
-metadata:
-  name: filebeat
-rules:
-- apiGroups: [""] # "" indicates the core API group
-  resources:
-  - namespaces
-  - pods
-  verbs:
-  - get
-  - watch
-  - list
----
-apiVersion: v1
-kind: ServiceAccount
-metadata:
-  name: filebeat
-  namespace: monitoring
----
-apiVersion: rbac.authorization.k8s.io/v1
-kind: ClusterRoleBinding
-metadata:
-  name: filebeat
-subjects:
-- kind: ServiceAccount
-  name: filebeat
-  namespace: monitoring
-roleRef:
-  kind: ClusterRole
-  name: filebeat
-  apiGroup: rbac.authorization.k8s.io