generated from kubernetes/kubernetes-template-project
-
Notifications
You must be signed in to change notification settings - Fork 99
/
.ko.yaml
301 lines (299 loc) · 11.1 KB
/
.ko.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
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
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
# Distroless images:
# defaultBaseImage: gcr.io/distroless/static:nonroot
# Prow uses 2 bases images, a custom built alpine image with important extras installed and
# git-custom-k8s-auth which the same alpine image with kubernetes auth clients installed for AWS/GCP
# git-custom-k8s-auth should only be used for components that talk to Kubernetes Clusters.
baseImageOverrides:
sigs.k8s.io/prow/cmd/branchprotector: gcr.io/k8s-staging-test-infra/alpine:v20240719-47a381b1df
sigs.k8s.io/prow/cmd/checkconfig: gcr.io/k8s-prow/git:v20240729-4f255edb07
sigs.k8s.io/prow/cmd/clonerefs: gcr.io/k8s-prow/git:v20240729-4f255edb07
sigs.k8s.io/prow/cmd/config-bootstrapper: gcr.io/k8s-staging-test-infra/git-custom-k8s-auth:v20240719-47a381b1df
sigs.k8s.io/prow/cmd/deck: gcr.io/k8s-staging-test-infra/git-custom-k8s-auth:v20240719-47a381b1df
sigs.k8s.io/prow/cmd/exporter: gcr.io/k8s-staging-test-infra/alpine:v20240719-47a381b1df
sigs.k8s.io/prow/cmd/crier: gcr.io/k8s-staging-test-infra/git-custom-k8s-auth:v20240719-47a381b1df
sigs.k8s.io/prow/cmd/entrypoint: gcr.io/k8s-prow/git:v20240729-4f255edb07
sigs.k8s.io/prow/cmd/gangway: gcr.io/k8s-prow/git:v20240729-4f255edb07
sigs.k8s.io/prow/cmd/generic-autobumper: gcr.io/k8s-prow/git:v20240729-4f255edb07
sigs.k8s.io/prow/cmd/gerrit: gcr.io/k8s-prow/git:v20240729-4f255edb07
sigs.k8s.io/prow/cmd/gcsupload: gcr.io/k8s-staging-test-infra/alpine:v20240719-47a381b1df
sigs.k8s.io/prow/cmd/hook: gcr.io/k8s-staging-test-infra/git-custom-k8s-auth:v20240719-47a381b1df
sigs.k8s.io/prow/cmd/hmac: gcr.io/k8s-staging-test-infra/alpine:v20240719-47a381b1df
sigs.k8s.io/prow/cmd/horologium: gcr.io/k8s-staging-test-infra/alpine:v20240719-47a381b1df
sigs.k8s.io/prow/cmd/initupload: gcr.io/k8s-prow/git:v20240729-4f255edb07
sigs.k8s.io/prow/cmd/invitations-accepter: gcr.io/k8s-staging-test-infra/alpine:v20240719-47a381b1df
sigs.k8s.io/prow/cmd/jenkins-operator: gcr.io/k8s-prow/git:v20240729-4f255edb07
sigs.k8s.io/prow/cmd/moonraker: gcr.io/k8s-prow/git:v20240729-4f255edb07
sigs.k8s.io/prow/cmd/peribolos: gcr.io/k8s-staging-test-infra/alpine:v20240719-47a381b1df
sigs.k8s.io/prow/cmd/sidecar: gcr.io/k8s-prow/git:v20240729-4f255edb07
sigs.k8s.io/prow/cmd/sinker: gcr.io/k8s-staging-test-infra/git-custom-k8s-auth:v20240719-47a381b1df
sigs.k8s.io/prow/cmd/status-reconciler: gcr.io/k8s-staging-test-infra/alpine:v20240719-47a381b1df
sigs.k8s.io/prow/cmd/sub: gcr.io/k8s-prow/git:v20240729-4f255edb07
sigs.k8s.io/prow/cmd/tide: gcr.io/k8s-prow/git:v20240729-4f255edb07
sigs.k8s.io/prow/cmd/tot: gcr.io/k8s-staging-test-infra/alpine:v20240719-47a381b1df
sigs.k8s.io/prow/cmd/prow-controller-manager: gcr.io/k8s-staging-test-infra/git-custom-k8s-auth:v20240719-47a381b1df
sigs.k8s.io/prow/cmd/admission: gcr.io/k8s-staging-test-infra/alpine:v20240719-47a381b1df
sigs.k8s.io/prow/cmd/webhook-server: gcr.io/distroless/static:nonroot@sha256:9ecc53c269509f63c69a266168e4a687c7eb8c0cfd753bd8bfcaa4f58a90876f
sigs.k8s.io/prow/cmd/mkpj: gcr.io/k8s-staging-test-infra/alpine:v20240719-47a381b1df
sigs.k8s.io/prow/cmd/mkpod: gcr.io/k8s-staging-test-infra/alpine:v20240719-47a381b1df
sigs.k8s.io/prow/cmd/pipeline: gcr.io/k8s-staging-test-infra/alpine:v20240719-47a381b1df
# external
sigs.k8s.io/prow/cmd/external-plugins/needs-rebase: gcr.io/k8s-staging-test-infra/alpine:v20240719-47a381b1df
sigs.k8s.io/prow/cmd/external-plugins/cherrypicker: gcr.io/k8s-prow/git:v20240729-4f255edb07
sigs.k8s.io/prow/cmd/external-plugins/refresh: gcr.io/k8s-staging-test-infra/alpine:v20240719-47a381b1df
sigs.k8s.io/prow/cmd/ghproxy: gcr.io/k8s-staging-test-infra/alpine:v20240719-47a381b1df
# prow integration test
sigs.k8s.io/prow/test/integration/cmd/fakeghserver: gcr.io/k8s-staging-test-infra/alpine:v20240719-47a381b1df
sigs.k8s.io/prow/test/integration/cmd/fakegitserver: gcr.io/k8s-prow/git:v20240729-4f255edb07
sigs.k8s.io/prow/test/integration/cmd/fakepubsub: google/cloud-sdk:389.0.0
sigs.k8s.io/prow/test/integration/cmd/fakegcsserver: gcr.io/k8s-staging-test-infra/alpine:v20240719-47a381b1df
# https://pkg.go.dev/cmd/link
# -s: omit symbol/debug info
# -w: omit DWARF symbol table
# -X importpath.name=value: sets name to value
builds:
- id: admission
dir: .
main: cmd/admission
ldflags:
- -s -w
- -X sigs.k8s.io/prow/pkg/version.Version={{.Env.VERSION}}
- -X sigs.k8s.io/prow/pkg/version.Name=admission
- id: mkpj
dir: .
main: cmd/mkpj
ldflags:
- -s -w
- -X sigs.k8s.io/prow/pkg/version.Version={{.Env.VERSION}}
- -X sigs.k8s.io/prow/pkg/version.Name=mkpj
- id: mkpod
dir: .
main: cmd/mkpod
ldflags:
- -s -w
- -X sigs.k8s.io/prow/pkg/version.Version={{.Env.VERSION}}
- -X sigs.k8s.io/prow/pkg/version.Name=mkpod
- id: pipeline
dir: .
main: cmd/pipeline
ldflags:
- -s -w
- -X sigs.k8s.io/prow/pkg/version.Version={{.Env.VERSION}}
- -X sigs.k8s.io/prow/pkg/version.Name=pipeline
- id: needs-rebase
dir: .
main: cmd/external-plugins/needs-rebase
ldflags:
- -s -w
- -X sigs.k8s.io/prow/pkg/version.Version={{.Env.VERSION}}
- -X sigs.k8s.io/prow/pkg/version.Name=needs-rebase
- id: branchprotector
dir: .
main: cmd/branchprotector
ldflags:
- -s -w
- -X sigs.k8s.io/prow/pkg/version.Version={{.Env.VERSION}}
- -X sigs.k8s.io/prow/pkg/version.Name=branchprotector
- id: checkconfig
dir: .
main: cmd/checkconfig
ldflags:
- -s -w
- -X sigs.k8s.io/prow/pkg/version.Version={{.Env.VERSION}}
- -X sigs.k8s.io/prow/pkg/version.Name=checkconfig
- id: clonerefs
dir: .
main: cmd/clonerefs
ldflags:
- -s -w
- -X sigs.k8s.io/prow/pkg/version.Version={{.Env.VERSION}}
- -X sigs.k8s.io/prow/pkg/version.Name=clonerefs
- id: config-bootstrapper
dir: .
main: cmd/config-bootstrapper
ldflags:
- -s -w
- -X sigs.k8s.io/prow/pkg/version.Version={{.Env.VERSION}}
- -X sigs.k8s.io/prow/pkg/version.Name=config-bootstrapper
- id: deck
dir: .
main: cmd/deck
ldflags:
- -s -w
- -X sigs.k8s.io/prow/pkg/version.Version={{.Env.VERSION}}
- -X sigs.k8s.io/prow/pkg/version.Name=deck
- id: exporter
dir: .
main: cmd/exporter
ldflags:
- -s -w
- -X sigs.k8s.io/prow/pkg/version.Version={{.Env.VERSION}}
- -X sigs.k8s.io/prow/pkg/version.Name=exporter
- id: crier
dir: .
main: cmd/crier
ldflags:
- -s -w
- -X sigs.k8s.io/prow/pkg/version.Version={{.Env.VERSION}}
- -X sigs.k8s.io/prow/pkg/version.Name=crier
- id: entrypoint
dir: .
main: cmd/entrypoint
ldflags:
- -s -w
- -X sigs.k8s.io/prow/pkg/version.Version={{.Env.VERSION}}
- -X sigs.k8s.io/prow/pkg/version.Name=entrypoint
- id: gangway
dir: .
main: cmd/gangway
ldflags:
- -s -w
- -X sigs.k8s.io/prow/pkg/version.Version={{.Env.VERSION}}
- -X sigs.k8s.io/prow/pkg/version.Name=gangway
- id: generic-autobumper
dir: .
main: cmd/generic-autobumper
ldflags:
- -s -w
- -X sigs.k8s.io/prow/pkg/version.Version={{.Env.VERSION}}
- -X sigs.k8s.io/prow/pkg/version.Name=generic-autobumper
- id: gerrit
dir: .
main: cmd/gerrit
ldflags:
- -s -w
- -X sigs.k8s.io/prow/pkg/version.Version={{.Env.VERSION}}
- -X sigs.k8s.io/prow/pkg/version.Name=gerrit
- id: gcsupload
dir: .
main: cmd/gcsupload
ldflags:
- -s -w
- -X sigs.k8s.io/prow/pkg/version.Version={{.Env.VERSION}}
- -X sigs.k8s.io/prow/pkg/version.Name=gcsupload
- id: hook
dir: .
main: cmd/hook
ldflags:
- -s -w
- -X sigs.k8s.io/prow/pkg/version.Version={{.Env.VERSION}}
- -X sigs.k8s.io/prow/pkg/version.Name=hook
- id: hmac
dir: .
main: cmd/hmac
ldflags:
- -s -w
- -X sigs.k8s.io/prow/pkg/version.Version={{.Env.VERSION}}
- -X sigs.k8s.io/prow/pkg/version.Name=hmac
- id: horologium
dir: .
main: cmd/horologium
ldflags:
- -s -w
- -X sigs.k8s.io/prow/pkg/version.Version={{.Env.VERSION}}
- -X sigs.k8s.io/prow/pkg/version.Name=horologium
- id: initupload
dir: .
main: cmd/initupload
ldflags:
- -s -w
- -X sigs.k8s.io/prow/pkg/version.Version={{.Env.VERSION}}
- -X sigs.k8s.io/prow/pkg/version.Name=initupload
- id: invitations-accepter
dir: .
main: cmd/invitations-accepter
ldflags:
- -s -w
- -X sigs.k8s.io/prow/pkg/version.Version={{.Env.VERSION}}
- -X sigs.k8s.io/prow/pkg/version.Name=invitations-accepter
- id: jenkins-operator
dir: .
main: cmd/jenkins-operator
ldflags:
- -s -w
- -X sigs.k8s.io/prow/pkg/version.Version={{.Env.VERSION}}
- -X sigs.k8s.io/prow/pkg/version.Name=jenkins-operator
- id: moonraker
dir: .
main: cmd/moonraker
ldflags:
- -s -w
- -X sigs.k8s.io/prow/pkg/version.Version={{.Env.VERSION}}
- -X sigs.k8s.io/prow/pkg/version.Name=moonraker
- id: peribolos
dir: .
main: cmd/peribolos
ldflags:
- -s -w
- -X sigs.k8s.io/prow/pkg/version.Version={{.Env.VERSION}}
- -X sigs.k8s.io/prow/pkg/version.Name=peribolos
- id: sidecar
dir: .
main: cmd/sidecar
ldflags:
- -s -w
- -X sigs.k8s.io/prow/pkg/version.Version={{.Env.VERSION}}
- -X sigs.k8s.io/prow/pkg/version.Name=sidecar
- id: sinker
dir: .
main: cmd/sinker
ldflags:
- -s -w
- -X sigs.k8s.io/prow/pkg/version.Version={{.Env.VERSION}}
- -X sigs.k8s.io/prow/pkg/version.Name=sinker
- id: status-reconciler
dir: .
main: cmd/status-reconciler
ldflags:
- -s -w
- -X sigs.k8s.io/prow/pkg/version.Version={{.Env.VERSION}}
- -X sigs.k8s.io/prow/pkg/version.Name=status-reconciler
- id: sub
dir: .
main: cmd/sub
ldflags:
- -s -w
- -X sigs.k8s.io/prow/pkg/version.Version={{.Env.VERSION}}
- -X sigs.k8s.io/prow/pkg/version.Name=sub
- id: tide
dir: .
main: cmd/tide
ldflags:
- -s -w
- -X sigs.k8s.io/prow/pkg/version.Version={{.Env.VERSION}}
- -X sigs.k8s.io/prow/pkg/version.Name=tide
- id: tot
dir: .
main: cmd/tot
ldflags:
- -s -w
- -X sigs.k8s.io/prow/pkg/version.Version={{.Env.VERSION}}
- -X sigs.k8s.io/prow/pkg/version.Name=tot
- id: prow-controller-manager
dir: .
main: cmd/prow-controller-manager
ldflags:
- -s -w
- -X sigs.k8s.io/prow/pkg/version.Version={{.Env.VERSION}}
- -X sigs.k8s.io/prow/pkg/version.Name=prow-controller-manager
# External
- id: cherrypicker
dir: .
main: cmd/external-plugins/cherrypicker
ldflags:
- -s -w
- -X sigs.k8s.io/prow/pkg/version.Version={{.Env.VERSION}}
- -X sigs.k8s.io/prow/pkg/version.Name=cherrypicker
- id: refresh
dir: .
main: cmd/external-plugins/refresh
ldflags:
- -s -w
- -X sigs.k8s.io/prow/pkg/version.Version={{.Env.VERSION}}
- -X sigs.k8s.io/prow/pkg/version.Name=refresh
- id: ghproxy
dir: .
main: cmd/ghproxy
ldflags:
- -s -w
- -X sigs.k8s.io/prow/pkg/version.Version={{.Env.VERSION}}
- -X sigs.k8s.io/prow/pkg/version.Name=ghproxy