-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path300-app-droneio.yaml
78 lines (78 loc) · 2.06 KB
/
300-app-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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
apiVersion: apps/v1
kind: Deployment
metadata:
creationTimestamp: null
labels:
app: droneio-dev
name: droneio-dev
namespace: dev-services
spec:
replicas: 1
selector:
matchLabels:
app: droneio-dev
strategy: {}
template:
metadata:
creationTimestamp: null
labels:
app: droneio-dev
spec:
containers:
- image: drone/drone:2
name: drone
ports:
- containerPort: 80
resources: {}
volumeMounts:
- name: ca-pemstore
mountPath: /etc/ssl/certs/root_ca.crt
subPath: root_ca.crt
readOnly: false
env:
- name: DRONE_DB_HOST
value: <set your DB host here>
- name: DRONE_DB_PORT
value: <set your DB port here>
- name: DRONE_JOB_NAMESPACE
value: dev-services
- name: DRONE_DATABASE_DRIVER
value: postgres
- name: DRONE_DB_PASSWD
valueFrom:
secretKeyRef:
name: droneio-psql
key: secret
- name: DRONE_DATABASE_DATASOURCE
value: "postgres://droneiodev:$(DRONE_DB_PASSWD)@$(DRONE_DB_HOST):$(DRONE_DB_HOST)/droneiodev?sslmode=disable"
- name: DRONE_GITEA_CLIENT_ID
valueFrom:
secretKeyRef:
name: droneio
key: clientid
- name: DRONE_GITEA_CLIENT_SECRET
valueFrom:
secretKeyRef:
name: droneio
key: secrat
- name: DRONE_GITEA_SERVER
value: https://gitea.1.dev.connected-me.com
- name: DRONE_GIT_ALWAYS_AUTH
value: "true"
- name: DRONE_RPC_SECRET
valueFrom:
secretKeyRef:
name: droneio
key: rpc-secrat
- name: DRONE_SERVER_HOST
value: droneio.1.dev.connected-me.com
- name: DRONE_SERVER_PROTO
value: https
volumes:
- name: ca-pemstore
configMap:
name: ca-pemstore
items:
- key: root_ca.crt
path: root_ca.crt
status: {}