Skip to content

Instantly share code, notes, and snippets.

@initcron
Last active June 3, 2024 11:35
Show Gist options
  • Save initcron/3b51e50fb2976a8cfcc89d2423ce53c1 to your computer and use it in GitHub Desktop.
Save initcron/3b51e50fb2976a8cfcc89d2423ce53c1 to your computer and use it in GitHub Desktop.
RBAC for Argo Role to run Workflows from argo-events namespace
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: argo
namespace: argo-events
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: argo-role-binding
namespace: argo-events
subjects:
- kind: ServiceAccount
name: argo
namespace: argo-events
roleRef:
kind: Role
name: argo-role
apiGroup: rbac.authorization.k8s.io
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment