From 63105bcf191689f6c9b96d5609cd1c69ecd5b75c Mon Sep 17 00:00:00 2001 From: makefunstuff Date: Sun, 30 Jun 2024 00:01:12 +0300 Subject: better beat --- tools/eck-operator/templates/beat.yaml | 40 ---------------------------------- 1 file changed, 40 deletions(-) (limited to 'tools/eck-operator/templates') 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 -- cgit 1.4.1-2-gfad0