logging: Fix cluster roles so it works with elastic-system
This commit is contained in:
		@@ -139,7 +139,7 @@ spec:
 | 
			
		||||
apiVersion: rbac.authorization.k8s.io/v1
 | 
			
		||||
kind: ClusterRoleBinding
 | 
			
		||||
metadata:
 | 
			
		||||
  name: filebeat
 | 
			
		||||
  name: logging-filebeat
 | 
			
		||||
subjects:
 | 
			
		||||
- kind: ServiceAccount
 | 
			
		||||
  name: filebeat
 | 
			
		||||
@@ -149,24 +149,6 @@ roleRef:
 | 
			
		||||
  name: filebeat
 | 
			
		||||
  apiGroup: rbac.authorization.k8s.io
 | 
			
		||||
---
 | 
			
		||||
apiVersion: rbac.authorization.k8s.io/v1
 | 
			
		||||
kind: ClusterRole
 | 
			
		||||
metadata:
 | 
			
		||||
  name: filebeat
 | 
			
		||||
  labels:
 | 
			
		||||
    app: filebeat
 | 
			
		||||
rules:
 | 
			
		||||
- apiGroups:
 | 
			
		||||
  - ""
 | 
			
		||||
  resources:
 | 
			
		||||
  - namespaces
 | 
			
		||||
  - pods
 | 
			
		||||
  - nodes
 | 
			
		||||
  verbs:
 | 
			
		||||
  - get
 | 
			
		||||
  - watch
 | 
			
		||||
  - list
 | 
			
		||||
---
 | 
			
		||||
apiVersion: v1
 | 
			
		||||
kind: ServiceAccount
 | 
			
		||||
metadata:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user