k8s-hpc-demo/definitions/account_definitions.yaml

19 lines
404 B
YAML
Raw Normal View History

2019-04-30 18:21:03 +00:00
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