Skip to content

Instantly share code, notes, and snippets.

@dimastatz
Created September 27, 2020 18:53
Show Gist options
  • Save dimastatz/4f312c838980c0646e538d109797f08e to your computer and use it in GitHub Desktop.
Save dimastatz/4f312c838980c0646e538d109797f08e to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: ServiceAccount
metadata:
name: spark
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: spark-role
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: edit
subjects:
- kind: ServiceAccount
name: spark
namespace: default
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment