Daniel Weiße
90f3336c8e
deps: remove go.mod
files from submodules ( #2769 )
...
Signed-off-by: Daniel Weiße <dw@edgeless.systems>
2024-01-08 13:19:38 +01:00
Markus Rudy
7f8cfb8f03
operators: fix flaky env test
2023-12-19 20:01:10 +01:00
Markus Rudy
070c23f876
operators: pass additional components to upgrade-agent
2023-12-18 14:17:35 +01:00
Markus Rudy
a1dbd13f95
versions: consolidate various types of Components
...
There used to be three definitions of a Component type, and conversion
routines between the three. Since the use case is always the same, and
the Component semantics are defined by versions.go and the installer, it
seems appropriate to define the Component type there and import it in
the necessary places.
2023-12-11 14:26:54 +01:00
3u13r
56ab3e9e04
Revert "operator: always delete terminated pending nodes ( #2545 )" ( #2596 )
...
This reverts commit 5267ad0f08
.
2023-11-13 20:25:34 +01:00
renovate[bot]
8e00fb9fe1
deps: update golangci/golangci-lint to v1.55.1 ( #2517 )
...
* deps: update golangci/golangci-lint to v1.55.1
* deps: tidy all modules
* golangci-lint: exclude ginko/gomega imports
from dot-imports rule
Co-authored-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2023-11-02 11:16:17 +01:00
Daniel Weiße
5267ad0f08
operator: always delete terminated pending nodes ( #2545 )
...
Signed-off-by: Daniel Weiße <dw@edgeless.systems>
2023-11-02 10:39:13 +01:00
Malte Poll
1d5f244879
bazel: mark envtests as "requires-network"
...
Envtests require networking, strict sandbox only allows networking if tag is set.
See https://bazel.build/reference/be/common-definitions#common.tags for further explanation.
2023-08-18 16:36:13 +02:00
Malte Poll
5cf2a59c2c
operators: use bazel to run operator envtests
2023-08-17 10:46:45 +02:00
3u13r
3ad9258a57
deps: bump ginkgo version ( #1885 )
2023-06-06 18:15:48 +02:00
3u13r
e0285c122e
todo responsibilities and cleanup ( #1837 )
...
* chore: add TODO responsibilities
* chore: remove not needed TODOs
* chore: remove outdated migrations
* chore: remove resolved goleak exception
* chore: remove not needed cosign env
* config: add link to our Azure snp docs
2023-06-01 12:33:06 +02:00
renovate[bot]
2afddcb0f8
deps: update K8s dependencies ( #1599 )
...
* deps: update K8s dependencies
* deps: bump controller runtime
* chore: tidy
* bump helm and migrate controller runtime
* fix helm deprecation
---------
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
Co-authored-by: Leonard Cohnen <lc@edgeless.systems>
2023-05-24 18:57:45 +02:00
3u13r
964775c4c2
Add autoscaling and cluster upgrade support for AWS ( #1758 )
...
* aws: autoscaling and upgrades
* docs: update scaling and upgrades for AWS
* deps: pin vuln check against release
2023-05-19 13:57:31 +02:00
3u13r
bf0d169cf6
operator: isolate integration tests ( #1651 )
2023-04-18 14:20:41 +02:00
Paul Meyer
0036b24266
go: remove unused parameters
...
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2023-03-20 08:41:01 -04:00
Malte Poll
bdba9d8ba6
bazel: add build files for go ( #1186 )
...
* build: correct toolchain order
* build: gazelle-update-repos
* build: use pregenerated proto for dependencies
* update bazeldnf
* deps: tpm simulator
* Update Google trillian module
* cli: add stamping as alternative build info source
* bazel: add go_test wrappers, mark special tests and select testing deps
* deps: add libvirt deps
* deps: go-libvirt patches
* deps: cloudflare circl patches
* bazel: add go_test wrappers, mark special tests and select testing deps
* bazel: keep gazelle overrides
* bazel: cleanup bazelrc
* bazel: switch CMakeLists.txt to use bazel
* bazel: fix injection of version information via stamping
* bazel: commit all build files
* dev-docs: document bazel usage
* deps: upgrade zig-cc for go 1.20
* bazel: update Perl for macOS arm64 & Linux arm64 support
* bazel: use static perl toolchain for OpenSSL
* bazel: use static protobuf (protoc) toolchain
* deps: add git and go to nix deps
Co-authored-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2023-03-09 15:23:42 +01:00
renovate[bot]
35a58316f4
deps: update K8s dependencies ( #766 )
...
Co-authored-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2023-02-16 15:20:36 +01:00
Malte Poll
77216f7492
deps: vendor node-maintenance-operator api ( #1172 )
...
* deps: go generate script to vendor node-maintenance-operator api folder
* deps: vendor node-maintenance-operator api folder
* operators: use vendored node-maintenance-operator api
* ci: ignore 3rdparty dir for license check
2023-02-14 18:46:48 +01:00
3u13r
32848db0b1
operator: log awaitingAnnotationNodes ( #1107 )
2023-01-30 16:08:39 +01:00
3u13r
06b1e04e66
operator: make test more resilient ( #1073 )
2023-01-26 17:52:28 +01:00
3u13r
effe797d81
operator: cleanup resources between tests ( #1049 )
2023-01-20 16:58:13 +01:00
3u13r
5ee69d2647
operator: test JoiningNode in correct order ( #988 )
2023-01-17 11:32:39 +01:00
3u13r
67f8336b9d
operator: reliability and simplification ( #968 )
...
* operator: make tests more reliable
* operator: simplify RetryOnConflict statements
2023-01-13 16:49:41 +01:00
3u13r
0d0851e410
operator: make test more resilient ( #959 )
2023-01-13 11:09:26 +01:00
Leonard Cohnen
ab508a52d6
operator: make test more resilient
2023-01-12 15:35:07 +01:00
Leonard Cohnen
2700d5182b
operator: reconcile kubernetesClusterVersion
2023-01-09 12:16:54 +01:00
Leonard Cohnen
8c5e41b865
constants: rename components annotation key
2023-01-09 12:16:54 +01:00
Leonard Cohnen
01e870c83a
operator: use mainconstants
2023-01-05 14:52:09 +01:00
Leonard Cohnen
94694c6e06
operator: add v2 to package name
2023-01-05 14:52:09 +01:00
3u13r
f14af0c3eb
upgrade: support Kubernetes components ( #839 )
...
* upgrade: add Kubernetes components to NodeVersion
* update rfc
2023-01-03 12:09:53 +01:00
3u13r
c993cd6800
join: synchronize control plane joining ( #776 )
...
* join: synchronize control plane joining
2022-12-09 18:30:20 +01:00
Leonard Cohnen
a1161ae05d
k8supdates: label nodes with k8s component hash
2022-12-08 11:19:22 +01:00
Otto Bittner
048ab94123
Use config structs to limit nr of function args
2022-11-22 13:33:57 +01:00
renovate[bot]
37a9dbfad2
Update k8s dependencies ( #308 )
...
Co-authored-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2022-10-19 10:37:40 +02:00
katexochen
1af3ffd46c
Fix autoscalingstrategy controller test
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
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
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
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
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
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
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