Leonard Cohnen
791d5564ba
replace flannel with cilium
2022-06-02 13:08:25 +02:00
Thomas Tendyck
42fc497477
cli: fix and tweak config file wording
2022-05-27 16:53:04 +02:00
Malte Poll
6bb393fcb7
cdbg: allow parsing state to query QEMU instances for cdbg deploy
...
Signed-off-by: Malte Poll <mp@edgeless.systems>
2022-05-25 10:30:58 +02:00
Malte Poll
0c244ee2bc
Use cmake to compile debugd / cdbg
...
Signed-off-by: Malte Poll <mp@edgeless.systems>
2022-05-23 13:15:04 +02:00
Thomas Tendyck
206dae8fd2
readme: move debugd and local image testing to other files and add a component overview
2022-05-19 08:56:28 +02:00
Nils Hanke
5fa23d4bec
Use "new" config for YAML parsing directives
2022-05-18 10:48:52 +02:00
Fabian Kammel
b905c28515
AB#2061 Self Documenting Config File ( #143 )
...
Move firewall up into root config, remove VPC config & autogenerate comments in config file.
2022-05-16 18:54:25 +02:00
Nils Hanke
cdfd962fcc
Add --cdbg-config next to --config for cdbg
2022-05-16 17:57:51 +02:00
Nils Hanke
68092f27dd
AB#2046 : Add option to create SSH users for the first coordinator upon initialization ( #133 )
...
* Move `file`, `ssh` and `user` packages to internal
* Rename `SSHKey` to `(ssh.)UserKey`
* Rename KeyValue / Publickey to PublicKey
* Rename SSH key file from "debugd" to "ssh-keys"
* Add CreateSSHUsers function to Core
* Call CreateSSHUsers users on first control-plane node, when defined in config
Tests:
* Make StubUserCreator add entries to /etc/passwd
* Add NewLinuxUserManagerFake for unit tests
* Add unit tests & adjust existing ones to changes
2022-05-16 17:32:00 +02:00
Malte Poll
baa7dbc1ef
Move debugd config to separate file
...
Signed-off-by: Malte Poll <mp@edgeless.systems>
2022-05-16 15:20:23 +02:00
Fabian Kammel
83857b142c
AB#2064 Feat/config/dev config to config ( #139 )
...
Renamed dev-config to config, additionally changed cdbg config to yaml.
2022-05-13 11:56:43 +02:00
Daniel Weiße
423e29e3ab
Update to latest grpc generator
...
Signed-off-by: Daniel Weiße <dw@edgeless.systems>
2022-05-04 08:48:31 +02:00
Malte Poll
77b0237dd5
extract shared grpcutil dialer from pubapi
...
Signed-off-by: Malte Poll <mp@edgeless.systems>
2022-04-28 14:35:35 +02:00
Malte Poll
5ac72c730d
debugd: start existing coordinator binary at boot if coordinator was deployed before reboot
2022-04-28 10:19:26 +02:00
Malte Poll
63d282f1ed
debugd: do not stop coordinator before upload as upload only works if coordinator binary does not exist yet
2022-04-28 10:19:26 +02:00
Malte Poll
6f32811029
debugd: Upgrade default systemd unit to incorporate CNI bin dir preparation
2022-04-28 10:19:26 +02:00
datosh
51068abc27
Ref/want err from err expected ( #82 )
...
consistent naming for test values using 'want' instead of 'expect/ed'
2022-04-26 16:54:05 +02:00
Benedict Schlueter
ff8830e718
debugd: add support for multiple coordinators
...
Signed-off-by: Benedict Schlueter <bs@edgeless.systems>
2022-04-25 17:39:18 +02:00
Malte Poll
78af3b173f
debugd: Correctly handle direct coordinator upload if coordinator was uploaded previously (file already exists)
...
Signed-off-by: Malte Poll <mp@edgeless.systems>
2022-04-21 15:15:07 +02:00
katexochen
1a9b33d738
Restructure config and constants
2022-04-21 09:06:35 +02:00
Daniel Weiße
49a1a07049
AB#1902 Ping Coordinator from initramfs for key ( #53 )
...
Signed-off-by: Daniel Weiße <dw@edgeless.systems>
2022-04-12 14:24:36 +02:00
Malte Poll
aaed8ad1e3
debugd: stop discovery loop once coordinator was downloaded successfully or coordinator binary exists
2022-04-01 16:47:18 +02:00
Malte Poll
6954683f18
debugd: filter own instance from list of discovered debugd instances
2022-04-01 16:47:18 +02:00
Malte Poll
7143b29caf
debugd: return download error if download is not attempted due to retry backoff
2022-04-01 16:47:18 +02:00
Malte Poll
aac6e0b239
debugd: prevent deadlock by checking if file exists before aquiring read lock and cleanup downloaded coordinator binary if download fails
2022-03-28 16:12:40 +02:00
Thomas Tendyck
cece88b6a0
lint debugd
2022-03-25 13:35:08 +01:00
Leonard Cohnen
2d8fcd9bf4
monorepo
...
Co-authored-by: Malte Poll <mp@edgeless.systems>
Co-authored-by: katexochen <katexochen@users.noreply.github.com>
Co-authored-by: Daniel Weiße <dw@edgeless.systems>
Co-authored-by: Thomas Tendyck <tt@edgeless.systems>
Co-authored-by: Benedict Schlueter <bs@edgeless.systems>
Co-authored-by: leongross <leon.gross@rub.de>
Co-authored-by: Moritz Eckert <m1gh7ym0@gmail.com>
2022-03-22 16:09:39 +01:00