-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathhalyard_template.yml
163 lines (158 loc) · 4.87 KB
/
halyard_template.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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
apiVersion: apps/v1beta1
kind: Deployment
metadata:
name: spin-halyard
namespace: spinnaker
labels:
app: spin
stack: halyard
spec:
replicas: 1
selector:
matchLabels:
app: spin
stack: halyard
template:
metadata:
labels:
app: spin
stack: halyard
spec:
containers:
- name: halyard-daemon
# todo - make :stable or digest of :stable
image: opsmx11/halyard:stable
imagePullPolicy: Always
command:
- /bin/sh
args:
- -c
- "cp -R /home/builder/staging/.hal /home/builder/.hal;sh /opt/run_halyard.sh"
readinessProbe:
exec:
command:
- wget
- -q
- --spider
- http://localhost:8064/health
ports:
- containerPort: 8064
volumeMounts:
- name: halconfig
mountPath: /home/builder/staging/.hal/config
subPath: config
- name: kubeconfig
mountPath: /home/builder/staging/.kube/config
subPath: config
- name: artifactsconfig
mountPath: /home/builder/staging/.hal/default/service-settings/deck.yml
subPath: deck.yml
- name: artifactsconfig
mountPath: /home/builder/staging/.hal/default/service-settings/gate.yml
subPath: gate.yml
- name: artifactsconfig
mountPath: /home/builder/staging/.hal/default/service-settings/igor.yml
subPath: igor.yml
- name: artifactsconfig
mountPath: /home/builder/staging/.hal/default/profiles/igor-local.yml
subPath: igor-local.yml
- name: artifactsconfig
mountPath: /home/builder/staging/.hal/default/service-settings/fiat.yml
subPath: fiat.yml
- name: artifactsconfig
mountPath: /home/builder/staging/.hal/default/service-settings/rosco.yml
subPath: rosco.yml
- name: artifactsconfig
mountPath: /home/builder/staging/.hal/default/profiles/front50-local.yml
subPath: front50-local.yml
- name: artifactsconfig
mountPath: /home/builder/staging/.hal/default/service-settings/front50.yml
subPath: front50.yml
- name: artifactsconfig
mountPath: /home/builder/staging/.hal/default/service-settings/redis.yml
subPath: redis.yml
- name: artifactsconfig
mountPath: /home/builder/staging/.hal/default/service-settings/clouddriver-bootstrap.yml
subPath: clouddriver-bootstrap.yml
- name: artifactsconfig
mountPath: /home/builder/staging/.hal/default/service-settings/clouddriver.yml
subPath: clouddriver.yml
- name: artifactsconfig
mountPath: /home/builder/staging/.hal/default/service-settings/echo.yml
subPath: echo.yml
- name: artifactsconfig
mountPath: /home/builder/staging/.hal/default/service-settings/orca.yml
subPath: orca.yml
- name: artifactsconfig
mountPath: /home/builder/staging/.hal/default/service-settings/orca-bootstrap.yml
subPath: orca-bootstrap.yml
volumes:
- name: halconfig
configMap:
defaultMode: 420
name: halconfig
- name: kubeconfig
secret:
defaultMode: 420
secretName: kubeconfig
- name: artifactsconfig
configMap:
defaultMode: 420
name: artifactsconfig
---
apiVersion: v1
kind: Service
metadata:
name: spin-halyard
namespace: spinnaker
spec:
ports:
- port: 8064
targetPort: 8064
protocol: TCP
selector:
app: spin
stack: halyard
type: ClusterIP
---
apiVersion: v1
kind: ConfigMap
metadata:
namespace: spinnaker
name: artifactsconfig
data:
clouddriver-bootstrap.yml: |
artifactId: docker.io/opsmx11/clouddriver:4.1.0-20181211134536
clouddriver.yml: |
artifactId: docker.io/opsmx11/clouddriver:4.1.0-20181211134536
echo.yml: |
artifactId: docker.io/opsmx11/echo:2.2.0-20181207134351
front50.yml: |
artifactId: docker.io/opsmx11/front50:os3.0.0
orca-bootstrap.yml: |
artifactId: docker.io/opsmx11/orca:2.0.0-20181212160734
orca.yml: |
artifactId: docker.io/opsmx11/orca:2.0.0-20181212160734
rosco.yml: |
artifactId: docker.io/opsmx11/rosco:0.8.1-20181207134351
igor.yml: |
artifactId: docker.io/opsmx11/igor:1.0.0-20181207134351
fiat.yml: |
artifactId: docker.io/opsmx11/fiat:1.3.0-20181207134351
enabled: true
skipLifeCycleManagement: false
front50-local.yml: |
spinnaker.s3.versioning: false
redis.yml: |
artifactId: docker.io/opsmx11/redis:v3
enabled: true
gate.yml: |
artifactId: docker.io/opsmx11/gate:1.3.0-20181207134351
enabled: true
skipLifeCycleManagement: false
deck.yml: |
artifactId: docker.io/opsmx11/deck:v1
igor-local.yml: |
spinnaker:
pollingSafeguard:
itemUpperThreshold: 2000