k8s-hpc-demo/definitions/account_definitions.yaml
Garrett Mills c864e76a2d big bang
2019-04-30 13:21:03 -05:00

19 lines
404 B
YAML

apiVersion: v1
kind: ServiceAccount
metadata:
name: default
namespace: cluster
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: cluster-admin
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: cluster-admin
subjects:
- kind: ServiceAccount
name: default
namespace: cluster