Fabian Kammel
88a57fdb36
upgrade k8s 1.24.3 -> 1.24.6 ( #201 )
...
* upgrade k8s 1.24.3 -> 1.24.6
Signed-off-by: Fabian Kammel <fk@edgeless.systems>
2022-09-30 17:10:16 +02:00
katexochen
42f273611a
Use uid from metadata instead of name
2022-09-30 16:50:52 +02:00
katexochen
5251041db5
Change naming schema of cloud resources
2022-09-30 16:50:52 +02:00
katexochen
97ef965a80
Tidy go mods
2022-09-22 09:10:19 +02:00
katexochen
1af3ffd46c
Fix autoscalingstrategy controller test
2022-09-22 09:10:19 +02:00
katexochen
a29289c188
Update scalingroup resource
2022-09-22 09:10:19 +02:00
katexochen
ba6e41ed5c
Upgrade go module to v2
2022-09-22 09:10:19 +02:00
katexochen
e301f575df
Let operator manage autoscaling of node groups
2022-09-20 13:41:23 +02:00
Malte Poll
5f98e699e4
node operator: nodeimage controller: ensure heirs are promoted to updated once in same reconcile loop as node deletion
...
Prevents conditions where Reconcile is not called after deleting a node, leading to an out of date status on the nodeimage.
2022-09-13 15:58:38 +02:00
Malte Poll
8b4918cc53
envtest: use eventually
2022-09-13 15:58:38 +02:00
katexochen
114a51b29c
Ignore unchecked error
2022-09-13 15:58:38 +02:00
katexochen
0126d8a0c2
Fix error naming
2022-09-13 15:58:38 +02:00
katexochen
fb7ceb5586
Fix comment dot
2022-09-13 15:58:38 +02:00
Thomas Tendyck
bd63aa3c6b
add license headers
...
sed -i '1i/*\nCopyright (c) Edgeless Systems GmbH\n\nSPDX-License-Identifier: AGPL-3.0-only\n*/\n' `grep -rL --include='*.go' 'DO NOT EDIT'`
gofumpt -w .
2022-09-05 09:17:25 +02:00
Fabian Kammel
2f871578b2
first implementation of SBOM generation ( #50 )
...
* first implementation of SBOM generation
* updated dependencies as per grype report
* hack: go mod tidy
Signed-off-by: Fabian Kammel <fk@edgeless.systems>
2022-09-02 16:49:59 +02:00
Fabian Kammel
778952e07c
AB#2287 support community image IDs ( #9 )
...
* support community image IDs
Signed-off-by: Fabian Kammel <fk@edgeless.systems>
2022-08-30 15:15:51 +02:00
Malte Poll
07c6c4e190
node operator: retry updating pendingNode deadline on conflict
...
Signed-off-by: Malte Poll <mp@edgeless.systems>
2022-08-30 10:04:42 +02:00
Thomas Tendyck
6b8a2a0063
remove image pull secret
2022-08-28 15:57:08 +02:00
katexochen
35a5d34497
Remove legacy build tags
2022-08-24 14:56:30 +02:00
Malte Poll
f050a301d0
[node-operator] autoscalingstrategy-controller: improve test robustness ( #372 )
2022-08-17 18:38:54 +02:00
Fabian Kammel
059a3eacc0
Use consistent k8s version ( #373 )
...
Signed-off-by: Fabian Kammel <fk@edgeless.systems>
2022-08-17 15:25:05 +02:00
Malte Poll
23dfc5549b
[node-operator] nodeimage-controller: improve test robustness
...
Signed-off-by: Malte Poll <mp@edgeless.systems>
2022-08-16 08:47:34 +02:00
Malte Poll
264e4beac3
Double timeouts for envtests ( #355 )
2022-08-09 14:48:41 +02:00
Malte Poll
d72c18d066
[node-operator] rename constellation-node-operator to node-operator
2022-08-09 10:29:04 +02:00
Malte Poll
1df2a20a36
CI: build and upload node operator
2022-08-09 10:29:04 +02:00
Malte Poll
fb4bc1545f
[node operator] case insensitive equality checks for image and scaling group references
2022-08-09 10:29:04 +02:00
Malte Poll
80ebfab164
[node operator] GCP: use canonical references
2022-08-09 10:29:04 +02:00
Malte Poll
51cf638361
[node operator] self-initialize resources
...
Signed-off-by: Malte Poll <mp@edgeless.systems>
2022-08-09 10:29:04 +02:00
Malte Poll
1cee319174
[node operator] constellation node operator: hardcode image pull secret
...
Signed-off-by: Malte Poll <mp@edgeless.systems>
2022-08-09 10:29:04 +02:00
Malte Poll
86c88a949e
[node operator] bundle template
...
Signed-off-by: Malte Poll <mp@edgeless.systems>
2022-08-09 10:29:04 +02:00
Malte Poll
0f6de0aa26
[node operator] Update README and samples
...
Signed-off-by: Malte Poll <mp@edgeless.systems>
2022-08-09 10:29:04 +02:00
Malte Poll
e267102c92
[node operator] Use environment variable to specify CSP
...
Signed-off-by: Malte Poll <mp@edgeless.systems>
2022-08-09 10:29:04 +02:00
Malte Poll
50ed6777c8
[node operator] Read azure config from k8s secret
...
Signed-off-by: Malte Poll <mp@edgeless.systems>
2022-08-09 10:29:04 +02:00
Malte Poll
3495ec1c07
[node operator] instantiate Azure client in main.go
...
Signed-off-by: Malte Poll <mp@edgeless.systems>
2022-08-09 10:29:04 +02:00
Malte Poll
c74360bf62
[node operator] Add Azure client
...
Signed-off-by: Malte Poll <mp@edgeless.systems>
2022-08-09 10:29:04 +02:00
Malte Poll
a50cc2b64d
[node operator] Testable poller for Azure client
...
Signed-off-by: Malte Poll <mp@edgeless.systems>
2022-08-09 10:29:04 +02:00
Malte Poll
cbbf77248f
[node operator] adopt go 1.18
...
Signed-off-by: Malte Poll <mp@edgeless.systems>
2022-08-09 10:29:04 +02:00
Malte Poll
717570d00a
[node operator] Add GCP client
...
Signed-off-by: Malte Poll <mp@edgeless.systems>
2022-08-09 10:29:04 +02:00
Malte Poll
0618a000a7
[node operator] nodeimage controller: remove control-plane nodes from etcd cluster before deleting k8s node object
...
Signed-off-by: Malte Poll <mp@edgeless.systems>
2022-08-09 10:29:04 +02:00
Malte Poll
242020e304
[node operator] etcd client implementation
...
Signed-off-by: Malte Poll <mp@edgeless.systems>
2022-08-09 10:29:04 +02:00
Malte Poll
bef2bcc4a9
[node operator] helpers: find node vpc IP and check if node is control-plane node
...
Signed-off-by: Malte Poll <mp@edgeless.systems>
2022-08-09 10:29:04 +02:00
Malte Poll
de9fa37f63
[node operator] helper: find control plane IPs using kubernetes API
...
Signed-off-by: Malte Poll <mp@edgeless.systems>
2022-08-09 10:29:04 +02:00
Malte Poll
bce83c493b
[node operator] Prepare for packaging as dockerfile and deployment withing k8s
...
Signed-off-by: Malte Poll <mp@edgeless.systems>
2022-08-09 10:29:04 +02:00
Malte Poll
2860fe4eec
[node operator] RBAC: add missing permissions
...
Signed-off-by: Malte Poll <mp@edgeless.systems>
2022-08-09 10:29:04 +02:00
Malte Poll
b0d93b96dc
[node operator] PendingNode: check if node was deleted every 30 seconds after regular deadline expires
...
Signed-off-by: Malte Poll <mp@edgeless.systems>
2022-08-09 10:29:04 +02:00
Malte Poll
0b0a3454fa
[node operator] main.go: switch over CSP flag to generate cloud provider API client to inject into controllers.
...
Signed-off-by: Malte Poll <mp@edgeless.systems>
2022-08-09 10:29:04 +02:00
Malte Poll
904d3cba0a
[node operator] Beautify autogenerated log messages
...
Signed-off-by: Malte Poll <mp@edgeless.systems>
2022-08-09 10:29:04 +02:00
Malte Poll
4be164dec4
[node operator] NodeImage env test
...
Signed-off-by: Malte Poll <mp@edgeless.systems>
2022-08-09 10:29:04 +02:00
Malte Poll
be27de3b71
[node operator] Add nodemaintenance CRD
...
Signed-off-by: Malte Poll <mp@edgeless.systems>
2022-08-09 10:29:04 +02:00
Malte Poll
1cc8c36052
[node operator] NodeImage controller unit test
...
Signed-off-by: Malte Poll <mp@edgeless.systems>
2022-08-09 10:29:04 +02:00