Skip to content

Instantly share code, notes, and snippets.

@mszostok
Last active August 31, 2023 13:10
Show Gist options
  • Save mszostok/ac13be462c591f1585db8ffa16ae0c44 to your computer and use it in GitHub Desktop.
Save mszostok/ac13be462c591f1585db8ffa16ae0c44 to your computer and use it in GitHub Desktop.
Cluster role and binding for Botkube Flux executor.
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: flux-write
rules:
- apiGroups: ["*"]
resources: ["*"]
verbs: ["*"]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: flux-write
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: flux-write
subjects:
- kind: Group
name: flux-write
apiGroup: rbac.authorization.k8s.io
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment