Skip to content

Instantly share code, notes, and snippets.

@Cpriyanshi77
Last active January 20, 2023 10:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Cpriyanshi77/173d24d28b8da3b9d58acb42fa7dea7d to your computer and use it in GitHub Desktop.
Save Cpriyanshi77/173d24d28b8da3b9d58acb42fa7dea7d to your computer and use it in GitHub Desktop.
Fluent-bit ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: fluent-bit-role
labels:
app: fluent-bit-role
rules:
- nonResourceURLs:
- /metrics
verbs:
- get
- apiGroups: [""]
resources:
- namespaces
- pods
- pods/logs
verbs: ["get", "list", "watch"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment