-
Notifications
You must be signed in to change notification settings - Fork 0
/
301-runner-droneio.yaml
46 lines (46 loc) · 1.09 KB
/
301-runner-droneio.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: drone-runner
labels:
app.kubernetes.io/name: drone
namespace: dev-services
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/name: drone
template:
metadata:
labels:
app.kubernetes.io/name: drone
spec:
containers:
- name: runner
image: drone/drone-runner-kube:latest
volumeMounts:
- name: ca-pemstore
mountPath: /etc/ssl/certs/root_ca.crt
subPath: root_ca.crt
readOnly: false
ports:
- containerPort: 3000
env:
- name: DRONE_NAMESPACE_DEFAULT
value: dev-services
- name: DRONE_RPC_HOST
value: droneio.1.dev.connected-me.com
- name: DRONE_RPC_PROTO
value: https
- name: DRONE_RPC_SECRET
valueFrom:
secretKeyRef:
name: droneio
key: rpc-secrat
volumes:
- name: ca-pemstore
configMap:
name: ca-pemstore
items:
- key: root_ca.crt
path: root_ca.crt