Untitled
alp
plain_text
10 months ago
739 B
16
Indexable
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: airflow-spark-submit-role
namespace: airflow
rules:
- apiGroups: [""]
resources:
- pods
- pods/log
- pods/exec
- pods/status
- services
- configmaps
- events
- persistentvolumeclaims
- secrets
verbs:
- create
- get
- list
- watch
- delete
- patch
- update
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: airflow-spark-submit-binding
namespace: airflow
subjects:
- kind: ServiceAccount
name: airflow-worker
namespace: airflow
roleRef:
kind: Role
name: airflow-spark-submit-role
apiGroup: rbac.authorization.k8s.io
Editor is loading...
Leave a Comment