-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathweb.yml
133 lines (133 loc) · 6.53 KB
/
web.yml
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
apiVersion: v1
kind: Service
metadata:
name: concourse-web-internal
labels:
app: web
tier: frontend
spec:
ports:
- port: 80
targetPort: 8080
protocol: TCP
name: web
- port: 2222
targetPort: 2222
protocol: TCP
name: tsa
selector:
app: web
tier: frontend
---
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: frontend
spec:
replicas: 2
template:
metadata:
labels:
app: web
tier: frontend
spec:
volumes:
- name: concourse-keys
emptyDir: {}
containers:
- name: web
image: concourse/concourse:3.6.0
volumeMounts:
- mountPath: /concourse-keys
name: concourse-keys
args: ["web"]
env:
- name: CONCOURSE_BASIC_AUTH_USERNAME
value: atc
- name: CONCOURSE_BASIC_AUTH_PASSWORD
value: atc
- name: CONCOURSE_EXTERNAL_URL
value: https://fake
- name: CONCOURSE_POSTGRES_HOST
value: postgres.default.svc.cluster.local
- name: CONCOURSE_POSTGRES_USER
value: concourse
- name: CONCOURSE_POSTGRES_PASSWORD
value: concourse
- name: CONCOURSE_POSTGRES_DATABASE
value: concourse
ports:
- containerPort: 8080
- containerPort: 2222
initContainers:
- name: init-keys
image: datianshi/concourse-init-keys
args: ["web"]
volumeMounts:
- mountPath: /concourse-keys
name: concourse-keys
env:
- name: CONCOURSE_TSA_AUTHORIZED_KEYS
value: |
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC2eLQza2HLpycnAwoqh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