commit | 8535cb5bc5437960430ff94d3ea7280ccf931340 | [log] [tgz] |
---|---|---|
author | Serge Bazanski <serge@monogon.tech> | Wed Mar 29 14:15:08 2023 +0200 |
committer | Serge Bazanski <serge@monogon.tech> | Wed Mar 29 17:18:22 2023 +0000 |
tree | 57edb5cf064ad8b43aef52c1bbb974dd5cce7c26 | |
parent | 30fd15406e2c9cba7391f6af96c775b313a115fa [diff] |
m/n/core/rpc: implement node verification in authenticated connections The current API of NewAuthenticatedCredentials is not easily extensible, so switch over to such an API now. This then adds a WantRemoteNode option which verifies that the remote connection is established to a node with a given ID. Change-Id: Ie9f6b33d8b032729181bae5591eba9856ea2f523 Reviewed-on: https://review.monogon.dev/c/monogon/+/1427 Tested-by: Jenkins CI Reviewed-by: Lorenz Brun <lorenz@monogon.tech>
This is the main repository containing the source code for the Monogon Platform.
This is pre-release software - take a look, and check back later!
Our build environment is self-contained and requires only minimal host dependencies:
/dev/kvm
(if you want to run tests).Our docs assume that Bazelisk is available as bazel
on your PATH.
Refer to SETUP.md for detailed instructions.
Build CLI and node image:
bazel build //metropolis/cli/dbg //:launch -c dbg
Launch an ephemeral test node:
bazel test //:launch -c dbg --test_output=streamed
Run a kubectl command while the test is running:
bazel-bin/metropolis/cli/dbg/dbg_/dbg kubectl describe node
Run full test suite:
bazel test -c dbg //...