aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/namespaces/bots/king-arthur/service-account.yaml
blob: c971205735f5beb9a59226891864961416c696ab (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
28
---
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
  namespace: bots
---
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: bots