aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/namespaces/default/king-arthur/service-account.yaml
blob: a63a88eff457db5dbf760b89b55fe937dae87e2f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
---
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
  name: king-arthur
rules:
- apiGroups: ["", "extensions", "apps", "batch", "rbac.authorization.k8s.io", "cert-manager.io"]
  resources: ["*"]
  verbs: ["*"]
---
apiVersion: v1
kind: ServiceAccount
metadata:
  name: king-arthur
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
  name: king-arthur
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: king-arthur
subjects:
  - kind: ServiceAccount
    name: king-arthur
    namespace: default