Add Templates to pretty config
This commit is contained in:
18
workload/manifests/rbac.yaml
Normal file
18
workload/manifests/rbac.yaml
Normal file
@ -0,0 +1,18 @@
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRoleBinding
|
||||
metadata:
|
||||
name: test
|
||||
roleRef: # points to the Role
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: ClusterRole
|
||||
name: admin
|
||||
subjects: # points to the ServiceAccount
|
||||
- kind: ServiceAccount
|
||||
name: test
|
||||
namespace: default
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
name: test
|
||||
namespace: default
|
Reference in New Issue
Block a user