/
romana-aws.yaml
57 lines (57 loc) · 1.05 KB
/
romana-aws.yaml
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
---
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
name: romana-aws
rules:
- apiGroups:
- "*"
resources:
- nodes
verbs:
- get
- list
- watch
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: romana-aws
namespace: kube-system
---
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
name: romana-aws
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: romana-aws
subjects:
- kind: ServiceAccount
name: romana-aws
namespace: kube-system
---
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: romana-aws
namespace: kube-system
spec:
replicas: 1
template:
metadata:
labels:
romana-app: aws
spec:
nodeSelector:
node-role.kubernetes.io/master: ""
hostNetwork: true
serviceAccountName: romana-aws
tolerations:
- key: node-role.kubernetes.io/master
effect: NoSchedule
containers:
- name: romana-aws
image: quay.io/romana/aws:v2.0.1
imagePullPolicy: Always