Skip to content
This repository has been archived by the owner on Apr 24, 2023. It is now read-only.

extra line in fluent-bit role file for 1.22 #93

Open
lucj opened this issue Sep 21, 2021 · 1 comment
Open

extra line in fluent-bit role file for 1.22 #93

lucj opened this issue Sep 21, 2021 · 1 comment

Comments

@lucj
Copy link

lucj commented Sep 21, 2021

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
@linyuuki
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants