-
Notifications
You must be signed in to change notification settings - Fork 0
/
deployment.yaml
48 lines (48 loc) · 1.09 KB
/
deployment.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
---
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: hermod
name: hermod
namespace: hermod
spec:
replicas: 1
selector:
matchLabels:
app: hermod
template:
metadata:
labels:
app: hermod
annotations:
prometheus.io/port: "2112"
prometheus.io/scrape: "true"
spec:
containers:
- args:
- --repo-url-annotation=hermod.uswitch.com/gitrepo
- --commit-sha-annotation=hermod.uswitch.com/gitsha
- --git-annotation-warning
env:
- name: SLACK_TOKEN
valueFrom:
secretKeyRef:
name: hermod-slack
key: token
- name: SENTRY_ENDPOINT
valueFrom:
secretKeyRef:
name: hermod-sentry
key: endpoint
- name: CLUSTER_NAME
value: "cluster-name"
image: quay.io/uswitch/hermod:latest
imagePullPolicy: IfNotPresent
name: hermod
resources:
requests:
cpu: 10m
memory: 100Mi
limits:
memory: 200Mi