diff options
author | makefunstuff <[email protected]> | 2024-06-29 23:01:12 +0200 |
---|---|---|
committer | makefunstuff <[email protected]> | 2024-06-29 23:01:12 +0200 |
commit | 63105bcf191689f6c9b96d5609cd1c69ecd5b75c (patch) | |
tree | 549840c32fa54fb4bb1284e4c63ccc5da185d7c4 /tools/eck-operator/templates | |
parent | 8cdbf774c5ff5c54ee444b610f74fca23ea68ac0 (diff) | |
download | k3s-lab-63105bcf191689f6c9b96d5609cd1c69ecd5b75c.tar.gz |
better beat
Diffstat (limited to 'tools/eck-operator/templates')
-rw-r--r-- | tools/eck-operator/templates/beat.yaml | 40 |
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 |