File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -16,16 +16,20 @@ const (
1616
1717---
1818---
19- apiVersion: rbac.authorization.k8s.io/v1beta1
19+ apiVersion: rbac.authorization.k8s.io/v1
2020kind: ClusterRole
2121metadata:
2222 name: pod-log-reader
2323rules:
24- - apiGroups: [""]
24+ - apiGroups:
25+ - ""
2526 resources:
26- - namespaces
27- - pods
28- verbs: ["get", "list", "watch"]
27+ - namespaces
28+ - pods
29+ verbs:
30+ - get
31+ - list
32+ - watch
2933---
3034apiVersion: v1
3135kind: ServiceAccount
@@ -35,7 +39,7 @@ metadata:
3539 annotations:
3640 eks.amazonaws.com/role-arn: arn:aws:iam::184402915685:role/ob-yolken.usw2.eks.fluentbit
3741---
38- apiVersion: rbac.authorization.k8s.io/v1beta1
42+ apiVersion: rbac.authorization.k8s.io/v1
3943kind: ClusterRoleBinding
4044metadata:
4145 name: pod-log-crb
You can’t perform that action at this time.
0 commit comments