Last active
January 20, 2023 10:28
-
-
Save Cpriyanshi77/173d24d28b8da3b9d58acb42fa7dea7d to your computer and use it in GitHub Desktop.
Fluent-bit ClusterRole
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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