Page MenuHomePhabricator

svc-account.yaml

Authored By
nfraison
Feb 27 2023, 10:52 AM
Size
1 KB
Referenced Files
None
Subscribers
None

svc-account.yaml

---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: spark-user-role
rules:
- apiGroups:
- ""
resources:
- pods
verbs:
- "*"
- apiGroups:
- ""
resources:
- services
verbs:
- "*"
- apiGroups:
- ""
resources:
- configmaps
verbs:
- "*"
- apiGroups:
- ""
resources:
- secrets
verbs:
- "*"
- apiGroups:
- ""
resources:
- persistentvolumeclaims
verbs:
- "*"
- apiGroups:
- sparkoperator.k8s.io
resources:
- sparkapplications
- sparkapplications/status
- scheduledsparkapplications
- scheduledsparkapplications/status
verbs:
- "*"
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: spark-nfraison-run
namespace: spark-nfraison
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: spark-nfraison-deploy
namespace: spark-nfraison
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: spark-nfraison
namespace: spark-nfraison
subjects:
- kind: ServiceAccount
name: spark-nfraison-run
namespace: spark-nfraison
- kind: ServiceAccount
name: spark-nfraison-deploy
namespace: spark-nfraison
roleRef:
kind: ClusterRole
name: spark-user-role
apiGroup: rbac.authorization.k8s.io
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: spark-btullis-run
namespace: spark-btullis
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: spark-btullis-deploy
namespace: spark-btullis
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: spark-btullis
namespace: spark-btullis
subjects:
- kind: ServiceAccount
name: spark-btullis-run
namespace: spark-btullis
- kind: ServiceAccount
name: spark-btullis-deploy
namespace: spark-btullis
roleRef:
kind: ClusterRole
name: spark-user-role
apiGroup: rbac.authorization.k8s.io

File Metadata

Mime Type
text/plain
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
10746067
Default Alt Text
svc-account.yaml (1 KB)

Event Timeline