-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathkubernetes.yaml
46 lines (46 loc) · 1.02 KB
/
kubernetes.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
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: klint
namespace: kube-system
spec:
selector:
matchLabels:
app: klint
replicas: 1
template:
metadata:
labels:
app: klint
spec:
serviceAccountName: klint
containers:
- name: klint
image: quay.io/uswitch/klint:{{ TAG }}
imagePullPolicy: Always
args:
- --json
volumeMounts:
- mountPath: /etc/ssl/certs
name: ssl-certs-host
readOnly: true
env:
- name: SLACK_TOKEN
valueFrom:
secretKeyRef:
name: klint
key: slack
volumes:
- hostPath:
path: /usr/share/ca-certificates
name: ssl-certs-host
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: klint
namespace: kube-system
annotations:
eks.amazonaws.com/role-arn: arn:aws:iam::123456789:role/kubernetes_klint
eks.amazonaws.com/token-expiration: "86400"