forked from kubernetes/test-infra
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sinker_deployment.yaml
47 lines (47 loc) · 1.05 KB
/
sinker_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
apiVersion: apps/v1
kind: Deployment
metadata:
namespace: default
name: sinker
labels:
app: sinker
spec:
replicas: 1
selector:
matchLabels:
app: sinker
template:
metadata:
labels:
app: sinker
spec:
serviceAccountName: sinker
containers:
- name: sinker
args:
- --build-cluster=/etc/cluster/cluster
- --config-path=/etc/config/config.yaml
- --job-config-path=/etc/job-config
- --dry-run=false
image: gcr.io/k8s-prow/sinker:v20200305-9e853ce03
volumeMounts:
- mountPath: /etc/cluster
name: cluster
readOnly: true
- name: config
mountPath: /etc/config
readOnly: true
- name: job-config
mountPath: /etc/job-config
readOnly: true
volumes:
- name: cluster
secret:
defaultMode: 420
secretName: build-cluster
- name: config
configMap:
name: config
- name: job-config
configMap:
name: job-config