fluent-bit-kubernetes-logging
fluent-bit-kubernetes-logging copied to clipboard
extra line in fluent-bit role file for 1.22
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
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.