fluent-bit-kubernetes-logging icon indicating copy to clipboard operation
fluent-bit-kubernetes-logging copied to clipboard

extra line in fluent-bit role file for 1.22

Open lucj opened this issue 3 years ago • 1 comments

I got the following error when creating the fluent-bit role on a 1.22 cluster:

error: error parsing https://raw.githubusercontent.com/fluent/fluent-bit-kubernetes-logging/master/fluent-bit-role-1.22.yaml

This is due to a remaining "git diff" at the end of the file:

apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  name: fluent-bit-read
rules:
- apiGroups: [""]
  resources:
  - namespaces
  - pods
  verbs: ["get", "list", "watch"]
diff --git a/fluent-bit-role-binding-1.22.yaml b/fluent-bit-role-binding-1.22.yaml

lucj avatar Sep 21 '21 13:09 lucj

I found this problem and submitted a comment. I thought maybe I could submit an issue. Then I found you. This problem resulted in no permission to obtain kubernetes api meta, and then unable to use auto_kubernetes_labels on to automatically generate labels.

linyuuki avatar Sep 28 '21 14:09 linyuuki