-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathdeis-workflow-rc.yml
More file actions
68 lines (67 loc) · 1.81 KB
/
deis-workflow-rc.yml
File metadata and controls
68 lines (67 loc) · 1.81 KB
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
apiVersion: v1
kind: ReplicationController
metadata:
name: deis-workflow
namespace: deis
labels:
heritage: deis
spec:
replicas: 1
selector:
name: deis-workflow
template:
metadata:
labels:
name: deis-workflow
spec:
containers:
- name: deis-workflow
image: quay.io/deisci/workflow:v2-beta
readinessProbe:
httpGet:
path: /health-check
port: 8000
initialDelaySeconds: 30
timeoutSeconds: 1
livenessProbe:
httpGet:
path: /health-check
port: 8000
initialDelaySeconds: 30
timeoutSeconds: 1
imagePullPolicy: Always
env:
- name: DEBUG
value: "true"
- name: DEIS_DATABASE_USER
value: deis
- name: DEIS_DATABASE_PASSWORD
value: changeme123
ports:
- containerPort: 8000
name: http
volumeMounts:
- mountPath: /var/run/docker.sock
name: docker-socket
- name: minio-user
mountPath: /var/run/secrets/deis/minio/user
readOnly: true
- name: builder-key-auth
mountPath: /var/run/secrets/api/builder/auth
readOnly: true
- name: django-secret-key
mountPath: /var/run/secrets/api/django
readOnly: true
volumes:
- name: docker-socket
hostPath:
path: /var/run/docker.sock
- name: minio-user
secret:
secretName: minio-user
- name: django-secret-key
secret:
secretName: django-secret-key
- name: builder-key-auth
secret:
secretName: builder-key-auth