104 Commits

Author SHA1 Message Date
Manuel Alejandro de Brito Fontes
891cd5417d
Update k8s dependencies to v0.26.2 (#17211)
* Update k8s dependencies to v0.26.2

* Update controller-runtime to v0.14.6

* Update cloud storage
 https://github.com/googleapis/google-cloud-go/issues/6857

* Update copy options

* Update wolfi image

* Remove controller-runtime replace directives

* Fix integration tests
2023-04-18 03:59:49 +08:00
Kyle Brennan
8e0646a9d4
[go deps] update to containerd 1.6.20 (#17193) 2023-04-13 20:39:53 +02:00
Manuel Alejandro de Brito Fontes
27979c9395
Update go dependencies (#17101)
* Update go dependencies

Signed-off-by: Manuel de Brito Fontes <aledbf@gmail.com>

* Update runc to v1.1.5

* Update docker cli to v23.0.2+incompatible

---------

Signed-off-by: Manuel de Brito Fontes <aledbf@gmail.com>
2023-04-12 10:03:52 +02:00
Kyle Brennan
1fdf43a591
[image-builder-mk3] log UserID when build done fails (#17128) 2023-04-04 09:00:44 +02:00
Manuel Alejandro de Brito Fontes
5b30eb5b8c
Remove unused caCertSecret (#16793)
* Add trust.cert-manager.io for to bundle CA certificates

Signed-off-by: Manuel de Brito Fontes <aledbf@gmail.com>

* Configure CA volume and volumemount in components

* Update ws-manager golden files

* Deploy trust manager in preview

* Remove duplicated volume

* Update installer golden files

* Generate a bundle only for registry-facade

* Update golden files

* Fix initcontainer volume mounts

* Update golden files

* Fix registry-facade certificate

* Update golden files

* Disable skip_verify

* Enable force conflict with apply server side

Signed-off-by: Manuel de Brito Fontes <aledbf@gmail.com>

* Avoid random werft namespace errors

Signed-off-by: Manuel de Brito Fontes <aledbf@gmail.com>

---------

Signed-off-by: Manuel de Brito Fontes <aledbf@gmail.com>
2023-03-21 11:44:13 +01:00
Manuel Alejandro de Brito Fontes
ec6b911f24
Simplify image-builder-mk3 and registry-facade init containers (#16633)
* Simplify image-builder-mk3 and registry-facade init containers

* Include new image-builder-mk3-wsman deployment

* Wait before updating node labels

* Ensure the loop runs more than once
2023-03-03 19:48:01 +01:00
Milan Pavlik
e4e05143e2
[baseserver] Initialize tracer with server (#16586)
* [baseserver] Initialize tracer with server

* fix

* Fix

* fix
2023-03-03 14:57:01 +01:00
Thomas Schubart
0f190439c2
[ws-manager-mk2] Setup separate image builder deployment for mk2 (#16519)
* [installer] Setup seperate image builder deployment for mk2

* [image-builder] Route to wsman-mk2

* [wsman-mk2] Set default class

* [installer] Update render tests

* [ws-manager-mk2] Use image builder secret

* [image-builder] Update render tests
2023-03-02 12:31:59 +01:00
Kyle Brennan
852f5cd5b1 Update buildkit and containerd
* `buildkit` v0.11.2 -> v0.11.3
* `containerd` v1.6.16 -> v1.6.18
2023-02-20 14:38:50 +01:00
Wouter Verlaek
cb192728d1 Update Go dependencies 2023-02-08 16:47:46 +01:00
Kyle Brennan
d9ea2c8c8f [image-builder-mk3] log registry not allowed as a warning
This happens often, at a high rate, making it harder to find errors.

Ref: https://cloudlogging.app.goo.gl/U6jHijAXqzUbcMes5
2023-02-07 22:32:45 +01:00
Manuel Alejandro de Brito Fontes
bcdde44633 Switch from alpine to wolfi 2023-02-05 12:10:43 +01:00
AXON
d784bc47d6 Replace links 2023-01-31 14:52:39 +01:00
Kyle Brennan
72af187f9c Update buildkit and containerd 2023-01-30 19:07:38 +01:00
Christian Weichel
a3f8d86f3b [ws-manager-mk2] Fix build after rebase 2023-01-23 14:14:30 +01:00
Wouter Verlaek
08fd2f3b71 Update containerd and ipfs/kubo 2023-01-09 13:06:48 +01:00
Thomas Schubart
296069f2bc Update containerd to 1.6.14 2022-12-30 12:26:39 +01:00
utam0k
d2a0065db8 Update READMEs to describe about IAM policy 2022-12-16 05:17:25 -03:00
Anton Kosyakov
ab0f640656 fix #15266: decouple deployment of supervisor for image builds 2022-12-12 12:28:22 -03:00
Christian Weichel
478a75e744 Switch license to AGPL 2022-12-08 13:05:19 -03:00
JenTing Hsiao
9e8b89e9aa image-builder-mk3: log JSON as an object instead of a string
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-11-24 10:12:53 -03:00
Christian Weichel
9265c5391a [image-builder] Dynamically reload registry auth 2022-11-15 01:46:44 +02:00
Andrew Farries
7d37efe756 Increment "builds_done_total" metric
Increment the counter when a build completes.
2022-11-09 20:53:39 +02:00
Wouter Verlaek
e8bf53b43e [image-builder-mk3] Add sequence diagram 2022-11-02 16:10:07 +01:00
Wouter Verlaek
b29560b9ad chore: Create image-builder-mk3 readme 2022-10-28 10:27:02 +02:00
Manuel Alejandro de Brito Fontes
edfd76d70d Log JSON as strings not an array of bytes 2022-10-26 23:36:41 +02:00
Andrew Farries
abf3844f07 Increment metric on build start
This metric was already configured and registered but never used.
2022-10-26 14:25:46 +02:00
Manuel Alejandro de Brito Fontes
0412c5f461 [test] Reduce loop wait time 2022-10-05 05:15:20 +02:00
Manuel Alejandro de Brito Fontes
d5eb5815b5 Update to 1.19 2022-10-04 15:17:22 +02:00
Manuel Alejandro de Brito Fontes
3f6cbd07f1 Update go dependencies 2022-10-04 15:17:22 +02:00
Milan Pavlik
4ed6a9b195 [image-builder-mk3] Use baseserver 2022-10-03 11:10:19 +02:00
Christian Weichel
d6023c989a Revert "Switch to Go workspaces"
This reverts commit 6bc34cf17512cb0a10a3a6cce44141b1f06b624e.
2022-09-29 05:28:29 +02:00
Christian Weichel
174a09222f Revert "Run go work sync"
This reverts commit 6b23167e09f74062b31150d4044a8fe7cacbc34b.
2022-09-29 05:28:29 +02:00
Christian Weichel
6b23167e09 Run go work sync 2022-09-28 08:45:28 +02:00
Christian Weichel
6bc34cf175 Switch to Go workspaces 2022-09-28 08:45:28 +02:00
Manuel Alejandro de Brito Fontes
438ffab694 Update k8s dependencies to v0.24.4 2022-08-23 08:18:39 +02:00
Manuel Alejandro de Brito Fontes
7b4a885ee3 Update k8s dependencies to v0.24.3 2022-08-23 08:18:39 +02:00
Manuel Alejandro de Brito Fontes
ea6ade104f Update containerd and docker dependencies 2022-07-06 13:31:53 +05:30
JenTing Hsiao
856371178d Revert "Update k8s dependencies to v0.24.2"
This reverts commit 2911bc3283c2b79aacde0d16bce056de62eb696b.
2022-07-05 11:11:01 +02:00
JenTing Hsiao
3100c5995e Revert "Update containerd to v1.6.6"
This reverts commit 6dd018220d18bed9cd1a0bb58bb08178016475a7.
2022-07-05 11:11:01 +02:00
JenTing Hsiao
b1fd9b6703 Revert "Update docker dependencies"
This reverts commit 02831a9e9e021b2d36942f29c2a64a3531c8e06d.
2022-07-05 11:11:01 +02:00
Manuel Alejandro de Brito Fontes
02831a9e9e Update docker dependencies 2022-07-05 03:37:52 +05:30
Manuel Alejandro de Brito Fontes
6dd018220d Update containerd to v1.6.6 2022-07-05 03:37:52 +05:30
Manuel Alejandro de Brito Fontes
2911bc3283 Update k8s dependencies to v0.24.2 2022-07-05 03:37:52 +05:30
Cornelius A. Ludmann
1617d3dd1c [image-builder] Improve 'registry not allowed' log message
We stumble upon this problem quite often when in self-hosted setups the registry has not been added to the allowlist. Therefore, a higher log level and a hint to the config would be valuable.
2022-06-22 01:35:30 +05:30
JenTing Hsiao
9631a0b57b Remove deprecated function
The function grpc.WithInsecure() is deprecated, use
grpc.WithTransportCredentials(insecure.NewCredentials()) instead.

Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-06-15 13:07:24 +05:30
Manuel Alejandro de Brito Fontes
5ed1deb661 Update to new stable alpine version v3.16 2022-06-07 15:33:17 +05:30
Pudong
0899f4dc66 Revert "[image-builder-bob] Use separate auth for target and base"
This reverts commit 7b27392b861c09f4db730e47167e1d96273a5999.
2022-05-24 22:34:38 +05:30
Prince Rachit Sinha
7b27392b86 [image-builder-bob] Use separate auth for target and base 2022-05-20 10:13:34 +05:30
Prince Rachit Sinha
e54dbfd225 [image-builder] Fix broken credential split 2022-05-18 18:09:32 +05:30